Home
last modified time | relevance | path

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

/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java67 private ZenModeBroadcastReceiver mModeReceiver; field in ConditionProviderServiceTest
84 mModeReceiver = new ZenModeBroadcastReceiver(); in setUp()
87 mContext.registerReceiver(mModeReceiver, mModeFilter); in setUp()
92 mContext.unregisterReceiver(mModeReceiver); in tearDown()
127 mModeReceiver.reset(); in testUnboundCPSMaintainsCondition_addsNewRule()
132 mModeReceiver.waitFor(1/*Secondary only*/, 1000/*Limit is 1 second*/); in testUnboundCPSMaintainsCondition_addsNewRule()
159 mModeReceiver.reset(); in testUnboundCPSMaintainsCondition_otherConditionChanges()
167 mModeReceiver.waitFor(2/*Legacy and Secondary*/, 1000/*Limit is 1 second*/); in testUnboundCPSMaintainsCondition_otherConditionChanges()
196 mModeReceiver.reset(); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
204 mModeReceiver.waitFor(2/*Legacy and Secondary*/, 1000/*Limit is 1 second*/); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()