/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 …]
|
D | Mailbox.java | 117 final int count = bundle.getInt(SYNC_EXTRA_MAILBOX_COUNT, 0); in getMailboxIdsFromBundle() 139 final int count = bundle.getInt(SYNC_EXTRA_MAILBOX_COUNT, 0); in isAccountOnlyExtras() 150 final int count = bundle.getInt(SYNC_EXTRA_MAILBOX_COUNT, 0); in isPushOnlyExtras() 584 mType = cursor.getInt(CONTENT_TYPE_COLUMN); in restore() 585 mDelimiter = cursor.getInt(CONTENT_DELIMITER_COLUMN); in restore() 587 mSyncLookback = cursor.getInt(CONTENT_SYNC_LOOKBACK_COLUMN); in restore() 588 mSyncInterval = cursor.getInt(CONTENT_SYNC_INTERVAL_COLUMN); in restore() 590 mFlagVisible = cursor.getInt(CONTENT_FLAG_VISIBLE_COLUMN) == 1; in restore() 591 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 594 mUiSyncStatus = cursor.getInt(CONTENT_UI_SYNC_STATUS_COLUMN); in restore() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | DatabaseIndexingManagerTest.java | 218 assertThat(cursor.getInt(1)).isEqualTo(raw.rank); in testInsertRawColumn_rowMatches() 240 assertThat(cursor.getInt(12)).isEqualTo(raw.iconResId); in testInsertRawColumn_rowMatches() 248 assertThat(cursor.getInt(16) == 1).isEqualTo(raw.enabled); in testInsertRawColumn_rowMatches() 252 assertThat(cursor.getInt(18)).isEqualTo(raw.userId); in testInsertRawColumn_rowMatches() 254 assertThat(cursor.getInt(19)).isEqualTo(0); in testInsertRawColumn_rowMatches() 315 assertThat(cursor.getInt(1)).isEqualTo(rank); in testAddResourceHeader_rowsMatch() 337 assertThat(cursor.getInt(12)).isEqualTo(0); in testAddResourceHeader_rowsMatch() 345 assertThat(cursor.getInt(16) == 1).isEqualTo(enabled); in testAddResourceHeader_rowsMatch() 349 assertThat(cursor.getInt(18)).isEqualTo(userId); in testAddResourceHeader_rowsMatch() 351 assertThat(cursor.getInt(19)).isEqualTo(0); in testAddResourceHeader_rowsMatch() [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() 92 info.mIsPublicApi = getInt(Downloads.Impl.COLUMN_IS_PUBLIC_API) != 0; in updateFromDatabase() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | ServiceStateProviderTest.java | 212 assertEquals(voiceRegState, cursor.getInt(0)); in verifyServiceStateForSubId() 213 assertEquals(dataRegState, cursor.getInt(1)); in verifyServiceStateForSubId() 220 assertEquals(isManualNetworkSelection, cursor.getInt(8)); in verifyServiceStateForSubId() 221 assertEquals(rilVoiceRadioTechnology, cursor.getInt(9)); in verifyServiceStateForSubId() 222 assertEquals(rilDataRadioTechnology, cursor.getInt(10)); in verifyServiceStateForSubId() 223 assertEquals(cssIndicator, cursor.getInt(11)); in verifyServiceStateForSubId() 224 assertEquals(networkId, cursor.getInt(12)); in verifyServiceStateForSubId() 225 assertEquals(systemId, cursor.getInt(13)); in verifyServiceStateForSubId() 226 assertEquals(cdmaRoamingIndicator, cursor.getInt(14)); in verifyServiceStateForSubId() 227 assertEquals(cdmaDefaultRoamingIndicator, cursor.getInt(15)); in verifyServiceStateForSubId() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 215 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextColor() 221 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextColor() 228 return opacityToString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextOpacity() 233 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextOpacity() 241 return Integer.toString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeType() 251 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeColor() 262 return (Settings.Secure.getInt(getContext().getContentResolver(), in isCaptionsBackgroundVisible() 277 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsBackgroundColor() 283 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsBackgroundColor() 290 return opacityToString (Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsBackgroundOpacity() [all …]
|
D | DevelopmentFragment.java | 269 || Settings.Global.getInt(mContentResolver, in onCreatePreferences() 501 mLastEnabledState = Settings.Global.getInt(mContentResolver, in onResume() 559 updateSwitchPreference(mEnableAdb, Settings.Global.getInt(cr, in updateAllOptions() 566 updateSwitchPreference(mKeepScreenOn, Settings.Global.getInt(cr, in updateAllOptions() 574 updateSwitchPreference(mDebugViewAttributes, Settings.Global.getInt(cr, in updateAllOptions() 576 updateSwitchPreference(mForceAllowOnExternal, Settings.Global.getInt(cr, in updateAllOptions() 733 updateSwitchPreference(mWaitForDebugger, Settings.Global.getInt(mContentResolver, in updateDebuggerOptions() 791 Settings.Global.getInt(mContentResolver, in updateVerifyAppsOverUsbOptions() 802 if (Settings.Global.getInt(mContentResolver, Settings.Global.ADB_ENABLED, 0) == 0) { in enableVerifierSetting() 805 if (Settings.Global.getInt(mContentResolver, in enableVerifierSetting() [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/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/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/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/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 | Message.java | 381 .getInt(UIProvider.MESSAGE_EMBEDS_EXTERNAL_RESOURCES_COLUMN) != 0; in Message() 386 draftType = cursor.getInt(UIProvider.MESSAGE_DRAFT_TYPE_COLUMN); in Message() 388 .getInt(UIProvider.MESSAGE_APPEND_REF_MESSAGE_CONTENT_COLUMN) != 0; in Message() 389 hasAttachments = cursor.getInt(UIProvider.MESSAGE_HAS_ATTACHMENTS_COLUMN) != 0; in Message() 399 alwaysShowImages = cursor.getInt(UIProvider.MESSAGE_ALWAYS_SHOW_IMAGES_COLUMN) != 0; in Message() 400 read = cursor.getInt(UIProvider.MESSAGE_READ_COLUMN) != 0; in Message() 401 seen = cursor.getInt(UIProvider.MESSAGE_SEEN_COLUMN) != 0; in Message() 402 starred = cursor.getInt(UIProvider.MESSAGE_STARRED_COLUMN) != 0; in Message() 403 quotedTextOffset = cursor.getInt(UIProvider.QUOTED_TEXT_OFFSET_COLUMN); in Message() 411 spamWarningLevel = cursor.getInt(UIProvider.MESSAGE_SPAM_WARNING_LEVEL_COLUMN); in Message() [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/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/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()
|
D | DatabaseMessages.java | 164 mType = cursor.getInt(INDEX_TYPE); in load() 166 mStatus = cursor.getInt(INDEX_STATUS); in load() 167 mRead = cursor.getInt(INDEX_READ) == 0 ? false : true; in load() 168 mSeen = cursor.getInt(INDEX_SEEN) == 0 ? false : true; in load() 358 mType = cursor.getInt(INDEX_MESSAGE_BOX); in load() 360 mSubjectCharset = cursor.getInt(INDEX_SUBJECT_CHARSET); in load() 374 mPriority = cursor.getInt(INDEX_PRIORITY); in load() 375 mStatus = cursor.getInt(INDEX_STATUS); in load() 376 mRead = cursor.getInt(INDEX_READ) == 0 ? false : true; in load() 377 mSeen = cursor.getInt(INDEX_SEEN) == 0 ? false : true; in load() [all …]
|
/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/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 216 assertEquals(123, rewritten.getInt(column++)); in testWrappedResults() 217 assertEquals(456, rewritten.getInt(column++)); in testWrappedResults() 218 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 219 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 220 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 228 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 229 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults() 231 assertEquals(1, rewritten.getInt(column++)); in testWrappedResults()
|
/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/Dialer/java/com/android/dialer/app/voicemail/error/ |
D | VoicemailStatus.java | 80 getInt( in VoicemailStatus() 85 getInt( in VoicemailStatus() 101 getInt( in VoicemailStatus() 107 Settings.System.getInt(context.getContentResolver(), Global.AIRPLANE_MODE_ON, 0) != 0; in VoicemailStatus() 111 getInt(statusCursor, VoicemailStatusQuery.QUOTA_OCCUPIED_INDEX, Status.QUOTA_UNAVAILABLE); in VoicemailStatus() 113 getInt(statusCursor, VoicemailStatusQuery.QUOTA_TOTAL_INDEX, Status.QUOTA_UNAVAILABLE); in VoicemailStatus() 282 private static int getInt(Cursor cursor, int index, int defaultValue) { in getInt() method in VoicemailStatus 286 return cursor.getInt(index); in getInt()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 75 mPresence = getInt(cursor, Data.PRESENCE, -1); in fromCursor() 79 mIconRes = getInt(cursor, Data.STATUS_ICON, -1); in fromCursor() 80 mLabelRes = getInt(cursor, Data.STATUS_LABEL, -1); in fromCursor() 142 private static int getInt(Cursor cursor, String columnName) { in getInt() method in DataStatus 143 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt() 146 private static int getInt(Cursor cursor, String columnName, int missingValue) { in getInt() method in DataStatus 148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
|
/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()
|