/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 69 static final String WIFI = "WIFI"; field in LingerMonitorTest 106 setNotificationSwitch(transition(WIFI, CELLULAR)); in testTransitions() 116 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationOnLinger() 127 setNotificationSwitch(transition(WIFI, CELLULAR)); in testToastOnLinger() 138 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterDisconnect() 152 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterSwitchingBack() 166 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueToast() 184 setNotificationSwitch(transition(WIFI, CELLULAR)); in testMultipleNotifications() 205 setNotificationSwitch(transition(WIFI, CELLULAR)); in testRateLimiting() 231 setNotificationSwitch(transition(WIFI, CELLULAR)); in testDailyLimiting() [all …]
|
D | IpConnectivityEventBuilderTest.java | 28 import static com.android.server.connectivity.metrics.nano.IpConnectivityLogClass.WIFI; 180 String.format(" link_layer: %d", WIFI), in testLinkLayerInferrence()
|
/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}, in testApplyPowerPolicy_oneTime() 91 CarPowerPolicy expected = new CarPowerPolicy("test_policy1", new int[]{WIFI}, 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()
|
D | PolicyReaderUnitTest.java | 34 import static android.car.hardware.power.PowerComponent.WIFI; 71 new int[]{WIFI}, 76 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT, 81 new int[]{AUDIO, DISPLAY, BLUETOOTH, WIFI, VOICE_INTERACTION, 85 new int[]{WIFI}, 89 new int[]{WIFI, CELLULAR, ETHERNET, TRUSTED_DEVICE_DETECTION, CPU}, 94 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU},
|
D | CarPowerManagementServiceUnitTest.java | 534 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | PowerComponentHandlerTest.cpp | 73 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F() 77 ASSERT_TRUE(*handler.getPowerComponentState(PowerComponent::WIFI)); in TEST_F() 86 {"test_policy1", {PowerComponent::WIFI}, {PowerComponent::AUDIO}}, in TEST_F() 88 {PowerComponent::WIFI, PowerComponent::DISPLAY}, in TEST_F() 92 {PowerComponent::WIFI}}, in TEST_F() 99 {PowerComponent::BLUETOOTH, PowerComponent::WIFI, PowerComponent::CELLULAR, in TEST_F()
|
D | PolicyManagerTest.cpp | 82 createCarPowerPolicy("policy_id_other_off", {PowerComponent::WIFI}, 93 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 104 PowerComponent::BLUETOOTH, PowerComponent::WIFI, 109 createCarPowerPolicy("policy_id_other_none", {PowerComponent::WIFI}, 116 {PowerComponent::WIFI, PowerComponent::CELLULAR, 126 {PowerComponent::BLUETOOTH, PowerComponent::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/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 31 const val WIFI = NetworkCapabilities.TRANSPORT_WIFI in <lambda>() constant 145 cb is CapabilitiesChanged && cb.caps.hasTransport(WIFI) in <lambda>() 152 val netCaps = NetworkCapabilities().addCapability(NOT_METERED).addTransportType(WIFI) in <lambda>() 166 caps.hasTransport(WIFI) && in <lambda>()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | stats.proto | 90 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 118 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 143 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..) 169 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanNetworkService.java | 61 WIFI; enumConstant 120 true, IwlanNetworkService.Transport.WIFI); in onCapabilitiesChanged() 326 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
|
D | IwlanDataService.java | 88 WIFI; enumConstant 164 IwlanDataService.setNetworkConnected(true, network, Transport.WIFI); in onCapabilitiesChanged() 1127 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected() 1200 if (transport == Transport.WIFI && hasNetworkConnectedChanged) { in setNetworkConnected() 1373 } else if (sDefaultDataTransport == Transport.WIFI) { in dump()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiStateSwitchPreferenceController.java | 19 import static android.car.hardware.power.PowerComponent.WIFI; 50 mPowerPolicyListener = new PowerPolicyListener(context, WIFI, in WifiStateSwitchPreferenceController()
|
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanDataServiceTest.java | 387 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanSetupDataCallWithBringUpTunnel() 422 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testSliceInfoInclusionInDataCallResponse() 566 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testDnsPrefetching() 732 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStatsFailureCounts() 753 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStatsUnsolDownCounts() 772 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStats()
|
D | IwlanNetworkServiceTest.java | 119 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testRequestNetworkRegistrationInfo() 274 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testNetworkRegistrationInfoForWiFiAndCstEnabled() 325 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testNetworkRegistrationInfoForWiFiAndCstDisabled()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | PowerComponentUtilUnitTest.java | 59 new int[]{PowerComponent.WIFI, PowerComponent.NFC}); in testHasComponents() 63 .setComponents(PowerComponent.WIFI).build(); in testHasComponents()
|
D | CarPowerManagerUnitTest.java | 34 import static android.car.hardware.power.PowerComponent.WIFI; 254 TRUSTED_DEVICE_DETECTION, VISUAL_INTERACTION, VOICE_INTERACTION, WIFI}); in testGetCurrentPowerPolicy() 312 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | PowerComponentUtil.java | 156 return PowerComponent.WIFI; in toPowerComponent() 198 case PowerComponent.WIFI: in powerComponentToString()
|
D | PowerComponent.java | 40 */int WIFI = 5; field
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PowerComponentHandler.java | 22 import static android.car.hardware.power.PowerComponent.WIFI; 371 super(WIFI); in WifiPowerComponentMediator() 472 case PowerComponent.WIFI: in createPowerComponent()
|
D | PolicyReader.java | 112 PowerComponent.WIFI, PowerComponent.CELLULAR, 125 PowerComponent.AUDIO, PowerComponent.BLUETOOTH, PowerComponent.WIFI,
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 87 {PowerComponent::WIFI, PowerComponent::CELLULAR, PowerComponent::ETHERNET, 105 PowerComponent::WIFI, 123 PowerComponent::WIFI,
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | WifiPanel.java | 68 SettingsEnums.WIFI); in getSeeMoreIntent()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 209 .setSourceMetricsCategory(SettingsEnums.WIFI) in getWifiEntryAction()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiSettings.java | 479 return SettingsEnums.WIFI; in getMetricsCategory()
|