/packages/modules/ExtServices/java/tests/src/android/ext/services/autofill/ |
D | CreditCardMatcherTest.java | 55 bundle.putInt(REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH, -1); in testCalculateScore_BadBundle() 56 bundle.putInt(REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH, -1); in testCalculateScore_BadBundle() 61 bundle.putInt(REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH, -1); in testCalculateScore_BadBundle() 62 bundle.putInt(REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH, 1); in testCalculateScore_BadBundle() 67 bundle.putInt(REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH, 1); in testCalculateScore_BadBundle() 68 bundle.putInt(REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH, -1); in testCalculateScore_BadBundle() 73 bundle.putInt(REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH, 4); in testCalculateScore_BadBundle() 74 bundle.putInt(REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH, 3); in testCalculateScore_BadBundle() 79 bundle.putInt(REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH, 13); in testCalculateScore_BadBundle() 80 bundle.putInt(REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH, 19); in testCalculateScore_BadBundle() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 84 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_noNotifsOnLockscreen() 88 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_noNotifsOnLockscreen() 103 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_alertingNotifsOnLockscreen() 106 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_alertingNotifsOnLockscreen() 120 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_allNotifsOnLockscreen() 123 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_allNotifsOnLockscreen() 149 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_dpmSaysNo() 152 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_dpmSaysNo() 176 Settings.Secure.putInt(mContext.getContentResolver(), in onPreferenceChange_allToAlerting() 179 Settings.Secure.putInt(mContext.getContentResolver(), in onPreferenceChange_allToAlerting() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | RingtonePickerPreferenceControllerTest.java | 121 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onCreate_setArgs_validRingtoneTypeSet() 123 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate_setArgs_validRingtoneTypeSet() 135 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onCreate_doesNotShowSilent_noExtraPreference() 137 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate_doesNotShowSilent_noExtraPreference() 155 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onCreate_showSilent_hasExtraPreference() 157 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate_showSilent_hasExtraPreference() 176 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onCreate_showSilent_firstPreferenceIsSilent() 178 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate_showSilent_firstPreferenceIsSilent() 192 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onCreate_hasSilent_defaultRingtoneSelected() 194 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreate_hasSilent_defaultRingtoneSelected() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableForAllAppsPreferenceControllerTest.java | 80 Settings.Global.putInt(mResolver, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in setUp() 81 Settings.Global.putInt( in setUp() 93 Settings.Global.putInt( in getAvailability_developmentSettingsEnabledAndUpdatableDriverSettingsOn_available() 101 Settings.Global.putInt(mResolver, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0); in getAvailability_developmentSettingsDisabled_conditionallyUnavailable() 108 Settings.Global.putInt(mResolver, Settings.Global.UPDATABLE_DRIVER_ALL_APPS, in getAvailability_updatableDriverOff_conditionallyUnavailable() 116 Settings.Global.putInt( in displayPreference_shouldAddListPreference() 142 Settings.Global.putInt( in updateState_availableAndDefault_visibleAndDefault() 153 Settings.Global.putInt( in updateState_availableAndProductionDriver_visibleAndProductionDriver() 165 Settings.Global.putInt( in updateState_availableAndPrereleaseDriver_visibleAndPrereleaseDriver() 177 Settings.Global.putInt(mResolver, Settings.Global.UPDATABLE_DRIVER_ALL_APPS, in updateState_updatableDriverOff_notVisibleAndSystemDriver() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverScheduleRadioButtonsControllerTest.java | 52 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_routine_returnsCorrectValue() 60 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_automatic_returnsCorrectValue() 62 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in getDefaultKey_automatic_returnsCorrectValue() 69 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_none_returnsCorrectValue() 71 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in getDefaultKey_none_returnsCorrectValue() 87 Secure.putInt( in setDefaultKey_percentage_shouldSuppressNotification() 89 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setDefaultKey_percentage_shouldSuppressNotification() 91 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in setDefaultKey_percentage_shouldSuppressNotification() 101 Secure.putInt( in setDefaultKey_routine_shouldSuppressNotification() 103 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setDefaultKey_routine_shouldSuppressNotification()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BubblePreferenceControllerTest.java | 127 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_notIfAppBlocked() 136 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_notIfChannelBlocked() 146 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_channel_notIfAppOff() 160 Settings.Secure.putInt(mContext.getContentResolver(), in isNotAvailable_ifOffGlobally_app() 184 Settings.Secure.putInt(mContext.getContentResolver(), in isAvailable_notIfOffGlobally_channel() 194 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_ifNotLowRam() 206 Settings.Secure.putInt(mContext.getContentResolver(), in isAvailable_app_evenIfOffGlobally() 216 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_app() 229 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_defaultChannel() 242 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_channel() [all …]
|
D | BubbleSummaryPreferenceControllerTest.java | 99 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_NOTIFICATION_BUBBLESisOn_shouldReturnTrue() 107 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_NOTIFICATION_BUBBLESisOn_neverSentMsg_shouldReturnFalse() 116 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in isAvailable_NOTIFICATION_BUBBLESisOff_shouldReturnFalse() 125 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in isAvailable_nonNullChannelNOTIFICATION_BUBBLESisOff_shouldReturnFalse() 136 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_defaultChannelNOTIFICATION_BUBBLESisOn_shouldReturnTrue() 147 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_lowRam_shouldReturnFalse() 158 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in isAvailable_notLowRam_shouldReturnTrue() 179 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in getSummary_NOTIFICATION_BUBBLESIsOff_returnsNoneString() 191 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in getSummary_BUBBLE_PREFERENCE_NONEisSelected_returnsNoneString() 204 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in getSummary_BUBBLE_PREFERENCE_ALLisSelected_returnsAllString() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtilTest.java | 55 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_isAdmin_shouldReturnFalse() 65 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_isAdmin_shouldReturnTrue() 76 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_notAdmin_shouldReturnFalse() 87 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_hasDisallowDebuggingRestriction_shouldReturnFalse() 101 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_doesNotHaveDisallowDebuggingRestriction_shouldReturnTrue() 110 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setTrue() 121 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setFalse() 132 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, in isDeviceProvisioned_true() 139 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, in isDeviceProvisioned_false()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | WirelessDebuggingTest.java | 76 Global.putInt(mContext.getContentResolver(), in adbWifiEnabled_shouldReturnEnabled() 84 Global.putInt(mContext.getContentResolver(), in adbWifiDisabled_shouldReturnDisabled() 93 Global.putInt(mContext.getContentResolver(), in setIsEnabled_false_keyguardUnlocked_WifiDisconnected_shouldDisableAdbWifi() 108 Global.putInt(mContext.getContentResolver(), in setIsEnabled_false_keyguardLocked_WifiDisconnected_shouldDisableAdbWifi() 123 Global.putInt(mContext.getContentResolver(), in setIsEnabled_false_keyguardUnlocked_WifiConnected_shouldDisableAdbWifi() 138 Global.putInt(mContext.getContentResolver(), in setIsEnabled_false_keyguardLocked_WifiConnected_shouldDisableAdbWifi() 155 Global.putInt(mContext.getContentResolver(), in setIsEnabled_true_keyguardUnlocked_WifiDisconnected_shouldDisableAdbWifi() 177 Global.putInt(mContext.getContentResolver(), in setIsEnabled_true_keyguardLocked_WifiDisconnected_shouldDisableAdbWifi() 193 Global.putInt(mContext.getContentResolver(), in setIsEnabled_true_keyguardUnlocked_WifiConnected_shouldDisableAdbWifi() 208 Global.putInt(mContext.getContentResolver(), in setIsEnabled_true_keyguardLocked_WifiConnected_shouldDisableAdbWifi()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 411 mPos += mBuffer.putInt(mPos, value); in writeInt() 466 mPos += mBuffer.putInt(mPos, numBytes); in writeByteArray() 497 mPos += mBuffer.putInt(mPos, uids[i]); in writeAttributionChain() 502 mPos += mBuffer.putInt(mPos, tagBytes.length); in writeAttributionChain() 539 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 541 mPos += mBuffer.putInt(mPos, value); in writeKeyValuePairs() 547 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 555 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 558 mPos += mBuffer.putInt(mPos, valueBytes.length); in writeKeyValuePairs() 565 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | VibrationPreferenceControllerTest.java | 57 Settings.System.putInt(mContext.getContentResolver(), in getSummary_disabledVibration_shouldReturnOffSummary() 59 Settings.System.putInt(mContext.getContentResolver(), in getSummary_disabledVibration_shouldReturnOffSummary() 61 Settings.System.putInt(mContext.getContentResolver(), in getSummary_disabledVibration_shouldReturnOffSummary() 70 Settings.System.putInt(mContext.getContentResolver(), in getSummary_enabledSomeVibration_shouldReturnVibrationOnSummary() 72 Settings.System.putInt(mContext.getContentResolver(), in getSummary_enabledSomeVibration_shouldReturnVibrationOnSummary() 74 Settings.System.putInt(mContext.getContentResolver(), in getSummary_enabledSomeVibration_shouldReturnVibrationOnSummary() 76 Settings.System.putInt(mContext.getContentResolver(), in getSummary_enabledSomeVibration_shouldReturnVibrationOnSummary() 78 Settings.System.putInt(mContext.getContentResolver(), in getSummary_enabledSomeVibration_shouldReturnVibrationOnSummary()
|
D | NotificationVibrationIntensityPreferenceControllerTest.java | 96 Settings.System.putInt(mContext.getContentResolver(), in updateState_withMultipleIntensitySuport_shouldRefreshSummary() 102 Settings.System.putInt(mContext.getContentResolver(), in updateState_withMultipleIntensitySuport_shouldRefreshSummary() 108 Settings.System.putInt(mContext.getContentResolver(), in updateState_withMultipleIntensitySuport_shouldRefreshSummary() 114 Settings.System.putInt(mContext.getContentResolver(), in updateState_withMultipleIntensitySuport_shouldRefreshSummary() 126 Settings.System.putInt(mContext.getContentResolver(), in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary() 132 Settings.System.putInt(mContext.getContentResolver(), in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary() 138 Settings.System.putInt(mContext.getContentResolver(), in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary() 144 Settings.System.putInt(mContext.getContentResolver(), in updateState_withoutMultipleIntensitySupport_shouldRefreshSummary()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 87 editor.putInt(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, in upgradePrefs() 100 editor.putInt(NoBackupKeys.KEY_LOCK_WALLPAPER_MANAGER_ID, in upgradePrefs() 126 editor.putInt(NoBackupKeys.KEY_LAST_ROTATION_STATUS, in upgradePrefs() 138 editor.putInt(NoBackupKeys.KEY_PENDING_WALLPAPER_SET_STATUS, in upgradePrefs() 143 editor.putInt(NoBackupKeys.KEY_PENDING_DAILY_WALLPAPER_UPDATE_STATUS, in upgradePrefs() 148 editor.putInt(NoBackupKeys.KEY_NUM_DAYS_DAILY_ROTATION_FAILED, in upgradePrefs() 152 editor.putInt(NoBackupKeys.KEY_NUM_DAYS_DAILY_ROTATION_NOT_ATTEMPTED, in upgradePrefs() 192 mSharedPrefs.edit().putInt( in setWallpaperPresentationMode() 370 mNoBackupPrefs.edit().putInt( in setHomeWallpaperManagerId() 487 mNoBackupPrefs.edit().putInt( in setLockWallpaperId() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 103 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable() 109 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable() 115 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable() 121 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsAvailable() 127 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_updateState_noFooterTitle() 135 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in zenModeImportantInterruptions_updateState_noFooterTitle() 143 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_qsManualRule_setFooterTitle() 157 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_appManualRule_setFooterTitle() 173 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle() 187 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle() [all …]
|
D | ZenModeSettingsFooterPreferenceControllerTest.java | 107 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable() 113 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable() 119 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable() 125 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsNotAvailable() 131 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_app_manualRule_setFooterTitle() 142 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_time_manualRule_setFooterTitle() 153 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_forever_manualRule_setFooterTitle() 163 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_automaticRule_noManualRule_setFooterTitle() 179 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_manualRuleEndsLast_hasAutomaticRule_setFooterTitle() 195 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_automaticRuleEndsLast_hasManualRule_setFooterTitle() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 180 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences() 204 editor.putInt(Key.bb_strength.toString(), bBStrength); in initEffectsPreferences() 268 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in initEffectsPreferences() 269 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in initEffectsPreferences() 270 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in initEffectsPreferences() 271 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in initEffectsPreferences() 281 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in initEffectsPreferences() 297 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in initEffectsPreferences() 299 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in initEffectsPreferences() 300 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in initEffectsPreferences() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverScheduleSeekBarControllerTest.java | 47 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in onPreferenceChange_updatesSettingsGlobal() 58 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_routineMode_hasCorrectProperties() 68 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_percentageMode_hasCorrectProperties() 70 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in updateSeekBar_percentageMode_hasCorrectProperties() 80 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_noneMode_hasCorrectProperties() 82 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in updateSeekBar_noneMode_hasCorrectProperties() 90 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in addToScreen_addsToEnd() 92 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 15); in addToScreen_addsToEnd()
|
D | BatterySaverSchedulePreferenceControllerTest.java | 62 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_lowPowerLevelZero_percentageMode_summaryNoSchedule() 64 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_lowPowerLevelZero_percentageMode_summaryNoSchedule() 74 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_lowPowerLevelNonZero_percentageMode_summaryPercentage() 76 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_lowPowerLevelNonZero_percentageMode_summaryPercentage() 87 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_percentageRoutine_summaryRoutine() 89 Settings.Global.putInt(mContext.getContentResolver(), in testPreference_percentageRoutine_summaryRoutine()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | TestMetadata.java | 32 data.putInt(ExifInterface.TAG_IMAGE_WIDTH, 3840); in populateExifData() 33 data.putInt(ExifInterface.TAG_IMAGE_LENGTH, 2160); in populateExifData() 44 data.putInt(ExifInterface.TAG_ISO_SPEED_RATINGS, 120); in populateExifData() 53 data.putInt(ExifInterface.TAG_IMAGE_WIDTH, 1920); in populateVideoData() 54 data.putInt(ExifInterface.TAG_IMAGE_LENGTH, 1080); in populateVideoData() 55 data.putInt(MediaMetadata.METADATA_KEY_DURATION, 72000); in populateVideoData() 62 data.putInt(MediaMetadata.METADATA_KEY_DURATION, 72000); in populateAudioData()
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/ |
D | FocusAreaTest.java | 144 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 161 arguments.putInt(NUDGE_DIRECTION, FOCUS_DOWN); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 179 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_legacy() 202 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_new() 219 arguments.putInt(NUDGE_DIRECTION, FOCUS_DOWN); in testPerformAccessibilityAction_actionNudgeShortcut_new() 237 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_new() 264 arguments.putInt(NUDGE_DIRECTION, FOCUS_LEFT); in testPerformAccessibilityAction_actionNudgeShortcut_programmatic() 281 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_programmatic() 299 arguments.putInt(NUDGE_DIRECTION, FOCUS_RIGHT); in testPerformAccessibilityAction_actionNudgeShortcut_programmatic() 447 arguments.putInt(NUDGE_DIRECTION, FOCUS_DOWN); in testPerformAccessibilityAction_actionNudgeToAnotherFocusArea_enabledCache() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 100 .putInt(KEY_NAVIGATION_BAR_BACKGROUND_COLOR, color) in writeNavigationBarColor() 116 .putInt(KEY_NAVIGATION_BAR_DIVIDER_COLOR, color) in writeNavigationBarDividerColor() 132 .putInt(KEY_TEXT_PRIMARY_COLOR, color) in writeTextPrimaryColor() 148 .putInt(KEY_TEXT_SECONDARY_COLOR, color) in writeTextSecondaryColor() 164 .putInt(KEY_BACKGROUND_COLOR, color) in writeBackgroundColor() 180 .putInt(KEY_ACCENT_COLOR, color) in writeAccentColor() 196 .putInt(KEY_NOTIFICATION_BACKGROUND_COLOR, color) in writeNotificationBackgroundColor()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 413 Settings.Global.putInt(context.getContentResolver(), DATA_ACTIVITY_TIMEOUT_MOBILE, in setMobileDataActivityTimeout() 444 Settings.Global.putInt(context.getContentResolver(), DATA_ACTIVITY_TIMEOUT_WIFI, in setWifiDataActivityTimeout() 477 Settings.Global.putInt( in setDnsResolverSampleValidityDuration() 505 Settings.Global.putInt( in setDnsResolverSuccessThresholdPercent() 537 Settings.Global.putInt( in setDnsResolverSampleRanges() 539 Settings.Global.putInt( in setDnsResolverSampleRanges() 569 Settings.Global.putInt( in setNetworkSwitchNotificationMaximumDailyCount() 601 Settings.Global.putInt(context.getContentResolver(), in setNetworkSwitchNotificationRateDuration() 656 Settings.Global.putInt(context.getContentResolver(), CAPTIVE_PORTAL_MODE, mode); in setCaptivePortalMode() 704 Settings.Global.putInt(context.getContentResolver(), GLOBAL_HTTP_PROXY_PORT, port); in setGlobalProxy() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | WirelessDebuggingEnablerTest.java | 91 Global.putInt(mContext.getContentResolver(), in adbWifiEnabled_switchBarShouldBeChecked() 98 Global.putInt(mContext.getContentResolver(), in adbWifiEnabled_switchBarShouldBeChecked() 111 Global.putInt(mContext.getContentResolver(), in adbWifiEnabled_switchBarShouldNotBeChecked() 118 Global.putInt(mContext.getContentResolver(), in adbWifiEnabled_switchBarShouldNotBeChecked() 132 Global.putInt(mContext.getContentResolver(), in onSwitchToggled_true_wifiConnected_shouldSetAdbWifiEnabledTrue() 148 Global.putInt(mContext.getContentResolver(), in onSwitchToggled_true_wifiNotConnected_shouldSetAdbWifiEnabledFalse() 164 Global.putInt(mContext.getContentResolver(), in onSwitchToggled_false_wifiConnected_shouldSetAdbWifiEnabledFalse() 180 Global.putInt(mContext.getContentResolver(), in onSwitchToggled_false_wifiNotConnected_shouldSetAdbWifiEnabledFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatterySaverControllerTest.java | 68 Settings.Global.putInt(mContext.getContentResolver(), in setUp() 87 Settings.Global.putInt(mContext.getContentResolver(), in onPreferenceChange_onPowerSaveModeChanged_manualTrigger_logsType() 99 Settings.Global.putInt(mContext.getContentResolver(), in onPreferenceChange_onPowerSaveModeChanged_triggerPercent_logsTypeAndPercentage() 103 Settings.Global.putInt(mContext.getContentResolver(), in onPreferenceChange_onPowerSaveModeChanged_triggerPercent_logsTypeAndPercentage() 117 Settings.Global.putInt(mContext.getContentResolver(), in onPreferenceChange_onPowerSaveModeChanged_triggerDynamic_logsType() 137 Settings.Global.putInt(mContext.getContentResolver(), in getSummary_batterySaverOffButScheduled_showSummaryScheduled() 146 Settings.Global.putInt(mContext.getContentResolver(), in getSummary_batterySaverOffButScheduledZeroPercent_showSummaryOff() 155 Settings.Global.putInt( in getSummary_batterySaverOffButScheduledBasedOnRoutine_showSummaryBasedOnRoutine()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/ |
D | WifiWakeupTogglePreferenceControllerTest.java | 120 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiWakeupEnabled_disablesWifiWakeup() 135 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiScanningDisabled_showsDialog() 149 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup() 164 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationEnabled_isChecked() 176 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onCreate_wifiWakeupDisabled_wifiScanningEnabled_locationEnabled_isNotChecked() 188 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onCreate_wifiWakeupEnabled_wifiScanningDisabled_locationEnabled_isNotChecked() 200 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationDisabled_isNotChecked() 215 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onConfirmWifiScanning_setsWifiScanningOn() 231 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onConfirmWifiScanning_showsToast() 246 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in onConfirmWifiScanning_enablesWifiWakeup()
|