Home
last modified time | relevance | path

Searched refs:waitFor (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DStorageWizardTest.java89 waitFor(By.res(PACKAGE, "suc_layout_title").text(containsIgnoringCase("How will you use"))); in testInternal()
90 waitFor(By.res(PACKAGE, "storage_wizard_init_internal")).click(); in testInternal()
93 waitFor(By.res(ANDROID_PACKAGE, "alertTitle").textContains("Format")); in testInternal()
94 waitFor(By.clickable(true).text(containsIgnoringCase("Format"))).click(); in testInternal()
98 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
102 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
106 waitFor(By.res(PACKAGE, "storage_next_button")).click(); in testInternal()
117 waitFor(By.res(PACKAGE, "suc_layout_title").textContains("How will you use")); in testExternal()
118 waitFor(By.res(PACKAGE, "storage_wizard_init_external")).click(); in testExternal()
121 waitFor(By.res(PACKAGE, "suc_layout_title").textContains("ready to use")); in testExternal()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java211 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdown()
220 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdown()
230 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdownImmediately()
241 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdownImmediately()
251 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testSuspend()
266 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdownOnSuspend()
276 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdownOnSuspend()
297 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdownCancel()
319 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testSleepImmediately()
327 mPowerSignalListener.waitFor(PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_MS); in testSleepImmediately()
[all …]
/packages/apps/Traceur/src/com/android/traceur/
DAtraceUtils.java71 if (atrace.waitFor() != 0) { in traceStart()
88 if (atrace.waitFor() != 0) { in traceStop()
103 if (atrace.waitFor() != 0) { in traceDump()
113 if (ps.waitFor() != 0) { in traceDump()
169 if (atrace.waitFor() != 0) { in atraceListCategories()
DPerfettoUtils.java248 if (!process.waitFor(STARTUP_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in traceStart()
278 if (process.waitFor() != 0) { in traceStop()
317 int result = process.waitFor(); in isTracingOn()
DTraceUtils.java101 if (rm.waitFor() != 0) { in clearSavedTraces()
/packages/modules/NeuralNetworks/runtime/
DManager.cpp160 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
208 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
580 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced() argument
585 CHECK(std::all_of(waitFor.begin(), waitFor.end(), [](int fd) { return fd >= 0; })); in executeFenced()
592 waitForHandles.reserve(waitFor.size()); in executeFenced()
593 for (int fd : waitFor) { in executeFenced()
724 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced() argument
727 CHECK(std::all_of(waitFor.begin(), waitFor.end(), [](int fd) { return fd >= 0; })); in computeFenced()
730 waitForHandles.reserve(waitFor.size()); in computeFenced()
731 for (int fd : waitFor) { in computeFenced()
[all …]
DExecutionBuilder.cpp833 static bool waitForSyncFences(const std::vector<int>& waitFor) { in waitForSyncFences() argument
834 for (int syncFd : waitFor) { in waitForSyncFences()
847 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, in computeFencedInternal() argument
857 mExecutor->computeFenced(waitFor, timeoutDurationAfterFence, deadline); in computeFencedInternal()
877 if (!waitForSyncFences(waitFor)) { in computeFencedInternal()
890 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, in computeFencedInternal() argument
908 std::vector<int> waitForFds = waitFor; in computeFencedInternal()
965 if (!waitForSyncFences(waitFor)) { in computeFencedInternal()
972 int ExecutionBuilder::computeFenced(const std::vector<int>& waitFor, in computeFenced() argument
999 computeFencedInternal(waitFor, timeoutDurationAfterFence, deadline); in computeFenced()
[all …]
DExecutionBuilder.h155 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence,
272 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence,
288 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence,
DManager.h62 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
91 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DIconLoaderTest.java77 public synchronized Object waitFor() { in waitFor() method in IconLoaderTest.AssertConsumer
87 IconLoaderTest.assertNull(waitFor()); in assertNull()
90 IconLoaderTest.assertNotNull(waitFor()); in assertNotNull()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DPollingCheck.java88 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
97 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
106 public static void waitFor(long timeout, BooleanSupplier condition, String errorMessage) { in waitFor() method in PollingCheck
/packages/modules/NeuralNetworks/common/include/
DDefaultExecution.h49 const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline, in computeFenced() argument
51 return kPreparedModel->executeFenced(kRequest, waitFor, kMeasure, deadline, in computeFenced()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp215 const std::vector<::ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() argument
231 std::vector<const ANeuralNetworksEvent*> deps(waitFor.size()); in executeFenced()
233 std::transform(waitFor.begin(), waitFor.end(), deps.begin(), in executeFenced()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetConfirmFragmentTest.java200 PollingCheck.waitFor( in confirmClicked_noOemUnlockAllowed_provisioned_wipesPdb()
214 PollingCheck.waitFor( in confirmClicked_noOemUnlockAllowed_provisioned_sendsResetIntent()
DResetAppPrefFragmentTest.java179 PollingCheck.waitFor( in triggerResetButtonAndWaitForTask()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java144 p.waitFor(); in executeCommand()
324 p.waitFor(); in writePatchedDataToSession()
/packages/modules/NeuralNetworks/common/include/nnapi/
DIExecution.h149 const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline,
DIPreparedModel.h146 const Request& request, const std::vector<SyncFence>& waitFor, MeasureTiming measure,
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp195 const Request& request, const std::vector<SyncFence>& waitFor, MeasureTiming measure, in executeFenced() argument
213 for (const auto& syncFence : waitFor) { in executeFenced()
DCanonicalPreparedModel.h47 const Request& request, const std::vector<SyncFence>& waitFor, MeasureTiming measure,
/packages/modules/Wifi/service/tests/mts/src/android/net/wifi/mts/
DStreamReader.java85 process.waitFor(); in runProcessCommand()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimPreparedModel.h52 const std::vector<::ndk::ScopedFileDescriptor>& waitFor,
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DIperfClient.java105 mProcess.waitFor(); in stopClient()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastServiceTestCase.java82 protected static void waitFor(BooleanSupplier condition) { in waitFor() method in CellBroadcastServiceTestCase
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java70 if (process.waitFor() == 0) { in runCommand()

12