/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | StorageWizardTest.java | 89 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/ |
D | CarPowerManagementServiceUnitTest.java | 233 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdown() 242 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdown() 254 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testCanHibernate() 261 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_ENTRY, WAIT_TIMEOUT_MS); in testCanHibernate() 268 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_EXIT, WAIT_TIMEOUT_MS); in testCanHibernate() 277 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testHibernateImmediately() 284 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_ENTRY, WAIT_TIMEOUT_MS); in testHibernateImmediately() 291 mPowerSignalListener.waitFor(PowerHalService.SET_HIBERNATION_EXIT, WAIT_TIMEOUT_MS); in testHibernateImmediately() 300 mPowerSignalListener.waitFor(PowerHalService.SET_ON, WAIT_TIMEOUT_MS); in testShutdownImmediately() 311 mPowerSignalListener.waitFor(PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_MS); in testShutdownImmediately() [all …]
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 260 const std::vector<ndk::ScopedFileDescriptor>& waitFor, int64_t durationNs, in executeFencedInternal() argument 265 std::vector<const ANeuralNetworksEvent*> deps(waitFor.size()); in executeFencedInternal() 267 std::transform(waitFor.begin(), waitFor.end(), deps.begin(), in executeFencedInternal() 302 const Request& request, const std::vector<::ndk::ScopedFileDescriptor>& waitFor, in executeFencedCommon() argument 323 return executeFencedInternal(mNnapi, execution, std::move(requestMemoryPools), waitFor, in executeFencedCommon() 329 const std::vector<::ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() argument 332 return executeFencedCommon(request, waitFor, measureTiming, deadlineNs, loopTimeoutDurationNs, in executeFenced() 442 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFencedWithConfig() argument 445 return executeFencedCommon(request, waitFor, config.measureTiming, deadlineNs, in executeFencedWithConfig() 549 ndk::ScopedAStatus executeFenced(const std::vector<ndk::ScopedFileDescriptor>& waitFor, [all …]
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | AtraceUtils.java | 66 if (atrace.waitFor() != 0) { in traceStart() 83 if (atrace.waitFor() != 0) { in traceStop() 98 if (atrace.waitFor() != 0) { in traceDump() 108 if (ps.waitFor() != 0) { in traceDump()
|
D | TraceUtils.java | 100 if (rm.waitFor() != 0) { in clearSavedTraces() 137 if (!process.waitFor(timeout, TimeUnit.MILLISECONDS)) { in execWithTimeout()
|
D | PerfettoUtils.java | 357 int result = process.waitFor(); in isTracingOn() 385 if (!perfetto.waitFor(LIST_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in perfettoListCategories()
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | Coroutines.kt | 43 runBlockingWithTimeout(timeout) { waitFor(checkPeriod, condition) } in waitForWithTimeout() 47 suspend fun waitFor(checkPeriod: Duration = CHECK_PERIOD, condition: () -> Boolean) { in waitFor() method 53 return waitFor(checkPeriod, condition) in waitFor()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | PollingCheck.java | 88 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/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | IconLoaderTest.java | 77 public synchronized Object waitFor() { in waitFor() method in IconLoaderTest.AssertConsumer 87 IconLoaderTest.assertNull(waitFor()); in assertNull() 90 IconLoaderTest.assertNotNull(waitFor()); in assertNotNull()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 202 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, 254 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, 635 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced() argument 641 CHECK(std::all_of(waitFor.begin(), waitFor.end(), [](int fd) { return fd >= 0; })); in executeFenced() 648 waitForHandles.reserve(waitFor.size()); in executeFenced() 649 for (int fd : waitFor) { in executeFenced() 788 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced() argument 791 CHECK(std::all_of(waitFor.begin(), waitFor.end(), [](int fd) { return fd >= 0; })); in computeFenced() 794 waitForHandles.reserve(waitFor.size()); in computeFenced() 795 for (int fd : waitFor) { in computeFenced() [all …]
|
D | ExecutionBuilder.cpp | 872 static bool waitForSyncFences(const std::vector<int>& waitFor) { in waitForSyncFences() argument 873 for (int syncFd : waitFor) { in waitForSyncFences() 886 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, in computeFencedInternal() argument 896 mExecutor->computeFenced(waitFor, timeoutDurationAfterFence, deadline); in computeFencedInternal() 916 if (!waitForSyncFences(waitFor)) { in computeFencedInternal() 929 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, in computeFencedInternal() argument 947 std::vector<int> waitForFds = waitFor; in computeFencedInternal() 1004 if (!waitForSyncFences(waitFor)) { in computeFencedInternal() 1011 int ExecutionBuilder::computeFenced(const std::vector<int>& waitFor, in computeFenced() argument 1040 computeFencedInternal(waitFor, timeoutDurationAfterFence, deadline); in computeFenced() [all …]
|
D | ExecutionBuilder.h | 174 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, 294 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence, 310 const std::vector<int>& waitFor, uint64_t timeoutDurationAfterFence,
|
D | Manager.h | 62 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, 92 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimPreparedModel.h | 53 const std::vector<::ndk::ScopedFileDescriptor>& waitFor, 62 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, 90 const Request& request, const std::vector<::ndk::ScopedFileDescriptor>& waitFor,
|
/packages/modules/NeuralNetworks/common/include/ |
D | DefaultExecution.h | 49 const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline, in computeFenced() argument 51 return kPreparedModel->executeFenced(kRequest, waitFor, kMeasure, deadline, in computeFenced()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalPreparedModel.cpp | 190 const Request& request, const std::vector<SyncFence>& waitFor, MeasureTiming measure, in executeFenced() argument 207 if (std::any_of(waitFor.begin(), waitFor.end(), in executeFenced() 217 for (const auto& syncFence : waitFor) { in executeFenced()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.h | 122 const std::vector<ndk::ScopedFileDescriptor>& waitFor, 130 const aidl_hal::Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, 205 ndk::ScopedAStatus executeFenced(const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
D | SampleDriverAidl.cpp | 485 const aidl_hal::Request& halRequest, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFenced() argument 528 for (const auto& fenceHandle : waitFor) { in executeFenced() 611 const aidl_hal::Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFencedWithConfig() argument 614 return executeFenced(request, waitFor, config.measureTiming, deadlineNs, in executeFencedWithConfig() 709 const std::vector<ndk::ScopedFileDescriptor>& waitFor, int64_t deadlineNs, in executeFenced() argument 722 return kPreparedModel->executeFenced(kHalRequest, waitFor, kMeasureTiming, deadlineNs, in executeFenced()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/ |
D | CarWatchdogTestFragment.java | 195 waitFor(USER_APP_SWITCHING_TIMEOUT_MS, in onCreateView() 298 waitFor(watchdogSyncDelayMs, in fetchInitialDiskIoStats() 414 private void waitFor(int waitMs, String reason) { in waitFor() method in CarWatchdogTestFragment
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | FactoryResetConfirmFragmentTest.java | 200 PollingCheck.waitFor( in confirmClicked_noOemUnlockAllowed_provisioned_wipesPdb() 214 PollingCheck.waitFor( in confirmClicked_noOemUnlockAllowed_provisioned_sendsResetIntent()
|
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 144 p.waitFor(); in executeCommand() 324 p.waitFor(); in writePatchedDataToSession()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | IExecution.h | 149 const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline,
|
D | IPreparedModel.h | 156 const Request& request, const std::vector<SyncFence>& waitFor, MeasureTiming measure,
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/ |
D | UnbundledChooserActivityWorkProfileTest.java | 19 import static android.testing.PollingCheck.waitFor; 347 waitFor(() -> { in switchToTab() method
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/util/ |
D | BluetoothOperationExecutorTest.java | 230 mBluetoothOperationExecutor.waitFor(Arrays.asList(mMockFuture, mMockFuture2)); in testWaitFor() 239 mBluetoothOperationExecutor.waitFor( in testWaitForWithTimeout()
|