Home
last modified time | relevance | path

Searched refs:OemNetworkPreferences (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DOemNetworkPreferences.java42 public final class OemNetworkPreferences implements Parcelable { class
115 private OemNetworkPreferences(@NonNull final Bundle networkMappings) { in OemNetworkPreferences() method in OemNetworkPreferences
129 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 …]
DIConnectivityManager.aidl38 import android.net.OemNetworkPreferences;
218 void setOemNetworkPreference(in OemNetworkPreferences preference, in setOemNetworkPreference()
DConnectivityManager.java5417 public void setOemNetworkPreference(@NonNull final OemNetworkPreferences preference, in setOemNetworkPreference()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DOemNetworkPreferencesAdapter.java18 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()
DOemAppsManager.java18 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;
DPersonalStorage.java18 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;
/packages/modules/Connectivity/tests/common/java/android/net/
DOemNetworkPreferencesTest.java43 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()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java21 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;
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt59 …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…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java113 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 …]
/packages/modules/Connectivity/framework/aidl-export/android/net/
DOemNetworkPreferences.aidl19 parcelable OemNetworkPreferences;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java83 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 …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java126 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();