/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/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SdkSandboxManagerUnitTest.java | 184 params.putInt(EXTRA_WIDTH_IN_PIXELS, 400); in testRequestSurfacePackageSuccess() 185 params.putInt(EXTRA_HEIGHT_IN_PIXELS, 500); in testRequestSurfacePackageSuccess() 186 params.putInt(EXTRA_DISPLAY_ID, 0); in testRequestSurfacePackageSuccess() 227 params.putInt(EXTRA_WIDTH_IN_PIXELS, 400); in testRequestSurfacePackageFailed() 228 params.putInt(EXTRA_HEIGHT_IN_PIXELS, 500); in testRequestSurfacePackageFailed() 229 params.putInt(EXTRA_DISPLAY_ID, 0); in testRequestSurfacePackageFailed() 273 params.putInt(EXTRA_WIDTH_IN_PIXELS, 400); in testRequestSurfacePackage_latencySystemServerToAppLogged_success() 274 params.putInt(EXTRA_HEIGHT_IN_PIXELS, 500); in testRequestSurfacePackage_latencySystemServerToAppLogged_success() 275 params.putInt(EXTRA_DISPLAY_ID, 0); in testRequestSurfacePackage_latencySystemServerToAppLogged_success() 312 params.putInt(EXTRA_WIDTH_IN_PIXELS, 400); in testRequestSurfacePackage_latencySystemServerToAppLogged_failed() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | FloatingMenuTransparencyPreferenceControllerTest.java | 84 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in getAvailabilityStatus_a11yBtnModeFloatingMenu_returnAvailable() 92 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in getAvailabilityStatus_a11yBtnModeNavigationBar_returnDisabledDependentSetting() 100 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in displayPreference_floatingMenuMode_fadeEnabled_preferenceEnabled() 102 Settings.Secure.putInt(mContentResolver, in displayPreference_floatingMenuMode_fadeEnabled_preferenceEnabled() 112 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in displayPreference_floatingMenuMode_fadeDisabled_preferenceDisabled() 114 Settings.Secure.putInt(mContentResolver, in displayPreference_floatingMenuMode_fadeDisabled_preferenceDisabled() 124 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in displayPreference_navigationBarMode_preferenceDisabled() 134 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in onChange_floatingMenuModeChangeToNavigationBar_preferenceDisabled() 136 Settings.Secure.putInt(mContentResolver, in onChange_floatingMenuModeChangeToNavigationBar_preferenceDisabled() 140 Settings.Secure.putInt(mContentResolver, Settings.Secure.ACCESSIBILITY_BUTTON_MODE, in onChange_floatingMenuModeChangeToNavigationBar_preferenceDisabled() [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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ShowOnLockscreenNotificationPreferenceControllerTest.java | 83 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_noNotifsOnLockscreen() 87 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_noNotifsOnLockscreen() 102 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_alertingNotifsOnLockscreen() 105 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_alertingNotifsOnLockscreen() 119 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_allNotifsOnLockscreen() 122 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_allNotifsOnLockscreen() 148 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_dpmSaysNo() 151 Settings.Secure.putInt(mContext.getContentResolver(), in updateState_dpmSaysNo() 175 Settings.Secure.putInt(mContext.getContentResolver(), in onPreferenceChange_allToAlerting() 178 Settings.Secure.putInt(mContext.getContentResolver(), in onPreferenceChange_allToAlerting() [all …]
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 761 bundle.putInt(KEY_SESSION_ID, mSessionId); in toBundle() 762 bundle.putInt(KEY_SESSION_TYPE, mSessionType); in toBundle() 763 bundle.putInt(KEY_DEVICE_TYPE, mDeviceType); in toBundle() 764 bundle.putInt(KEY_DEVICE_ROLE, mDeviceRole); in toBundle() 765 bundle.putInt(KEY_RANGING_ROUND_USAGE, mRangingRoundUsage); in toBundle() 766 bundle.putInt(KEY_MULTI_NODE_MODE, mMultiNodeMode); in toBundle() 779 bundle.putInt(KEY_SLOT_DURATION_RSTU, mSlotDurationRstu); in toBundle() 780 bundle.putInt(KEY_SLOTS_PER_RANGING_ROUND, mSlotsPerRangingRound); in toBundle() 781 bundle.putInt(KEY_RANGING_INTERVAL_MS, mRangingIntervalMs); in toBundle() 782 bundle.putInt(KEY_BLOCK_STRIDE_LENGTH, mBlockStrideLength); in toBundle() [all …]
|
D | FiraSpecificationParams.java | 390 bundle.putInt(KEY_AOA_CAPABILITIES, FlagEnum.toInt(mAoaCapabilities)); in toBundle() 391 bundle.putInt(KEY_DEVICE_ROLE_CAPABILITIES, FlagEnum.toInt(mDeviceRoleCapabilities)); in toBundle() 399 bundle.putInt(KEY_MIN_RANGING_INTERVAL, mMinRangingInterval); in toBundle() 400 bundle.putInt(KEY_MIN_SLOT_DURATION, mMinSlotDuration); in toBundle() 401 bundle.putInt(KEY_MAX_RANGING_SESSION_NUMBER, mMaxRangingSessionNumber); in toBundle() 402 bundle.putInt(KEY_MULTI_NODE_CAPABILITIES, FlagEnum.toInt(mMultiNodeCapabilities)); in toBundle() 403 bundle.putInt(KEY_RANGING_TIME_STRUCT_CAPABILITIES, in toBundle() 405 bundle.putInt(KEY_SCHEDULING_MODE_CAPABILITIES, in toBundle() 407 bundle.putInt(KEY_CC_CONSTRAINT_LENGTH_CAPABILITIES, in toBundle() 409 bundle.putInt(KEY_PRF_CAPABILITIES, FlagEnum.toInt(mPrfCapabilities)); in toBundle() [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/modules/AppSearch/framework/java/external/android/app/appsearch/stats/ |
D | SchemaMigrationStats.java | 222 mBundle.putInt(STATUS_CODE_FIELD, statusCode); in setStatusCode() 230 mBundle.putInt(EXECUTOR_ACQUISITION_MILLIS_FIELD, executorAcquisitionLatencyMillis); in setExecutorAcquisitionLatencyMillis() 238 mBundle.putInt(TOTAL_LATENCY_MILLIS_FIELD, totalLatencyMillis); in setTotalLatencyMillis() 246 mBundle.putInt(GET_SCHEMA_LATENCY_MILLIS_FIELD, getSchemaLatencyMillis); in setGetSchemaLatencyMillis() 257 mBundle.putInt( in setQueryAndTransformLatencyMillis() 266 mBundle.putInt(FIRST_SET_SCHEMA_LATENCY_MILLIS_FIELD, firstSetSchemaLatencyMillis); in setFirstSetSchemaLatencyMillis() 282 mBundle.putInt(SECOND_SET_SCHEMA_LATENCY_MILLIS_FIELD, secondSetSchemaLatencyMillis); in setSecondSetSchemaLatencyMillis() 290 mBundle.putInt(SAVE_DOCUMENT_LATENCY_MILLIS_FIELD, saveDocumentLatencyMillis); in setSaveDocumentLatencyMillis() 298 mBundle.putInt(TOTAL_NEED_MIGRATED_DOCUMENT_COUNT_FIELD, migratedDocumentCount); in setTotalNeedMigratedDocumentCount() 306 mBundle.putInt( in setTotalSuccessMigratedDocumentCount() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | Capabilities.java | 58 bundle.putInt(Characteristics.KEY_MAX_SERVICE_NAME_LENGTH, maxServiceNameLen); in toPublicCharacteristics() 59 bundle.putInt(Characteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH, in toPublicCharacteristics() 61 bundle.putInt(Characteristics.KEY_MAX_MATCH_FILTER_LENGTH, maxMatchFilterLen); in toPublicCharacteristics() 62 bundle.putInt(Characteristics.KEY_SUPPORTED_DATA_PATH_CIPHER_SUITES, in toPublicCharacteristics() 64 bundle.putInt(Characteristics.KEY_SUPPORTED_PAIRING_CIPHER_SUITES, in toPublicCharacteristics() 68 bundle.putInt(Characteristics.KEY_MAX_NDP_NUMBER, maxNdpSessions); in toPublicCharacteristics() 69 bundle.putInt(Characteristics.KEY_MAX_NDI_NUMBER, maxNdiInterfaces); in toPublicCharacteristics() 70 bundle.putInt(Characteristics.KEY_MAX_PUBLISH_NUMBER, maxPublishes); in toPublicCharacteristics() 71 bundle.putInt(Characteristics.KEY_MAX_SUBSCRIBE_NUMBER, maxSubscribes); in toPublicCharacteristics()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | RingtonePickerPreferenceControllerTest.java | 122 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onStart_setArgs_validRingtoneTypeSet() 124 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onStart_setArgs_validRingtoneTypeSet() 137 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onStart_doesNotShowSilent_noExtraPreference() 139 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onStart_doesNotShowSilent_noExtraPreference() 158 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onStart_showSilent_hasExtraPreference() 160 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onStart_showSilent_hasExtraPreference() 180 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onStart_showSilent_firstPreferenceIsSilent() 182 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onStart_showSilent_firstPreferenceIsSilent() 197 args.putInt(RingtoneManager.EXTRA_RINGTONE_TYPE, RingtoneManager.TYPE_RINGTONE); in onStart_hasSilent_defaultRingtoneSelected() 199 args.putInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onStart_hasSilent_defaultRingtoneSelected() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetEsimPreferenceControllerTest.java | 76 Settings.Global.putInt(mContext.getContentResolver(), in setUp() 78 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.EUICC_PROVISIONED, 0); in setUp() 91 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 93 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.EUICC_PROVISIONED, in tearDown() 168 Settings.Global.putInt(mContext.getContentResolver(), in getAvailabilityStatus_euiccNotProvisioned_developer_available() 177 Settings.Global.putInt(mContext.getContentResolver(), in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneWrite() 188 Settings.Global.putInt(mContext.getContentResolver(), in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneRead() 199 Settings.Global.putInt(mContext.getContentResolver(), in getAvailabilityStatus_euiccNotProvisioned_developer_available_zoneHidden() 210 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.EUICC_PROVISIONED, 1); in getAvailabilityStatus_euiccProvisioned_available() 218 Settings.Global.putInt(mContext.getContentResolver(), in getAvailabilityStatus_euiccProvisioned_available_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtilTest.java | 59 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_isAdmin_shouldReturnFalse() 69 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_isAdmin_shouldReturnTrue() 80 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_notAdmin_shouldReturnFalse() 91 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_hasDisallowDebuggingRestriction_shouldReturnFalse() 105 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_doesNotHaveDisallowDebuggingRestriction_shouldReturnTrue() 114 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setTrue() 125 Settings.Global.putInt(mContext.getContentResolver(), in setDevelopmentSettingsEnabled_setFalse() 136 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, in isDeviceProvisioned_true() 143 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/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/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_neverSentBubble_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/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/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | FrameworkAppSearchConfig.java | 553 mBundleLocked.putInt(key, properties.getInt(key, DEFAULT_SAMPLING_INTERVAL)); in updateCachedValue() 558 mBundleLocked.putInt( in updateCachedValue() 565 mBundleLocked.putInt( in updateCachedValue() 572 mBundleLocked.putInt( in updateCachedValue() 579 mBundleLocked.putInt(key, properties.getInt(key, in updateCachedValue() 585 mBundleLocked.putInt(key, properties.getInt(key, in updateCachedValue() 591 mBundleLocked.putInt(key, properties.getInt(key, in updateCachedValue() 597 mBundleLocked.putInt(key, properties.getInt(key, in updateCachedValue() 603 mBundleLocked.putInt(key, in updateCachedValue() 623 mBundleLocked.putInt(key, properties.getInt(key, in updateCachedValue() [all …]
|
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
D | Pvmfw.java | 68 header.putInt(HEADER_MAGIC); in serialize() 69 header.putInt(HEADER_VERSION); in serialize() 70 header.putInt(totalSize); in serialize() 71 header.putInt(HEADER_FLAGS); in serialize() 72 header.putInt(bccOffset); in serialize() 73 header.putInt(bccSize); in serialize() 74 header.putInt(debugPolicyOffset); in serialize() 75 header.putInt(debugPolicySize); in serialize()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 421 mPos += mBuffer.putInt(mPos, value); in writeInt() 476 mPos += mBuffer.putInt(mPos, numBytes); in writeByteArray() 507 mPos += mBuffer.putInt(mPos, uids[i]); in writeAttributionChain() 512 mPos += mBuffer.putInt(mPos, tagBytes.length); in writeAttributionChain() 549 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 551 mPos += mBuffer.putInt(mPos, value); in writeKeyValuePairs() 557 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 565 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 568 mPos += mBuffer.putInt(mPos, valueBytes.length); in writeKeyValuePairs() 575 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() [all …]
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/ |
D | CccOpenRangingParams.java | 115 bundle.putInt(KEY_UWB_CONFIG, mUwbConfig); in toBundle() 117 bundle.putInt(KEY_SESSION_ID, mSessionId); in toBundle() 118 bundle.putInt(KEY_SESSION_TYPE, mSessionType); in toBundle() 119 bundle.putInt(KEY_RAN_MULTIPLIER, mRanMultiplier); in toBundle() 120 bundle.putInt(KEY_CHANNEL, mChannel); in toBundle() 121 bundle.putInt(KEY_NUM_CHAPS_PER_SLOT, mNumChapsPerSlot); in toBundle() 122 bundle.putInt(KEY_NUM_RESPONDER_NODES, mNumResponderNodes); in toBundle() 123 bundle.putInt(KEY_NUM_SLOTS_PER_ROUND, mNumSlotsPerRound); in toBundle() 124 bundle.putInt(KEY_SYNC_CODE_INDEX, mSyncCodeIndex); in toBundle() 125 bundle.putInt(KEY_HOPPING_CONFIG_MODE, mHoppingConfigMode); in toBundle() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 104 .putInt(KEY_NAVIGATION_BAR_BACKGROUND_COLOR, color) in writeNavigationBarColor() 120 .putInt(KEY_NAVIGATION_BAR_DIVIDER_COLOR, color) in writeNavigationBarDividerColor() 136 .putInt(KEY_TEXT_PRIMARY_COLOR, color) in writeTextPrimaryColor() 152 .putInt(KEY_TEXT_SECONDARY_COLOR, color) in writeTextSecondaryColor() 168 .putInt(KEY_BACKGROUND_COLOR, color) in writeBackgroundColor() 184 .putInt(KEY_ACCENT_COLOR, color) in writeAccentColor() 200 .putInt(KEY_NOTIFICATION_BACKGROUND_COLOR, color) in writeNotificationBackgroundColor()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 199 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences() 223 editor.putInt(Key.bb_strength.toString(), bBStrength); in initEffectsPreferences() 287 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in initEffectsPreferences() 288 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in initEffectsPreferences() 289 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in initEffectsPreferences() 290 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in initEffectsPreferences() 300 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in initEffectsPreferences() 316 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in initEffectsPreferences() 318 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in initEffectsPreferences() 319 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in initEffectsPreferences() [all …]
|