Searched refs:addNetworkPreference (Results 1 – 6 of 6) sorted by relevance
51 () -> mBuilder.addNetworkPreference(null, TEST_PREF)); in testBuilderAddNetworkPreferenceRequiresNonNullPackageName()63 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testGetNetworkPreferenceReturnsCorrectValue()75 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testGetNetworkPreferenceReturnsUnmodifiableValue()90 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testToStringReturnsCorrectValue()100 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testOemNetworkPreferencesParcelable()110 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testAddNetworkPreferenceOverwritesPriorPreference()117 mBuilder.addNetworkPreference(TEST_PACKAGE, newPref); in testAddNetworkPreferenceOverwritesPriorPreference()126 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testRemoveNetworkPreferenceRemovesValue()140 mBuilder.addNetworkPreference(TEST_PACKAGE, TEST_PREF); in testConstructorByOemNetworkPreferencesSetsValue()
126 builder.addNetworkPreference(app, type); in addPreferenceFromAppsSet()
171 public Builder addNetworkPreference(@NonNull final String packageName, in addNetworkPreference() method in OemNetworkPreferences.Builder
11096 .addNetworkPreference(TEST_PACKAGE_NAME, preference) in createDefaultOemNetworkPreferences()11233 .addNetworkPreference(TEST_PACKAGE_NAME, testOemPref) in testOemNetworkRequestFactoryCreatesCorrectNumOfNris()11234 .addNetworkPreference(testPackageName2, testOemPref2) in testOemNetworkRequestFactoryCreatesCorrectNumOfNris()11258 .addNetworkPreference(TEST_PACKAGE_NAME, testOemPref) in testOemNetworkRequestFactoryMultiplePrefsCorrectlySetsUids()11259 .addNetworkPreference(testPackageName2, testOemPref2) in testOemNetworkRequestFactoryMultiplePrefsCorrectlySetsUids()11293 .addNetworkPreference(TEST_PACKAGE_NAME, testOemPref) in testOemNetworkRequestFactoryMultipleUsersSetsUids()11333 .addNetworkPreference(TEST_PACKAGE_NAME, testOemPref) in testOemNetworkRequestFactoryAddsPackagesToCorrectPreference()11334 .addNetworkPreference(testPackageName2, testOemPref) in testOemNetworkRequestFactoryAddsPackagesToCorrectPreference()11403 .addNetworkPreference(TEST_PACKAGE_NAME, oemNetworkPreferenceForTest) in assertSetOemNetworkPreferenceFailsForInvalidTestRequest()11404 .addNetworkPreference(secondPackage, oemNetworkPreferenceForTest) in assertSetOemNetworkPreferenceFailsForInvalidTestRequest()[all …]
380 …method @NonNull public android.net.OemNetworkPreferences.Builder addNetworkPreference(@NonNull Str…
2455 .addNetworkPreference(mContext.getPackageName(), networkPref)