Home
last modified time | relevance | path

Searched refs:CELLULAR (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java69 static final String CELLULAR = "CELLULAR"; 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.java25 import static com.android.server.connectivity.metrics.nano.IpConnectivityLogClass.CELLULAR;
107 String.format(" link_layer: %d", CELLULAR), in testLinkLayerInferrence()
159 String.format(" link_layer: %d", CELLULAR), in testLinkLayerInferrence()
/packages/modules/Connectivity/tests/cts/multidevices/
Dtether_utils.py35 CELLULAR = 1 variable in UpstreamType
62 if upstream_type == UpstreamType.CELLULAR:
89 if upstream_type == UpstreamType.CELLULAR:
114 if upstream_type == UpstreamType.CELLULAR:
Dconnectivity_multi_devices_test.py52 self.serverDevice, self.clientDevice, UpstreamType.CELLULAR
57 self.serverDevice, self.clientDevice, UpstreamType.CELLULAR
61 self.serverDevice, UpstreamType.CELLULAR
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java21 import static android.car.hardware.power.PowerComponent.CELLULAR;
80 new int[]{AUDIO, BLUETOOTH, CELLULAR, CPU, DISPLAY, ETHERNET, INPUT, LOCATION, in testGetAccumulatedPolicy_firstTime()
92 DISPLAY, VOICE_INTERACTION}, new int[]{AUDIO, CELLULAR, CPU, ETHERNET, INPUT, in testApplyPowerPolicy_oneTime()
110 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testApplyPowerPolicy_multipleTimes()
134 new int[]{INPUT, MEDIA, AUDIO, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, in testApplyPowerPolicy_withCustomComponents()
149 new int[]{DISPLAY, INPUT, MEDIA, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, in testApplyPowerPolicy_withCustomComponents()
DPolicyReaderUnitTest.java21 import static android.car.hardware.power.PowerComponent.CELLULAR;
82 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
86 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
99 new int[]{WIFI, CELLULAR, ETHERNET, TRUSTED_DEVICE_DETECTION, CPU},
104 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU},
114 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU},
122 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
128 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
133 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
/packages/services/Car/cpp/powerpolicy/server/tests/
DPolicyManagerTest.cpp121 PowerComponent::CELLULAR,
139 PowerComponent::CELLULAR,
154 PowerComponent::BLUETOOTH, PowerComponent::CELLULAR,
165 PowerComponent::CELLULAR,
181 PowerComponent::CELLULAR, PowerComponent::ETHERNET,
192 PowerComponent::CELLULAR, PowerComponent::ETHERNET,
203 PowerComponent::CELLULAR,
241 PowerComponent::CELLULAR, PowerComponent::ETHERNET,
252 PowerComponent::WIFI, PowerComponent::CELLULAR,
260 {PowerComponent::WIFI, PowerComponent::CELLULAR,
[all …]
DPowerComponentHandlerTest.cpp127 {PowerComponent::BLUETOOTH, PowerComponent::WIFI, PowerComponent::CELLULAR, in TEST_F()
153 PowerComponent::CPU, PowerComponent::BLUETOOTH, PowerComponent::CELLULAR, in TEST_F()
/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/modules/DnsResolver/doh/
Dmetrics.rs25 const CELLULAR: u32 = 1; constant
81 CELLULAR => StatsdNetworkType::NtCellular, in construct_handshake_event_stats()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java162 return PowerComponent.CELLULAR; in toPowerComponent()
210 case PowerComponent.CELLULAR: in powerComponentToString()
DPowerComponent.java49 int CELLULAR = 6; field
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DTestableNetworkCallbackTest.kt54 const val CELLULAR = NetworkCapabilities.TRANSPORT_CELLULAR in <lambda>() constant
171 val netCaps = NetworkCapabilities().addTransportType(CELLULAR) in <lambda>()
206 it.hasCapability(NOT_METERED) && it.hasTransport(WIFI) && !it.hasTransport(CELLULAR) in <lambda>()
209 assertFails { mCallback.expectCaps(net, SHORT_TIMEOUT_MS) { it.hasTransport(CELLULAR) } } in <lambda>()
/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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java119 PowerComponent.CELLULAR, PowerComponent.CPU, PowerComponent.DISPLAY, in testPowerComponentsToStrings()
DCarPowerManagerUnitTest.java21 import static android.car.hardware.power.PowerComponent.CELLULAR;
285 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testGetCurrentPowerPolicy()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp98 {PowerComponent::WIFI, PowerComponent::CELLULAR, PowerComponent::ETHERNET,
117 PowerComponent::CELLULAR,
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java548 case PowerComponent.CELLULAR: in createPowerComponent()
DPolicyReader.java130 PowerComponent.WIFI, PowerComponent.CELLULAR,
/packages/services/Car/car-lib/api/
Dcurrent.txt729 field public static final int CELLULAR = 6; // 0x6
Dlint-baseline.txt1394 UnflaggedApi: android.car.hardware.power.PowerComponent#CELLULAR:
1395 … New API must be flagged with @FlaggedApi: field android.car.hardware.power.PowerComponent.CELLULAR
/packages/services/Car/car-lib-module/api/
Dcurrent.txt729 field public static final int CELLULAR = 6; // 0x6