Searched refs:kPowerStateSuspend (Results 1 – 3 of 3) sorted by relevance
39 const char PowerManager::kPowerStateSuspend[] = "mem"; member in android::PowerManager112 if (base::WriteFile(power_state_path_, kPowerStateSuspend, in goToSleep()113 strlen(kPowerStateSuspend)) != in goToSleep()114 static_cast<int>(strlen(kPowerStateSuspend))) { in goToSleep()115 PLOG(ERROR) << "Failed to write \"" << kPowerStateSuspend << "\" to " in goToSleep()
126 EXPECT_EQ(PowerManager::kPowerStateSuspend, ReadPowerState()); in TEST_F()139 EXPECT_EQ(PowerManager::kPowerStateSuspend, ReadPowerState()); in TEST_F()
41 static const char kPowerStateSuspend[]; variable