Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DLocationUsageLogger.java141 int apiType, boolean hasListener, boolean hasIntent) { in getCallbackType() argument
150 } else if (hasListener) { in getCallbackType()
183 boolean hasListener, boolean hasIntent, in logLocationApiUsage() argument
197 + ", hasListener: " + hasListener in logLocationApiUsage()
224 getCallbackType(apiInUse, hasListener, hasIntent), in logLocationApiUsage()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java263 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoRecoveryAgentSet()
281 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_doesNotSendAnythingIfNoDeviceIdIsSet()
519 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
567 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
591 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
612 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectSnapshotVersion()
631 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_recreatesMissingSnapshot()
664 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPassword()
695 when(mSnapshotListenersStorage.hasListener(TEST_RECOVERY_AGENT_UID)).thenReturn(true); in run_setsCorrectTypeForPin()
727 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/core/java/android/widget/
DAbsListView.java7082 final boolean hasListener = mRecyclerListener != null; in scrapActiveViews()
7130 if (hasListener) { in scrapActiveViews()