/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 93 private @NetworkType int[] networkTypes; field in SubscriptionPlan 97 this.networkTypes = Arrays.copyOf(TelephonyManager.getAllNetworkTypes(), in SubscriptionPlan() 109 networkTypes = source.createIntArray(); in SubscriptionPlan() 126 dest.writeIntArray(networkTypes); in writeToParcel() 139 .append(" networkTypes=").append(Arrays.toString(networkTypes)) in toString() 146 dataUsageBytes, dataUsageTime, Arrays.hashCode(networkTypes)); in hashCode() 160 && Arrays.equals(networkTypes, other.networkTypes); in equals() 228 return Arrays.copyOf(networkTypes, networkTypes.length); in getNetworkTypes() 371 public @NonNull Builder setNetworkTypes(@NonNull @NetworkType int[] networkTypes) { in setNetworkTypes() argument 372 plan.networkTypes = Arrays.copyOf(networkTypes, networkTypes.length); in setNetworkTypes() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataProfile.java | 90 int networkTypes = mApnSetting.getNetworkTypeBitmask(); in DataProfile() local 92 if (networkTypes == 0) { in DataProfile() 94 } else if ((networkTypes & TelephonyManager.NETWORK_STANDARDS_FAMILY_BITMASK_3GPP2) in DataProfile() 95 == networkTypes) { in DataProfile() 97 } else if ((networkTypes & TelephonyManager.NETWORK_STANDARDS_FAMILY_BITMASK_3GPP) in DataProfile() 98 == networkTypes) { in DataProfile()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/mobile/ |
D | MobileIconCarrierIdOverridesTest.java | 98 String[] networkTypes, in NetworkOverrideTypedArrayMock() argument 101 mInterleaved = interleaveTypes(networkTypes, iconOverrides); in NetworkOverrideTypedArrayMock()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 536 @NonNull @Annotation.NetworkType int[] networkTypes, long expirationDurationMillis, in setSubscriptionOverride() argument 539 mService.setSubscriptionOverride(subId, overrideMask, overrideValue, networkTypes, in setSubscriptionOverride() 1050 @SubscriptionOverrideMask int overrideValue, int[] networkTypes) {} 1074 @SubscriptionOverrideMask int overrideValue, int[] networkTypes) { 1075 mCallback.onSubscriptionOverride(subId, overrideMask, overrideValue, networkTypes); 1091 int overrideValue, int[] networkTypes) { }
|
D | INetworkPolicyListener.aidl | 26 …void onSubscriptionOverride(int subId, int overrideMask, int overrideValue, in int[] networkTypes); in onSubscriptionOverride() argument
|
D | INetworkPolicyManager.aidl | 89 …tionOverride(int subId, int overrideMask, int overrideValue, in int[] networkTypes, long expiratio… in setSubscriptionOverride() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataNetworkController.java | 1067 int[] networkTypes) { in onRegisterAllEvents() 1070 networkTypes).sendToTarget(); in onRegisterAllEvents() 1246 int[] networkTypes = (int[]) msg.obj; in handleMessage() local 1250 + ", networkTypes=" + Arrays.stream(networkTypes) in handleMessage() 1253 for (int networkType : networkTypes) { in handleMessage() 1264 + ", networkTypes=" + Arrays.stream(networkTypes) in handleMessage() 1267 for (int networkType : networkTypes) { in handleMessage()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 3336 @NonNull @Annotation.NetworkType int[] networkTypes, in setSubscriptionOverrideUnmetered() argument 3340 overrideValue, networkTypes, expirationDurationMillis, mContext.getOpPackageName()); in setSubscriptionOverrideUnmetered() 3398 @NonNull @Annotation.NetworkType int[] networkTypes, in setSubscriptionOverrideCongested() argument 3402 overrideValue, networkTypes, expirationDurationMillis, mContext.getOpPackageName()); in setSubscriptionOverrideCongested()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Phone.java | 2366 for (long networkTypes : mAllowedNetworkTypesForReasons.values()) { in getEffectiveAllowedNetworkTypes() 2367 allowedNetworkTypes = allowedNetworkTypes & networkTypes; in getEffectiveAllowedNetworkTypes() 2574 @TelephonyManager.NetworkTypeBitMask long networkTypes, @Nullable Message response) { in setAllowedNetworkTypes() argument 2598 mAllowedNetworkTypesForReasons.put(reason, networkTypes); in setAllowedNetworkTypes()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 3999 int[] networkTypes, long expirationDurationMillis, String callingPackage) { 4007 for (int networkType : networkTypes) { 5735 int overrideMask, int overrideValue, int[] networkTypes) { 5737 listener.onSubscriptionOverride(subId, overrideMask, overrideValue, networkTypes); 5910 final int[] networkTypes = (int[]) args.arg4; 5915 networkTypes);
|