Searched refs:gHalMutex (Results 1 – 2 of 2) sorted by relevance
43 static std::mutex gHalMutex;44 static std::shared_ptr<aidl::android::hardware::power::IPower> gHalAidl GUARDED_BY(gHalMutex);45 static sp<hardware::power::V1_0::IPower> gHalHidlV1_0 GUARDED_BY(gHalMutex);46 static sp<hardware::power::V1_1::IPower> gHalHidlV1_1 GUARDED_BY(gHalMutex);47 static sp<hardware::power::V1_2::IPower> gHalHidlV1_2 GUARDED_BY(gHalMutex);48 static sp<hardware::power::V1_3::IPower> gHalHidlV1_3 GUARDED_BY(gHalMutex);51 EXCLUSIVE_LOCKS_REQUIRED(gHalMutex);
57 std::mutex PowerHalLoader::gHalMutex; member in android::power::PowerHalLoader66 std::lock_guard<std::mutex> lock(gHalMutex); in unloadAll()75 std::lock_guard<std::mutex> lock(gHalMutex); in loadAidl()103 std::lock_guard<std::mutex> lock(gHalMutex); in loadHidlV1_0()108 std::lock_guard<std::mutex> lock(gHalMutex); in loadHidlV1_1()115 std::lock_guard<std::mutex> lock(gHalMutex); in loadHidlV1_2()122 std::lock_guard<std::mutex> lock(gHalMutex); in loadHidlV1_3()