Home
last modified time | relevance | path

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

12

/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, 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 …]
DPolicyReaderUnitTest.java34 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/
DLingerMonitorTest.java70 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 …]
DIpConnectivityEventBuilderTest.java28 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/
DPowerComponentHandlerTest.cpp90 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()
DPolicyManagerTest.cpp117 {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/
Dconnectivity_multi_devices_test.py38 self.serverDevice, self.clientDevice, UpstreamType.WIFI
43 self.serverDevice, self.clientDevice, UpstreamType.WIFI
47 self.serverDevice, UpstreamType.WIFI
Dtether_utils.py36 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/
DNetworkUtil.java87 return NetworkType.WIFI; in getNetworkType()
105 case NetworkType.WIFI: in getCurrentNetworkName()
174 NetworkType.WIFI,
185 String WIFI = "WIFI"; field
/packages/modules/DnsResolver/doh/
Dmetrics.rs26 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/
DPowerComponentUtilUnitTest.java72 new int[]{PowerComponent.WIFI, PowerComponent.NFC}); in testHasComponents()
76 .setComponents(PowerComponent.WIFI).build(); in testHasComponents()
124 PowerComponent.WIFI); in testPowerComponentsToStrings()
DCarPowerManagerUnitTest.java34 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/
DWifiStateSwitchPreferenceController.java19 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/
DFakeRefactoredCarPowerPolicyDaemon.java126 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/
Dstats.proto90 // 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/
DPowerComponentUtil.java160 return PowerComponent.WIFI; in toPowerComponent()
208 case PowerComponent.WIFI: in powerComponentToString()
DPowerComponent.java45 int WIFI = 5; field
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DTestableNetworkCallbackTest.kt53 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/
DIwlanNetworkService.java80 WIFI enumConstant
145 true, IwlanNetworkService.Transport.WIFI); in onCapabilitiesChanged()
405 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
DIwlanDataService.java141 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/
DPowerComponentHandler.java22 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/
DWifiPanel.java70 SettingsEnums.WIFI, in getSeeMoreIntent()
/packages/modules/common/proto/
Dsdk.proto44 // WIFI - optional
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp98 {PowerComponent::WIFI, PowerComponent::CELLULAR, PowerComponent::ETHERNET,
116 PowerComponent::WIFI,
134 PowerComponent::WIFI,
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java334 .setComponents(PowerComponent.WIFI).build(); in testSleepEntry()
397 .setComponents(PowerComponent.WIFI).build(); in testUnallowedPowerStateEventAtSuspend()
610 .setComponents(PowerComponent.WIFI).build(); in testApplyPowerPolicy_vhalPropertyUpdated()

12