/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | RcsProviderQueryTest.java | 166 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(1); in testCanQueryUnifiedThreads() 169 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo( in testCanQueryUnifiedThreads() 174 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads() 176 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads() 179 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreads() 181 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo( in testCanQueryUnifiedThreads() 201 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreadsWithLimitAndSorting() 203 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo(0); in testCanQueryUnifiedThreadsWithLimitAndSorting() 221 assertThat(cursor.getInt(cursor.getColumnIndex(THREAD_TYPE_COLUMN))).isEqualTo(1); in testCanContinueThreadQuery() 224 assertThat(cursor.getInt(cursor.getColumnIndex(ORIGINATION_TIMESTAMP_COLUMN))).isEqualTo( in testCanContinueThreadQuery() [all …]
|
D | ServiceStateProviderTest.java | 188 assertEquals(voiceRegState, cursor.getInt(0)); in verifyServiceStateForSubId() 189 assertEquals(dataRegState, cursor.getInt(1)); in verifyServiceStateForSubId() 196 assertEquals(isManualNetworkSelection, cursor.getInt(8)); in verifyServiceStateForSubId() 197 assertEquals(rilVoiceRadioTechnology, cursor.getInt(9)); in verifyServiceStateForSubId() 198 assertEquals(rilDataRadioTechnology, cursor.getInt(10)); in verifyServiceStateForSubId() 199 assertEquals(cssIndicator, cursor.getInt(11)); in verifyServiceStateForSubId() 200 assertEquals(networkId, cursor.getInt(12)); in verifyServiceStateForSubId() 201 assertEquals(systemId, cursor.getInt(13)); in verifyServiceStateForSubId() 202 assertEquals(cdmaRoamingIndicator, cursor.getInt(14)); in verifyServiceStateForSubId() 203 assertEquals(cdmaDefaultRoamingIndicator, cursor.getInt(15)); in verifyServiceStateForSubId() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 203 int flags = c.getInt(ATTACHMENT_RESET_PROJECTION_FLAGS); in setAttachmentFlagsForNewPolicy() 204 int size = c.getInt(ATTACHMENT_RESET_PROJECTION_SIZE); in setAttachmentFlagsForNewPolicy() 311 mPasswordMode = cursor.getInt(CONTENT_PASSWORD_MODE_COLUMN); in restore() 312 mPasswordMinLength = cursor.getInt(CONTENT_PASSWORD_MIN_LENGTH_COLUMN); in restore() 313 mPasswordMaxFails = cursor.getInt(CONTENT_PASSWORD_MAX_FAILS_COLUMN); in restore() 314 mPasswordHistory = cursor.getInt(CONTENT_PASSWORD_HISTORY_COLUMN); in restore() 315 mPasswordExpirationDays = cursor.getInt(CONTENT_PASSWORD_EXPIRATION_DAYS_COLUMN); in restore() 316 mPasswordComplexChars = cursor.getInt(CONTENT_PASSWORD_COMPLEX_CHARS_COLUMN); in restore() 317 mMaxScreenLockTime = cursor.getInt(CONTENT_MAX_SCREEN_LOCK_TIME_COLUMN); in restore() 318 mRequireRemoteWipe = cursor.getInt(CONTENT_REQUIRE_REMOTE_WIPE_COLUMN) == 1; in restore() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadInfo.java | 68 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; in updateFromDatabase() 72 info.mDestination = getInt(Downloads.Impl.COLUMN_DESTINATION); in updateFromDatabase() 73 info.mVisibility = getInt(Downloads.Impl.COLUMN_VISIBILITY); in updateFromDatabase() 74 info.mStatus = getInt(Downloads.Impl.COLUMN_STATUS); in updateFromDatabase() 75 info.mNumFailed = getInt(Downloads.Impl.COLUMN_FAILED_CONNECTIONS); in updateFromDatabase() 76 int retryRedirect = getInt(Constants.RETRY_AFTER_X_REDIRECT_COUNT); in updateFromDatabase() 88 info.mUid = getInt(Constants.UID); in updateFromDatabase() 89 info.mMediaScanned = getInt(Downloads.Impl.COLUMN_MEDIA_SCANNED); in updateFromDatabase() 90 info.mDeleted = getInt(Downloads.Impl.COLUMN_DELETED) == 1; in updateFromDatabase() 93 info.mIsPublicApi = getInt(Downloads.Impl.COLUMN_IS_PUBLIC_API) != 0; in updateFromDatabase() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 216 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextColor() 222 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextColor() 229 return opacityToString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextOpacity() 234 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextOpacity() 242 return Integer.toString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeType() 252 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeColor() 263 return (Settings.Secure.getInt(getContext().getContentResolver(), in isCaptionsBackgroundVisible() 278 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsBackgroundColor() 284 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsBackgroundColor() 291 return opacityToString (Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsBackgroundOpacity() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AddableFolderSelectorAdapter.java | 64 final int type = folderCursor.getInt(UIProvider.FOLDER_TYPE_COLUMN); in filterFolders() 103 .getInt(UIProvider.FOLDER_HAS_CHILDREN_COLUMN); in filterFolders() 105 .getInt(UIProvider.FOLDER_CAPABILITIES_COLUMN); in filterFolders() 107 .getInt(UIProvider.FOLDER_SYNC_WINDOW_COLUMN); in filterFolders() 113 .getInt(UIProvider.FOLDER_UNSEEN_COUNT_COLUMN); in filterFolders() 115 .getInt(UIProvider.FOLDER_UNREAD_COUNT_COLUMN); in filterFolders() 117 .getInt(UIProvider.FOLDER_TOTAL_COUNT_COLUMN); in filterFolders() 121 .getInt(UIProvider.FOLDER_SYNC_STATUS_COLUMN); in filterFolders() 123 .getInt(UIProvider.FOLDER_LAST_SYNC_RESULT_COLUMN); in filterFolders() 126 .getInt(UIProvider.FOLDER_ICON_RES_ID_COLUMN); in filterFolders()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchChunk.java | 39 data[i] = buffer.getInt(); in readIntArray() 65 byteBuffer.getInt(); in deserialize() 66 byteBuffer.getInt(); in deserialize() 68 chunk.mPaddings.left = byteBuffer.getInt(); in deserialize() 69 chunk.mPaddings.right = byteBuffer.getInt(); in deserialize() 70 chunk.mPaddings.top = byteBuffer.getInt(); in deserialize() 71 chunk.mPaddings.bottom = byteBuffer.getInt(); in deserialize() 74 byteBuffer.getInt(); in deserialize()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 330 mYear = c.getInt(Alarm.INSTANCE_YEAR_INDEX); in AlarmInstance() 331 mMonth = c.getInt(Alarm.INSTANCE_MONTH_INDEX); in AlarmInstance() 332 mDay = c.getInt(Alarm.INSTANCE_DAY_INDEX); in AlarmInstance() 333 mHour = c.getInt(Alarm.INSTANCE_HOUR_INDEX); in AlarmInstance() 334 mMinute = c.getInt(Alarm.INSTANCE_MINUTE_INDEX); in AlarmInstance() 336 mVibrate = c.getInt(Alarm.INSTANCE_VIBRATE_INDEX) == 1; in AlarmInstance() 339 mYear = c.getInt(YEAR_INDEX); in AlarmInstance() 340 mMonth = c.getInt(MONTH_INDEX); in AlarmInstance() 341 mDay = c.getInt(DAY_INDEX); in AlarmInstance() 342 mHour = c.getInt(HOUR_INDEX); in AlarmInstance() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | Coalescer.java | 223 Assert.checkArgument(annotatedCallLogRow.getInt(callTypeColumn) != Calls.VOICEMAIL_TYPE); in mergeRow() 235 coalescedRowBuilder.getFeatures() | annotatedCallLogRow.getInt(featuresColumn)); in mergeRow() 243 coalescedIdsBuilder.addCoalescedId(annotatedCallLogRow.getInt(idColumn)); in mergeRow() 249 .setNumberPresentation(annotatedCallLogRow.getInt(numberPresentationColumn)) in mergeRow() 250 .setIsRead(annotatedCallLogRow.getInt(isReadColumn) == 1) in mergeRow() 251 .setIsNew(annotatedCallLogRow.getInt(isNewColumn) == 1) in mergeRow() 252 .setIsVoicemailCall(annotatedCallLogRow.getInt(isVoicemailCallColumn) == 1) in mergeRow() 253 .setCallType(annotatedCallLogRow.getInt(callTypeColumn)); in mergeRow() 297 coalescedIdsBuilder.addCoalescedId(annotatedCallLogRow.getInt(idColumn)); in mergeRow() 332 == annotatedCallLogRow.getInt(numberPresentationColumn); in sameNumberPresentation() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Settings.java | 170 mAutoAdvance = cursor.getInt(cursor.getColumnIndex(SettingsColumns.AUTO_ADVANCE)); in Settings() 171 snapHeaders = cursor.getInt(cursor.getColumnIndex(SettingsColumns.SNAP_HEADERS)); in Settings() 172 replyBehavior = cursor.getInt(cursor.getColumnIndex(SettingsColumns.REPLY_BEHAVIOR)); in Settings() 173 convListIcon = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONV_LIST_ICON)); in Settings() 174 confirmDelete = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_DELETE)) != 0; in Settings() 175 confirmArchive = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_ARCHIVE)) != 0; in Settings() 176 confirmSend = cursor.getInt(cursor.getColumnIndex(SettingsColumns.CONFIRM_SEND)) != 0; in Settings() 181 forceReplyFromDefault = cursor.getInt( in Settings() 184 cursor.getInt(cursor.getColumnIndex(SettingsColumns.MAX_ATTACHMENT_SIZE)); in Settings() 185 swipe = cursor.getInt(cursor.getColumnIndex(SettingsColumns.SWIPE)); in Settings() [all …]
|
D | Conversation.java | 283 hasAttachments = cursor.getInt(UIProvider.CONVERSATION_HAS_ATTACHMENTS_COLUMN) != 0; in Conversation() 286 sendingState = cursor.getInt(UIProvider.CONVERSATION_SENDING_STATE_COLUMN); in Conversation() 287 priority = cursor.getInt(UIProvider.CONVERSATION_PRIORITY_COLUMN); in Conversation() 288 read = cursor.getInt(UIProvider.CONVERSATION_READ_COLUMN) != 0; in Conversation() 289 seen = cursor.getInt(UIProvider.CONVERSATION_SEEN_COLUMN) != 0; in Conversation() 290 starred = cursor.getInt(UIProvider.CONVERSATION_STARRED_COLUMN) != 0; in Conversation() 292 convFlags = cursor.getInt(UIProvider.CONVERSATION_FLAGS_COLUMN); in Conversation() 293 personalLevel = cursor.getInt(UIProvider.CONVERSATION_PERSONAL_LEVEL_COLUMN); in Conversation() 294 spam = cursor.getInt(UIProvider.CONVERSATION_IS_SPAM_COLUMN) != 0; in Conversation() 295 phishing = cursor.getInt(UIProvider.CONVERSATION_IS_PHISHING_COLUMN) != 0; in Conversation() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in initEffectsPreferences() 201 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in initEffectsPreferences() 279 final short eQPreset = (short) prefs.getInt(Key.eq_current_preset.toString(), in initEffectsPreferences() 293 bandLevel[band] = (short) prefs.getInt( in initEffectsPreferences() 320 final short presetPR = (short) prefs.getInt(Key.pr_current_preset.toString(), in initEffectsPreferences() 375 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in setParameterBoolean() 384 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in setParameterBoolean() 608 final int numBands = prefs.getInt(Key.eq_num_bands.toString(), in setParameterInt() 610 final int numPresets = prefs.getInt(Key.eq_num_presets.toString(), in setParameterInt() 627 bandLevel = (short) prefs.getInt( in setParameterInt() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsConfig.java | 176 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_THRESHOLD, in getSmsToMmsTextThreshold() 181 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD, in getSmsToMmsTextLengthThreshold() 186 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_MESSAGE_SIZE, in getMaxMessageSize() 212 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_HEIGHT, in getMaxImageHeight() 217 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_WIDTH, in getMaxImageWidth() 222 final int limit = mValues.getInt(CarrierConfigValuesLoader.CONFIG_RECIPIENT_LIMIT, in getRecipientLimit() 228 final int max = mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_MESSAGE_TEXT_SIZE, in getMaxTextLimit() 260 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_ALIAS_MIN_CHARS, in getAliasMinChars() 265 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_ALIAS_MAX_CHARS, in getAliasMaxChars() 275 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_SUBJECT_LENGTH, in getMaxSubjectLength()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | BatteryTipPolicy.java | 236 highUsageAppCount = mParser.getInt(KEY_HIGH_USAGE_APP_COUNT, 3); in BatteryTipPolicy() 239 highUsageBatteryDraining = mParser.getInt(KEY_HIGH_USAGE_BATTERY_DRAINING, 25); in BatteryTipPolicy() 241 appRestrictionActiveHour = mParser.getInt(KEY_APP_RESTRICTION_ACTIVE_HOUR, 24); in BatteryTipPolicy() 243 reducedBatteryPercent = mParser.getInt(KEY_REDUCED_BATTERY_PERCENT, 50); in BatteryTipPolicy() 245 lowBatteryHour = mParser.getInt(KEY_LOW_BATTERY_HOUR, 3); in BatteryTipPolicy() 246 dataHistoryRetainDay = mParser.getInt(KEY_DATA_HISTORY_RETAIN_DAY, 30); in BatteryTipPolicy() 247 excessiveBgDrainPercentage = mParser.getInt(KEY_EXCESSIVE_BG_DRAIN_PERCENTAGE, 10); in BatteryTipPolicy()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipPolicy.java | 236 highUsageAppCount = mParser.getInt(KEY_HIGH_USAGE_APP_COUNT, 3); in BatteryTipPolicy() 239 highUsageBatteryDraining = mParser.getInt(KEY_HIGH_USAGE_BATTERY_DRAINING, 25); in BatteryTipPolicy() 241 appRestrictionActiveHour = mParser.getInt(KEY_APP_RESTRICTION_ACTIVE_HOUR, 24); in BatteryTipPolicy() 243 reducedBatteryPercent = mParser.getInt(KEY_REDUCED_BATTERY_PERCENT, 50); in BatteryTipPolicy() 245 lowBatteryHour = mParser.getInt(KEY_LOW_BATTERY_HOUR, 3); in BatteryTipPolicy() 246 dataHistoryRetainDay = mParser.getInt(KEY_DATA_HISTORY_RETAIN_DAY, 30); in BatteryTipPolicy() 247 excessiveBgDrainPercentage = mParser.getInt(KEY_EXCESSIVE_BG_DRAIN_PERCENTAGE, 10); in BatteryTipPolicy()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 114 extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMessageDownloaded() 118 extras.getInt(DownloadMmsAction.EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in processMessageDownloaded() 132 extras.getInt(DownloadMmsAction.EXTRA_STATUS_IF_FAILED)); in processMessageDownloaded() 211 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in doBackgroundWork() 242 final int resultCode = actionParameters.getInt(KEY_RESULT_CODE); in doBackgroundWork() 306 final int httpStatusCode = actionParameters.getInt(KEY_HTTP_STATUS_CODE); in doBackgroundWork() 312 status = actionParameters.getInt(KEY_STATUS); in doBackgroundWork() 313 rawStatus = actionParameters.getInt(KEY_RAW_STATUS); in doBackgroundWork() 332 final int status = response.getInt(BUNDLE_REQUEST_STATUS); in processBackgroundResponse() 333 final int rawStatus = response.getInt(BUNDLE_RAW_TELEPHONY_STATUS); in processBackgroundResponse() [all …]
|
D | ProcessSentMessageAction.java | 88 extras.getInt(SendMessageAction.KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in processMmsSent() 90 params.putInt(KEY_HTTP_STATUS_CODE, extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMmsSent() 133 int status = actionParameters.getInt(KEY_STATUS, MmsUtils.MMS_REQUEST_MANUAL_RETRY); in executeAction() 134 int rawStatus = actionParameters.getInt(KEY_RAW_STATUS, in executeAction() 136 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in executeAction() 153 final int resultCode = actionParameters.getInt(KEY_RESULT_CODE); in executeAction() 170 final int httpStatusCode = actionParameters.getInt(KEY_HTTP_STATUS_CODE); in executeAction() 187 final int resultCode = actionParameters.getInt(KEY_RESULT_CODE); in executeAction() 188 final int httpStatusCode = actionParameters.getInt(KEY_HTTP_STATUS_CODE); in executeAction()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyStylesSet.java | 73 public int getInt(final TypedArray a, final int index, final int defaultValue) { in getInt() method in KeyStylesSet.EmptyKeyStyle 74 return a.getInt(index, defaultValue); in getInt() 79 return a.getInt(index, 0); in getFlags() 126 public int getInt(final TypedArray a, final int index, final int defaultValue) { in getInt() method in KeyStylesSet.DeclaredKeyStyle 128 return a.getInt(index, defaultValue); in getInt() 135 return parentStyle.getInt(a, index, defaultValue); in getInt() 143 final int flags = a.getInt(index, 0); in getFlags() 169 mStyleAttributes.put(index, a.getInt(index, 0)); in readInt() 177 mStyleAttributes.put(index, a.getInt(index, 0) | styleFlags); in readFlags()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 215 assertEquals(123, rewritten.getInt(column++)); in testWrappedResults() 216 assertEquals(456, rewritten.getInt(column++)); in testWrappedResults() 217 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 218 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 219 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 227 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 228 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 230 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemSettingsUtil.java | 48 return Settings.Global.getInt(context.getContentResolver(), Settings.Global.THEATER_MODE_ON, in isTheaterModeOn() 53 return Settings.System.getInt(context.getContentResolver(), in canVibrateWhenRinging() 58 return Settings.System.getInt(context.getContentResolver(), in isEnhancedCallBlockingEnabled() 68 return Settings.Global.getInt(context.getContentResolver(), in applyRampingRinger() 83 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getRampingRingerDuration() 88 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getRampingRingerVibrationDuration()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 654 int a2dpPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 657 int a2dpSinkPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 660 int hearingaidPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 663 int headsetPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 666 int headsetClientPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 669 int hidHostPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 672 int mapPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 675 int mapClientPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 678 int panPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() 681 int pbapPriority = Settings.Global.getInt(contentResolver, in migrateSettingsGlobal() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DataStatus.java | 77 mPresence = getInt(cursor, Data.PRESENCE, -1); in fromCursor() 81 mIconRes = getInt(cursor, Data.STATUS_ICON, -1); in fromCursor() 82 mLabelRes = getInt(cursor, Data.STATUS_LABEL, -1); in fromCursor() 148 private static int getInt(Cursor cursor, String columnName) { in getInt() method in DataStatus 149 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt() 152 private static int getInt(Cursor cursor, String columnName, int missingValue) { in getInt() method in DataStatus 154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalImage.java | 134 id = cursor.getInt(INDEX_ID); in loadFromCursor() 143 rotation = cursor.getInt(INDEX_ORIENTATION); in loadFromCursor() 144 bucketId = cursor.getInt(INDEX_BUCKET_ID); in loadFromCursor() 146 width = cursor.getInt(INDEX_WIDTH); in loadFromCursor() 147 height = cursor.getInt(INDEX_HEIGHT); in loadFromCursor() 153 id = uh.update(id, cursor.getInt(INDEX_ID)); in updateFromCursor() 165 rotation = uh.update(rotation, cursor.getInt(INDEX_ORIENTATION)); in updateFromCursor() 166 bucketId = uh.update(bucketId, cursor.getInt(INDEX_BUCKET_ID)); in updateFromCursor() 168 width = uh.update(width, cursor.getInt(INDEX_WIDTH)); in updateFromCursor() 169 height = uh.update(height, cursor.getInt(INDEX_HEIGHT)); in updateFromCursor()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | TestProviderTests.java | 119 assertEquals(4, c.getInt(PONY_LEGS)); in testInsertQueryandDelete() 120 assertEquals(1, c.getInt(PONY_CAN_RIDE)); in testInsertQueryandDelete() 124 assertEquals(3, c.getInt(PONY_LEGS)); in testInsertQueryandDelete() 125 assertEquals(0, c.getInt(PONY_CAN_RIDE)); in testInsertQueryandDelete() 167 assertEquals(5, c.getInt(PONY_LEGS)); in testUpdate() 168 assertEquals(1, c.getInt(PONY_CAN_RIDE)); in testUpdate() 172 assertEquals(5, c.getInt(PONY_LEGS)); in testUpdate() 173 assertEquals(0, c.getInt(PONY_CAN_RIDE)); in testUpdate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterTinyPlanet.java | 113 getInt(xmp, CROPPED_AREA_IMAGE_WIDTH_PIXELS); in applyXmp() 115 getInt(xmp, CROPPED_AREA_IMAGE_HEIGHT_PIXELS); in applyXmp() 117 getInt(xmp, CROPPED_AREA_FULL_PANO_WIDTH_PIXELS); in applyXmp() 119 getInt(xmp, CROPPED_AREA_FULL_PANO_HEIGHT_PIXELS); in applyXmp() 120 int left = getInt(xmp, CROPPED_AREA_LEFT); in applyXmp() 121 int top = getInt(xmp, CROPPED_AREA_TOP); in applyXmp() 153 private static int getInt(XMPMeta xmp, String key) throws XMPException { in getInt() method in ImageFilterTinyPlanet
|