Home
last modified time | relevance | path

Searched refs:AtExitManager (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/
Dat_exit_unittest.cc51 base::AtExitManager::RegisterCallback(&IncrementTestCounter1, nullptr); in TEST_F()
52 base::AtExitManager::RegisterCallback(&IncrementTestCounter2, nullptr); in TEST_F()
53 base::AtExitManager::RegisterCallback(&IncrementTestCounter1, nullptr); in TEST_F()
57 base::AtExitManager::ProcessCallbacksNow(); in TEST_F()
64 base::AtExitManager::RegisterCallback(&IncrementTestCounter1, nullptr); in TEST_F()
65 base::AtExitManager::RegisterCallback(&ExpectCounter1IsZero, nullptr); in TEST_F()
66 base::AtExitManager::RegisterCallback(&IncrementTestCounter2, nullptr); in TEST_F()
70 base::AtExitManager::ProcessCallbacksNow(); in TEST_F()
76 base::AtExitManager::RegisterCallback(&ExpectParamIsNull, nullptr); in TEST_F()
77 base::AtExitManager::RegisterCallback(&ExpectParamIsCounter, in TEST_F()
[all …]
Dat_exit.cc23 static AtExitManager* g_top_manager = nullptr;
27 AtExitManager::AtExitManager() in AtExitManager() function in base::AtExitManager
37 AtExitManager::~AtExitManager() { in ~AtExitManager()
50 void AtExitManager::RegisterCallback(AtExitCallbackType func, void* param) { in RegisterCallback()
56 void AtExitManager::RegisterTask(base::Closure task) { in RegisterTask()
68 void AtExitManager::ProcessCallbacksNow() { in ProcessCallbacksNow()
98 void AtExitManager::DisableAllAtExitManagers() { in DisableAllAtExitManagers()
103 AtExitManager::AtExitManager(bool shadow) in AtExitManager() function in base::AtExitManager
Dat_exit.h30 class BASE_EXPORT AtExitManager {
34 AtExitManager();
38 ~AtExitManager();
60 explicit AtExitManager(bool shadow);
66 AtExitManager* next_manager_; // Stack of managers to allow shadowing.
68 DISALLOW_COPY_AND_ASSIGN(AtExitManager);
72 class ShadowingAtExitManager : public AtExitManager {
74 ShadowingAtExitManager() : AtExitManager(true) {} in ShadowingAtExitManager()
Dlazy_instance_helpers.cc60 AtExitManager::RegisterCallback(destructor, destructor_arg); in CompleteLazyInstance()
/external/libbrillo/
Dtestrunner_android.cc23 base::AtExitManager at_exit_manager; in main()
Dtestrunner.cc13 base::AtExitManager at_exit_manager; in main()
/external/libchrome/
Dtestrunner.cc24 base::AtExitManager at_exit_manager; in main()
/external/libbrillo/brillo/daemons/
Ddaemon.h109 base::AtExitManager at_exit_manager_;
/external/autotest/client/site_tests/security_Libcontainer/src/
Dlibcontainer_target_unittest.cc229 base::AtExitManager exit_manager; in main()
/external/libchrome/base/metrics/
Dstatistics_recorder.cc412 AtExitManager::RegisterCallback(dump_to_vlog, nullptr); in InitLogOnShutdownWhileLocked()