Home
last modified time | relevance | path

Searched refs:hasListener (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/injector/
DLocationUsageLogger.java53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage() argument
83 getCallbackType(apiInUse, hasListener, hasIntent), in logLocationApiUsage()
224 int apiType, boolean hasListener, boolean hasIntent) { in getCallbackType() argument
233 } else if (hasListener) { in getCallbackType()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java251 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoRecoveryAgentSet()
269 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoDeviceIdIsSet()
549 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
597 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
621 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
642 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectSnapshotVersion()
661 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_recreatesMissingSnapshot()
694 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPassword()
727 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPin()
760 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPattern()
[all …]
DRecoverySnapshotListenersStorageTest.java36 assertFalse(mStorage.hasListener(1000)); in hasListener_isFalseForUnregisteredUid()
49 assertTrue(mStorage.hasListener(recoveryAgentUid)); in hasListener_isTrueForRegisteredUid()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorage.java63 public synchronized boolean hasListener(int recoveryAgentUid) { in hasListener() method in RecoverySnapshotListenersStorage
/frameworks/base/media/java/android/media/
DCallbackUtil.java85 static <T> boolean hasListener(@NonNull T listener, in hasListener() method in CallbackUtil
136 if (hasListener(listener, listeners)) { in addListener()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java275 void setHasContentOnApplyWindowInsetsListener(boolean hasListener) { in setHasContentOnApplyWindowInsetsListener() argument
276 mHasContentOnApplyWindowInsetsListener = hasListener; in setHasContentOnApplyWindowInsetsListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DQosCallbackTracker.java519 final int bearerState, final boolean hasListener) { in notifyMetricDedicatedBearerEvent() argument
526 localConnectionInfoReceived, remoteConnectionInfoReceived, hasListener); in notifyMetricDedicatedBearerEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java170 boolean hasListener(IBinder clientToken) { in hasListener() method in WindowContextListenerController
DWindowManagerService.java1644 } else if (mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
1795 && mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java620 .hasListener(eq(windowContextToken)); in testAddWindowWithSubWindowTypeByWindowContext()
/frameworks/base/core/java/android/widget/
DAbsListView.java7464 final boolean hasListener = mRecyclerListener != null; in scrapActiveViews()
7512 if (hasListener) { in scrapActiveViews()
/frameworks/base/services/
Dart-wear-profile29397 PLcom/android/server/wm/WindowContextListenerController;->hasListener(Landroid/os/IBinder;)Z