Searched refs:broadcastReceiver2 (Results 1 – 1 of 1) sorted by relevance
906 FilteredReceiver broadcastReceiver2 = new FilteredReceiver(); in testRegisterReceiver1() local907 mContext.registerReceiver(broadcastReceiver2, filter, Context.RECEIVER_EXPORTED_UNAUDITED); in testRegisterReceiver1()908 mContext.unregisterReceiver(broadcastReceiver2); in testRegisterReceiver1()911 broadcastReceiver2.reset(); in testRegisterReceiver1()913 assertFalse(broadcastReceiver2.hadReceivedBroadCast1()); in testRegisterReceiver1()914 assertFalse(broadcastReceiver2.hadReceivedBroadCast2()); in testRegisterReceiver1()917 broadcastReceiver2.reset(); in testRegisterReceiver1()919 assertFalse(broadcastReceiver2.hadReceivedBroadCast1()); in testRegisterReceiver1()920 assertFalse(broadcastReceiver2.hadReceivedBroadCast2()); in testRegisterReceiver1()