Home
last modified time | relevance | path

Searched defs:preferences (Results 1 – 25 of 121) sorted by relevance

12345

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DUserRestrictionsPolicyHandlerTest.java106 Bundle preferences = new Bundle(); in onProvisionInProgressDebug_withSetExpectedUserRestrictions() local
130 Bundle preferences = new Bundle(); in onProvisionInProgress_withSetExpectedUserRestrictions() local
154 Bundle preferences = new Bundle(); in onProvisionInProgress_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
179 Bundle preferences = new Bundle(); in onProvisionInProgress_withDisallowUnknownSourcesShouldSetExpectedUserRestrictions() local
205 Bundle preferences = new Bundle(); in onProvisionInProgress_withDebuggingAllowed_shouldNotDisallowDebuggingFeatures() local
226 Bundle preferences = new Bundle(); in onLockedDebug_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
253 Bundle preferences = new Bundle(); in onLocked_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
303 Bundle preferences = new Bundle(); in onLocked_withDebuggingAllowed_shouldNotDisallowDebuggingFeatures() local
404 Bundle preferences = new Bundle(); in onUnlockedDebug_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
430 Bundle preferences = new Bundle(); in onUnlocked_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
[all …]
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/utils/
DPreferenceListCacheTest.java66 Preference[] preferences = new Preference[] {first, second, third}; in testCacheAndRestoreAllPreferences() local
83 Preference[] preferences = new Preference[] {first, second, third}; in testRestoreSomePreferences() local
101 Preference[] preferences = new Preference[] {first, second, third}; in testRestoreZeroPreferences() local
119 Preference[] preferences = new Preference[] {first, second, third}; in testKeyCollisionThrows() local
129 Preference[] preferences = new Preference[] {first}; in testEmptyKeyThrows() local
142 private void setupMockPreferenceGroup(Preference[] preferences) { in setupMockPreferenceGroup()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java58 SharedPreferences preferences = StorageComponent.get(context).unencryptedSharedPrefs(); in shouldShow() local
106 SharedPreferences preferences = StorageComponent.get(getActivity()).unencryptedSharedPrefs(); in onCreateDialog() local
127 private void onPositiveButtonClick(@NonNull SharedPreferences preferences, boolean alwaysWarn) { in onPositiveButtonClick()
138 private void onNegativeButtonClick(@NonNull SharedPreferences preferences, boolean alwaysWarn) { in onNegativeButtonClick()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoChargesAlertDialogFragment.java79 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); in shouldShow() local
118 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getActivity()); in onCreateDialog() local
130 private void onPositiveButtonClicked(@NonNull SharedPreferences preferences, boolean isChecked) { in onPositiveButtonClicked()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DSmartForwardingUtils.java37 SharedPreferences preferences = context.getSharedPreferences( in getBackupCallWaitingStatus() local
43 SharedPreferences preferences = context.getSharedPreferences( in getBackupCallForwardingStatus() local
59 SharedPreferences.Editor preferences = context.getSharedPreferences( in saveCallWaitingStatus() local
66 SharedPreferences.Editor preferences = context.getSharedPreferences( in saveCallForwardingStatus() local
78 SharedPreferences.Editor preferences = context.getSharedPreferences( in clearBackupData() local
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DAppPreferenceRepositoryTest.kt59 val preferences = repository.loadAppPreferences(listOf(UID)) in loadAppPreferences_packageNotFound_returnEmpty() constant
78 val preferences = repository.loadAppPreferences(listOf(UID)) in loadAppPreferences_packageFound_returnPreference() constant
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DConnectivityManagerPermissionTest.java85 final OemNetworkPreferences preferences = in testSetOemNetworkPreference() local
110 final OemNetworkPreferences preferences = in testSetOemNetworkPreferenceHasAutomotiveFeature() local
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmAccountManager.java60 VisualVoicemailPreferences preferences = in addAccount() local
76 VisualVoicemailPreferences preferences = new VisualVoicemailPreferences(context, phoneAccount); in removeAccount() local
92 PerAccountSharedPreferences preferences = in isAccountActivated() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DPawSecretCodeListener.java74 SharedPreferences preferences = StorageComponent.get(context).unencryptedSharedPrefs(); in onReceive() local
89 public static void selectPawType(SharedPreferences preferences) { in selectPawType()
DPawImageLoaderImpl.java37 SharedPreferences preferences = StorageComponent.get(context).unencryptedSharedPrefs(); in loadPayload() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentListPreferenceControllerTest.java190 final Map<String, Preference> preferences = setUpPreferenceMap(); in onResume_shouldShowDisabledByAdminRestrictedPreference() local
209 final Map<String, Preference> preferences = setUpPreferenceMap(); in onResume_restrictedPreferenceShouldUseAdminDisabledSummary() local
232 final Map<String, Preference> preferences = Maps.newLinkedHashMap(); in setUpPreferenceMap() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryControllerTest.java494 List<AudioStreamPreference> preferences = preference.getAllValues(); in testOnStart_sourceFromQrCodeNoId_sourceAlreadyConnected_sameName_updateId() local
613 List<AudioStreamPreference> preferences = preference.getAllValues(); in testHandleSourceFound_sameIdWithSourceFromQrCode_updateMetadataAndState() local
823 List<AudioStreamPreference> preferences = preference.getAllValues(); in testHandleSourceRemoved_updateState() local
863 List<AudioStreamPreference> preferences = preference.getAllValues(); in testHandleSourceFailedToConnect_updateState() local
917 List<AudioStreamPreference> preferences = preference.getAllValues(); in testHandleSourcePaused_updateState() local
980 List<AudioStreamPreference> preferences = preference.getAllValues(); in testHandleSourcePaused_retryBadCode_skipUpdateState() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/customization/
DPartnerPreferencesMerger.java107 final List<Preference> preferences = new ArrayList<>(); in clonePreferencesInPreferenceGroup() local
155 private static Preference findPreference(String key, Preference[] preferences) { in findPreference()
DPartnerResourcesParser.java61 final List<Preference> preferences = new ArrayList<>(numberOfPreferences); in buildPreferences() local
140 final String[] preferences = Partner.getInstance(mContext).getArray(preferencesResource); in iteratePreferences() local
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsManager.java130 SharedPreferences preferences; in openPreferences() local
154 protected void closePreferences(SharedPreferences preferences) { in closePreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DCurrentWallpaperInfoUtils.kt48 val preferences = injector.getPreferences(context) in <lambda>() constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearDefaultAppListScreen.kt45 val preferences = helper.getPreferences(defaultApps) in <lambda>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationInjectedServicesPreferenceControllerTest.java261 final List<Preference> preferences = new ArrayList<>(); in withUserRestriction_shouldDisableLocationAccuracy() local
267 map.put(UserHandle.myUserId(), preferences); in withUserRestriction_shouldDisableLocationAccuracy() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmReceiver.java34 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive() local
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementReceiver.java147 SharedPreferences preferences = in isBootUp() local
159 SharedPreferences preferences = in getAndSetSubId() local
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairAccountKeyStorage.java223 SharedPreferences preferences = in load() local
261 SharedPreferences preferences = in commit() local
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementReceiverTest.java329 SharedPreferences preferences = in setLastSubId() local
335 SharedPreferences preferences = in setLastBootCount() local
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DMigrationPausedFragmentTest.kt86 val preferences = in migrationPausedFragment_whenCancelButtonPressed_setsSharedPreferences() constant
DModuleUpdateRequiredFragmentTest.kt101 val preferences = in moduleUpdateRequiredFragment_whenCancelButtonPressed_setsSharedPreferences() constant
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DUIUpdateCallback.java45 void notifyUpdateAll(int state, List<PreferenceCompat> preferences); in notifyUpdateAll()

12345