/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | HapticFeedbackIntensityPreferenceControllerTest.java | 91 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 92 Settings.System.HAPTIC_FEEDBACK_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 100 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 120 updateSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED, OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 122 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 126 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 131 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 135 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 142 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 146 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() [all …]
|
D | RingVibrationIntensityPreferenceControllerTest.java | 92 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 93 Settings.System.RING_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 101 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 128 updateSetting(Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 130 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 134 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 139 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 143 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 150 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 154 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() [all …]
|
D | FlashNotificationsUtilTest.java | 159 Settings.System.putInt(mContentResolver, Settings.System.CAMERA_FLASH_NOTIFICATION, OFF); in getFlashNotificationsState_torchPresent_cameraOff_screenOff_assertOff() 160 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, OFF); in getFlashNotificationsState_torchPresent_cameraOff_screenOff_assertOff() 169 Settings.System.putInt(mContentResolver, Settings.System.CAMERA_FLASH_NOTIFICATION, ON); in getFlashNotificationsState_torchNotPresent_cameraOn_screenOff_assertOff() 170 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, OFF); in getFlashNotificationsState_torchNotPresent_cameraOn_screenOff_assertOff() 179 Settings.System.putInt(mContentResolver, Settings.System.CAMERA_FLASH_NOTIFICATION, ON); in getFlashNotificationsState_torchPresent_cameraOn_screenOff_assertCamera() 180 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, OFF); in getFlashNotificationsState_torchPresent_cameraOn_screenOff_assertCamera() 189 Settings.System.putInt(mContentResolver, Settings.System.CAMERA_FLASH_NOTIFICATION, OFF); in getFlashNotificationsState_torchPresent_cameraOff_screenOn_assertScreen() 190 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, ON); in getFlashNotificationsState_torchPresent_cameraOff_screenOn_assertScreen() 199 Settings.System.putInt(mContentResolver, Settings.System.CAMERA_FLASH_NOTIFICATION, ON); in testGetFlashNotificationsState_torchPresent_cameraOn_screenOn_assertCameraScreen() 200 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, ON); in testGetFlashNotificationsState_torchPresent_cameraOn_screenOn_assertCameraScreen()
|
D | HapticFeedbackTogglePreferenceControllerTest.java | 85 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 86 Settings.System.HAPTIC_FEEDBACK_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 93 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 113 updateSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED, OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 115 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 119 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 124 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 128 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 135 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 139 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_shouldDisplayOnOffState() [all …]
|
D | RingVibrationTogglePreferenceControllerTest.java | 86 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 87 Settings.System.RING_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 94 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 122 updateSetting(Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 124 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 128 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 133 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 137 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 144 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 148 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() [all …]
|
D | ScreenFlashNotificationPreferenceControllerTest.java | 118 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, OFF); in isChecked_setOff_assertFalse() 124 Settings.System.putInt(mContentResolver, Settings.System.SCREEN_FLASH_NOTIFICATION, ON); in isChecked_setOn_assertTrue() 130 Settings.System.putInt(mContentResolver, in setChecked_whenTransparentColor_setTrue_assertNotTransparentColor() 131 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, Color.TRANSPARENT); in setChecked_whenTransparentColor_setTrue_assertNotTransparentColor() 133 assertThat(Settings.System.getInt(mContentResolver, in setChecked_whenTransparentColor_setTrue_assertNotTransparentColor() 134 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, 0)).isEqualTo( in setChecked_whenTransparentColor_setTrue_assertNotTransparentColor() 140 Settings.System.putInt(mContentResolver, in setChecked_whenNotTransparent_setTrue_assertSameColor() 141 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, 0x4D0000FF); in setChecked_whenNotTransparent_setTrue_assertSameColor() 143 assertThat(Settings.System.getInt(mContentResolver, in setChecked_whenNotTransparent_setTrue_assertSameColor() 144 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, 0)) in setChecked_whenNotTransparent_setTrue_assertSameColor() [all …]
|
D | NotificationVibrationTogglePreferenceControllerTest.java | 84 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 85 Settings.System.NOTIFICATION_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 92 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 118 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 123 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 128 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 133 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 141 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in setChecked_updatesIntensityAndDependentSettings() 147 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings() 151 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings() [all …]
|
D | AlarmVibrationTogglePreferenceControllerTest.java | 83 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 84 Settings.System.ALARM_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 93 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 113 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 117 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 122 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayOnOffState() 126 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayOnOffState() 133 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in setChecked_updatesIntensityAndDependentSettings() 138 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings() 142 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings() [all …]
|
D | NotificationVibrationIntensityPreferenceControllerTest.java | 89 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 90 Settings.System.NOTIFICATION_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 99 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 126 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 131 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 136 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 141 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 151 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() 155 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() 159 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() [all …]
|
D | AlarmVibrationIntensityPreferenceControllerTest.java | 89 Settings.System.putString(mContext.getContentResolver(), in missingSetting_shouldReturnDefault() 90 Settings.System.ALARM_VIBRATION_INTENSITY, /* value= */ null); in missingSetting_shouldReturnDefault() 100 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 120 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 124 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 129 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayIntensityInSliderPosition() 133 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayIntensityInSliderPosition() 142 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() 146 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() 150 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting() [all …]
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | GetAdSelectionDataLatency.java | 135 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1() 144 long endTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1() 162 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_10() 171 long endTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_10() 189 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_100() 198 long endTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_100() 217 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_500() 226 long endTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_500() 246 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1000() 255 long endTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1000() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ScreenFlashNotificationPreferenceController.java | 60 return Settings.System.getInt(mContext.getContentResolver(), in isChecked() 61 Settings.System.SCREEN_FLASH_NOTIFICATION, OFF) != OFF; in isChecked() 71 return Settings.System.putInt(mContext.getContentResolver(), in setChecked() 72 Settings.System.SCREEN_FLASH_NOTIFICATION, (isChecked ? ON : OFF)); in setChecked() 83 Settings.System.getInt(mContext.getContentResolver(), in getSummary() 84 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, in getSummary() 99 final int initialColor = Settings.System.getInt(mContext.getContentResolver(), in handlePreferenceTreeClick() 100 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, in handlePreferenceTreeClick() 104 Settings.System.putInt(mContext.getContentResolver(), in handlePreferenceTreeClick() 105 Settings.System.SCREEN_FLASH_NOTIFICATION_COLOR, color); in handlePreferenceTreeClick() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | PoliteNotifWorkProfileToggleControllerTest.java | 118 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_coolDownEnabled_enabledForWorkProfile_shouldReturnTrue() 119 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in isChecked_coolDownEnabled_enabledForWorkProfile_shouldReturnTrue() 129 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_coolDownDisabled_enabledForWorkProfile_shouldReturnFalse() 130 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in isChecked_coolDownDisabled_enabledForWorkProfile_shouldReturnFalse() 138 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_coolDownEnabled_disabledForWorkProfile_shouldReturnFalse() 139 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, in isChecked_coolDownEnabled_disabledForWorkProfile_shouldReturnFalse() 147 Settings.System.putIntForUser(mContext.getContentResolver(), in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() 148 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() 151 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() 152 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() [all …]
|
D | ScreenLockSoundPreferenceControllerTest.java | 27 import android.provider.Settings.System; 86 System.putInt(mContentResolver, System.LOCKSCREEN_SOUNDS_ENABLED, 1); in displayPreference_lockScreenSoundEnabled_shouldCheckedPreference() 95 System.putInt(mContentResolver, System.LOCKSCREEN_SOUNDS_ENABLED, 0); in displayPreference_lockScreenSoundDisabled_shouldUncheckedPreference() 108 assertThat(System.getInt(mContentResolver, System.LOCKSCREEN_SOUNDS_ENABLED, 1)) in onPreferenceChanged_preferenceChecked_shouldEnabledLockScreenSound() 118 assertThat(System.getInt(mContentResolver, System.LOCKSCREEN_SOUNDS_ENABLED, 1)) in onPreferenceChanged_preferenceUnchecked_shouldDisabledLockScreenSound()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 40 System.out.println("Header attributes :"); in showInfo() 41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo() 52 System.out.println("Words in the dictionary : " + wordCount); in showInfo() 53 System.out.println("Bigram count : " + bigramCount); in showInfo() 54 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + allowlistCount in showInfo() 61 System.out.println(word + " is not in the dictionary"); in showWordInfo() 64 System.out.println("Word: " + word); in showWordInfo() 65 System.out.println(" Freq: " + ptNode.getProbability()); in showWordInfo() 67 System.out.println(" Is not a word"); in showWordInfo() 70 System.out.println(" Is possibly offensive"); in showWordInfo() [all …]
|
D | Diff.java | 62 System.out.println("Header :"); in run() 71 System.out.println("Body :"); in run() 92 System.out.println(" " + optionKey + " : " in diffHeaders() 100 System.out.println(" " + optionKey + " : null <=> " + options1.get(optionKey)); in diffHeaders() 104 System.out.println(" No differences"); in diffHeaders() 115 System.out.println("Deleted: " + word0Property.mWord + " " in diffWords() 121 System.out.println("Probability changed: " + word0Property.mWord + " " in diffWords() 127 System.out.println("Not a word: " + word0Property.mWord + " " in diffWords() 132 System.out.println("Possibly-offensive: " + word0Property.mWord + " " in diffWords() 146 System.out.println("Added: " + word1Property.mWord + " " in diffWords() [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/ |
D | GenerateAPI.java | 104 String rootDir = System.getenv(ANDROID_BUILD_TOP); in main() 171 System.out.println("Incorrect Arguments."); in main() 179 System.out.println("Root dir not set."); in main() 285 System.out.println("Start-" + request); in printMarker() 291 System.out.println(string); in print() 302 System.out.println("**** Help ****"); in printHelp() 303 System.out.println("At least one argument is required. Supported arguments - "); in printHelp() 304 System.out.println(PRINT_CLASSES + " prints the list of valid class and" in printHelp() 306 System.out.println(UPDATE_CLASSES + " updates the test file with the list" in printHelp() 310 System.out.println(PRINT_HIDDEN_APIS + " prints hidden api list."); in printHelp() [all …]
|
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/ |
D | GeonamesComparison.java | 144 System.out.println("Checked locations: " + locationCheckCount); in main() 263 System.out.println(); in outputKnownDifferencesProtos() 264 System.out.println("====================="); in outputKnownDifferencesProtos() 265 System.out.println("Outputting diff info:"); in outputKnownDifferencesProtos() 266 System.out.println(); in outputKnownDifferencesProtos() 271 System.out.println("New differences: " + outputFile + " (investigate these)"); in outputKnownDifferencesProtos() 272 System.out.println(); in outputKnownDifferencesProtos() 278 System.out.println( in outputKnownDifferencesProtos() 280 System.out.println(); in outputKnownDifferencesProtos() 286 System.out.println( in outputKnownDifferencesProtos() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | ShowTapsPreferenceControllerTest.java | 61 Settings.System.putInt(mContext.getContentResolver(), in updateState_showTapsEnabled_shouldCheckedPreference() 62 Settings.System.SHOW_TOUCHES, ShowTapsPreferenceController.SETTING_VALUE_ON); in updateState_showTapsEnabled_shouldCheckedPreference() 71 Settings.System.putInt(mContext.getContentResolver(), in updateState_showTapsDisabled_shouldUncheckedPreference() 72 Settings.System.SHOW_TOUCHES, ShowTapsPreferenceController.SETTING_VALUE_OFF); in updateState_showTapsDisabled_shouldUncheckedPreference() 83 final int showTapsMode = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnableShowTaps() 84 Settings.System.SHOW_TOUCHES, -1 /* default */); in onPreferenceChange_preferenceChecked_shouldEnableShowTaps() 93 final int showTapsMode = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange__preferenceUnchecked_shouldDisableShowTaps() 94 Settings.System.SHOW_TOUCHES, -1 /* default */); in onPreferenceChange__preferenceUnchecked_shouldDisableShowTaps() 103 final int showTapsMode = Settings.System.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled() 104 Settings.System.SHOW_TOUCHES, -1 /* default */); in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled()
|
D | PointerLocationPreferenceControllerTest.java | 61 Settings.System.putInt(mContext.getContentResolver(), in updateState_pointerLocationEnabled_shouldCheckedPreference() 62 Settings.System.POINTER_LOCATION, in updateState_pointerLocationEnabled_shouldCheckedPreference() 72 Settings.System.putInt(mContext.getContentResolver(), in updateState_pointerLocationDisabled_shouldUncheckedPreference() 73 Settings.System.POINTER_LOCATION, in updateState_pointerLocationDisabled_shouldUncheckedPreference() 85 final int pointerLocationMode = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnablePointerLocation() 86 Settings.System.POINTER_LOCATION, -1 /* default */); in onPreferenceChange_preferenceChecked_shouldEnablePointerLocation() 96 final int pointerLocationMode = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange__preferenceUnchecked_shouldDisablePointerLocation() 97 Settings.System.POINTER_LOCATION, -1 /* default */); in onPreferenceChange__preferenceUnchecked_shouldDisablePointerLocation() 107 final int pointerLocationMode = Settings.System.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled() 108 Settings.System.POINTER_LOCATION, -1 /* default */); in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled()
|
D | ShowKeyPressesPreferenceControllerTest.java | 61 Settings.System.putInt(mContext.getContentResolver(), in updateState_showKeyPressesEnabled_shouldCheckedPreference() 62 Settings.System.SHOW_KEY_PRESSES, ShowTapsPreferenceController.SETTING_VALUE_ON); in updateState_showKeyPressesEnabled_shouldCheckedPreference() 71 Settings.System.putInt(mContext.getContentResolver(), in updateState_showKeyPressesDisabled_shouldUncheckedPreference() 72 Settings.System.SHOW_KEY_PRESSES, ShowTapsPreferenceController.SETTING_VALUE_OFF); in updateState_showKeyPressesDisabled_shouldUncheckedPreference() 83 final int showKeyPresses = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnableShowKeyPresses() 84 Settings.System.SHOW_KEY_PRESSES, -1 /* default */); in onPreferenceChange_preferenceChecked_shouldEnableShowKeyPresses() 93 final int showTapsMode = Settings.System.getInt(mContext.getContentResolver(), in onPreferenceChange_preferenceUnchecked_shouldDisableShowKeyPresses() 94 Settings.System.SHOW_KEY_PRESSES, -1 /* default */); in onPreferenceChange_preferenceUnchecked_shouldDisableShowKeyPresses() 103 final int showTapsMode = Settings.System.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled() 104 Settings.System.SHOW_KEY_PRESSES, -1 /* default */); in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/ |
D | AdaptiveBrightnessTogglePreferenceControllerTest.java | 102 eq(Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE)), eq(false), in onStart_registersContentObserver() 117 Settings.System.putInt(mContext.getContentResolver(), in testRefreshUi_manualMode_isNotChecked() 118 Settings.System.SCREEN_BRIGHTNESS_MODE, in testRefreshUi_manualMode_isNotChecked() 119 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); in testRefreshUi_manualMode_isNotChecked() 127 Settings.System.putInt(mContext.getContentResolver(), in testRefreshUi_automaticMode_isChecked() 128 Settings.System.SCREEN_BRIGHTNESS_MODE, in testRefreshUi_automaticMode_isChecked() 129 Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC); in testRefreshUi_automaticMode_isChecked() 138 int brightnessMode = Settings.System.getInt(mContext.getContentResolver(), in testHandlePreferenceChanged_setFalse() 139 Settings.System.SCREEN_BRIGHTNESS_MODE, in testHandlePreferenceChanged_setFalse() 140 Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC); in testHandlePreferenceChanged_setFalse() [all …]
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | SoundSettingsTest.java | 117 "Also vibrate for calls", Settings.System.VIBRATE_WHEN_RINGING)); in testCallVibrate() 119 "Also vibrate for calls", Settings.System.VIBRATE_WHEN_RINGING)); in testCallVibrate() 127 Settings.System.DTMF_TONE_WHEN_DIALING)); in testOtherSoundsDialPadTones() 135 "Screen locking sounds", Settings.System.LOCKSCREEN_SOUNDS_ENABLED)); in testOtherSoundsScreenLocking() 151 "Touch sounds", Settings.System.SOUND_EFFECTS_ENABLED)); in testOtherSoundsTouch() 178 Settings.System.RINGTONE); in testPhoneRingtoneNone() 186 verifyRingtone(new RingtoneSetting("Hangouts Call", "31"), Settings.System.RINGTONE); in testPhoneRingtoneHangouts() 196 Settings.System.RINGTONE); in testPhoneRingtone() 204 Settings.System.NOTIFICATION_SOUND); in testNotificationRingtoneNone() 213 Settings.System.NOTIFICATION_SOUND); in testNotificationRingtoneHangouts() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
D | AdaptiveBrightnessTogglePreferenceController.java | 48 private static final Uri ADAPTIVE_BRIGHTNESS_URI = Settings.System.getUriFor( 49 Settings.System.SCREEN_BRIGHTNESS_MODE); 116 Settings.System.putInt(getContext().getContentResolver(), in handlePreferenceChanged() 117 Settings.System.SCREEN_BRIGHTNESS_MODE, in handlePreferenceChanged() 118 enableAdaptiveBrightness ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC in handlePreferenceChanged() 119 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); in handlePreferenceChanged() 124 int brightnessMode = Settings.System.getInt(getContext().getContentResolver(), in isAdaptiveBrightnessChecked() 125 Settings.System.SCREEN_BRIGHTNESS_MODE, in isAdaptiveBrightnessChecked() 126 Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); in isAdaptiveBrightnessChecked() 127 return brightnessMode != Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; in isAdaptiveBrightnessChecked()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/ |
D | PrimaryMonoPreferenceControllerTest.java | 61 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_enabledMonoAudio_shouldReturnTrue() 62 Settings.System.MASTER_MONO, ON, UserHandle.USER_CURRENT); in isChecked_enabledMonoAudio_shouldReturnTrue() 72 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_disabledMonoAudio_shouldReturnFalse() 73 Settings.System.MASTER_MONO, OFF, UserHandle.USER_CURRENT); in isChecked_disabledMonoAudio_shouldReturnFalse() 85 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_setTrue_shouldEnableMonoAudio() 86 Settings.System.MASTER_MONO, UNKNOWN, UserHandle.USER_CURRENT)).isEqualTo(ON); in setChecked_setTrue_shouldEnableMonoAudio() 93 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_setFalse_shouldDisableMonoAudio() 94 Settings.System.MASTER_MONO, UNKNOWN, UserHandle.USER_CURRENT)).isEqualTo(OFF); in setChecked_setFalse_shouldDisableMonoAudio()
|