Searched refs:OemNetworkPreferences (Results 1 – 13 of 13) sorted by relevance
42 public final class OemNetworkPreferences implements Parcelable { class115 private OemNetworkPreferences(@NonNull final Bundle networkMappings) { in OemNetworkPreferences() method in OemNetworkPreferences129 OemNetworkPreferences that = (OemNetworkPreferences) o; in equals()156 public Builder(@NonNull final OemNetworkPreferences preferences) { in Builder()196 public OemNetworkPreferences build() { in build()197 return new OemNetworkPreferences(mNetworkMappings); in build()263 public static final Parcelable.Creator<OemNetworkPreferences> CREATOR =264 new Parcelable.Creator<OemNetworkPreferences>() {266 public OemNetworkPreferences[] newArray(int size) {267 return new OemNetworkPreferences[size];[all …]
38 import android.net.OemNetworkPreferences;218 void setOemNetworkPreference(in OemNetworkPreferences preference, in setOemNetworkPreference()
5417 public void setOemNetworkPreference(@NonNull final OemNetworkPreferences preference, in setOemNetworkPreference()
18 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID;19 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK;20 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY;21 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY;27 import android.net.OemNetworkPreferences;109 private OemNetworkPreferences generatePrefsFrom(@Nullable SparseArray<Set<String>> preference) { in generatePrefsFrom()110 OemNetworkPreferences.Builder builder = new OemNetworkPreferences.Builder(); in generatePrefsFrom()124 int type, @NonNull OemNetworkPreferences.Builder builder, @NonNull Set<String> apps) { in addPreferenceFromAppsSet()
18 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID;19 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK;20 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY;21 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY;
18 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID;19 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK;20 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY;21 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY;22 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_UNINITIALIZED;
43 private static final int TEST_PREF = OemNetworkPreferences.OEM_NETWORK_PREFERENCE_UNINITIALIZED;46 private final OemNetworkPreferences.Builder mBuilder = new OemNetworkPreferences.Builder();102 final OemNetworkPreferences prefs = mBuilder.build(); in testOemNetworkPreferencesParcelable()109 final int newPref = OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID; in testAddNetworkPreferenceOverwritesPriorPreference()141 OemNetworkPreferences networkPreference = mBuilder.build(); in testConstructorByOemNetworkPreferencesSetsValue()144 new OemNetworkPreferences in testConstructorByOemNetworkPreferencesSetsValue()
21 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID;22 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK;23 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY;24 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY;
59 …FERENCE) public void setOemNetworkPreference(@NonNull android.net.OemNetworkPreferences, @Nullable…365 public final class OemNetworkPreferences implements android.os.Parcelable {369 …nNull public static final android.os.Parcelable.Creator<android.net.OemNetworkPreferences> CREATOR;377 public static final class OemNetworkPreferences.Builder {378 ctor public OemNetworkPreferences.Builder();379 ctor public OemNetworkPreferences.Builder(@NonNull android.net.OemNetworkPreferences);380 …method @NonNull public android.net.OemNetworkPreferences.Builder addNetworkPreference(@NonNull Str…381 method @NonNull public android.net.OemNetworkPreferences build();382 …method @NonNull public android.net.OemNetworkPreferences.Builder clearNetworkPreference(@NonNull S…
113 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID;114 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK;115 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY;116 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY;117 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST;118 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST_ONLY;119 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_UNINITIALIZED;247 import android.net.OemNetworkPreferences;11089 private OemNetworkPreferences createDefaultOemNetworkPreferences( in createDefaultOemNetworkPreferences()11090 @OemNetworkPreferences.OemNetworkPreference final int preference) { in createDefaultOemNetworkPreferences()[all …]
19 parcelable OemNetworkPreferences;
83 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST;84 import static android.net.OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST_ONLY;161 import android.net.OemNetworkPreferences;4923 final Pair<OemNetworkPreferences, IOnCompleteListener> arg = in handleMessage()4924 (Pair<OemNetworkPreferences, IOnCompleteListener>) msg.obj; in handleMessage()6463 private OemNetworkPreferences mOemNetworkPreferences =6464 new OemNetworkPreferences.Builder().build();10006 @NonNull final OemNetworkPreferences preference, in setOemNetworkPreference()10029 @NonNull final OemNetworkPreferences preference) { in isValidTestOemNetworkPreference()10040 private boolean isTestOemNetworkPreference(@NonNull final OemNetworkPreferences preference) { in isTestOemNetworkPreference()[all …]
126 import android.net.OemNetworkPreferences;2343 setOemNetworkPreferenceForMyPackage(OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST);2396 OemNetworkPreferences.OEM_NETWORK_PREFERENCE_TEST_ONLY);2454 final OemNetworkPreferences pref = new OemNetworkPreferences.Builder()2475 final OemNetworkPreferences clearPref = new OemNetworkPreferences.Builder().build();