Searched refs:mModeReceiver (Results 1 – 1 of 1) sorted by relevance
67 private ZenModeBroadcastReceiver mModeReceiver; field in ConditionProviderServiceTest84 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()