Home
last modified time | relevance | path

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

12

/aosp12/system/core/init/
H A 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()
H A 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()
H A Dreboot_test.cpp46 using android::base::WaitForProperty;
H A 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()
/aosp12/system/libbase/
H A 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()
H A Dproperties.cpp196 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() function
/aosp12/system/apex/apexd/
H A Dapexd_lifecycle.cpp28 using android::base::WaitForProperty;
47 if (WaitForProperty("sys.init.updatable_crashing", "1", in WaitForBootStatus()
/aosp12/system/libhidl/adapter/
H A DHidlBinderAdapter.cpp35 using android::base::WaitForProperty;
118 while (!WaitForProperty(property, "true", 30s)) { in waitForAdaptersDeactivated()
/aosp12/system/bpf/libbpf_android/include/
H A Dlibbpf_android.h40 if (android::base::WaitForProperty("bpf.progs_loaded", "1", std::chrono::seconds(delay))) in waitForProgsLoaded()
/aosp12/system/linkerconfig/modules/tests/
H A Dvariables_test.cc36 ASSERT_TRUE(android::base::WaitForProperty("debug.linkerconfig.test_prop_key", in TEST()
/aosp12/system/libbase/include/android-base/
H A Dproperties.h61 bool WaitForProperty(const std::string& key, const std::string& expected_value,
/aosp12/hardware/google/pixel/power-libperfmgr/aidl/
H A Dservice.cpp81 ::android::base::WaitForProperty(kPowerHalInitProp.data(), "1"); in main()
/aosp12/packages/modules/adb/libs/adbconnection/
H A Dadbconnection_client.cpp136 if (!android::base::WaitForProperty("init.svc.adbd", "running")) { in adbconnection_client_new()
/aosp12/packages/modules/adb/daemon/
H A Dmdns.cpp47 if (! android::base::WaitForProperty("init.svc.mdnsd", "running", 5s)) { in start_mdnsd()
H A Dadb_wifi.cpp197 if (WaitForProperty(kWifiEnabledProp, toggled_val)) { in start_wifi_enabled_observer()
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dsnapuserd_client.cpp50 if (!android::base::WaitForProperty("init.svc.snapuserd", "running", 10s)) { in EnsureSnapuserdStarted()
/aosp12/bootable/recovery/install/
H A Dadb_install.cpp59 return android::base::WaitForProperty("sys.usb.state", state); in SetUsbConfig()
/aosp12/system/libhidl/transport/
H A DServiceManagement.cpp80 using android::base::WaitForProperty; in waitForHwServiceManager()
81 while (!WaitForProperty(kHwServicemanagerReadyProperty, "true", 1s)) { in waitForHwServiceManager()
/aosp12/hardware/google/pixel/vibrator/drv2624/tests/
H A Dtest-hwcal.cpp31 using ::android::base::WaitForProperty;
/aosp12/bootable/recovery/
H A Drecovery_main.cpp192 return android::base::WaitForProperty("sys.usb.state", state); in SetUsbConfig()
/aosp12/hardware/interfaces/graphics/composer/2.2/vts/functional/
H A DVtsHalGraphicsComposerV2_2TargetTest.cpp708 if (!android::base::WaitForProperty("init.svc.surfaceflinger", "stopped", 10s)) { in main()
/aosp12/hardware/interfaces/graphics/composer/2.3/vts/functional/
H A DVtsHalGraphicsComposerV2_3TargetTest.cpp647 if (!android::base::WaitForProperty("init.svc.surfaceflinger", "stopped", 10s)) { in main()
/aosp12/system/vold/
H A DKeyStorage.cpp246 android::base::WaitForProperty("vold.checkpoint_committed", "1"); in DeferredCommitKeys()
/aosp12/hardware/interfaces/graphics/composer/2.4/vts/functional/
H A DVtsHalGraphicsComposerV2_4TargetTest.cpp751 if (!android::base::WaitForProperty("init.svc.surfaceflinger", "stopped", 10s)) { in main()
/aosp12/hardware/interfaces/graphics/composer/2.1/vts/functional/
H A DVtsHalGraphicsComposerV2_1TargetTest.cpp1111 if (!android::base::WaitForProperty("init.svc.surfaceflinger", "stopped", 10s)) { in main()

12