Searched refs:loadHal (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/powermanager/tests/ |
D | PowerHalLoaderTest.cpp | 39 T loadHal(); 42 std::shared_ptr<IPowerAidl> loadHal<std::shared_ptr<IPowerAidl>>() { in loadHal() function 47 sp<IPowerV1_0> loadHal<sp<IPowerV1_0>>() { in loadHal() function 52 sp<IPowerV1_1> loadHal<sp<IPowerV1_1>>() { in loadHal() function 57 sp<IPowerV1_2> loadHal<sp<IPowerV1_2>>() { in loadHal() function 62 sp<IPowerV1_3> loadHal<sp<IPowerV1_3>>() { in loadHal() function 71 T load() { return ::loadHal<T>(); } in load()
|
/frameworks/native/services/powermanager/ |
D | PowerHalLoader.cpp | 38 sp<T> loadHal(bool& exists, sp<T>& hal, F& loadFn, const char* halName) { in loadHal() function 111 return loadHal<V1_1::IPower>(gHalExists, gHalHidlV1_1, loadFn, "HIDL v1.1"); in loadHidlV1_1() 118 return loadHal<V1_2::IPower>(gHalExists, gHalHidlV1_2, loadFn, "HIDL v1.2"); in loadHidlV1_2() 125 return loadHal<V1_3::IPower>(gHalExists, gHalHidlV1_3, loadFn, "HIDL v1.3"); in loadHidlV1_3() 131 return loadHal<V1_0::IPower>(gHalExists, gHalHidlV1_0, loadFn, "HIDL v1.0"); in loadHidlV1_0Locked()
|