Home
last modified time | relevance | path

Searched refs:waitForCallback (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java94 assertTrue(listener.waitForCallback()); in testHasBlockedNumbers_Disabled()
107 assertFalse(listener.waitForCallback()); in testHasBlockedNumbers_NoResults()
120 assertTrue(listener.waitForCallback()); in testHasBlockedNumbers()
144 assertEquals(ID, listener.waitForCallback()); in testIsBlockedNumber_Disabled()
159 assertNull(listener.waitForCallback()); in testIsBlockedNumber_NoResults()
177 assertEquals(ID, listener.waitForCallback()); in testIsBlockedNumber()
197 assertEquals(ID, listener.waitForCallback()); in testIsBlockedNumber_MultipleResults()
220 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber_Disabled()
235 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber()
250 assertSame(EXPECTED_URI, listener.waitForCallback()); in testBlockNumber_NullNormalizedNumber()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java438 private boolean waitForCallback() { in waitForCallback() method in ScanManager.ScanNative
543 waitForCallback(); in resetBatchScan()
558 waitForCallback(); in resetBatchScan()
566 waitForCallback(); in resetBatchScan()
726 waitForCallback(); in flushBatchResults()
732 waitForCallback(); in flushBatchResults()
770 waitForCallback(); in configureScanFilters()
779 waitForCallback(); in configureScanFilters()
790 waitForCallback(); in configureScanFilters()
808 waitForCallback(); in configureScanFilters()
[all …]
DAdvertiseManager.java283 if (!waitForCallback()) { in startMultiAdvertising()
288 if (!waitForCallback()) { in startMultiAdvertising()
294 if (!waitForCallback()) { in startMultiAdvertising()
305 if (!waitForCallback()) { in startSingleAdvertising()
331 private boolean waitForCallback() { in waitForCallback() method in AdvertiseManager.AdvertiseNative
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DBlockedNumbersMigratorTest.java106 listener.waitForCallback(); in testMigrate_N()
124 listener.waitForCallback(); in testMigrate_N_AlreadyBlocked()
154 public void waitForCallback() throws InterruptedException { in waitForCallback() method in BlockedNumbersMigratorTest.MigrationListener