Home
last modified time | relevance | path

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

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DBroadcastProviderManagerTest.java131 IBroadcastListener newListener = mock(IBroadcastListener.class); in testRegisterAdvertising_twoTimes_fail() local
133 when(newListener.asBinder()).thenReturn(newBinder); in testRegisterAdvertising_twoTimes_fail()
135 mBroadcastProviderManager.startBroadcast(mBroadcastRequest, newListener); in testRegisterAdvertising_twoTimes_fail()
136 verify(newListener).onStatusChanged(eq(BroadcastCallback.STATUS_FAILURE)); in testRegisterAdvertising_twoTimes_fail()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskIconCache.java283 void registerTaskVisualsChangeListener(TaskVisualsChangeListener newListener) { in registerTaskVisualsChangeListener() argument
284 mTaskVisualsChangeListener = newListener; in registerTaskVisualsChangeListener()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java211 OnQueryCompleteListener intermediateListener = listenerFactory.newListener(directoryId); in startOtherDirectoriesQuery()
340 OnQueryCompleteListener newListener(long directoryId) { in newListener() method in CallerInfoAsyncQuery.DirectoryQueryCompleteListenerFactory
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteClientModeManagerTest.java1506 ActiveModeManager.Listener<ConcreteClientModeManager> newListener = in clientInConnectModeChangeRoles() local
1509 ActiveModeManager.ROLE_CLIENT_SECONDARY_TRANSIENT, TEST_WORKSOURCE, newListener); in clientInConnectModeChangeRoles()
1513 verify(newListener).onRoleChanged(mClientModeManager); // callback sent on new listener. in clientInConnectModeChangeRoles()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java140 public void addCallStateListener(CallStateListener newListener) { in addCallStateListener() argument
141 mCallStateListeners.add(newListener); in addCallStateListener()
144 public boolean removeCallStateListener(CallStateListener newListener) { in removeCallStateListener() argument
145 return mCallStateListeners.remove(newListener); in removeCallStateListener()