Searched refs:newListener (Results 1 – 5 of 5) sorted by relevance
131 IBroadcastListener newListener = mock(IBroadcastListener.class); in testRegisterAdvertising_twoTimes_fail() local133 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()
283 void registerTaskVisualsChangeListener(TaskVisualsChangeListener newListener) { in registerTaskVisualsChangeListener() argument284 mTaskVisualsChangeListener = newListener; in registerTaskVisualsChangeListener()
211 OnQueryCompleteListener intermediateListener = listenerFactory.newListener(directoryId); in startOtherDirectoriesQuery()340 OnQueryCompleteListener newListener(long directoryId) { in newListener() method in CallerInfoAsyncQuery.DirectoryQueryCompleteListenerFactory
1506 ActiveModeManager.Listener<ConcreteClientModeManager> newListener = in clientInConnectModeChangeRoles() local1509 ActiveModeManager.ROLE_CLIENT_SECONDARY_TRANSIENT, TEST_WORKSOURCE, newListener); in clientInConnectModeChangeRoles()1513 verify(newListener).onRoleChanged(mClientModeManager); // callback sent on new listener. in clientInConnectModeChangeRoles()
140 public void addCallStateListener(CallStateListener newListener) { in addCallStateListener() argument141 mCallStateListeners.add(newListener); in addCallStateListener()144 public boolean removeCallStateListener(CallStateListener newListener) { in removeCallStateListener() argument145 return mCallStateListeners.remove(newListener); in removeCallStateListener()