Home
last modified time | relevance | path

Searched refs:roaming (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java232 private int[] roaming; field in NetworkStats
280 public int roaming; field in NetworkStats.Entry
336 @Meteredness int metered, @Roaming int roaming, @DefaultNetwork int defaultNetwork, in Entry() argument
343 this.roaming = roaming; in Entry()
414 return roaming; in getRoaming()
467 int tag, @Meteredness int metered, @Roaming int roaming, in setKeys() argument
474 this.roaming = roaming; in setKeys()
503 builder.append(" roaming=").append(roamingToString(roaming)); in toString()
519 && roaming == e.roaming && defaultNetwork == e.defaultNetwork in equals()
530 return Objects.hash(uid, set, tag, metered, roaming, defaultNetwork, iface); in hashCode()
[all …]
DNetworkIdentitySet.java77 final boolean roaming; in NetworkIdentitySet()
79 roaming = in.readBoolean(); in NetworkIdentitySet()
81 roaming = false; in NetworkIdentitySet()
115 add(new NetworkIdentity(type, ratType, subscriberId, networkId, roaming, metered, in NetworkIdentitySet()
DNetworkIdentity.java108 boolean roaming, boolean metered, boolean defaultNetwork, int oemManaged, int subId) { in NetworkIdentity() argument
113 mRoaming = roaming; in NetworkIdentity()
520 public Builder setRoaming(boolean roaming) { in setRoaming() argument
521 mRoaming = roaming; in setRoaming()
DNetworkTemplate.java506 String[] matchWifiNetworkKeys, int metered, int roaming, in NetworkTemplate() argument
513 matchWifiNetworkKeys, metered, roaming, defaultNetwork, ratType, oemManaged); in NetworkTemplate()
519 String[] matchWifiNetworkKeys, int metered, int roaming, int defaultNetwork, in NetworkTemplate() argument
527 mRoaming = roaming; in NetworkTemplate()
1122 public Builder setRoaming(@NetworkStats.Roaming int roaming) { in setRoaming() argument
1123 mRoaming = roaming; in setRoaming()
/packages/modules/Connectivity/service-t/jni/
Dcom_android_server_net_NetworkStatsFactory.cpp54 jfieldID roaming; member
117 ScopedIntArrayRW roaming(env, get_int_array(env, stats, in statsLinesToNetworkStats() local
118 gNetworkStatsClassInfo.roaming, size, grow)); in statsLinesToNetworkStats()
119 if (roaming.get() == NULL) return -1; in statsLinesToNetworkStats()
161 env->SetObjectField(stats, gNetworkStatsClassInfo.roaming, roaming.getJavaArray()); in statsLinesToNetworkStats()
213 gNetworkStatsClassInfo.roaming = env->GetFieldID(clazz, "roaming", "[I"); in register_android_server_net_NetworkStatsFactory()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkStatsUtilsTest.kt103 roaming: Int, in makeMockBucket()
116 doReturn(roaming).`when`(ret).getRoaming() in makeMockBucket()
134 assertEquals(left.roaming, right.roaming) in assertEntryEquals()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsBaseTest.java61 int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument
72 if (roaming == ROAMING_ALL) { in assertValues()
75 roamings = new int[] {roaming}; in assertValues()
DNetworkStatsFactoryTest.java608 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertStatsEntry() argument
610 final int i = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertStatsEntry()
615 iface, uid, set, tag, metered, roaming, defaultNetwork)); in assertStatsEntry()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java168 QnsImsManager imsManager, QnsProvisioningListener listener, boolean roaming) { in isWfcEnabled() argument
173 if (roaming) { in isWfcEnabled()
195 + roaming); in isWfcEnabled()
222 public static int getWfcMode(QnsImsManager imsManager, boolean roaming) { in getWfcMode() argument
224 int wfcMode = imsManager.getWfcMode(roaming); in getWfcMode()
231 + roaming); in getWfcMode()
236 return roaming ? WIFI_MODE_WIFI_PREFERRED : WIFI_MODE_CELLULAR_PREFERRED; in getWfcMode()
DAccessNetworkEvaluator.java556 private void onWfcEnabledChanged(boolean enabled, boolean roaming) { in onWfcEnabledChanged() argument
562 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcEnabledChanged()
565 if (!roaming && mSettingWfcEnabled != enabled) { in onWfcEnabledChanged()
571 } else if (roaming && mSettingWfcRoamingEnabled != enabled) { in onWfcEnabledChanged()
592 private void onWfcModeChanged(int mode, boolean roaming) { in onWfcModeChanged() argument
598 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcModeChanged()
601 if (!roaming && mSettingWfcMode != mode) { in onWfcModeChanged()
607 } else if (roaming && mSettingWfcRoamingMode != mode) { in onWfcModeChanged()
1037 boolean roaming = (mCoverage == QnsConstants.COVERAGE_ROAM); in validateWfcSettingsAndUpdate()
1039 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, roaming); in validateWfcSettingsAndUpdate()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceControllerTest.kt121 serviceState.roaming = true in isEnabled_isRoaming_enabled()
133 serviceState.roaming = false in isEnabled_notOnlyAutoSelectInHome_enabled()
148 serviceState.roaming = false in isEnabled_onlyAutoSelectInHome_notEnabled()
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DCrossSimRedialingController.java157 boolean inService, boolean roaming, int modemCount) { in startTimer() argument
159 + ", in service=" + inService + ", roaming=" + roaming); in startTimer()
179 if (firstAttempt && mQuickCrossStackTimer > REDIAL_TIMER_DISABLED && !roaming) { in startTimer()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java63 vh.roaming = convertView.findViewById(R.id.network_roaming); in getView()
89 vh.roaming.setText(mNetworkList[position].mRoaming); in getView()
194 public TextView roaming; field in NetworkListAdapter.ViewHolder
/packages/services/Mms/proto/src/
Dpersist_mms_atoms.proto44 optional int32 roaming = 3; field
60 optional int32 roaming = 3; field
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java155 private static int convertBucketRoaming(int roaming) { in convertBucketRoaming() argument
156 switch (roaming) { in convertBucketRoaming()
/packages/modules/Bluetooth/floss/pandora/floss/
Dtelephony_client.py154 def set_roaming(self, roaming): argument
163 self.proxy().SetRoaming(roaming)
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java326 private static @Roaming int convertRoaming(int roaming) { in convertRoaming() argument
327 switch (roaming) { in convertRoaming()
642 bucketOut.mRoaming = Bucket.convertRoaming(mRecycledSummaryEntry.roaming); in fillBucketFromSummaryEntry()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java286 public Builder setCellData(int radioType, boolean roaming, in setCellData() argument
290 data.isRoaming = roaming; in setCellData()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java139 public void setRoaming(boolean roaming) { in setRoaming() argument
140 this.mRoaming = roaming; in setRoaming()
317 public boolean roaming; field in NetworkStatsManagerTest.NetworkCallback
325 roaming = false; in NetworkCallback()
355 roaming = !mCm.getNetworkCapabilities(network) in onAvailable()
393 mNetworkInterfacesToTest[networkTypeIndex].setRoaming(callback.roaming); in shouldTestThisNetworkType()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DNetworkStatsUtils.kt47 left.metered, left.roaming, left.defaultNetwork, i) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java190 long defaultGlobalSetting, long defaultResSetting, boolean roaming) { in prepareGetMultipathPreferenceTest() argument
267 if (!roaming) { in prepareGetMultipathPreferenceTest()
280 if (!roaming) { in prepareGetMultipathPreferenceTest()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java1113 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertContains() argument
1115 int index = stats.findIndex(iface, uid, set, tag, metered, roaming, defaultNetwork); in assertContains()
1117 assertValues(stats, index, iface, uid, set, tag, metered, roaming, defaultNetwork, in assertContains()
1122 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues() argument
1125 assertValues(entry, iface, uid, set, tag, metered, roaming, defaultNetwork); in assertValues()
1131 int roaming, int defaultNetwork) { in assertValues() argument
1137 assertEquals(roaming, entry.getRoaming()); in assertValues()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_telephony.rs45 fn set_roaming(&mut self, roaming: bool) { in set_roaming()
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc351 status.roaming ? headset::BTHF_SERVICE_TYPE_ROAMING : headset::BTHF_SERVICE_TYPE_HOME, in device_status_notification()
365 device_status.roaming ? 1 : 0, in indicator_query_response()
/packages/modules/Connectivity/framework/proto/
Dnetstats.proto60 optional bool roaming = 4; field

12