Home
last modified time | relevance | path

Searched refs:kLockName (Results 1 – 3 of 3) sorted by relevance

/system/nativepower/daemon/
Dwake_lock_manager_unittest.cc73 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F()
93 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(unlock_path_)); in TEST_F()
99 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F()
112 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(unlock_path_)); in TEST_F()
126 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F()
133 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(unlock_path_)); in TEST_F()
138 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F()
Dwake_lock_manager.cc50 const char WakeLockManager::kLockName[] = "nativepowerman"; member in android::WakeLockManager
103 if (first_request && !WriteToFile(lock_path_, kLockName)) in AddRequest()
119 if (requests_.empty() && !WriteToFile(unlock_path_, kLockName)) in RemoveRequest()
Dwake_lock_manager.h61 static const char kLockName[];