Searched refs:mReceiverCaptor (Results 1 – 2 of 2) sorted by relevance
66 private ArgumentCaptor<BroadcastReceiver> mReceiverCaptor = field in StartManagedProfileTaskTest112 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()
51 @Captor ArgumentCaptor<BroadcastReceiver> mReceiverCaptor; field in TelephonyRcsServiceTest218 mReceiverCaptor.getValue().onReceive(mContext, intent); in sendCarrierConfigChanged()237 verify(mContext).registerReceiver(mReceiverCaptor.capture(), any()); in createRcsService()