Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java180 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/Messaging/src/com/android/messaging/datamodel/action/
DProcessDownloadedMmsAction.java112 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 …]
DProcessSentMessageAction.java87 params.putInt(KEY_SUB_ID, in processMmsSent()
89 params.putInt(KEY_RESULT_CODE, resultCode); in processMmsSent()
90 params.putInt(KEY_HTTP_STATUS_CODE, extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMmsSent()
109 params.putInt(KEY_SUB_ID, subId); in processMessageSentFastFailed()
110 params.putInt(KEY_STATUS, status); in processMessageSentFastFailed()
111 params.putInt(KEY_RAW_STATUS, rawStatus); in processMessageSentFastFailed()
112 params.putInt(KEY_RESULT_CODE, resultCode); in processMessageSentFastFailed()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java223 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextColor()
236 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextOpacity()
246 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsEdgeType()
256 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsEdgeColor()
267 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundVisible()
285 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundColor()
298 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsBackgroundOpacity()
308 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowVisible()
325 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowColor()
338 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsWindowOpacity()
DDevelopmentFragment.java522 Settings.Global.putInt(mContentResolver, in onResume()
686 Settings.Secure.putInt(mContentResolver, Settings.Secure.BLUETOOTH_HCI_LOG, in writeBtHciSnoopLogOptions()
811 Settings.Global.putInt(mContentResolver, Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, in writeVerifyAppsOverUsbOptions()
889 Settings.System.putInt(mContentResolver, in writePointerLocationOptions()
899 Settings.System.putInt(mContentResolver, in writeShowTouchesOptions()
1144 Settings.Secure.putInt(mContentResolver, in writeSimulateColorSpace()
1147 Settings.Secure.putInt(mContentResolver, in writeSimulateColorSpace()
1149 Settings.Secure.putInt(mContentResolver, in writeSimulateColorSpace()
1160 Settings.Secure.putInt(mContentResolver, in writeUSBAudioOptions()
1172 Settings.Global.putInt(mContentResolver, in writeForceResizableOptions()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailProviderSettingsUtil.java110 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, s.length); in save()
114 editor.putInt(settingKey + FWD_SETTING_STATUS, fi.status); in save()
115 editor.putInt(settingKey + FWD_SETTING_REASON, fi.reason); in save()
117 editor.putInt(settingKey + FWD_SETTING_TIME, fi.timeSeconds); in save()
120 editor.putInt(fwdKey + FWD_SETTINGS_LENGTH_TAG, 0); in save()
139 .putInt(key + FWD_SETTINGS_TAG + FWD_SETTINGS_LENGTH_TAG, 0) in delete()
/packages/apps/Stk/src/com/android/stk/
DStkCmdReceiver.java58 args.putInt(StkAppService.OPCODE, op); in handleAction()
59 args.putInt(StkAppService.SLOT_ID, slot_id); in handleAction()
74 args.putInt(AppInterface.REFRESH_RESULT, in handleAction()
91 args.putInt(StkAppService.OPCODE, StkAppService.OP_LOCALE_CHANGED); in handleLocaleChange()
98 args.putInt(StkAppService.OPCODE, StkAppService.OP_IDLE_SCREEN); in handleIdleScreen()
DToneDialog.java169 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
170 args.putInt(StkAppService.SLOT_ID, mSlotId); in sendResponse()
171 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
/packages/apps/Settings/src/com/android/settings/
DApplicationSettings.java87 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation()
90 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation()
93 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation()
97 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation()
122 Settings.Secure.putInt(getContentResolver(), Settings.System.ADVANCED_SETTINGS, value); in setAdvancedSettingsEnabled()
DDevelopmentSettings.java592 Settings.Global.putInt(getActivity().getContentResolver(), in onResume()
777 Settings.Global.putInt(getActivity().getContentResolver(), in writeWebViewMultiprocessOptions()
822 Settings.Secure.putInt(getActivity().getContentResolver(), in writeBtHciSnoopLogOptions()
953 Settings.Global.putInt(getActivity().getContentResolver(), in writeVerifyAppsOverUsbOptions()
971 Settings.Global.putInt(getActivity().getContentResolver(), in writeOtaDisableAutomaticUpdateOptions()
1062 Settings.System.putInt(getActivity().getContentResolver(), in writePointerLocationOptions()
1073 Settings.System.putInt(getActivity().getContentResolver(), in writeShowTouchesOptions()
1319 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0); in writeSimulateColorSpace()
1321 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 1); in writeSimulateColorSpace()
1322 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
[all …]
DDisplaySettings.java419 Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, value); in onPreferenceChange()
427 Settings.System.putInt(getContentResolver(), SCREEN_BRIGHTNESS_MODE, in onPreferenceChange()
432 Settings.Secure.putInt(getContentResolver(), WAKE_GESTURE_ENABLED, value ? 1 : 0); in onPreferenceChange()
436 Settings.Secure.putInt(getContentResolver(), DOZE_ENABLED, value ? 1 : 0); in onPreferenceChange()
440 Settings.Secure.putInt(getContentResolver(), DOUBLE_TAP_TO_WAKE, value ? 1 : 0); in onPreferenceChange()
444 Settings.Secure.putInt(getContentResolver(), CAMERA_GESTURE_DISABLED, in onPreferenceChange()
449 Settings.Secure.putInt(getContentResolver(), CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, in onPreferenceChange()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java75 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, mailbox.mTotalCount); in EmailConversationCursor()
80 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_STATUS, in EmailConversationCursor()
92 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_STATUS, in EmailConversationCursor()
95 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_STATUS, in EmailConversationCursor()
101 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_STATUS, in EmailConversationCursor()
107 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, in EmailConversationCursor()
109 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_STATUS, in EmailConversationCursor()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceStatus.java118 statusExtras.putInt(SYNC_STATUS_TYPE, statusType); in syncStatus()
120 statusExtras.putInt(SYNC_STATUS_CODE, statusCode); in syncStatus()
122 statusExtras.putInt(SYNC_RESULT, syncResult); in syncStatus()
124 statusExtras.putInt(SYNC_STATUS_PROGRESS, progress); in syncStatus()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java215 getEditor().putInt(PreferenceKeys.MIGRATED_VERSION, CURRENT_VERSION_NUMBER).commit(); in setMigrationComplete()
360 getEditor().putInt(PreferenceKeys.LONG_PRESS_TO_SELECT_TIP_SHOWN, 1).apply(); in setLongPressToSelectTipAlreadyShown()
472 getEditor().putInt(PreferenceKeys.GLOBAL_SYNC_OFF_DISMISSES, 0).apply(); in resetNumOfDismissesForAutoSyncOff()
479 getEditor().putInt(PreferenceKeys.GLOBAL_SYNC_OFF_DISMISSES, value + 1).apply(); in incNumOfDismissesForAutoSyncOff()
510 getEditor().putInt(PreferenceKeys.AUTO_ADVANCE_MODE, mode).apply(); in setAutoAdvanceMode()
545 getEditor().putInt(PreferenceKeys.SNAP_HEADER_MODE, snapHeaderMode).apply(); in setSnapHeaderMode()
563 getEditor().putInt(PreferenceKeys.MIGRATION_STATE, state).apply(); in setMigrationState()
589 getEditor().putInt(PreferenceKeys.REQUIRED_SANITIZER_VERSION_NUMBER, versionNumber).apply(); in setRequiredSanitizerVersionNumber()
DAccountPreferences.java130 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0).apply(); in resetNumOfDismissesForAccountSyncOff()
137 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, value + 1).apply(); in incNumOfDismissesForAccountSyncOff()
145 getEditor().putInt(PreferenceKeys.LAST_SEEN_OUTBOX_COUNT, count).apply(); in setLastSeenOutboxCount()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallExtrasTest.java59 extras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testCsPutExtras()
181 extras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testCsUpdateExisting()
217 extras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testCsSetExtras()
249 extras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testICSPutExtras()
283 someExtras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testExtrasBidirectional()
334 someExtras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testConferenceSetExtras()
417 someMoreExtras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); in testConferenceICS()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java108 return putInt(mType, context.getContentResolver(), mSetting, value); in setSetting()
138 protected static boolean putInt(int type, ContentResolver cr, String setting, int value) { in putInt() method in SettingPref
141 return Global.putInt(cr, setting, value); in putInt()
143 return System.putInt(cr, setting, value); in putInt()
/packages/services/Telephony/src/com/android/phone/
DCdmaSystemSelectListPreference.java85 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onDialogClosed()
131 Settings.Global.putInt( in handleQueryCdmaRoamingPreference()
151 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in handleSetCdmaRoamingPreference()
163 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in resetCdmaRoamingModeToDefault()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java166 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, in getDefaultOptionsForWidget()
168 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, in getDefaultOptionsForWidget()
170 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, in getDefaultOptionsForWidget()
172 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, in getDefaultOptionsForWidget()
/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java121 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setPipLayout()
145 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setPipSize()
176 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setMultiAudioChannelCount()
240 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setContentRatingLevel()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java241 Settings.Secure.putInt(getActivity().getContentResolver(), in onInstallSwitchBarToggleSwitch()
430 Settings.Secure.putInt( in onValueChanged()
434 Settings.Secure.putInt( in onValueChanged()
438 Settings.Secure.putInt( in onValueChanged()
441 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value); in onValueChanged()
443 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, value); in onValueChanged()
446 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, value); in onValueChanged()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarNavExtender.java150 b.putInt(EXTRA_TYPE, mType); in extend()
155 b.putInt(EXTRA_ACTION_ICON, mActionIcon); in extend()
157 b.putInt(EXTRA_COLOR, mColor); in extend()
158 b.putInt(EXTRA_NIGHT_COLOR, mNightColor); in extend()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java196 editor.putInt(KEY_OTHER_QUIET_HOURS_START_HOUR, hourOfDay); in onTimeSet()
197 editor.putInt(KEY_OTHER_QUIET_HOURS_START_MINUTE, minute); in onTimeSet()
201 editor.putInt(KEY_OTHER_QUIET_HOURS_END_HOUR, hourOfDay); in onTimeSet()
202 editor.putInt(KEY_OTHER_QUIET_HOURS_END_MINUTE, minute); in onTimeSet()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java170 Settings.Global.putInt(getContentResolver(), in onPreferenceTreeClick()
198 Settings.System.putInt(getContentResolver(), in writeEndButtonPreference()
246 Settings.Global.putInt(getContentResolver(), in onSharedPreferenceChanged()
250 Settings.System.putInt(getContentResolver(), in onSharedPreferenceChanged()
/packages/apps/Provision/src/com/android/provision/
DDefaultActivity.java35 Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1); in onCreate()
36 Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1); in onCreate()

12345678910>>...15