/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 70 private static int getInt(Cursor cursor, String columnName) { in getInt() method in MtpDatabaseTest 71 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt() 96 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments() 97 assertEquals(0, getInt(cursor, COLUMN_DEVICE_ID)); in testPutSingleStorageDocuments() 98 assertEquals(1, getInt(cursor, COLUMN_STORAGE_ID)); in testPutSingleStorageDocuments() 105 assertEquals(R.drawable.ic_root_mtp, getInt(cursor, COLUMN_ICON)); in testPutSingleStorageDocuments() 106 assertEquals(Document.FLAG_DIR_SUPPORTS_CREATE, getInt(cursor, COLUMN_FLAGS)); in testPutSingleStorageDocuments() 107 assertEquals(1000, getInt(cursor, COLUMN_SIZE)); in testPutSingleStorageDocuments() 110 getInt(cursor, COLUMN_DOCUMENT_TYPE)); in testPutSingleStorageDocuments() 129 assertEquals(1, getInt(cursor, Root.COLUMN_ROOT_ID)); in testPutSingleStorageDocuments() [all …]
|
D | MtpDocumentsProviderTest.java | 219 cursor.getInt(1)); in testQueryRoots() 220 assertEquals(R.drawable.ic_root_mtp, cursor.getInt(2)); in testQueryRoots() 223 assertEquals(1024, cursor.getInt(5)); in testQueryRoots() 235 Root.FLAG_SUPPORTS_IS_CHILD | Root.FLAG_LOCAL_ONLY, cursor.getInt(1)); in testQueryRoots() 236 assertEquals(R.drawable.ic_root_mtp, cursor.getInt(2)); in testQueryRoots() 239 assertEquals(2048, cursor.getInt(5)); in testQueryRoots() 283 cursor.getInt(1)); in testQueryRoots_error() 284 assertEquals(R.drawable.ic_root_mtp, cursor.getInt(2)); in testQueryRoots_error() 287 assertEquals(0, cursor.getInt(5)); in testQueryRoots_error() 293 cursor.getInt(1)); in testQueryRoots_error() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastCursorAdapter.java | 63 int geoScope = cursor.getInt( in createFromCursor() 65 int serialNum = cursor.getInt( in createFromCursor() 67 int category = cursor.getInt( in createFromCursor() 73 int format = cursor.getInt( in createFromCursor() 75 int priority = cursor.getInt( in createFromCursor() 77 int slotIndex = cursor.getInt( in createFromCursor() 91 lac = cursor.getInt(lacColumn); in createFromCursor() 99 cid = cursor.getInt(cidColumn); in createFromCursor() 110 int warningType = cursor.getInt(etwsWarningTypeColumn); in createFromCursor() 120 int messageClass = cursor.getInt(cmasMessageClassColumn); in createFromCursor() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastProviderTest.java | 117 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.RECEIVED_TIME))) in testUpdate() 119 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_DISPLAYED))) in testUpdate() 265 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.GEOGRAPHICAL_SCOPE))) in testInsertAndQuery() 269 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.LAC))).isEqualTo(LAC); in testInsertAndQuery() 270 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CID))).isEqualTo(CID); in testInsertAndQuery() 271 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertAndQuery() 273 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertAndQuery() 279 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_FORMAT))) in testInsertAndQuery() 281 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_PRIORITY))) in testInsertAndQuery() 283 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.ETWS_WARNING_TYPE))) in testInsertAndQuery() [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/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletPluginServiceTest.java | 50 assertThat(Settings.Secure.getInt( in onCreate_serviceAvailable_enablesFeatureInSettings() 52 assertThat(Settings.Secure.getInt( in onCreate_serviceAvailable_enablesFeatureInSettings() 63 assertThat(Settings.Secure.getInt( in onCreate_serviceUnavailable_disablesFeatureInSettings() 65 assertThat(Settings.Secure.getInt( in onCreate_serviceUnavailable_disablesFeatureInSettings() 76 assertThat(Settings.Secure.getInt( in onCreate_doesNotOverridePanelEnabledSettingIfOff() 85 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 87 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 93 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 95 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 104 assertThat(Settings.Secure.getInt( in onPanelShown_wasAvailable_nowUnavailable_updatesFeatureAvailabilityInSettings() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ServiceStateProviderTest.java | 187 assertEquals(voiceRegState, cursor.getInt(0)); in verifyServiceStateForSubId() 188 assertEquals(dataRegState, cursor.getInt(1)); in verifyServiceStateForSubId() 195 assertEquals(isManualNetworkSelection, cursor.getInt(8)); in verifyServiceStateForSubId() 196 assertEquals(rilVoiceRadioTechnology, cursor.getInt(9)); in verifyServiceStateForSubId() 197 assertEquals(rilDataRadioTechnology, cursor.getInt(10)); in verifyServiceStateForSubId() 198 assertEquals(cssIndicator, cursor.getInt(11)); in verifyServiceStateForSubId() 199 assertEquals(networkId, cursor.getInt(12)); in verifyServiceStateForSubId() 200 assertEquals(systemId, cursor.getInt(13)); in verifyServiceStateForSubId() 201 assertEquals(cdmaRoamingIndicator, cursor.getInt(14)); in verifyServiceStateForSubId() 202 assertEquals(cdmaDefaultRoamingIndicator, cursor.getInt(15)); in verifyServiceStateForSubId() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastContentProviderTest.java | 156 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.GEOGRAPHICAL_SCOPE))) in testInsertQuery() 160 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.LAC))).isEqualTo(LAC); in testInsertQuery() 161 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CID))).isEqualTo(CID); in testInsertQuery() 162 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertQuery() 164 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertQuery() 170 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_PRIORITY))) in testInsertQuery() 172 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.ETWS_WARNING_TYPE))) in testInsertQuery() 174 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_MESSAGE_CLASS))) in testInsertQuery() 176 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_CATEGORY))) in testInsertQuery() 178 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_RESPONSE_TYPE))) in testInsertQuery() [all …]
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskV2Test.java | 144 assertEquals(c.getInt(screenIndex), 1); in testMigration() 147 assertEquals(c.getInt(screenIndex), 0); in testMigration() 150 assertEquals(c.getInt(screenIndex), 2); in testMigration() 153 assertEquals(c.getInt(screenIndex), 3); in testMigration() 171 assertEquals(c.getInt(cellXIndex), 0); in testMigration() 172 assertEquals(c.getInt(cellYIndex), 3); in testMigration() 175 assertEquals(c.getInt(cellXIndex), 1); in testMigration() 176 assertEquals(c.getInt(cellYIndex), 3); in testMigration() 179 assertEquals(c.getInt(cellXIndex), 2); in testMigration() 180 assertEquals(c.getInt(cellYIndex), 3); in testMigration() [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/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/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/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/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 88 mSharedPrefs.getInt(NoBackupKeys.KEY_HOME_WALLPAPER_MANAGER_ID, 0)); in upgradePrefs() 101 mSharedPrefs.getInt(NoBackupKeys.KEY_LOCK_WALLPAPER_MANAGER_ID, 0)); in upgradePrefs() 127 mSharedPrefs.getInt(NoBackupKeys.KEY_LAST_ROTATION_STATUS, -1)); in upgradePrefs() 139 mSharedPrefs.getInt(NoBackupKeys.KEY_PENDING_WALLPAPER_SET_STATUS, in upgradePrefs() 144 mSharedPrefs.getInt(NoBackupKeys.KEY_PENDING_DAILY_WALLPAPER_UPDATE_STATUS, in upgradePrefs() 149 mSharedPrefs.getInt(NoBackupKeys.KEY_NUM_DAYS_DAILY_ROTATION_FAILED, 0)); in upgradePrefs() 153 mSharedPrefs.getInt(NoBackupKeys.KEY_NUM_DAYS_DAILY_ROTATION_NOT_ATTEMPTED, 0)); in upgradePrefs() 184 int homeWallpaperPresentationMode = mSharedPrefs.getInt( in getWallpaperPresentationMode() 364 return mNoBackupPrefs.getInt( in getHomeWallpaperManagerId() 481 return mNoBackupPrefs.getInt( in getLockWallpaperId() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsConfig.java | 178 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_THRESHOLD, in getSmsToMmsTextThreshold() 183 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD, in getSmsToMmsTextLengthThreshold() 188 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_MESSAGE_SIZE, in getMaxMessageSize() 214 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_HEIGHT, in getMaxImageHeight() 219 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_WIDTH, in getMaxImageWidth() 224 final int limit = mValues.getInt(CarrierConfigValuesLoader.CONFIG_RECIPIENT_LIMIT, in getRecipientLimit() 230 final int max = mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_MESSAGE_TEXT_SIZE, in getMaxTextLimit() 262 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_ALIAS_MIN_CHARS, in getAliasMinChars() 267 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_ALIAS_MAX_CHARS, in getAliasMaxChars() 277 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_SUBJECT_LENGTH, in getMaxSubjectLength()
|
/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/Settings/tests/robotests/src/com/android/settings/display/ |
D | AlwaysOnDisplaySliceTest.java | 114 assertThat(Settings.Secure.getInt(resolver, DOZE_ALWAYS_ON, 0)).isEqualTo(0); in onNotifyChange_toggleOff_disableAoD() 115 assertThat(Settings.Secure.getInt(resolver, DOZE_WAKE_DISPLAY_GESTURE, 0)).isEqualTo(0); in onNotifyChange_toggleOff_disableAoD() 128 assertThat(Settings.Secure.getInt(resolver, DOZE_ALWAYS_ON, 0)).isEqualTo(1); in onNotifyChange_toggleOn_awareNotSupported_enableAoD() 129 assertThat(Settings.Secure.getInt(resolver, DOZE_WAKE_DISPLAY_GESTURE, 0)).isEqualTo(0); in onNotifyChange_toggleOn_awareNotSupported_enableAoD() 142 assertThat(Settings.Secure.getInt(resolver, DOZE_ALWAYS_ON, 0)).isEqualTo(1); in onNotifyChange_toggleOn_awareDisabled_enableAoD() 143 assertThat(Settings.Secure.getInt(resolver, DOZE_WAKE_DISPLAY_GESTURE, 0)).isEqualTo(0); in onNotifyChange_toggleOn_awareDisabled_enableAoD() 156 assertThat(Settings.Secure.getInt(resolver, DOZE_ALWAYS_ON, 0)).isEqualTo(1); in onNotifyChange_toggleOn_awareSupported_enableAoD() 157 assertThat(Settings.Secure.getInt(resolver, DOZE_WAKE_DISPLAY_GESTURE, 0)).isEqualTo(1); in onNotifyChange_toggleOn_awareSupported_enableAoD()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 115 extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMessageDownloaded() 119 extras.getInt(DownloadMmsAction.EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in processMessageDownloaded() 133 extras.getInt(DownloadMmsAction.EXTRA_STATUS_IF_FAILED)); in processMessageDownloaded() 213 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in doBackgroundWork() 244 final int resultCode = actionParameters.getInt(KEY_RESULT_CODE); in doBackgroundWork() 309 final int httpStatusCode = actionParameters.getInt(KEY_HTTP_STATUS_CODE); in doBackgroundWork() 315 status = actionParameters.getInt(KEY_STATUS); in doBackgroundWork() 316 rawStatus = actionParameters.getInt(KEY_RAW_STATUS); in doBackgroundWork() 335 final int status = response.getInt(BUNDLE_REQUEST_STATUS); in processBackgroundResponse() 336 final int rawStatus = response.getInt(BUNDLE_RAW_TELEPHONY_STATUS); in processBackgroundResponse() [all …]
|
/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/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/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/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
|
/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()
|