Home
last modified time | relevance | path

Searched refs:hasListener (Results 1 – 9 of 9) 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()
210 int apiType, boolean hasListener, boolean hasIntent) { in getCallbackType() argument
219 } else if (hasListener) { in getCallbackType()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java247 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoRecoveryAgentSet()
265 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoDeviceIdIsSet()
503 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
551 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
575 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
596 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectSnapshotVersion()
615 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_recreatesMissingSnapshot()
648 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPassword()
679 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPin()
711 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPattern()
[all …]
DRecoverySnapshotListenersStorageTest.java36 assertFalse(mStorage.hasListener(1000)); in hasListener_isFalseForUnregisteredUid()
47 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/services/core/java/com/android/server/wm/
DWindowContextListenerController.java127 boolean hasListener(IBinder clientToken) { in hasListener() method in WindowContextListenerController
DWindowManagerService.java1567 } else if (mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
1728 && mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java276 .hasListener(eq(windowContextToken)); in testAddWindowWithSubWindowTypeByWindowContext()
/frameworks/base/core/java/android/widget/
DAbsListView.java7152 final boolean hasListener = mRecyclerListener != null; in scrapActiveViews()
7200 if (hasListener) { in scrapActiveViews()
/frameworks/base/services/
Dart-profile49729 HSPLcom/android/server/wm/WindowContextListenerController;->hasListener(Landroid/os/IBinder;)Z+]Lan…