/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/preferences/ |
D | WifiWakeupTogglePreferenceControllerTest.java | 93 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiWakeupEnabled_disablesWifiWakeup() 106 Settings.Global.putInt(mContext.getContentResolver(), in handlePreferenceClicked_wifiScanningDisabled_showsDialog() 108 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiScanningDisabled_showsDialog() 121 Settings.Global.putInt(mContext.getContentResolver(), in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup() 123 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup() 136 Settings.Global.putInt(mContext.getContentResolver(), in refreshUi_wifiWakeupEnabled_wifiScanningEnabled_locationEnabled_isChecked() 138 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in refreshUi_wifiWakeupEnabled_wifiScanningEnabled_locationEnabled_isChecked() 150 Settings.Global.putInt(mContext.getContentResolver(), in refreshUi_wifiWakeupDisabled_wifiScanningEnabled_locationEnabled_isNotChecked() 152 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.WIFI_WAKEUP_ENABLED, in refreshUi_wifiWakeupDisabled_wifiScanningEnabled_locationEnabled_isNotChecked() 164 Settings.Global.putInt(mContext.getContentResolver(), in refreshUi_wifiWakeupEnabled_wifiScanningDisabled_locationEnabled_isNotChecked() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | CategoryManagerTest.java | 136 activityInfo1.metaData.putInt(META_DATA_KEY_ORDER, 100); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 141 activityInfo2.metaData.putInt(META_DATA_KEY_ORDER, 50); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 146 activityInfo3.metaData.putInt(META_DATA_KEY_ORDER, 200); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 175 activityInfo1.metaData.putInt(META_DATA_KEY_ORDER, 100); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority() 180 activityInfo2.metaData.putInt(META_DATA_KEY_ORDER, 100); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority() 185 activityInfo3.metaData.putInt(META_DATA_KEY_ORDER, 50); in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority() 215 activityInfo1.metaData.putInt(META_DATA_KEY_ORDER, 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 220 activityInfo2.metaData.putInt(META_DATA_KEY_ORDER, 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 225 activityInfo3.metaData.putInt(META_DATA_KEY_ORDER, 50); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 254 activityInfo1.metaData.putInt(META_DATA_KEY_ORDER, 2); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering() [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 …]
|
D | BubblePreferenceControllerTest.java | 106 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_notIfAppBlocked() 115 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_notIfChannelBlocked() 125 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_channel_notIfAppOff() 139 Settings.Secure.putInt(mContext.getContentResolver(), in testIsNotAvailable_ifOffGlobally_app() 151 Settings.Secure.putInt(mContext.getContentResolver(), in testIsAvailable_notIfOffGlobally_channel() 161 Settings.Secure.putInt(mContext.getContentResolver(), in testIsAvailable_app_evenIfOffGlobally() 171 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_app() 184 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_defaultChannel() 196 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_channel() 208 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_channelAppOff() [all …]
|
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 102 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable() 108 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable() 114 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable() 120 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsAvailable() 126 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_updateState_noFooterTitle() 134 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in zenModeImportantInterruptions_updateState_noFooterTitle() 142 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_qsManualRule_setFooterTitle() 156 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in deprecatedZenModeAlarms_appManualRule_setFooterTitle() 172 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle() 186 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle() [all …]
|
D | ZenModeSettingsFooterPreferenceControllerTest.java | 106 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in totalSilence_footerIsAvailable() 112 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in alarmsOnly_footerIsAvailable() 118 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in priorityOnly_footerIsAvailable() 124 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_OFF); in zenModeOff_footerIsNotAvailable() 130 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_app_manualRule_setFooterTitle() 141 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_time_manualRule_setFooterTitle() 152 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_forever_manualRule_setFooterTitle() 162 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_automaticRule_noManualRule_setFooterTitle() 178 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_manualRuleEndsLast_hasAutomaticRule_setFooterTitle() 194 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testDefaultNotifPolicy_automaticRuleEndsLast_hasManualRule_setFooterTitle() [all …]
|
D | ZenModePriorityMessagesPreferenceControllerTest.java | 106 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence() 120 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly() 131 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority() 145 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_any() 155 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_none() 164 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_starred() 174 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_contacts()
|
D | ZenModePriorityCallsPreferenceControllerTest.java | 106 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_NO_INTERRUPTIONS); in updateState_TotalSilence() 120 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_ALARMS); in updateState_AlarmsOnly() 131 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateState_Priority() 145 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_any() 155 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_none() 164 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_starred() 174 Settings.Global.putInt(mContentResolver, ZEN_MODE, ZEN_MODE_IMPORTANT_INTERRUPTIONS); in onPreferenceChange_setSelectedContacts_contacts()
|
D | BubbleSummaryPreferenceControllerTest.java | 101 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in testIsAvailable_notIfOffGlobally() 111 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_app() 120 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in testIsNotAvailable_app_globalOff() 134 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testIsAvailable_defaultChannel() 152 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testGetSummary() 159 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, in testGetSummary() 163 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, SYSTEM_WIDE_ON); in testGetSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 129 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR, 85); in updateState_inVrMode_shouldSetSummaryToVrBrightness() 139 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_MODE, in updateState_autoBrightness_shouldSetSummaryToAutoBrightness() 142 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS, 31); in updateState_autoBrightness_shouldSetSummaryToAutoBrightness() 152 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_MODE, in updateState_manualBrightness_shouldSetSummaryToScreenBrightness() 155 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS, 45); in updateState_manualBrightness_shouldSetSummaryToScreenBrightness() 167 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR, 105); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 171 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR, -20); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 177 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS_MODE, in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 181 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS, 115); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() 185 System.putInt(mContentResolver, System.SCREEN_BRIGHTNESS, -10); in updateState_brightnessOutOfRange_shouldSetSummaryInRange() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/ |
D | GameDriverEnableForAllAppsPreferenceControllerTest.java | 80 Settings.Global.putInt(mResolver, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in setUp() 81 Settings.Global.putInt( in setUp() 91 Settings.Global.putInt( in getAvailability_developmentSettingsEnabledAndGameDriverSettingsOn_available() 99 Settings.Global.putInt(mResolver, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0); in getAvailability_developmentSettingsDisabled_conditionallyUnavailable() 106 Settings.Global.putInt(mResolver, Settings.Global.GAME_DRIVER_ALL_APPS, GAME_DRIVER_OFF); in getAvailability_gameDriverOff_conditionallyUnavailable() 113 Settings.Global.putInt( in displayPreference_shouldAddListPreference() 139 Settings.Global.putInt( in updateState_availableAndDefault_visibleAndDefault() 150 Settings.Global.putInt( in updateState_availableAndGameDriver_visibleAndGameDriver() 161 Settings.Global.putInt( in updateState_availableAndPrereleaseDriver_visibleAndPrereleaseDriver() 172 Settings.Global.putInt(mResolver, Settings.Global.GAME_DRIVER_ALL_APPS, GAME_DRIVER_OFF); in updateState_gameDriverOff_notVisibleAndSystemDriver() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiWakeupPreferenceControllerTest.java | 69 Settings.Global.putInt(mContext.getContentResolver(), WIFI_SCAN_ALWAYS_AVAILABLE, 1); in setUp() 101 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 1); in handlePreferenceTreeClick_wifiWakeupEnableScanningDisable_wifiWakeupEnable() 102 Settings.Global.putInt(mContext.getContentResolver(), WIFI_SCAN_ALWAYS_AVAILABLE, 0); in handlePreferenceTreeClick_wifiWakeupEnableScanningDisable_wifiWakeupEnable() 115 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 1); in updateState_preferenceSetCheckedWhenWakeupSettingEnabled() 116 Settings.Global.putInt(mContext.getContentResolver(), WIFI_SCAN_ALWAYS_AVAILABLE, 1); in updateState_preferenceSetCheckedWhenWakeupSettingEnabled() 128 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 0); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabled() 140 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 1); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled() 141 Settings.Global.putInt(mContext.getContentResolver(), WIFI_SCAN_ALWAYS_AVAILABLE, 0); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled() 151 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 1); in updateState_preferenceSetUncheckedWhenWakeupSettingEnabledNoLocation() 164 Settings.Global.putInt(mContext.getContentResolver(), WIFI_WAKEUP_ENABLED, 0); in updateState_preferenceSetUncheckedWhenWakeupSettingDisabledLocationEnabled() [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/location/ |
D | LocationScanningPreferenceControllerTest.java | 51 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOnBleOn() 53 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOnBleOn() 61 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOnBleOff() 63 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOnBleOff() 71 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOffBleOn() 73 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOffBleOn() 81 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOffBleOff() 83 Settings.Global.putInt(mContext.getContentResolver(), in testLocationScanning_WifiOffBleOff()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtilTest.java | 65 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_isAdmin_notDemo_shouldReturnFalse() 74 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_isAdmin_notDemo_shouldReturnTrue() 83 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_notAdmin_notDemo_shouldReturnFalse() 94 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_notAdmin_isDemo_shouldReturnTrue() 105 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_notAdmin_isDemo_shouldReturnFalse() 116 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setTrue() 127 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setFalse() 138 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, in isDeviceProvisioned_true() 145 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, in isDeviceProvisioned_false()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverScheduleSeekBarControllerTest.java | 40 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in onPreferenceChange_updatesSettingsGlobal() 50 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_routineMode_hasCorrectProperties() 58 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_percentageMode_hasCorrectProperties() 60 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 5); in updateSeekBar_percentageMode_hasCorrectProperties() 67 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_noneMode_hasCorrectProperties() 69 Settings.Global.putInt(mResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in updateSeekBar_noneMode_hasCorrectProperties() 76 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in addToScreen_addsToEnd() 78 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
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/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 112 params.putInt(KEY_RESULT_CODE, resultCode); in processMessageDownloaded() 113 params.putInt(KEY_HTTP_STATUS_CODE, in processMessageDownloaded() 117 params.putInt(KEY_SUB_ID, in processMessageDownloaded() 131 params.putInt(KEY_STATUS_IF_FAILED, in processMessageDownloaded() 151 params.putInt(KEY_RESULT_CODE, resultCode); in processMessageDownloadFastFailed() 153 params.putInt(KEY_SUB_ID, subId); in processMessageDownloadFastFailed() 159 params.putInt(KEY_STATUS_IF_FAILED, statusIfFailed); in processMessageDownloadFastFailed() 175 params.putInt(KEY_STATUS, status); in processDownloadActionFailure() 176 params.putInt(KEY_RAW_STATUS, rawStatus); in processDownloadActionFailure() 179 params.putInt(KEY_STATUS_IF_FAILED, statusIfFailed); in processDownloadActionFailure() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 224 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextColor() 237 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextOpacity() 247 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsEdgeType() 257 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsEdgeColor() 268 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundVisible() 286 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundColor() 299 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundOpacity() 309 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowVisible() 326 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowColor() 339 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowOpacity()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 92 mSharedPrefs.edit().putInt( in setWallpaperPresentationMode() 243 mSharedPrefs.edit().putInt( in setHomeWallpaperManagerId() 351 mSharedPrefs.edit().putInt( in setLockWallpaperId() 558 .putInt(WallpaperPreferenceKeys.KEY_LAST_ROTATION_STATUS, status) in setDailyWallpaperRotationStatus() 589 .putInt(WallpaperPreferenceKeys.KEY_PENDING_WALLPAPER_SET_STATUS, setStatus) in setPendingWallpaperSetStatusSync() 603 .putInt(WallpaperPreferenceKeys.KEY_PENDING_WALLPAPER_SET_STATUS, setStatus) in setPendingWallpaperSetStatus() 611 … .putInt(WallpaperPreferenceKeys.KEY_PENDING_DAILY_WALLPAPER_UPDATE_STATUS, updateStatus) in setPendingDailyWallpaperUpdateStatusSync() 626 … .putInt(WallpaperPreferenceKeys.KEY_PENDING_DAILY_WALLPAPER_UPDATE_STATUS, updateStatus) in setPendingDailyWallpaperUpdateStatus() 633 .putInt(WallpaperPreferenceKeys.KEY_NUM_DAYS_DAILY_ROTATION_FAILED, in incrementNumDaysDailyRotationFailed() 646 .putInt(WallpaperPreferenceKeys.KEY_NUM_DAYS_DAILY_ROTATION_FAILED, 0) in resetNumDaysDailyRotationFailed() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | PreventRingingSwitchPreferenceControllerTest.java | 87 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushOff_uncheck() 97 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushVibrate_setChecked() 107 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushMute_setChecked() 117 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushOff_checked_returnHushVibrate() 128 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_unchecked_returnHushOff() 140 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_checked_returnHushMute() 152 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushVibrate_checked_returnHushVibrate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetNewPasswordActivityTest.java | 86 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in tearDown() 93 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testChooseLockGeneric() 107 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testSetupChooseLockGeneric() 124 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() 148 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewPasswordExtraWithPermission() 178 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewPasswordExtraInvalidValue() 206 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() 234 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewPasswordWithoutExtra() 261 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() 289 Settings.Global.putInt(RuntimeEnvironment.application.getContentResolver(), in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/ |
D | ScreenshotContextPreferenceControllerTest.java | 81 Settings.Secure.putInt(mContext.getContentResolver(), in refreshUi_screenshotEnabled_preferenceChecked() 92 Settings.Secure.putInt(mContext.getContentResolver(), in refreshUi_screenshotDisabled_preferenceUnchecked() 103 Settings.Secure.putInt(mContext.getContentResolver(), in refreshUi_structureEnabled_preferenceEnabled() 114 Settings.Secure.putInt(mContext.getContentResolver(), in refreshUi_structureDisabled_preferenceDisabled() 123 Settings.Secure.putInt(mContext.getContentResolver(), in callChangeListener_toggleTrue_screenshotEnabled() 133 Settings.Secure.putInt(mContext.getContentResolver(), in callChangeListener_toggleFalse_screenshotDisabled()
|