Searched defs:roaming (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java61 int type, int subType, String subscriberId, String networkId, boolean roaming,
67 mRoaming = roaming;
173 boolean roaming = false;
182 roaming = state.networkInfo.isRoaming();
198 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered);
60 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered) argument
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...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java514 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets,
516 int index = stats.findIndex(iface, uid, set, tag, roaming);
518 assertValues(stats, index, iface, uid, set, tag, roaming,
523 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets,
526 assertValues(entry, iface, uid, set, tag, roaming);
531 NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) {
536 assertEquals(roaming, entry.roaming);
513 assertContains(NetworkStats stats, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
522 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
530 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) argument
/frameworks/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp46 jfieldID roaming; member in struct:android::__anon958
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 DSubscriptionInfo.java88 * Data roaming state, DATA_RAOMING_ENABLE, DATA_RAOMING_DISABLE
124 CharSequence carrierName, int nameSource, int iconTint, String number, int roaming,
134 this.mDataRoaming = roaming;
268 * @return the data roaming state for this subscription, either
123 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, int simProvisioningStatus) 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 */
818 * Set data roaming by simInfo index
819 * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming
824 public int setDataRoaming(int roaming, int subId) { argument
825 if (VDBG) logd("[setDataRoaming]+ roaming:" + roaming
[all...]
H A DServiceState.java44 * with an operator either in home network or in roaming.
76 * 5 - Registered, roaming
195 * UNKNOWN : in a roaming network, but we can not tell if it's domestic or international
201 * DOMESTIC : in domestic roaming network
207 * INTERNATIONAL : in international roaming network
238 * get String description of roaming type
247 return "roaming";
421 * Get current roaming indicator of phone
424 * @return true if TS 27.007 7.2 roaming is true
432 * Get current voice network roaming statu
836 setRoaming(boolean roaming) argument
842 setVoiceRoaming(boolean roaming) argument
871 setCdmaRoamingIndicator(int roaming) argument
878 setCdmaDefaultRoamingIndicator(int roaming) argument
[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/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java169 public int setDataRoaming(int roaming, int subId) { argument
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
/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/
H A DSubscriptionController.java1041 * Set data roaming by simInfo index
1042 * @param roaming 0:Don't allow data when roaming, 1:Allow data when roaming
1047 public int setDataRoaming(int roaming, int subId) { argument
1048 if (DBG) logd("[setDataRoaming]+ roaming:" + roaming + " subId:" + subId);
1056 if (roaming < 0) {
1061 value.put(SubscriptionManager.DATA_ROAMING, roaming);
1062 if (DBG) logd("[setDataRoaming]- 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.java2463 boolean roaming, boolean available, String extraInfo, String defaultAPN);
2462 native_update_network_state(boolean connected, int type, boolean roaming, boolean available, String extraInfo, String defaultAPN) argument

Completed in 586 milliseconds