/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | UserRestrictionsPolicyHandlerTest.java | 106 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/ |
D | PreferenceListCacheTest.java | 66 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/ |
D | InternationalCallOnWifiDialogFragment.java | 58 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/ |
D | VideoChargesAlertDialogFragment.java | 79 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/ |
D | SmartForwardingUtils.java | 37 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/ |
D | AppPreferenceRepositoryTest.kt | 59 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/ |
D | ConnectivityManagerPermissionTest.java | 85 final OemNetworkPreferences preferences = in testSetOemNetworkPreference() local 110 final OemNetworkPreferences preferences = in testSetOemNetworkPreferenceHasAutomotiveFeature() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmAccountManager.java | 60 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/ |
D | PawSecretCodeListener.java | 74 SharedPreferences preferences = StorageComponent.get(context).unencryptedSharedPrefs(); in onReceive() local 89 public static void selectPawType(SharedPreferences preferences) { in selectPawType()
|
D | PawImageLoaderImpl.java | 37 SharedPreferences preferences = StorageComponent.get(context).unencryptedSharedPrefs(); in loadPayload() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentListPreferenceControllerTest.java | 190 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/ |
D | AudioStreamsProgressCategoryControllerTest.java | 494 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/ |
D | PartnerPreferencesMerger.java | 107 final List<Preference> preferences = new ArrayList<>(); in clonePreferencesInPreferenceGroup() local 155 private static Preference findPreference(String key, Preference[] preferences) { in findPreference()
|
D | PartnerResourcesParser.java | 61 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/ |
D | SettingsManager.java | 130 SharedPreferences preferences; in openPreferences() local 154 protected void closePreferences(SharedPreferences preferences) { in closePreferences()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | CurrentWallpaperInfoUtils.kt | 48 val preferences = injector.getPreferences(context) in <lambda>() constant
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/ |
D | WearDefaultAppListScreen.kt | 45 val preferences = helper.getPreferences(defaultApps) in <lambda>() constant
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 261 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/ |
D | DailyLoggingAlarmReceiver.java | 34 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive() local
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiver.java | 147 SharedPreferences preferences = in isBootUp() local 159 SharedPreferences preferences = in getAndSetSubId() local
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairAccountKeyStorage.java | 223 SharedPreferences preferences = in load() local 261 SharedPreferences preferences = in commit() local
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiverTest.java | 329 SharedPreferences preferences = in setLastSubId() local 335 SharedPreferences preferences = in setLastBootCount() local
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/ |
D | MigrationPausedFragmentTest.kt | 86 val preferences = in migrationPausedFragment_whenCancelButtonPressed_setsSharedPreferences() constant
|
D | ModuleUpdateRequiredFragmentTest.kt | 101 val preferences = in moduleUpdateRequiredFragment_whenCancelButtonPressed_setsSharedPreferences() constant
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/ |
D | UIUpdateCallback.java | 45 void notifyUpdateAll(int state, List<PreferenceCompat> preferences); in notifyUpdateAll()
|