Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 1415) sorted by relevance

12345678910>>...57

/packages/modules/Wifi/service/java/com/android/server/wifi/
DDeviceConfigFacade.java224 mAbnormalConnectionDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
228 mDataStallDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
230 mDataStallTxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
232 mDataStallRxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
234 mDataStallTxPerThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
236 mDataStallCcaLevelThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
244 mTxTputSufficientLowThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
246 mTxTputSufficientHighThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
248 mRxTputSufficientLowThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
250 mRxTputSufficientHighThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
[all …]
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDatabaseTest.java70 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 …]
DMtpDocumentsProviderTest.java219 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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DDeviceConfigFacadeTest.java81 when(DeviceConfig.getInt(anyString(), anyString(), anyInt())) in setUp()
234 when(DeviceConfig.getInt(anyString(), eq("abnormal_connection_duration_ms"), in testFieldUpdates()
236 when(DeviceConfig.getInt(anyString(), eq("data_stall_duration_ms"), in testFieldUpdates()
238 when(DeviceConfig.getInt(anyString(), eq("data_stall_tx_tput_thr_kbps"), in testFieldUpdates()
240 when(DeviceConfig.getInt(anyString(), eq("data_stall_rx_tput_thr_kbps"), in testFieldUpdates()
242 when(DeviceConfig.getInt(anyString(), eq("data_stall_tx_per_thr"), in testFieldUpdates()
244 when(DeviceConfig.getInt(anyString(), eq("data_stall_cca_level_thr"), in testFieldUpdates()
246 when(DeviceConfig.getInt(anyString(), eq("tput_sufficient_low_thr_kbps"), in testFieldUpdates()
248 when(DeviceConfig.getInt(anyString(), eq("tput_sufficient_high_thr_kbps"), in testFieldUpdates()
250 when(DeviceConfig.getInt(anyString(), eq("rx_tput_sufficient_low_thr_kbps"), in testFieldUpdates()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java70 int geoScope = cursor.getInt( in createFromCursor()
72 int serialNum = cursor.getInt( in createFromCursor()
74 int category = cursor.getInt( in createFromCursor()
80 int format = cursor.getInt( in createFromCursor()
82 int priority = cursor.getInt( in createFromCursor()
84 int slotIndex = cursor.getInt( in createFromCursor()
98 lac = cursor.getInt(lacColumn); in createFromCursor()
106 cid = cursor.getInt(cidColumn); in createFromCursor()
117 int warningType = cursor.getInt(etwsWarningTypeColumn); in createFromCursor()
127 int messageClass = cursor.getInt(cmasMessageClassColumn); in createFromCursor()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2Test.java144 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/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastProviderTest.java117 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/modules/StatsD/framework/test/src/android/util/
DStatsEventTest.java73 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testNoFields()
78 final int errorMask = buffer.getInt(); in testNoFields()
120 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testOnlyAtomId()
167 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testIntBooleanIntInt()
173 .that(buffer.getInt()).isEqualTo(field1); in testIntBooleanIntInt()
185 .that(buffer.getInt()).isEqualTo(field3); in testIntBooleanIntInt()
191 .that(buffer.getInt()).isEqualTo(field4); in testIntBooleanIntInt()
236 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testStringFloatByteArray()
300 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testAttributionChainLong()
310 .that(buffer.getInt()).isEqualTo(uids[i]); in testAttributionChainLong()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DServiceStateProviderTest.java342 cursor.getInt(cursor.getColumnIndex(VOICE_REG_STATE))); in verifyServiceStateWithPublicColumns()
344 cursor.getInt(cursor.getColumnIndex(DATA_REG_STATE))); in verifyServiceStateWithPublicColumns()
348 cursor.getInt(cursor.getColumnIndex(DATA_NETWORK_TYPE))); in verifyServiceStateWithPublicColumns()
349 assertEquals(ss.getDuplexMode(), cursor.getInt(cursor.getColumnIndex(DUPLEX_MODE))); in verifyServiceStateWithPublicColumns()
386 assertEquals(voiceRegState, cursor.getInt(0)); in verifyServiceStateForSubId()
387 assertEquals(dataRegState, cursor.getInt(1)); in verifyServiceStateForSubId()
388 assertEquals(voiceRoamingType, cursor.getInt(2)); in verifyServiceStateForSubId()
389 assertEquals(dataRoamingType, cursor.getInt(3)); in verifyServiceStateForSubId()
396 assertEquals(isManualNetworkSelection, cursor.getInt(10)); in verifyServiceStateForSubId()
397 assertEquals(rilVoiceRadioTechnology, cursor.getInt(11)); in verifyServiceStateForSubId()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java68 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/
DWalletPluginServiceTest.java50 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/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DMultiActionPreferenceTest.java72 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_one), in onBindViewHolder_actionItemsNullByDefault()
74 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_two), in onBindViewHolder_actionItemsNullByDefault()
76 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_three), in onBindViewHolder_actionItemsNullByDefault()
92 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_one), in onBindViewHolder_toggleButtons_attributesVisible()
94 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_two), in onBindViewHolder_toggleButtons_attributesVisible()
96 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_three), in onBindViewHolder_toggleButtons_attributesVisible()
118 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_one), in onBindViewHolder_toggleButtons_attributesEnabled()
120 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_two), in onBindViewHolder_toggleButtons_attributesEnabled()
122 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_three), in onBindViewHolder_toggleButtons_attributesEnabled()
147 when(mTypedArray.getInt(eq(R.styleable.MultiActionPreference_action_item_one), in onBindViewHolder_toggleButtons_attributesNotVisible()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java216 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/
DNinePatchChunk.java39 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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastContentProviderTest.java240 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.GEOGRAPHICAL_SCOPE))) in testInsertQuery()
244 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.LAC))).isEqualTo(LAC); in testInsertQuery()
245 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CID))).isEqualTo(CID); in testInsertQuery()
246 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERIAL_NUMBER))) in testInsertQuery()
248 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.SERVICE_CATEGORY))) in testInsertQuery()
254 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.MESSAGE_PRIORITY))) in testInsertQuery()
256 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.ETWS_WARNING_TYPE))) in testInsertQuery()
258 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_MESSAGE_CLASS))) in testInsertQuery()
260 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_CATEGORY))) in testInsertQuery()
262 assertThat(cursor.getInt(cursor.getColumnIndexOrThrow(CellBroadcasts.CMAS_RESPONSE_TYPE))) in testInsertQuery()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java223 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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferences.java108 return mSharedPreferences.getInt(KEY_NAVIGATION_BAR_BACKGROUND_COLOR, 0); in getNavigationBarColor()
124 return mSharedPreferences.getInt(KEY_NAVIGATION_BAR_DIVIDER_COLOR, 0); in getNavigationBarDividerColor()
140 return mSharedPreferences.getInt(KEY_TEXT_PRIMARY_COLOR, 0); in getTextPrimaryColor()
156 return mSharedPreferences.getInt(KEY_TEXT_SECONDARY_COLOR, 0); in getTextSecondaryColor()
172 return mSharedPreferences.getInt(KEY_BACKGROUND_COLOR, 0); in getBackgroundColor()
188 return mSharedPreferences.getInt(KEY_ACCENT_COLOR, 0); in getAccentColor()
204 return mSharedPreferences.getInt(KEY_NOTIFICATION_BACKGROUND_COLOR, 0); in getNotificationBackgroundColor()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt95 mYear = c.getInt(Alarm.INSTANCE_YEAR_INDEX)
96 mMonth = c.getInt(Alarm.INSTANCE_MONTH_INDEX)
97 mDay = c.getInt(Alarm.INSTANCE_DAY_INDEX)
98 mHour = c.getInt(Alarm.INSTANCE_HOUR_INDEX)
99 mMinute = c.getInt(Alarm.INSTANCE_MINUTE_INDEX)
101 mVibrate = c.getInt(Alarm.INSTANCE_VIBRATE_INDEX) == 1
104 mYear = c.getInt(YEAR_INDEX)
105 mMonth = c.getInt(MONTH_INDEX)
106 mDay = c.getInt(DAY_INDEX)
107 mHour = c.getInt(HOUR_INDEX)
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPolicy.java236 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/sms/
DMmsConfig.java178 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/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.java88 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/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java114 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/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java176 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/datamodel/action/
DProcessDownloadedMmsAction.java115 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()
337 final int status = response.getInt(BUNDLE_REQUEST_STATUS); in processBackgroundResponse()
338 final int rawStatus = response.getInt(BUNDLE_RAW_TELEPHONY_STATUS); in processBackgroundResponse()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEnterpriseContactsCursorWrapperTest.java215 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()

12345678910>>...57