Home
last modified time | relevance | path

Searched refs:WaitForProperty (Results 1 – 17 of 17) 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.cpp78 using android::base::WaitForProperty;
865 if (!WaitForProperty("sys.init.userspace_reboot.in_progress", "1", started_timeout)) { in UserspaceRebootWatchdogThread()
876 if (!WaitForProperty("sys.boot_completed", "1", watchdog_timeout)) { in UserspaceRebootWatchdogThread()
/system/apex/apexd/
Dapexd_prop.cpp29 using android::base::WaitForProperty;
42 if (WaitForProperty("sys.init.updatable_crashing", "1", in waitForBootStatus()
65 if (WaitForProperty("sys.boot_completed", "1", std::chrono::minutes(5))) { in waitForBootStatus()
/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/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/adb/daemon/
Dmdns.cpp47 if (! android::base::WaitForProperty("init.svc.mdnsd", "running", 5s)) { in start_mdnsd()
Dadb_wifi.cpp196 if (WaitForProperty(kWifiEnabledProp, toggled_val)) { in start_wifi_enabled_observer()
/system/vold/
DMetadataCrypt.cpp118 while (!android::base::WaitForProperty("vold.checkpoint_committed", "1")) { in commit_key()
DKeyStorage.cpp209 while (!android::base::WaitForProperty("vold.checkpoint_committed", "1")) { in deferedKmDeleteKey()
DUtils.cpp771 android::base::WaitForProperty(kRestoreconString, path); in RestoreconRecursive()
Dcryptfs.cpp1478 … while (!android::base::WaitForProperty("vold.post_fs_data_done", "1", std::chrono::seconds(15))) { in prep_data_fs()
/system/libhidl/transport/
DServiceManagement.cpp80 using android::base::WaitForProperty; in waitForHwServiceManager()
81 while (!WaitForProperty(kHwServicemanagerReadyProperty, "true", 1s)) { in waitForHwServiceManager()
/system/bpf/libbpf_android/
DLoader.cpp670 android::base::WaitForProperty("bpf.progs_loaded", "1", std::chrono::seconds(seconds)); in waitSecondsForProgsLoaded()