/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsCallingBase.java | 112 private static CarrierConfigReceiver sReceiver; field in ImsCallingBase 221 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTestsBase() 226 .registerReceiver(sReceiver, filter); in beforeAllTestsBase() 268 sReceiver.clearQueue(); in beforeAllTestsBase() 274 sReceiver.waitForChanged(); in beforeAllTestsBase() 301 if (sReceiver != null) { in afterAllTestsBase() 304 .unregisterReceiver(sReceiver); in afterAllTestsBase() 305 sReceiver = null; in afterAllTestsBase() 606 sReceiver.clearQueue(); in overrideCarrierConfig() 609 sReceiver.waitForChanged(); in overrideCarrierConfig()
|
D | EabBulkCapabilityUpdaterTest.java | 85 private static CarrierConfigReceiver sReceiver; field in EabBulkCapabilityUpdaterTest 148 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 160 .registerReceiver(sReceiver, filter); in beforeAllTests() 179 if (sReceiver != null) { in afterAllTests() 180 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 181 sReceiver = null; in afterAllTests() 188 if (sReceiver != null) { in afterAllTests() 190 .unregisterReceiver(sReceiver); in afterAllTests() 459 sReceiver.clearQueue(); in updateEabCarrierConfig() 469 sReceiver.waitForCarrierConfigChanged(); in updateEabCarrierConfig()
|
D | MmTelFeatureTestOnMockModem.java | 109 private static CarrierConfigReceiver sReceiver; field in MmTelFeatureTestOnMockModem 198 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 202 .registerReceiver(sReceiver, filter); in beforeAllTests() 227 if (sReceiver != null) { in afterAllTests() 228 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 229 sReceiver = null; in afterAllTests() 681 if (sReceiver != null) sReceiver.clearQueue(); in overrideCarrierConfig() 684 if (sReceiver != null) sReceiver.waitForChanged(); in overrideCarrierConfig()
|
D | EabControllerTest.java | 84 private static CarrierConfigReceiver sReceiver; field in EabControllerTest 159 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 163 .registerReceiver(sReceiver, filter); in beforeAllTests() 195 if (sReceiver != null) { in afterAllTests() 196 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 197 sReceiver = null; in afterAllTests() 619 sReceiver.clearQueue(); in overrideCarrierConfig() 622 sReceiver.waitForCarrierConfigChanged(); in overrideCarrierConfig()
|
D | ImsMmTelManagerTest.java | 88 private static CarrierConfigReceiver sReceiver; field in ImsMmTelManagerTest 171 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 174 getContext().registerReceiver(sReceiver, filter, Context.RECEIVER_EXPORTED_UNAUDITED); in beforeAllTests() 188 if (sReceiver != null) { in afterAllTests() 189 getContext().unregisterReceiver(sReceiver); in afterAllTests() 190 sReceiver = null; in afterAllTests() 758 sReceiver.clearQueue(); in overrideCarrierConfig() 761 sReceiver.waitForCarrierConfigChanged(); in overrideCarrierConfig()
|
D | SipDelegateManagerTest.java | 190 private static CarrierConfigReceiver sReceiver; field in SipDelegateManagerTest 217 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 221 .registerReceiver(sReceiver, filter); in beforeAllTests() 249 if (sReceiver != null) { in afterAllTests() 250 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 251 sReceiver = null; in afterAllTests() 2490 sReceiver.clearQueue(); in overrideCarrierConfig() 2493 sReceiver.waitForCarrierConfigChanged(); in overrideCarrierConfig()
|
D | RcsUceAdapterTest.java | 132 private static CarrierConfigReceiver sReceiver; field in RcsUceAdapterTest 195 sReceiver = new RcsUceAdapterTest.CarrierConfigReceiver(sTestSub); in beforeAllTests() 199 .registerReceiver(sReceiver, filter); in beforeAllTests() 221 if (sReceiver != null) { in afterAllTests() 222 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 223 sReceiver = null; in afterAllTests() 3782 sReceiver.clearQueue(); in overrideCarrierConfig() 3785 sReceiver.waitForCarrierConfigChanged(); in overrideCarrierConfig()
|
D | ImsServiceTest.java | 274 private static CarrierConfigReceiver sReceiver; field in ImsServiceTest 372 sReceiver = new CarrierConfigReceiver(sTestSub); in beforeAllTests() 376 .registerReceiver(sReceiver, filter); in beforeAllTests() 400 if (sReceiver != null) { in afterAllTests() 401 InstrumentationRegistry.getInstrumentation().getContext().unregisterReceiver(sReceiver); in afterAllTests() 402 sReceiver = null; in afterAllTests() 6674 sReceiver.clearQueue(); 6677 sReceiver.waitForChanged();
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 135 private static final BroadcastReceiver sReceiver = new BroadcastReceiver() { field in MockWifiTest 217 sContext.registerReceiver(sReceiver, intentFilter, RECEIVER_EXPORTED); in setUpClass() 232 sContext.unregisterReceiver(sReceiver); in tearDownClass()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 281 private static final BroadcastReceiver sReceiver = new BroadcastReceiver() { field in WifiManagerTest 446 sContext.registerReceiver(sReceiver, intentFilter, RECEIVER_EXPORTED); in setUpClass() 448 sContext.registerReceiver(sReceiver, intentFilter); in setUpClass() 491 sContext.unregisterReceiver(sReceiver); in tearDownClass()
|