Home
last modified time | relevance | path

Searched refs:SubscriptionPlan (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/telephony/
DSubscriptionPlan.java58 public final class SubscriptionPlan implements Parcelable { class
95 private SubscriptionPlan(RecurrenceRule cycleRule) { in SubscriptionPlan() method in SubscriptionPlan
101 private SubscriptionPlan(Parcel source) { in SubscriptionPlan() method in SubscriptionPlan
151 if (obj instanceof SubscriptionPlan) { in equals()
152 final SubscriptionPlan other = (SubscriptionPlan) obj; in equals()
165 …roid.annotation.NonNull Parcelable.Creator<SubscriptionPlan> CREATOR = new Parcelable.Creator<Subs…
167 public SubscriptionPlan createFromParcel(Parcel source) {
168 return new SubscriptionPlan(source);
172 public SubscriptionPlan[] newArray(int size) {
173 return new SubscriptionPlan[size];
[all …]
DSubscriptionPlan.aidl19 parcelable SubscriptionPlan;
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerInternal.java25 import android.telephony.SubscriptionPlan;
86 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()
91 public abstract SubscriptionPlan getSubscriptionPlan(NetworkTemplate template); in getSubscriptionPlan()
DNetworkPolicyManagerService.java199 import android.telephony.SubscriptionPlan;
451 final SparseArray<SubscriptionPlan[]> mSubscriptionPlans = new SparseArray<>();
1997 final SubscriptionPlan plan = getPrimarySubscriptionPlanLocked(subId);
2005 } else if (limitBytes == SubscriptionPlan.BYTES_UNKNOWN) {
2007 } else if (limitBytes == SubscriptionPlan.BYTES_UNLIMITED) {
2137 final SubscriptionPlan[] plans = mSubscriptionPlans.get(subId); in updateDefaultMobilePolicyAL()
2139 final SubscriptionPlan plan = plans[0]; in updateDefaultMobilePolicyAL()
2142 if (planLimitBytes == SubscriptionPlan.BYTES_UNKNOWN) { in updateDefaultMobilePolicyAL()
2145 } else if (planLimitBytes == SubscriptionPlan.BYTES_UNLIMITED) { in updateDefaultMobilePolicyAL()
2151 case SubscriptionPlan.LIMIT_BEHAVIOR_BILLED: in updateDefaultMobilePolicyAL()
[all …]
DNetworkStatsCollection.java44 import android.telephony.SubscriptionPlan;
162 || time == SubscriptionPlan.TIME_UNKNOWN) { in roundUp()
177 || time == SubscriptionPlan.TIME_UNKNOWN) { in roundDown()
242 public NetworkStatsHistory getHistory(NetworkTemplate template, SubscriptionPlan augmentPlan, in getHistory()
261 long augmentStart = SubscriptionPlan.TIME_UNKNOWN; in getHistory()
263 : SubscriptionPlan.TIME_UNKNOWN; in getHistory()
268 if (augmentEnd != SubscriptionPlan.TIME_UNKNOWN) { in getHistory()
283 if (augmentStart != SubscriptionPlan.TIME_UNKNOWN) { in getHistory()
301 if (augmentStart != SubscriptionPlan.TIME_UNKNOWN) { in getHistory()
DNetworkStatsService.java131 import android.telephony.SubscriptionPlan;
784 private SubscriptionPlan resolveSubscriptionPlan(NetworkTemplate template, int flags) { in resolveSubscriptionPlan()
785 SubscriptionPlan plan = null; in resolveSubscriptionPlan()
830 final SubscriptionPlan augmentPlan = resolveSubscriptionPlan(template, flags); in internalGetHistoryForNetwork()
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl24 import android.telephony.SubscriptionPlan;
73 SubscriptionPlan[] getSubscriptionPlans(int subId, String callingPackage); in getSubscriptionPlans()
74 void setSubscriptionPlans(int subId, in SubscriptionPlan[] plans, String callingPackage); in setSubscriptionPlans()
DINetworkPolicyListener.aidl18 import android.telephony.SubscriptionPlan;
27 void onSubscriptionPlansChanged(int subId, in SubscriptionPlan[] plans); in onSubscriptionPlansChanged()
DNetworkPolicyManager.java37 import android.telephony.SubscriptionPlan;
395 public void setSubscriptionPlans(int subId, @NonNull SubscriptionPlan[] plans, in setSubscriptionPlans()
412 public SubscriptionPlan[] getSubscriptionPlans(int subId, @NonNull String callingPackage) { in getSubscriptionPlans()
570 public void onSubscriptionPlansChanged(int subId, @NonNull SubscriptionPlan[] plans) {}
591 public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) {
604 @Override public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) { }
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java45 import android.telephony.SubscriptionPlan;
285 final List<SubscriptionPlan> plans = new ArrayList<>(); in testAugmentPlan()
290 plans.add(SubscriptionPlan.Builder in testAugmentPlan()
293 plans.add(SubscriptionPlan.Builder in testAugmentPlan()
297 plans.add(SubscriptionPlan.Builder in testAugmentPlan()
301 plans.add(SubscriptionPlan.Builder in testAugmentPlan()
306 for (SubscriptionPlan plan : plans) { in testAugmentPlan()
357 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan()
412 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan()
479 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlanGigantic()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java51 import static android.telephony.SubscriptionPlan.BYTES_UNLIMITED;
52 import static android.telephony.SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED;
130 import android.telephony.SubscriptionPlan;
1127 final SubscriptionPlan plan = buildMonthlyDataPlan(
1129 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan },
1251 final SubscriptionPlan plan = buildMonthlyDataPlan(
1253 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan },
1665 final SubscriptionPlan plan = buildMonthlyDataPlan(
1668 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan},
1686 final SubscriptionPlan plan = buildMonthlyDataPlan(
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java74 import android.telephony.SubscriptionPlan;
1690 List<SubscriptionPlan> plans = new ArrayList<>(); in setUpSubscriptionPlans()
1692 plans.add(SubscriptionPlan.Builder in setUpSubscriptionPlans()
1695 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in setUpSubscriptionPlans()
1696 SubscriptionPlan.LIMIT_BEHAVIOR_THROTTLED) in setUpSubscriptionPlans()
1700 plans.add(SubscriptionPlan.Builder in setUpSubscriptionPlans()
1703 .setDataLimit(1_000_000_000, SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED) in setUpSubscriptionPlans()
1767 List<SubscriptionPlan> plans = new ArrayList<>(); in testIsNetworkTypeUnmetered()
1768 plans.add(SubscriptionPlan.Builder in testIsNetworkTypeUnmetered()
1772 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in testIsNetworkTypeUnmetered()
[all …]
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt52 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.Zoned…
54 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.Zon…
56 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.Zone…
Dsystem-current.txt10067 public static class SubscriptionPlan.Builder {
10068 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(j…
10069 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly…
10070 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(…
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2534 public @NonNull List<SubscriptionPlan> getSubscriptionPlans(int subId) { in getSubscriptionPlans()
2535 SubscriptionPlan[] subscriptionPlans = in getSubscriptionPlans()
2563 public void setSubscriptionPlans(int subId, @NonNull List<SubscriptionPlan> plans) { in setSubscriptionPlans()
2565 plans.toArray(new SubscriptionPlan[plans.size()]), mContext.getOpPackageName()); in setSubscriptionPlans()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java82 import android.telephony.SubscriptionPlan;
331 private List<SubscriptionPlan> mSubscriptionPlans = null;
421 public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) {
4092 for (SubscriptionPlan plan : mSubscriptionPlans) { in isNetworkTypeUnmetered()
4114 private boolean isPlanUnmetered(SubscriptionPlan plan) { in isPlanUnmetered()
4115 return plan.getDataLimitBytes() == SubscriptionPlan.BYTES_UNLIMITED in isPlanUnmetered()
4116 && (plan.getDataLimitBehavior() == SubscriptionPlan.LIMIT_BEHAVIOR_UNKNOWN in isPlanUnmetered()
4117 || plan.getDataLimitBehavior() == SubscriptionPlan.LIMIT_BEHAVIOR_THROTTLED); in isPlanUnmetered()
/frameworks/base/api/
Dsystem-lint-baseline.txt167 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.Zoned…
169 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.Zon…
171 MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.Zone…
Dsystem-current.txt11185 public static class SubscriptionPlan.Builder {
11186 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(j…
11187 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly…
11188 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(…
Dcurrent.txt48023 …method @NonNull public java.util.List<android.telephony.SubscriptionPlan> getSubscriptionPlans(int…
48035 …public void setSubscriptionPlans(int, @NonNull java.util.List<android.telephony.SubscriptionPlan>);
48062 public final class SubscriptionPlan implements android.os.Parcelable {
48075 …Null public static final android.os.Parcelable.Creator<android.telephony.SubscriptionPlan> CREATOR;
48083 public static class SubscriptionPlan.Builder {
48084 method public android.telephony.SubscriptionPlan build();
48085 …method public static android.telephony.SubscriptionPlan.Builder createNonrecurring(java.time.Zoned…
48086 …method public static android.telephony.SubscriptionPlan.Builder createRecurring(java.time.ZonedDat…
48087 method @NonNull public android.telephony.SubscriptionPlan.Builder resetNetworkTypes();
48088 method public android.telephony.SubscriptionPlan.Builder setDataLimit(long, int);
[all …]
/frameworks/base/config/
Dpreloaded-classes6026 android.telephony.SubscriptionPlan$1
6027 android.telephony.SubscriptionPlan
Dboot-image-profile.txt14270 …NetworkPolicyManager$Listener;->onSubscriptionPlansChanged(I[Landroid/telephony/SubscriptionPlan;)V
18972 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Landroid/telephony/SubscriptionPlan;
18973 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Ljava/lang/Object;
46286 Landroid/telephony/SubscriptionPlan$1;
46287 Landroid/telephony/SubscriptionPlan;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile20286 …ternalImpl;->getSubscriptionPlan(Landroid/net/NetworkTemplate;)Landroid/telephony/SubscriptionPlan;
20330 …ess$4200(Lcom/android/server/net/NetworkPolicyManagerService;I)Landroid/telephony/SubscriptionPlan;
20354 …bscriptionPlansChanged(Landroid/net/INetworkPolicyListener;I[Landroid/telephony/SubscriptionPlan;)V
20361 …tworkPolicyManagerService;->enforceSubscriptionPlanValidity([Landroid/telephony/SubscriptionPlan;)V
20377 …tworkPolicyManagerService;->getPrimarySubscriptionPlanLocked(I)Landroid/telephony/SubscriptionPlan;
20381 …licyManagerService;->getSubscriptionPlans(ILjava/lang/String;)[Landroid/telephony/SubscriptionPlan;
20433 …orkPolicyManagerService;->setSubscriptionPlans(I[Landroid/telephony/SubscriptionPlan;Ljava/lang/St…
20493 …ection;->getHistory(Landroid/net/NetworkTemplate;Landroid/telephony/SubscriptionPlan;IIIIJJII)Land…
20717 …rvice;->resolveSubscriptionPlan(Landroid/net/NetworkTemplate;I)Landroid/telephony/SubscriptionPlan;