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/core/java/android/net/
DINetworkPolicyManager.aidl23 import android.telephony.SubscriptionPlan;
84 SubscriptionPlan getSubscriptionPlan(in NetworkTemplate template); in getSubscriptionPlan()
86 SubscriptionPlan[] getSubscriptionPlans(int subId, String callingPackage); in getSubscriptionPlans()
87 …void setSubscriptionPlans(int subId, in SubscriptionPlan[] plans, long expirationDurationMillis, S… in setSubscriptionPlans()
DINetworkPolicyListener.aidl18 import android.telephony.SubscriptionPlan;
27 void onSubscriptionPlansChanged(int subId, in SubscriptionPlan[] plans); in onSubscriptionPlansChanged()
DNetworkPolicyManager.java45 import android.telephony.SubscriptionPlan;
557 public void setSubscriptionPlans(int subId, @NonNull SubscriptionPlan[] plans, in setSubscriptionPlans()
576 public SubscriptionPlan[] getSubscriptionPlans(int subId, @NonNull String callingPackage) { in getSubscriptionPlans()
597 public SubscriptionPlan getSubscriptionPlan(@NonNull NetworkTemplate template) { in getSubscriptionPlan()
1058 public void onSubscriptionPlansChanged(int subId, @NonNull SubscriptionPlan[] plans) {}
1079 public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) {
1092 @Override public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) { }
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerInternal.java25 import android.telephony.SubscriptionPlan;
57 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()
DNetworkPolicyManagerService.java238 import android.telephony.SubscriptionPlan;
605 final SparseArray<SubscriptionPlan[]> mSubscriptionPlans = new SparseArray<>();
2507 final SubscriptionPlan plan = getPrimarySubscriptionPlanLocked(subId);
2515 } else if (limitBytes == SubscriptionPlan.BYTES_UNKNOWN) {
2517 } else if (limitBytes == SubscriptionPlan.BYTES_UNLIMITED) {
2668 final SubscriptionPlan[] plans = mSubscriptionPlans.get(subId);
2670 final SubscriptionPlan plan = plans[0];
2673 if (planLimitBytes == SubscriptionPlan.BYTES_UNKNOWN) {
2676 } else if (planLimitBytes == SubscriptionPlan.BYTES_UNLIMITED) {
2682 case SubscriptionPlan.LIMIT_BEHAVIOR_BILLED:
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java86 import static android.telephony.SubscriptionPlan.BYTES_UNLIMITED;
87 import static android.telephony.SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED;
181 import android.telephony.SubscriptionPlan;
1403 final SubscriptionPlan plan = buildMonthlyDataPlan(
1405 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan },
1529 final SubscriptionPlan plan = buildMonthlyDataPlan(
1531 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan },
1934 final SubscriptionPlan plan = buildMonthlyDataPlan(
1937 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan},
1955 final SubscriptionPlan plan = buildMonthlyDataPlan(
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java64 import android.telephony.SubscriptionPlan;
302 private final List<SubscriptionPlan> mSubscriptionPlans = new ArrayList<>();
1060 public void onSubscriptionPlansChanged(int subId, SubscriptionPlan[] plans) { in onRegisterAllEvents()
1236 SubscriptionPlan[] plans = (SubscriptionPlan[]) msg.obj; in handleMessage()
3629 SubscriptionPlan[] plans = mNetworkPolicyManager.getSubscriptionPlans( in updateSubscriptionPlans()
3961 public List<SubscriptionPlan> getSubscriptionPlans() { in getSubscriptionPlans()
DDataNetwork.java67 import android.telephony.SubscriptionPlan;
3241 List<SubscriptionPlan> plans = mDataNetworkController.getSubscriptionPlans();
3246 for (SubscriptionPlan plan : plans) {
3250 if (plan.getDataLimitBytes() != SubscriptionPlan.BYTES_UNLIMITED) {
3259 return plan.getDataLimitBytes() == SubscriptionPlan.BYTES_UNLIMITED;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkControllerTest.java81 import android.telephony.SubscriptionPlan;
883 doReturn(new SubscriptionPlan[]{}).when(mNetworkPolicyManager) in setUp()
2547 List<SubscriptionPlan> subscriptionPlans = new ArrayList<>(); in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2553 SubscriptionPlan unmetered5GPlan = SubscriptionPlan.Builder in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2556 .setDataLimit(SubscriptionPlan.BYTES_UNLIMITED, in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2557 SubscriptionPlan.LIMIT_BEHAVIOR_THROTTLED) in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2560 SubscriptionPlan generalMeteredPlan = SubscriptionPlan.Builder in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2563 .setDataLimit(1_000_000_000, SubscriptionPlan.LIMIT_BEHAVIOR_DISABLED) in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2569 new SubscriptionPlan[]{generalMeteredPlan, unmetered5GPlan}).sendToTarget(); in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2591 new SubscriptionPlan[]{}).sendToTarget(); in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt462 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.Zone…
463 …Method android.telephony.SubscriptionPlan.Builder.createRecurringDaily(java.time.ZonedDateTime): @…
464 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.Zo…
465 …Method android.telephony.SubscriptionPlan.Builder.createRecurringMonthly(java.time.ZonedDateTime):…
466 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.Zon…
467 …Method android.telephony.SubscriptionPlan.Builder.createRecurringWeekly(java.time.ZonedDateTime): …
Dtest-lint-baseline.txt476 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.Zone…
477 …Method android.telephony.SubscriptionPlan.Builder.createRecurringDaily(java.time.ZonedDateTime): @…
478 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.Zo…
479 …Method android.telephony.SubscriptionPlan.Builder.createRecurringMonthly(java.time.ZonedDateTime):…
480 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.Zon…
481 …Method android.telephony.SubscriptionPlan.Builder.createRecurringWeekly(java.time.ZonedDateTime): …
Dmodule-lib-current.txt269 …ndroid.Manifest.permission.NETWORK_STACK}) public android.telephony.SubscriptionPlan getSubscripti…
Dsystem-lint-baseline.txt466 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.Zone…
467 …Method android.telephony.SubscriptionPlan.Builder.createRecurringDaily(java.time.ZonedDateTime): @…
468 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.Zo…
469 …Method android.telephony.SubscriptionPlan.Builder.createRecurringMonthly(java.time.ZonedDateTime):…
470 DeprecationMismatch: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.Zon…
471 …Method android.telephony.SubscriptionPlan.Builder.createRecurringWeekly(java.time.ZonedDateTime): …
Dcurrent.txt45819 …method @NonNull public java.util.List<android.telephony.SubscriptionPlan> getSubscriptionPlans(int…
45837 …public void setSubscriptionPlans(int, @NonNull java.util.List<android.telephony.SubscriptionPlan>);
45838 … void setSubscriptionPlans(int, @NonNull java.util.List<android.telephony.SubscriptionPlan>, long);
45881 public final class SubscriptionPlan implements android.os.Parcelable {
45894 …Null public static final android.os.Parcelable.Creator<android.telephony.SubscriptionPlan> CREATOR;
45902 public static class SubscriptionPlan.Builder {
45903 method public android.telephony.SubscriptionPlan build();
45904 …method public static android.telephony.SubscriptionPlan.Builder createNonrecurring(java.time.Zoned…
45905 …method public static android.telephony.SubscriptionPlan.Builder createRecurring(java.time.ZonedDat…
45906 method @NonNull public android.telephony.SubscriptionPlan.Builder resetNetworkTypes();
[all …]
Dsystem-current.txt15192 public static class SubscriptionPlan.Builder {
15193 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringDaily(j…
15194 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringMonthly…
15195 …method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(…
/frameworks/base/boot/
Dpreloaded-classes7642 android.telephony.SubscriptionPlan$1
7643 android.telephony.SubscriptionPlan
14373 [Landroid.telephony.SubscriptionPlan;
Dboot-image-profile.txt11353 …NetworkPolicyManager$Listener;->onSubscriptionPlansChanged(I[Landroid/telephony/SubscriptionPlan;)V
14300 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Landroid/telephony/SubscriptionPlan;
14301 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Ljava/lang/Object;
30049 Landroid/telephony/SubscriptionPlan$1;
30050 Landroid/telephony/SubscriptionPlan;
36820 [Landroid/telephony/SubscriptionPlan;
/frameworks/base/config/
Dpreloaded-classes7673 android.telephony.SubscriptionPlan$1
7674 android.telephony.SubscriptionPlan
17399 [Landroid.telephony.SubscriptionPlan;
Dboot-image-profile.txt11356 …NetworkPolicyManager$Listener;->onSubscriptionPlansChanged(I[Landroid/telephony/SubscriptionPlan;)V
14364 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Landroid/telephony/SubscriptionPlan;
14365 HSPLandroid/telephony/SubscriptionPlan$1;->newArray(I)[Ljava/lang/Object;
40210 Landroid/telephony/SubscriptionPlan$1;
40211 Landroid/telephony/SubscriptionPlan;
49990 [Landroid/telephony/SubscriptionPlan;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32752 …Manager$Stub$Proxy;->getSubscriptionPlans(ILjava/lang/String;)[Landroid/telephony/SubscriptionPlan;
32765 …olicyManager$Stub$Proxy;->setSubscriptionPlans(I[Landroid/telephony/SubscriptionPlan;Ljava/lang/St…
32799 …tworkPolicyManager;->getSubscriptionPlans(ILjava/lang/String;)[Landroid/telephony/SubscriptionPlan;
32808 Landroid/net/INetworkPolicyManager;->setSubscriptionPlans(I[Landroid/telephony/SubscriptionPlan;Lja…
54794 Landroid/telephony/SubscriptionPlan$Builder;-><init>(Ljava/time/ZonedDateTime;Ljava/time/ZonedDateT…
54795 Landroid/telephony/SubscriptionPlan$Builder;->plan:Landroid/telephony/SubscriptionPlan;
54796 Landroid/telephony/SubscriptionPlan;-><init>(Landroid/os/Parcel;)V
54797 Landroid/telephony/SubscriptionPlan;-><init>(Landroid/util/RecurrenceRule;)V
54798 Landroid/telephony/SubscriptionPlan;->cycleRule:Landroid/util/RecurrenceRule;
54799 Landroid/telephony/SubscriptionPlan;->dataLimitBehavior:I
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...