Searched refs:actionReceiver (Results 1 – 3 of 3) sorted by relevance
96 private lateinit var actionReceiver: ActionReceiver variable in com.android.systemui.broadcast.ActionReceiverTest106 actionReceiver = ActionReceiver( in setUp()119 assertFalse(actionReceiver.registered) in testStartsUnregistered()120 verify(registerFunction, never()).invoke(sameNotNull(actionReceiver), in testStartsUnregistered()128 actionReceiver.addReceiverData(receiverData) in testRegistersOnFirstAdd()130 assertTrue(actionReceiver.registered) in testRegistersOnFirstAdd()131 verify(registerFunction).invoke(sameNotNull(actionReceiver), capture(intentFilterCaptor)) in testRegistersOnFirstAdd()141 actionReceiver.addReceiverData(receiverData1) in testRegistersOnlyOnce()142 actionReceiver.addReceiverData(receiverData2) in testRegistersOnlyOnce()144 verify(registerFunction).invoke(sameNotNull(actionReceiver), any(IntentFilter::class.java)) in testRegistersOnlyOnce()[all …]
114 val actionReceiver = userBroadcastDispatcher.getActionReceiver(ACTION_1, FLAG) in testSingleReceiverRegistered() constant115 assertNotNull(actionReceiver) in testSingleReceiverRegistered()116 verify(actionReceiver)?.addReceiverData(receiverData) in testSingleReceiverRegistered()177 val actionReceiver = userBroadcastDispatcher.getActionReceiver(ACTION_1, FLAG) in testSingleReceiverUnregistered() constant178 assertNotNull(actionReceiver) in testSingleReceiverUnregistered()179 verify(actionReceiver)?.removeReceiver(broadcastReceiver) in testSingleReceiverUnregistered()
183 actionsToActionsReceivers.forEach { (actionFlagsPerm, actionReceiver) -> in <lambda>() method189 actionReceiver.dump(pw, args) in <lambda>()