Home
last modified time | relevance | path

Searched refs:BarringServiceInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DBarringInfo.java101 public static final class BarringServiceInfo implements Parcelable { class in BarringInfo
134 public BarringServiceInfo(@BarringType int type) { in BarringServiceInfo() method in BarringInfo.BarringServiceInfo
140 public BarringServiceInfo(@BarringType int barringType, boolean isConditionallyBarred, in BarringServiceInfo() method in BarringInfo.BarringServiceInfo
184 return mBarringType == BarringServiceInfo.BARRING_TYPE_UNCONDITIONAL in isBarred()
185 || (mBarringType == BarringServiceInfo.BARRING_TYPE_CONDITIONAL in isBarred()
197 if (!(rhs instanceof BarringServiceInfo)) return false; in equals()
199 BarringServiceInfo other = (BarringServiceInfo) rhs; in equals()
207 public BarringServiceInfo(Parcel p) { in BarringServiceInfo() method in BarringInfo.BarringServiceInfo
223 public static final @NonNull Parcelable.Creator<BarringServiceInfo> CREATOR =
224 new Parcelable.Creator<BarringServiceInfo>() {
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DBarringInfoTest.java18 import static android.telephony.BarringInfo.BarringServiceInfo;
53 private static SparseArray<BarringServiceInfo> getBarringServiceInfos() { in getBarringServiceInfos()
62 private static SparseArray<BarringServiceInfo>
64 SparseArray<BarringServiceInfo> serviceInfos = new SparseArray<>(); in getBarringServiceInfos()
66 new BarringServiceInfo(BarringServiceInfo.BARRING_TYPE_UNCONDITIONAL, false, 0, 0)); in getBarringServiceInfos()
68 new BarringServiceInfo( in getBarringServiceInfos()
69 BarringServiceInfo.BARRING_TYPE_CONDITIONAL, isConditionallyBarred, in getBarringServiceInfos()
93 BarringServiceInfo bsi = b.getBarringServiceInfo(service); in testEmptyConstructor()
95 assertEquals(bsi.getBarringType(), BarringServiceInfo.BARRING_TYPE_UNKNOWN); in testEmptyConstructor()
106 BarringServiceInfo bsi = b.getBarringServiceInfo(BarringInfo.BARRING_SERVICE_TYPE_MO_DATA); in testBarringService()
[all …]
/frameworks/base/api/
Dtest-current.txt3129 …CellIdentity, @NonNull android.util.SparseArray<android.telephony.BarringInfo.BarringServiceInfo>);
3132 public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable {
3133 ctor public BarringInfo.BarringServiceInfo(int, boolean, int, int);
Dcurrent.txt44717 …method @NonNull public android.telephony.BarringInfo.BarringServiceInfo getBarringServiceInfo(int);
44732 public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable {
44744 …atic final android.os.Parcelable.Creator<android.telephony.BarringInfo.BarringServiceInfo> CREATOR;
/frameworks/base/non-updatable-api/
Dcurrent.txt44573 …method @NonNull public android.telephony.BarringInfo.BarringServiceInfo getBarringServiceInfo(int);
44588 public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable {
44600 …atic final android.os.Parcelable.Creator<android.telephony.BarringInfo.BarringServiceInfo> CREATOR;