Searched refs:mock (Results 1 – 20 of 20) sorted by relevance
/hardware/google/pixel/health/test/ |
D | TestBatteryDefender.cpp | 54 HealthInterfaceMock *mock; variable 60 return mock->ReadFileToString(path, content, follow_symlinks); in ReadFileToString() 64 return mock->WriteStringToFile(content, path, follow_symlinks); in WriteStringToFile() 69 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty() 73 return mock->GetBoolProperty(key, default_value); in GetBoolProperty() 82 return mock->SetProperty(key, value); in SetProperty() 135 mock = &mockFixture; in SetUp() 140 EXPECT_CALL(*mock, SetProperty(_, _)).Times(AnyNumber()); in SetUp() 141 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp() 142 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp() [all …]
|
/hardware/interfaces/sensors/2.0/default/ |
D | android.hardware.sensors@2.0-service-mock.rc | 1 service vendor.sensors-hal-2-0-mock /vendor/bin/hw/android.hardware.sensors@2.0-service.mock
|
D | Android.bp | 26 name: "android.hardware.sensors@2.0-service.mock", 33 init_rc: ["android.hardware.sensors@2.0-service-mock.rc"],
|
/hardware/interfaces/tv/cec/1.0/default/ |
D | android.hardware.tv.cec@1.0-service.mock.rc | 1 service vendor.cec-hal-1-0-mock /vendor/bin/hw/android.hardware.tv.cec@1.0-service.mock
|
D | Android.bp | 51 name: "android.hardware.tv.cec@1.0-service.mock", 52 vintf_fragments: ["android.hardware.tv.cec@1.0-service.mock.xml"], 55 init_rc: ["android.hardware.tv.cec@1.0-service.mock.rc"],
|
/hardware/interfaces/power/stats/1.0/default/ |
D | android.hardware.power.stats@1.0-service.rc | 1 service vendor.power.stats-hal-1-0-mock /vendor/bin/hw/android.hardware.power.stats@1.0-service.mock
|
D | Android.bp | 24 name: "android.hardware.power.stats@1.0-service.mock", 42 vintf_fragments: ["android.hardware.power.stats@1.0-service-mock.xml"],
|
/hardware/interfaces/thermal/2.0/default/ |
D | android.hardware.thermal@2.0-service.rc | 1 service vendor.thermal-hal-2-0-mock /vendor/bin/hw/android.hardware.thermal@2.0-service.mock
|
D | Android.bp | 26 name: "android.hardware.thermal@2.0-service.mock",
|
/hardware/interfaces/contexthub/1.1/default/ |
D | android.hardware.contexthub@1.1-service.rc | 1 service vendor.contexthub-hal-1-1-mock /vendor/bin/hw/android.hardware.contexthub@1.1-service.mock
|
D | Android.bp | 27 name: "android.hardware.contexthub@1.1-service.mock",
|
/hardware/interfaces/sensors/2.1/default/ |
D | android.hardware.sensors@2.1-service-mock.rc | 1 service vendor.sensors-hal-2-1-mock /vendor/bin/hw/android.hardware.sensors@2.1-service.mock
|
D | Android.bp | 26 name: "android.hardware.sensors@2.1-service.mock", 34 init_rc: ["android.hardware.sensors@2.1-service-mock.rc"],
|
/hardware/interfaces/contexthub/1.2/default/ |
D | android.hardware.contexthub@1.2-service.rc | 1 service vendor.contexthub-hal-1.2-mock /vendor/bin/hw/android.hardware.contexthub@1.2-service.mock
|
D | Android.bp | 27 name: "android.hardware.contexthub@1.2-service.mock",
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | android.hardware.automotive.evs@1.1-service.rc | 1 service vendor.evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.1-service
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | android.hardware.automotive.evs@1.0-service.rc | 1 service vendor.evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service
|
/hardware/interfaces/bluetooth/a2dp/1.0/default/ |
D | Android.bp | 11 name: "android.hardware.bluetooth.a2dp@1.0-impl.mock",
|
/hardware/interfaces/fastboot/1.0/default/ |
D | Android.bp | 26 name: "android.hardware.fastboot@1.0-impl-mock",
|
/hardware/interfaces/fastboot/1.1/default/ |
D | Android.bp | 26 name: "android.hardware.fastboot@1.1-impl-mock",
|