Home
last modified time | relevance | path

Searched refs:hasBlockedNumbers (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DBlockedNumbersAutoMigratorTest.java87 verify(mockQueryHandler, never()).hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_M()
98 verify(mockQueryHandler, never()).hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_AlreadyMigrated()
111 verify(mockQueryHandler, never()).hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_AlreadyChecked()
122 verify(mockQueryHandler).hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_HasNumbers()
136 .hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_HasNumbers_MultipleCalls()
148 verify(mockQueryHandler).hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_NoNumbers()
162 .hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_NoNumbers_MultipleCalls()
182 .hasBlockedNumbers(any(OnHasBlockedNumbersListener.class)); in testAutoMigrate_SimulateClearingAppData()
191 private void setupFilteredNumberHasBlockedNumbersExpectation(final boolean hasBlockedNumbers) { in setupFilteredNumberHasBlockedNumbersExpectation() argument
196 .onHasBlockedNumbers(hasBlockedNumbers); in setupFilteredNumberHasBlockedNumbersExpectation()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java91 new FilteredNumberAsyncQueryHandler(resolver).hasBlockedNumbers(listener); in testHasBlockedNumbers_Disabled()
104 new FilteredNumberAsyncQueryHandler(mContentResolver).hasBlockedNumbers(listener); in testHasBlockedNumbers_NoResults()
117 new FilteredNumberAsyncQueryHandler(mContentResolver).hasBlockedNumbers(listener); in testHasBlockedNumbers()
394 public boolean hasBlockedNumbers; field in FilteredNumberAsyncQueryHandlerTest.HasBlockedNumbersListener
401 public void onHasBlockedNumbers(boolean hasBlockedNumbers) { in onHasBlockedNumbers() argument
402 this.hasBlockedNumbers = hasBlockedNumbers; in onHasBlockedNumbers()
410 return hasBlockedNumbers; in waitForCallback()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DBlockedNumbersAutoMigrator.java69 queryHandler.hasBlockedNumbers(new OnHasBlockedNumbersListener() { in autoMigrate()
71 public void onHasBlockedNumbers(boolean hasBlockedNumbers) { in autoMigrate()
72 if (hasBlockedNumbers) { in autoMigrate()
DFilteredNumbersUtil.java315 queryHandler.hasBlockedNumbers(new OnHasBlockedNumbersListener() { in maybeNotifyCallBlockingDisabled()
317 public void onHasBlockedNumbers(boolean hasBlockedNumbers) { in maybeNotifyCallBlockingDisabled()
318 if (context == null || !hasBlockedNumbers) { in maybeNotifyCallBlockingDisabled()
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandler.java87 void onHasBlockedNumbers(boolean hasBlockedNumbers); in onHasBlockedNumbers() argument
128 public void hasBlockedNumbers(final OnHasBlockedNumbersListener listener) { in hasBlockedNumbers() method in FilteredNumberAsyncQueryHandler