Home
last modified time | relevance | path

Searched refs:WIFI (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java69 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 …]
DIpConnectivityEventBuilderTest.java28 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/
DPowerComponentHandlerUnitTest.java34 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()
DPolicyReaderUnitTest.java34 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},
DCarPowerManagementServiceUnitTest.java534 .setComponents(PowerComponent.WIFI).build(); in testAddPowerPolicyListener()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp73 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()
DPolicyManagerTest.cpp82 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/
DNetworkUtil.java87 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/
DTestableNetworkCallbackTest.kt31 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/
Dstats.proto90 // 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/
DIwlanNetworkService.java61 WIFI; enumConstant
120 true, IwlanNetworkService.Transport.WIFI); in onCapabilitiesChanged()
326 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
DIwlanDataService.java88 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/
DWifiStateSwitchPreferenceController.java19 import static android.car.hardware.power.PowerComponent.WIFI;
50 mPowerPolicyListener = new PowerPolicyListener(context, WIFI, in WifiStateSwitchPreferenceController()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java387 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()
DIwlanNetworkServiceTest.java119 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/
DPowerComponentUtilUnitTest.java59 new int[]{PowerComponent.WIFI, PowerComponent.NFC}); in testHasComponents()
63 .setComponents(PowerComponent.WIFI).build(); in testHasComponents()
DCarPowerManagerUnitTest.java34 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/
DPowerComponentUtil.java156 return PowerComponent.WIFI; in toPowerComponent()
198 case PowerComponent.WIFI: in powerComponentToString()
DPowerComponent.java40 */int WIFI = 5; field
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java22 import static android.car.hardware.power.PowerComponent.WIFI;
371 super(WIFI); in WifiPowerComponentMediator()
472 case PowerComponent.WIFI: in createPowerComponent()
DPolicyReader.java112 PowerComponent.WIFI, PowerComponent.CELLULAR,
125 PowerComponent.AUDIO, PowerComponent.BLUETOOTH, PowerComponent.WIFI,
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp87 {PowerComponent::WIFI, PowerComponent::CELLULAR, PowerComponent::ETHERNET,
105 PowerComponent::WIFI,
123 PowerComponent::WIFI,
/packages/apps/Settings/src/com/android/settings/panel/
DWifiPanel.java68 SettingsEnums.WIFI); in getSeeMoreIntent()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java209 .setSourceMetricsCategory(SettingsEnums.WIFI) in getWifiEntryAction()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java479 return SettingsEnums.WIFI; in getMetricsCategory()

12