Home
last modified time | relevance | path

Searched refs:mock (Results 1 – 17 of 17) sorted by relevance

/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp52 HealthInterfaceMock *mock; variable
58 return mock->ReadFileToString(path, content, follow_symlinks); in ReadFileToString()
62 return mock->WriteStringToFile(content, path, follow_symlinks); in WriteStringToFile()
67 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty()
71 return mock->GetBoolProperty(key, default_value); in GetBoolProperty()
80 return mock->SetProperty(key, value); in SetProperty()
110 mock = &mockFixture; in SetUp()
112 EXPECT_CALL(*mock, SetProperty(_, _)).Times(AnyNumber()); in SetUp()
113 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp()
114 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
[all …]
/hardware/interfaces/sensors/2.0/default/
D[email protected]1 service vendor.sensors-hal-2-0-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp17 name: "[email protected].mock",
24 init_rc: ["[email protected]mock.rc"],
/hardware/interfaces/tv/cec/1.0/default/
D[email protected]1 service vendor.cec-hal-1-0-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp42 name: "[email protected].mock",
43 vintf_fragments: ["[email protected].mock.xml"],
46 init_rc: ["[email protected].mock.rc"],
/hardware/interfaces/power/stats/1.0/default/
D[email protected]1 service vendor.power.stats-hal-1-0-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp15 name: "[email protected].mock",
33 vintf_fragments: ["[email protected]mock.xml"],
/hardware/interfaces/thermal/2.0/default/
D[email protected]1 service vendor.thermal-hal-2-0-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp17 name: "[email protected].mock",
/hardware/interfaces/contexthub/1.1/default/
D[email protected]1 service vendor.contexthub-hal-1-1-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp18 name: "[email protected].mock",
/hardware/interfaces/sensors/2.1/default/
D[email protected]1 service vendor.sensors-hal-2-1-mock /vendor/bin/hw/[email protected].mock
DAndroid.bp17 name: "[email protected].mock",
25 init_rc: ["[email protected]mock.rc"],
/hardware/interfaces/automotive/evs/1.1/default/
D[email protected]1 service vendor.evs-hal-mock /vendor/bin/hw/[email protected]
/hardware/interfaces/bluetooth/a2dp/1.0/default/
DAndroid.bp2 name: "[email protected].mock",
/hardware/interfaces/automotive/evs/1.0/default/
D[email protected]1 service vendor.evs-hal-mock /vendor/bin/hw/[email protected]
/hardware/interfaces/fastboot/1.0/default/
DAndroid.bp17 name: "[email protected]mock",