Home
last modified time | relevance | path

Searched refs:oemManaged (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java108 boolean roaming, boolean metered, boolean defaultNetwork, int oemManaged, int subId) { in NetworkIdentity() argument
116 mOemManaged = oemManaged; in NetworkIdentity()
172 static String getOemManagedNames(int oemManaged) { in getOemManagedNames() argument
173 if (oemManaged == OEM_NONE) { in getOemManagedNames()
176 final int[] bitPositions = BitUtils.unpackBits(oemManaged); in getOemManagedNames()
309 int oemManaged = OEM_NONE; in getOemBitfield() local
312 oemManaged |= OEM_PAID; in getOemBitfield()
315 oemManaged |= OEM_PRIVATE; in getOemBitfield()
318 return oemManaged; in getOemBitfield()
561 public Builder setOemManaged(@OemManaged int oemManaged) { in setOemManaged() argument
[all …]
DNetworkTemplate.java507 int defaultNetwork, int ratType, int oemManaged, int subscriberIdMatchRule) { in NetworkTemplate() argument
513 matchWifiNetworkKeys, metered, roaming, defaultNetwork, ratType, oemManaged); in NetworkTemplate()
520 int ratType, int oemManaged) { in NetworkTemplate() argument
530 mOemManaged = oemManaged; in NetworkTemplate()
916 private static String getOemManagedNames(int oemManaged) { in getOemManagedNames() argument
917 switch (oemManaged) { in getOemManagedNames()
925 return NetworkIdentity.getOemManagedNames(oemManaged); in getOemManagedNames()
1162 public Builder setOemManaged(@OemManaged int oemManaged) { in setOemManaged() argument
1163 mOemManaged = oemManaged; in setOemManaged()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt213 .forEach { oemManaged -> in <lambda>() method
217 .setOemManaged(oemManaged) in <lambda>()
226 .forEach { oemManaged -> in <lambda>() method
228 .setOemManaged(oemManaged) in <lambda>()
230 assertEquals(it.oemManaged, oemManaged) in <lambda>()
DNetworkTemplateTest.kt90 oemManaged: Int = OEM_NONE, in buildMobileNetworkState()
99 (oemManaged and OEM_PAID) == OEM_PAID) in buildMobileNetworkState()
101 (oemManaged and OEM_PRIVATE) == OEM_PRIVATE) in buildMobileNetworkState()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java149 private Pair<Long, Long> trafficFor(int matchRule, int oemManaged) { in trafficFor() argument
151 .setOemManaged(oemManaged).build(); in trafficFor()
160 private Pair<Long, Long> combinedTrafficFor(int oemManaged) { in combinedTrafficFor() argument
165 traffic = trafficFor(matchRule, oemManaged); in combinedTrafficFor()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DConnectivityPublisherTest.java595 int uid, int tag, long rx, long tx, int oemManaged, long timestampMillis) { in addWifiStats() argument
600 .setOemManaged(oemManaged) in addWifiStats()
615 int uid, int tag, long rx, long tx, int oemManaged, long timestampMillis) { in addMobileStats() argument
620 .setOemManaged(oemManaged) in addMobileStats()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java327 private QueryParam(int transport, int oemManaged) { in QueryParam() argument
329 mOemManaged = oemManaged; in QueryParam()