Home
last modified time | relevance | path

Searched refs:WaitForProperty (Results 1 – 16 of 16) sorted by relevance

/system/core/init/
Doneshot_on_test.cpp25 using android::base::WaitForProperty;
42 EXPECT_TRUE(WaitForProperty("init.svc.bootanim", "restarting", 10s)); in TEST()
48 EXPECT_TRUE(WaitForProperty("init.svc.bootanim", "stopped", 10s)); in TEST()
Dsubcontext_test.cpp37 using android::base::WaitForProperty;
76 WaitForProperty("init.test.subcontext", "fail"); in TEST()
86 EXPECT_TRUE(WaitForProperty("init.test.subcontext", "success", 10s)); in TEST()
Dreboot_test.cpp46 using android::base::WaitForProperty;
Dreboot.cpp78 using android::base::WaitForProperty;
901 if (!WaitForProperty("sys.init.userspace_reboot.in_progress", "1", started_timeout)) { in UserspaceRebootWatchdogThread()
912 if (!WaitForProperty("sys.boot_completed", "1", watchdog_timeout)) { in UserspaceRebootWatchdogThread()
/system/libbase/
Dproperties_test.cpp157 TEST(properties, WaitForProperty) { in TEST() argument
167 ASSERT_TRUE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "a", 1s)); in TEST()
169 ASSERT_TRUE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "b", 1s)); in TEST()
179 ASSERT_FALSE(android::base::WaitForProperty("debug.libbase.WaitForProperty_timeout_test", "a", in TEST()
201 ASSERT_TRUE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "a", 1s)); in TEST()
204 ASSERT_TRUE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "b")); in TEST()
221 ASSERT_TRUE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "a", 1s)); in TEST()
224 ASSERT_FALSE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "b", -100ms)); in TEST()
Dproperties.cpp196 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() function
/system/apex/apexd/
Dapexd_lifecycle.cpp28 using android::base::WaitForProperty;
47 if (WaitForProperty("sys.init.updatable_crashing", "1", in WaitForBootStatus()
/system/bpf/libbpf_android/include/
Dlibbpf_android.h40 if (android::base::WaitForProperty("bpf.progs_loaded", "1", std::chrono::seconds(delay))) in waitForProgsLoaded()
/system/linkerconfig/modules/tests/
Dvariables_test.cc36 ASSERT_TRUE(android::base::WaitForProperty("debug.linkerconfig.test_prop_key", in TEST()
/system/libhidl/adapter/
DHidlBinderAdapter.cpp35 using android::base::WaitForProperty;
118 while (!WaitForProperty(property, "true", 30s)) { in waitForAdaptersDeactivated()
/system/libbase/include/android-base/
Dproperties.h61 bool WaitForProperty(const std::string& key, const std::string& expected_value,
/system/core/fs_mgr/libsnapshot/
Dsnapuserd_client.cpp50 if (!android::base::WaitForProperty("init.svc.snapuserd", "running", 10s)) { in EnsureSnapuserdStarted()
/system/libhidl/transport/
DServiceManagement.cpp80 using android::base::WaitForProperty; in waitForHwServiceManager()
81 while (!WaitForProperty(kHwServicemanagerReadyProperty, "true", 1s)) { in waitForHwServiceManager()
/system/vold/
DKeyStorage.cpp246 android::base::WaitForProperty("vold.checkpoint_committed", "1"); in DeferredCommitKeys()
DUtils.cpp1153 android::base::WaitForProperty(kRestoreconString, path); in RestoreconRecursive()
Dcryptfs.cpp1578 … while (!android::base::WaitForProperty("vold.post_fs_data_done", "1", std::chrono::seconds(15))) { in prep_data_fs()