Home
last modified time | relevance | path

Searched refs:mReceiverCaptor (Results 1 – 2 of 2) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DStartManagedProfileTaskTest.java66 private ArgumentCaptor<BroadcastReceiver> mReceiverCaptor = field in StartManagedProfileTaskTest
112 mReceiverCaptor.capture(), in testSuccess()
121 mReceiverCaptor.getValue().onReceive(mContext, UNLOCK_INTENT); in testSuccess()
128 verify(mContext).unregisterReceiver(mReceiverCaptor.getValue()); in testSuccess()
141 mReceiverCaptor.capture(), in testError()
150 verify(mContext).unregisterReceiver(mReceiverCaptor.getValue()); in testError()
164 mReceiverCaptor.capture(), in testRemoteException()
173 verify(mContext).unregisterReceiver(mReceiverCaptor.getValue()); in testRemoteException()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java51 @Captor ArgumentCaptor<BroadcastReceiver> mReceiverCaptor; field in TelephonyRcsServiceTest
218 mReceiverCaptor.getValue().onReceive(mContext, intent); in sendCarrierConfigChanged()
237 verify(mContext).registerReceiver(mReceiverCaptor.capture(), any()); in createRcsService()