Home
last modified time | relevance | path

Searched refs:networkPreference (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStartRotationErrorDialogFragment.java38 @NetworkPreference int networkPreference) { in newInstance()
41 args.putInt(ARG_NETWORK_PREFERENCE, networkPreference); in newInstance()
51 … @NetworkPreference final int networkPreference = getArguments().getInt(ARG_NETWORK_PREFERENCE); in onCreateDialog() local
60 callback.retryStartRotation(networkPreference); in onCreateDialog()
73 void retryStartRotation(@NetworkPreference int networkPreference);
DRotationStarter.java27 void startRotation(@NetworkPreference int networkPreference); in startRotation() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java477 public void retryStartRotation(@NetworkPreference int networkPreference) { in retryStartRotation() argument
478 startRotation(networkPreference); in retryStartRotation()
482 public void startRotation(@NetworkPreference final int networkPreference) { in startRotation() argument
508 networkPreference, in startRotation()
538 showStartRotationErrorDialog(networkPreference); in startRotation()
548 showStartRotationErrorDialog(networkPreference); in startRotation()
553 private void showStartRotationErrorDialog(@NetworkPreference int networkPreference) { in showStartRotationErrorDialog() argument
557 StartRotationErrorDialogFragment.newInstance(networkPreference); in showStartRotationErrorDialog()
DIndividualPickerFragment2.kt619 override fun retryStartRotation(@NetworkPreference networkPreference: Int) { in <lambda>()
620 startRotation(networkPreference) in <lambda>()
623 override fun startRotation(@NetworkPreference networkPreference: Int) { in <lambda>()
645 networkPreference, in <lambda>()
673 showStartRotationErrorDialog(networkPreference) in <lambda>()
679 showStartRotationErrorDialog(networkPreference) in <lambda>()
685 private fun showStartRotationErrorDialog(@NetworkPreference networkPreference: Int) { in <lambda>()
689 StartRotationErrorDialogFragment.newInstance(networkPreference) in <lambda>()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperRotationInitializer.java50 @NetworkPreference int networkPreference, in setFirstWallpaperInRotation() argument
53 mNetworkPreference = networkPreference; in setFirstWallpaperInRotation()
/packages/modules/Connectivity/tests/common/java/android/net/
DOemNetworkPreferencesTest.java143 OemNetworkPreferences networkPreference = mBuilder.build(); in testConstructorByOemNetworkPreferencesSetsValue() local
147 .Builder(networkPreference) in testConstructorByOemNetworkPreferencesSetsValue()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperRotationInitializer.java56 void setFirstWallpaperInRotation(Context appContext, @NetworkPreference int networkPreference, in setFirstWallpaperInRotation() argument
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java331 final Preference networkPreference = mock(Preference.class); in updateConnectivity_givenConnectivityListenerNull_thenNetworkPreferenceIsNotUpdated() local
332 doReturn(networkPreference).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in updateConnectivity_givenConnectivityListenerNull_thenNetworkPreferenceIsNotUpdated()
337 verifyNoInteractions(networkPreference); in updateConnectivity_givenConnectivityListenerNull_thenNetworkPreferenceIsNotUpdated()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6561 final int networkPreference;
6563 networkPreference = netPolicyManager.getMultipathPreference(network);
6567 if (networkPreference != 0) {
6568 return networkPreference;