Searched refs:roaming (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkStats.java71 /** {@link #set} value for all roaming values. */
73 /** {@link #set} value where native, non-roaming data is accounted. */
75 /** {@link #set} value where roaming data is accounted. */
91 private int[] roaming; field in class:NetworkStats
108 public int roaming; field in class:NetworkStats.Entry
130 public Entry(String iface, int uid, int set, int tag, int roaming, long rxBytes, argument
136 this.roaming = roaming;
168 builder.append(" roaming=").append(roamingToString(roaming));
280 addValues(String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
412 findIndex(String iface, int uid, int set, int tag, int roaming) argument
427 findIndexHinted(String iface, int uid, int set, int tag, int roaming, int hintIndex) argument
835 roamingToString(int roaming) argument
[all...]
H A DNetworkIdentity.java61 int type, int subType, String subscriberId, String networkId, boolean roaming,
67 mRoaming = roaming;
173 boolean roaming = false;
186 roaming = state.networkInfo.isRoaming();
202 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered);
60 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered) argument
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkIdentitySet.java60 final boolean roaming;
62 roaming = in.readBoolean();
64 roaming = false;
77 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered));
94 /** @return whether any {@link NetworkIdentity} in this set is considered roaming. */
H A DNetworkStatsCollection.java245 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISub.aidl138 * Set data roaming by simInfo index
139 * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming
143 int setDataRoaming(int roaming, int subId);
H A DITelephonyRegistry.aidl51 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming);
54 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming);
/frameworks/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp46 jfieldID roaming; member in struct:android::__anon964
242 ScopedIntArrayRW roaming(env, get_int_array(env, stats,
243 gNetworkStatsClassInfo.roaming, size, grow));
244 if (roaming.get() == NULL) return -1;
282 env->SetObjectField(stats, gNetworkStatsClassInfo.roaming, roaming.getJavaArray());
314 gNetworkStatsClassInfo.roaming = GetFieldIDOrDie(env, clazz, "roaming", "[I");
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java44 * with an operator either in home network or in roaming.
76 * 5 - Registered, roaming
201 * UNKNOWN : in a roaming network, but we can not tell if it's domestic or international
207 * DOMESTIC : in domestic roaming network
213 * INTERNATIONAL : in international roaming network
246 * get String description of roaming type
255 return "roaming";
432 * Get current roaming indicator of phone
435 * @return true if TS 27.007 7.2 roaming is true
443 * Get current voice network roaming statu
853 setRoaming(boolean roaming) argument
859 setVoiceRoaming(boolean roaming) argument
888 setCdmaRoamingIndicator(int roaming) argument
895 setCdmaDefaultRoamingIndicator(int roaming) argument
[all...]
H A DSubscriptionInfo.java88 * Data roaming state, DATA_RAOMING_ENABLE, DATA_RAOMING_DISABLE
116 CharSequence carrierName, int nameSource, int iconTint, String number, int roaming,
126 this.mDataRoaming = roaming;
259 * @return the data roaming state for this subscription, either
115 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso) argument
H A DSubscriptionManager.java223 * TelephonyProvider column name for permission for data roaming of a SIM.
229 /** Indicates that data roaming is enabled for a subscription */
232 /** Indicates that data roaming is disabled for a subscription */
805 * Set data roaming by simInfo index
806 * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming
811 public int setDataRoaming(int roaming, int subId) { argument
812 if (VDBG) logd("[setDataRoaming]+ roaming:" + roaming
[all...]
/frameworks/base/core/java/android/app/usage/
H A DNetworkStats.java172 * Combined usage across all roaming states. Covers both roaming and non-roaming usage.
177 * Usage that occurs on a home, non-roaming network.
183 * <p>This is also the default value for network types that do not support roaming.
188 * Usage that occurs on a roaming network.
190 * <p>Any cellular usage in this bucket as incurred while the device was roaming on another
235 private static @Roaming int convertRoaming(int roaming) { argument
236 switch (roaming) {
494 bucketOut.mRoaming = Bucket.convertRoaming(mRecycledSummaryEntry.roaming);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDefaultPhoneNotifier.java173 boolean roaming = false;
180 if (ss != null) roaming = ss.getDataRoaming();
193 roaming);
H A DSubscriptionController.java1036 * Set data roaming by simInfo index
1037 * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming
1042 public int setDataRoaming(int roaming, int subId) { argument
1043 if (DBG) logd("[setDataRoaming]+ roaming:" + roaming + " subId:" + subId);
1051 if (roaming < 0) {
1056 value.put(SubscriptionManager.DATA_ROAMING, roaming);
1057 if (DBG) logd("[setDataRoaming]- roaming
[all...]
H A DServiceStateTracker.java406 * GSM roaming status solely based on TS 27.007 7.2 CREG. Only used by
407 * handlePollStateResult to store CREG roaming result.
411 * Data roaming status solely based on TS 27.007 10.1.19 CGREG. Only used by
412 * handlePollStateResult to store CGREG roaming result.
716 * Registration point for combined roaming on of mobile voice
717 * combined roaming is true when roaming is true and ONS differs SPN
737 * Registration point for roaming off of mobile voice
738 * combined roaming is true when roaming i
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java236 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) {
244 int networkType, boolean roaming) {
234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
H A DSubscriptionControllerMock.java169 public int setDataRoaming(int roaming, int subId) { argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsManager.java483 * @param roaming {@code false} for home network setting, {@code true} for roaming setting
485 public static int getWfcMode(Context context, boolean roaming) { argument
487 if (!roaming) {
497 if (DBG) log("getWfcMode (roaming) - setting=" + setting);
505 * @param roaming {@code false} for home network setting, {@code true} for roaming setting
507 public static void setWfcMode(Context context, int wfcMode, boolean roaming) { argument
508 if (!roaming) {
513 if (DBG) log("setWfcMode (roaming)
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java565 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets,
567 int index = stats.findIndex(iface, uid, set, tag, roaming);
569 assertValues(stats, index, iface, uid, set, tag, roaming,
574 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets,
577 assertValues(entry, iface, uid, set, tag, roaming);
582 NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) {
587 assertEquals(roaming, entry.roaming);
564 assertContains(NetworkStats stats, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
573 assertValues(NetworkStats stats, int index, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
581 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsServiceTest.java822 // roaming isn't tracked at that layer. We layer it on top by inspecting the iface
1047 private void assertUidTotal(NetworkTemplate template, int uid, int set, int roaming, argument
1059 assertValues(stats, IFACE_ALL, uid, set, TAG_NONE, roaming, rxBytes, rxPackets, txBytes,
1157 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets,
1169 if (roaming == ROAMING_NO || roaming == ROAMING_ALL) {
1172 if (roaming == ROAMING_YES || roaming == ROAMING_ALL) {
1156 assertValues(NetworkStats stats, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, int operations) argument
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1003 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) {
1006 networkCapabilities, networkType, roaming);
1012 int networkType, boolean roaming) {
1092 apnType, linkProperties, networkCapabilities, roaming, subId);
1442 NetworkCapabilities networkCapabilities, boolean roaming, int subId) {
1465 if (roaming) intent.putExtra(PhoneConstants.DATA_NETWORK_ROAMING_KEY, true);
1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1439 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java1569 final boolean roaming = ss.getDataRoaming();
1570 if (roaming != mNetworkInfo.isRoaming()) {
1571 log("DcActiveState with incorrect roaming (" + mNetworkInfo.isRoaming() +
1572 ", " + roaming +"), updating.");
1574 mNetworkInfo.setRoaming(roaming);
H A DDcTracker.java196 ROAMING_DISABLED(" - Roaming and data roaming not enabled"),
1539 // allow data if currently in roaming service, roaming setting disabled
1540 // and requested apn type is non-metered for roaming.
2684 int roaming = enabled ? 1 : 0;
2688 Settings.Global.putInt(mResolver, Settings.Global.DATA_ROAMING, roaming);
2691 phoneSubId, roaming);
2694 mSubscriptionManager.setDataRoaming(roaming, phoneSubId);
2756 // Check if the device is actually data roaming
2758 if (DBG) log("device is not roaming
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp945 jboolean connected, jint type, jboolean roaming, jboolean available, jstring extraInfo, jstring apn)
951 sAGpsRilInterface->update_network_state(connected, type, roaming, extraInfoStr);
954 sAGpsRilInterface->update_network_state(connected, type, roaming, NULL);
944 android_location_GnssLocationProvider_update_network_state(JNIEnv* env, jobject , jboolean connected, jint type, jboolean roaming, jboolean available, jstring extraInfo, jstring apn) argument
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java2514 boolean roaming, boolean available, String extraInfo, String defaultAPN);
2513 native_update_network_state(boolean connected, int type, boolean roaming, boolean available, String extraInfo, String defaultAPN) argument

Completed in 813 milliseconds