Home
last modified time | relevance | path

Searched refs:shutdownClient (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dtakeover_shutdown_callback_test.cpp104 auto& shutdownClient = ShutdownClient::GetInstance(); variable
106 shutdownClient.RegisterShutdownCallback(callback);
128 auto& shutdownClient = ShutdownClient::GetInstance(); variable
130 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
132 shutdownClient.RegisterShutdownCallback(defaultPriorityCallback, ShutdownPriority::DEFAULT);
150 auto& shutdownClient = ShutdownClient::GetInstance(); variable
152 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
154 shutdownClient.RegisterShutdownCallback(highPriorityCallback, ShutdownPriority::HIGH);
172 auto& shutdownClient = ShutdownClient::GetInstance(); variable
174 shutdownClient.RegisterShutdownCallback(defaultPriorityCallback, ShutdownPriority::DEFAULT);
[all …]
/base/powermgr/power_manager/test/unittest/src/
Dshutdown_client_test.cpp83 auto& shutdownClient = ShutdownClient::GetInstance(); variable
84 shutdownClient.RegisterShutdownCallback(asyncShutdownCallback);
85 shutdownClient.RegisterShutdownCallback(syncShutdownCallback);
86 shutdownClient.RegisterShutdownCallback(takeOverShutdownCallback);
112 auto& shutdownClient = ShutdownClient::GetInstance(); variable
113 shutdownClient.RegisterShutdownCallback(asyncShutdownCallback);
114 shutdownClient.UnRegisterShutdownCallback(asyncShutdownCallback);
115 shutdownClient.RegisterShutdownCallback(syncShutdownCallback);
116 shutdownClient.UnRegisterShutdownCallback(syncShutdownCallback);
117 shutdownClient.RegisterShutdownCallback(takeOverShutdownCallback);
[all …]