/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 34 import static android.car.hardware.power.PowerComponent.WIFI; 82 VISUAL_INTERACTION, VOICE_INTERACTION, WIFI}); in testGetAccumulatedPolicy_firstTime() 89 CarPowerPolicy policy = new CarPowerPolicy("test_policy1", new int[]{WIFI, BLUETOOTH, in testApplyPowerPolicy_oneTime() 91 CarPowerPolicy expected = new CarPowerPolicy("test_policy1", new int[]{WIFI, BLUETOOTH, in testApplyPowerPolicy_oneTime() 104 new CarPowerPolicy("test_policy1", new int[]{WIFI}, new int[]{AUDIO}), in testApplyPowerPolicy_multipleTimes() 105 new CarPowerPolicy("test_policy2", new int[]{WIFI, DISPLAY}, new int[]{NFC}), in testApplyPowerPolicy_multipleTimes() 106 new CarPowerPolicy("test_policy3", new int[]{CPU, INPUT}, new int[]{WIFI}), in testApplyPowerPolicy_multipleTimes() 111 TRUSTED_DEVICE_DETECTION, VISUAL_INTERACTION, VOICE_INTERACTION, WIFI}); in testApplyPowerPolicy_multipleTimes() 125 new int[]{WIFI, customComponentId}, new int[]{AUDIO}); in testApplyPowerPolicy_withCustomComponents() 126 CarPowerPolicy policy2 = new CarPowerPolicy("test_policy2", new int[]{WIFI, DISPLAY}, in testApplyPowerPolicy_withCustomComponents() [all …]
|
D | PolicyReaderUnitTest.java | 34 import static android.car.hardware.power.PowerComponent.WIFI; 81 new int[]{WIFI}, 86 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT, 91 new int[]{AUDIO, DISPLAY, BLUETOOTH, WIFI, VOICE_INTERACTION, 95 new int[]{WIFI}, 99 new int[]{WIFI, CELLULAR, ETHERNET, TRUSTED_DEVICE_DETECTION, CPU}, 104 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU}, 110 new int[]{AUDIO, BLUETOOTH, WIFI, LOCATION, MICROPHONE, CPU}); 114 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU}, 121 new int[]{WIFI, CUSTOM_COMPONENT_1000}, [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 70 static final String WIFI = "WIFI"; field in LingerMonitorTest 109 setNotificationSwitch(transition(WIFI, CELLULAR)); in testTransitions() 119 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationOnLinger() 130 setNotificationSwitch(transition(WIFI, CELLULAR)); in testToastOnLinger() 141 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterDisconnect() 155 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterSwitchingBack() 169 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueToast() 187 setNotificationSwitch(transition(WIFI, CELLULAR)); in testMultipleNotifications() 208 setNotificationSwitch(transition(WIFI, CELLULAR)); in testRateLimiting() 234 setNotificationSwitch(transition(WIFI, CELLULAR)); in testDailyLimiting() [all …]
|
D | IpConnectivityEventBuilderTest.java | 28 import static com.android.server.connectivity.metrics.nano.IpConnectivityLogClass.WIFI; 176 String.format(" link_layer: %d", WIFI), in testLinkLayerInferrence()
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | PowerComponentHandlerTest.cpp | 90 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F() 94 ASSERT_TRUE(*handler.getPowerComponentState(PowerComponent::WIFI)); in TEST_F() 102 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F() 114 {"test_policy1", {PowerComponent::WIFI}, {PowerComponent::AUDIO}}, in TEST_F() 116 {PowerComponent::WIFI, PowerComponent::DISPLAY}, in TEST_F() 120 {PowerComponent::WIFI}}, in TEST_F() 127 {PowerComponent::BLUETOOTH, PowerComponent::WIFI, PowerComponent::CELLULAR, in TEST_F() 146 createPolicy("test_policy1", {PowerComponent::WIFI, PowerComponent::AUDIO}, {}, {}, {}); in TEST_F() 151 createPolicy("test_policy1", {PowerComponent::WIFI, PowerComponent::AUDIO}, in TEST_F()
|
D | PolicyManagerTest.cpp | 117 {PowerComponent::WIFI}, 135 createCarPowerPolicyWithCustomComponents("policy_id_other_off", {PowerComponent::WIFI}, 152 createCarPowerPolicy("policy_id_other_off", {PowerComponent::WIFI}, 162 {PowerComponent::WIFI, PowerComponent::MEDIA, 179 {PowerComponent::WIFI, PowerComponent::AUDIO, PowerComponent::MEDIA, 191 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 202 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 219 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 226 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 232 createCarPowerPolicy("policy_id_other_none", {PowerComponent::WIFI}, [all …]
|
/packages/modules/Connectivity/tests/cts/multidevices/ |
D | connectivity_multi_devices_test.py | 38 self.serverDevice, self.clientDevice, UpstreamType.WIFI 43 self.serverDevice, self.clientDevice, UpstreamType.WIFI 47 self.serverDevice, UpstreamType.WIFI
|
D | tether_utils.py | 36 WIFI = 2 variable in UpstreamType 66 elif upstream_type == UpstreamType.WIFI: 91 elif upstream_type == UpstreamType.WIFI:
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 87 return NetworkType.WIFI; in getNetworkType() 105 case NetworkType.WIFI: in getCurrentNetworkName() 174 NetworkType.WIFI, 185 String WIFI = "WIFI"; field
|
/packages/modules/DnsResolver/doh/ |
D | metrics.rs | 26 const WIFI: u32 = 2; constant 82 WIFI => StatsdNetworkType::NtWifi, in construct_handshake_event_stats() 129 network_type: WIFI, in test_metrics_write()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | PowerComponentUtilUnitTest.java | 72 new int[]{PowerComponent.WIFI, PowerComponent.NFC}); in testHasComponents() 76 .setComponents(PowerComponent.WIFI).build(); in testHasComponents() 124 PowerComponent.WIFI); in testPowerComponentsToStrings()
|
D | CarPowerManagerUnitTest.java | 34 import static android.car.hardware.power.PowerComponent.WIFI; 286 TRUSTED_DEVICE_DETECTION, VISUAL_INTERACTION, VOICE_INTERACTION, WIFI}); in testGetCurrentPowerPolicy() 349 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiStateSwitchPreferenceController.java | 19 import static android.car.hardware.power.PowerComponent.WIFI; 49 mPowerPolicyListener = new PowerPolicyListener(context, WIFI, isOn -> { in WifiStateSwitchPreferenceController()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeRefactoredCarPowerPolicyDaemon.java | 126 PowerComponent.WIFI, PowerComponent.CELLULAR, in createInitialOnPowerPolicy() 139 PowerComponent.WIFI, PowerComponent.CELLULAR, PowerComponent.ETHERNET, in createAllOnPowerPolicy() 150 PowerComponent.WIFI, PowerComponent.CELLULAR, PowerComponent.ETHERNET, in createNoUserPowerPolicy() 163 PowerComponent.AUDIO, PowerComponent.BLUETOOTH, PowerComponent.WIFI, in createSuspendPrepPowerPolicy()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | stats.proto | 90 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 121 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 146 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 172 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | PowerComponentUtil.java | 160 return PowerComponent.WIFI; in toPowerComponent() 208 case PowerComponent.WIFI: in powerComponentToString()
|
D | PowerComponent.java | 45 int WIFI = 5; field
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/ |
D | TestableNetworkCallbackTest.kt | 53 const val WIFI = NetworkCapabilities.TRANSPORT_WIFI in <lambda>() constant 186 cb is CapabilitiesChanged && cb.caps.hasTransport(WIFI) in <lambda>() 193 val netCaps = NetworkCapabilities().addCapability(NOT_METERED).addTransportType(WIFI) in <lambda>() 206 it.hasCapability(NOT_METERED) && it.hasTransport(WIFI) && !it.hasTransport(CELLULAR) in <lambda>()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanNetworkService.java | 80 WIFI enumConstant 145 true, IwlanNetworkService.Transport.WIFI); in onCapabilitiesChanged() 405 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
|
D | IwlanDataService.java | 141 WIFI enumConstant 236 IwlanDataService.setNetworkConnected(true, network, Transport.WIFI); in onCapabilitiesChanged() 890 } else if (sDefaultDataTransport == Transport.WIFI) { in setupDataCall() 2261 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected() 2323 if (transport == Transport.WIFI && hasNetworkConnectedChanged) { in setNetworkConnected() 2580 } else if (sDefaultDataTransport == Transport.WIFI) { in dump()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PowerComponentHandler.java | 22 import static android.car.hardware.power.PowerComponent.WIFI; 446 super(WIFI); in WifiPowerComponentMediator() 546 case PowerComponent.WIFI: in createPowerComponent()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | WifiPanel.java | 70 SettingsEnums.WIFI, in getSeeMoreIntent()
|
/packages/modules/common/proto/ |
D | sdk.proto | 44 // WIFI - optional
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 98 {PowerComponent::WIFI, PowerComponent::CELLULAR, PowerComponent::ETHERNET, 116 PowerComponent::WIFI, 134 PowerComponent::WIFI,
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 334 .setComponents(PowerComponent.WIFI).build(); in testSleepEntry() 397 .setComponents(PowerComponent.WIFI).build(); in testUnallowedPowerStateEventAtSuspend() 610 .setComponents(PowerComponent.WIFI).build(); in testApplyPowerPolicy_vhalPropertyUpdated()
|