Searched refs:hasListener (Results 1 – 9 of 9) sorted by relevance
53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage() argument83 getCallbackType(apiInUse, hasListener, hasIntent), in logLocationApiUsage()210 int apiType, boolean hasListener, boolean hasIntent) { in getCallbackType() argument219 } else if (hasListener) { in getCallbackType()
247 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 …]
36 assertFalse(mStorage.hasListener(1000)); in hasListener_isFalseForUnregisteredUid()47 assertTrue(mStorage.hasListener(recoveryAgentUid)); in hasListener_isTrueForRegisteredUid()
63 public synchronized boolean hasListener(int recoveryAgentUid) { in hasListener() method in RecoverySnapshotListenersStorage
127 boolean hasListener(IBinder clientToken) { in hasListener() method in WindowContextListenerController
1567 } else if (mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()1728 && mWindowContextListenerController.hasListener(windowContextToken)) { in addWindow()
276 .hasListener(eq(windowContextToken)); in testAddWindowWithSubWindowTypeByWindowContext()
7152 final boolean hasListener = mRecyclerListener != null; in scrapActiveViews()7200 if (hasListener) { in scrapActiveViews()
49729 HSPLcom/android/server/wm/WindowContextListenerController;->hasListener(Landroid/os/IBinder;)Z+]Lan…