Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncTaskTest.java249 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoRecoveryAgentSet()
267 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoDeviceIdIsSet()
505 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
553 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
577 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
598 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectSnapshotVersion()
617 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_recreatesMissingSnapshot()
650 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPassword()
681 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPin()
712 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPattern()
[all …]
H A DRecoverySnapshotListenersStorageTest.java36 assertFalse(mStorage.hasListener(1000)); in hasListener_isFalseForUnregisteredUid()
49 assertTrue(mStorage.hasListener(recoveryAgentUid)); in hasListener_isTrueForRegisteredUid()
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DLocationUsageLogger.java53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage() argument
83 getCallbackType(apiInUse, hasListener, hasIntent), in logLocationApiUsage()
217 int apiType, boolean hasListener, boolean hasIntent) { in getCallbackType() argument
226 } else if (hasListener) { in getCallbackType()
/aosp14/frameworks/base/media/java/android/media/
H A DCallbackUtil.java85 static <T> boolean hasListener(@NonNull T listener, in hasListener() method in CallbackUtil
136 if (hasListener(listener, listeners)) { in addListener()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverySnapshotListenersStorage.java63 public synchronized boolean hasListener(int recoveryAgentUid) { in hasListener() method in RecoverySnapshotListenersStorage
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContextListenerController.java155 boolean hasListener(IBinder clientToken) { in hasListener() method in WindowContextListenerController
H A DWindowManagerService.java1518 } else if (mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
1682 && mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerServiceTests.java507 .hasListener(eq(windowContextToken)); in testAddWindowWithSubWindowTypeByWindowContext()
/aosp14/frameworks/base/core/java/android/widget/
H A DAbsListView.java7418 final boolean hasListener = mRecyclerListener != null; in scrapActiveViews()
7466 if (hasListener) { in scrapActiveViews()