Searched refs:SubscriptionPlan (Results 1 – 23 of 23) sorted by relevance
58 public final class SubscriptionPlan implements Parcelable { class95 private SubscriptionPlan(RecurrenceRule cycleRule) { in SubscriptionPlan() method in SubscriptionPlan101 private SubscriptionPlan(Parcel source) { in SubscriptionPlan() method in SubscriptionPlan151 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 …]
19 parcelable SubscriptionPlan;
25 import android.telephony.SubscriptionPlan;86 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()91 public abstract SubscriptionPlan getSubscriptionPlan(NetworkTemplate template); in getSubscriptionPlan()
199 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 …]
44 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()
131 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()
24 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()
18 import android.telephony.SubscriptionPlan;27 void onSubscriptionPlansChanged(int subId, in SubscriptionPlan[] plans); in onSubscriptionPlansChanged()
37 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) { }
45 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 …]
51 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 …]
74 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 …]
52 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…
10067 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(…
2534 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()
82 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()
167 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…
11185 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(…
48023 …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 …]
6026 android.telephony.SubscriptionPlan$16027 android.telephony.SubscriptionPlan
14270 …NetworkPolicyManager$Listener;->onSubscriptionPlansChanged(I[Landroid/telephony/SubscriptionPlan;)V18972 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;
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
20286 …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;)V20361 …tworkPolicyManagerService;->enforceSubscriptionPlanValidity([Landroid/telephony/SubscriptionPlan;)V20377 …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;