/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | DeviceConfigFacade.java | 225 mAbnormalConnectionDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 229 mDataStallDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 231 mDataStallTxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 233 mDataStallRxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 235 mDataStallTxPerThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 237 mDataStallCcaLevelThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 245 mTxTputSufficientLowThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 247 mTxTputSufficientHighThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 249 mRxTputSufficientLowThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() 251 mRxTputSufficientHighThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags() [all …]
|
/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 …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | DeviceConfigFacadeTest.java | 80 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/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | FrameworkAppSearchConfig.java | 198 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_DEFAULT, DEFAULT_SAMPLING_INTERVAL); in getCachedSamplingIntervalDefault() 206 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_BATCH_CALL_STATS, in getCachedSamplingIntervalForBatchCallStats() 215 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_PUT_DOCUMENT_STATS, in getCachedSamplingIntervalForPutDocumentStats() 224 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_INITIALIZE_STATS, in getCachedSamplingIntervalForInitializeStats() 233 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_SEARCH_STATS, in getCachedSamplingIntervalForSearchStats() 242 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_GLOBAL_SEARCH_STATS, in getCachedSamplingIntervalForGlobalSearchStats() 251 return mBundleLocked.getInt(KEY_SAMPLING_INTERVAL_FOR_OPTIMIZE_STATS, in getCachedSamplingIntervalForOptimizeStats() 260 return mBundleLocked.getInt(KEY_LIMIT_CONFIG_MAX_DOCUMENT_SIZE_BYTES, in getCachedLimitConfigMaxDocumentSizeBytes() 269 return mBundleLocked.getInt(KEY_LIMIT_CONFIG_MAX_DOCUMENT_COUNT, in getCachedLimitConfigMaxDocumentCount() 278 return mBundleLocked.getInt(KEY_BYTES_OPTIMIZE_THRESHOLD, in getCachedBytesOptimizeThreshold() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastCursorAdapter.java | 70 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/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 614 int macAddressMode = bundle.getInt(KEY_MAC_ADDRESS_MODE); in parseBundleVersion1() 632 .setSessionId(bundle.getInt(KEY_SESSION_ID)) in parseBundleVersion1() 633 .setDeviceType(bundle.getInt(KEY_DEVICE_TYPE)) in parseBundleVersion1() 634 .setDeviceRole(bundle.getInt(KEY_DEVICE_ROLE)) in parseBundleVersion1() 635 .setRangingRoundUsage(bundle.getInt(KEY_RANGING_ROUND_USAGE)) in parseBundleVersion1() 636 .setMultiNodeMode(bundle.getInt(KEY_MULTI_NODE_MODE)) in parseBundleVersion1() 639 .setInitiationTimeMs(bundle.getInt(KEY_INITIATION_TIME_MS)) in parseBundleVersion1() 640 .setSlotDurationRstu(bundle.getInt(KEY_SLOT_DURATION_RSTU)) in parseBundleVersion1() 641 .setSlotsPerRangingRound(bundle.getInt(KEY_SLOTS_PER_RANGING_ROUND)) in parseBundleVersion1() 642 .setRangingIntervalMs(bundle.getInt(KEY_RANGING_INTERVAL_MS)) in parseBundleVersion1() [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/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletPluginServiceTest.java | 47 assertThat(Settings.Secure.getInt( in onCreate_serviceAvailable_enablesFeatureInSettings() 49 assertThat(Settings.Secure.getInt( in onCreate_serviceAvailable_enablesFeatureInSettings() 60 assertThat(Settings.Secure.getInt( in onCreate_serviceUnavailable_disablesFeatureInSettings() 62 assertThat(Settings.Secure.getInt( in onCreate_serviceUnavailable_disablesFeatureInSettings() 73 assertThat(Settings.Secure.getInt( in onCreate_doesNotOverridePanelEnabledSettingIfOff() 82 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 84 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 90 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 92 assertThat(Settings.Secure.getInt( in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() 101 assertThat(Settings.Secure.getInt( in onPanelShown_wasAvailable_nowUnavailable_updatesFeatureAvailabilityInSettings() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ImsProvisioningLoaderTest.java | 103 new String[]{IMS_FEATURE_MMTEL + "," + TECH_IWLAN + "," + CAPA_VOICE + "," + getInt( in testSetProvisioningStatus_ExistFeature() 109 assertEquals(getXmlContents(SUB_ID_1), getInt(true), curValue); in testSetProvisioningStatus_ExistFeature() 117 assertEquals(getXmlContents(SUB_ID_1), getInt(false), curValue); in testSetProvisioningStatus_ExistFeature() 125 assertEquals(getXmlContents(SUB_ID_1), getInt(false), curValue); in testSetProvisioningStatus_ExistFeature() 138 assertEquals(getXmlContents(SUB_ID_1), getInt(true), curValue); in testSetProvisioningStatus_NewFeature() 146 assertEquals(getXmlContents(SUB_ID_1), getInt(false), curValue); in testSetProvisioningStatus_NewFeature() 161 assertEquals(getXmlContents(SUB_ID_2), getInt(!prevValue), curValue); in testSetProvisioningStatus_DifferentSim() 170 assertEquals(getXmlContents(SUB_ID_2), getInt(!prevValue), curValue); in testSetProvisioningStatus_DifferentSim() 177 doReturn(1).when(mSharedPreferences).getInt(anyString(), anyInt()); in testGetProvisioningStatus_UtProvisioningStatusIsExistInPref() 180 assertEquals(getXmlContents(SUB_ID_1), getInt(true), curValue); in testGetProvisioningStatus_UtProvisioningStatusIsExistInPref() [all …]
|
D | ServiceStateProviderTest.java | 434 cursor.getInt(cursor.getColumnIndex(VOICE_REG_STATE))); in verifyServiceStateWithPublicColumns() 436 cursor.getInt(cursor.getColumnIndex(DATA_REG_STATE))); in verifyServiceStateWithPublicColumns() 440 cursor.getInt(cursor.getColumnIndex(DATA_NETWORK_TYPE))); in verifyServiceStateWithPublicColumns() 441 assertEquals(ss.getDuplexMode(), cursor.getInt(cursor.getColumnIndex(DUPLEX_MODE))); in verifyServiceStateWithPublicColumns() 478 assertEquals(voiceRegState, cursor.getInt(0)); in verifyServiceStateForSubId() 479 assertEquals(dataRegState, cursor.getInt(1)); in verifyServiceStateForSubId() 480 assertEquals(voiceRoamingType, cursor.getInt(2)); in verifyServiceStateForSubId() 481 assertEquals(dataRoamingType, cursor.getInt(3)); in verifyServiceStateForSubId() 488 assertEquals(isManualNetworkSelection, cursor.getInt(10)); in verifyServiceStateForSubId() 489 assertEquals(rilVoiceRadioTechnology, cursor.getInt(11)); in verifyServiceStateForSubId() [all …]
|
/packages/modules/StatsD/framework/test/unittests/src/android/util/ |
D | StatsEventTest.java | 69 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testNoFields() 74 final int errorMask = buffer.getInt(); in testNoFields() 116 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testOnlyAtomId() 163 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testIntBooleanIntInt() 169 .that(buffer.getInt()).isEqualTo(field1); in testIntBooleanIntInt() 181 .that(buffer.getInt()).isEqualTo(field3); in testIntBooleanIntInt() 187 .that(buffer.getInt()).isEqualTo(field4); in testIntBooleanIntInt() 232 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testStringFloatByteArray() 296 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testAttributionChainLong() 306 .that(buffer.getInt()).isEqualTo(uids[i]); in testAttributionChainLong() [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/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | MultiActionPreferenceTest.java | 72 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/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/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/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | Characteristics.java | 73 return mCharacteristics.getInt(KEY_MAX_SERVICE_NAME_LENGTH); in getMaxServiceNameLength() 88 return mCharacteristics.getInt(KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH); in getMaxServiceSpecificInfoLength() 100 return mCharacteristics.getInt(KEY_MAX_MATCH_FILTER_LENGTH); in getMaxMatchFilterLength() 110 return mCharacteristics.getInt(KEY_MAX_NDI_NUMBER); in getNumberOfSupportedDataInterfaces() 122 return mCharacteristics.getInt(KEY_MAX_PUBLISH_NUMBER); in getNumberOfSupportedPublishSessions() 134 return mCharacteristics.getInt(KEY_MAX_SUBSCRIBE_NUMBER); in getNumberOfSupportedSubscribeSessions() 147 return mCharacteristics.getInt(KEY_MAX_NDP_NUMBER); in getNumberOfSupportedDataPaths() 207 return mCharacteristics.getInt(KEY_SUPPORTED_CIPHER_SUITES); in getSupportedCipherSuites()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | SearchSpecInternalTest.java | 45 assertThat(bundle.getInt(SearchSpec.TERM_MATCH_TYPE_FIELD)) in testGetBundle() 53 assertThat(bundle.getInt(SearchSpec.SNIPPET_COUNT_FIELD)).isEqualTo(5); in testGetBundle() 54 assertThat(bundle.getInt(SearchSpec.SNIPPET_COUNT_PER_PROPERTY_FIELD)).isEqualTo(10); in testGetBundle() 55 assertThat(bundle.getInt(SearchSpec.MAX_SNIPPET_FIELD)).isEqualTo(15); in testGetBundle() 56 assertThat(bundle.getInt(SearchSpec.NUM_PER_PAGE_FIELD)).isEqualTo(42); in testGetBundle() 57 assertThat(bundle.getInt(SearchSpec.ORDER_FIELD)).isEqualTo(SearchSpec.ORDER_ASCENDING); in testGetBundle() 58 assertThat(bundle.getInt(SearchSpec.RANKING_STRATEGY_FIELD)) in testGetBundle()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastContentProviderTest.java | 240 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/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 155 itemType = getInt(mItemTypeIndex); in moveToNext() 156 container = getInt(mContainerIndex); in moveToNext() 157 id = getInt(mIdIndex); in moveToNext() 158 serialNumber = getInt(mProfileIdIndex); in moveToNext() 160 restoreFlag = getInt(mRestoredIndex); in moveToNext() 227 return getInt(mAppWidgetIdIndex); in getAppWidgetId() 241 return getInt(mSpanXIndex); in getSpanX() 248 return getInt(mSpanYIndex); in getSpanY() 255 return getInt(mRankIndex); in getRank() 262 return getInt(mOptionsIndex); in getOptions() [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/Launcher3/tests/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtilTest.kt | 156 assertThat(c.getInt(screenIndex).toLong()).isEqualTo(0) in <lambda>() 159 assertThat(c.getInt(screenIndex).toLong()).isEqualTo(1) in <lambda>() 162 assertThat(c.getInt(screenIndex).toLong()).isEqualTo(2) in <lambda>() 165 assertThat(c.getInt(screenIndex).toLong()).isEqualTo(3) in <lambda>() 187 Point(c.getInt(cellXIndex), c.getInt(cellYIndex)) in <lambda>() 421 assertThat(c.getInt(screenIndex).toLong()).isEqualTo(idx) in <lambda>() 436 Triple(c.getInt(screenIndex), c.getInt(cellXIndex), c.getInt(cellYIndex)) in <lambda>() 484 assertThat(c.getInt(screenIndex)).isEqualTo(0) in <lambda>() 488 assertThat(c.getInt(screenIndex)).isEqualTo(1) in <lambda>() 492 assertThat(c.getInt(screenIndex)).isEqualTo(2) in <lambda>() [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/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 112 return mSharedPreferences.getInt(KEY_NAVIGATION_BAR_BACKGROUND_COLOR, 0); in getNavigationBarColor() 128 return mSharedPreferences.getInt(KEY_NAVIGATION_BAR_DIVIDER_COLOR, 0); in getNavigationBarDividerColor() 144 return mSharedPreferences.getInt(KEY_TEXT_PRIMARY_COLOR, 0); in getTextPrimaryColor() 160 return mSharedPreferences.getInt(KEY_TEXT_SECONDARY_COLOR, 0); in getTextSecondaryColor() 176 return mSharedPreferences.getInt(KEY_BACKGROUND_COLOR, 0); in getBackgroundColor() 192 return mSharedPreferences.getInt(KEY_ACCENT_COLOR, 0); in getAccentColor() 208 return mSharedPreferences.getInt(KEY_NOTIFICATION_BACKGROUND_COLOR, 0); in getNotificationBackgroundColor()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | SettingsManager.java | 82 return sharedPref.getInt(KEY_FAILURE_BYTES, 0) < FAILURE_DATA_USAGE_MAX; in hasErrDataBudget() 95 return sharedPref.getInt(KEY_FAILURE_BYTES, 0); in getErrDataBudgetConsumed() 114 budgetUsed = Math.addExact(sharedPref.getInt(KEY_FAILURE_BYTES, 0), bytesTransacted); in consumeErrDataBudget() 147 return sharedPref.getInt(KEY_ID, rand.nextInt(ID_UPPER_BOUND) /* defaultValue */); in getId() 177 && sharedPref.getInt(KEY_EXTRA_KEYS, -5) != extraKeys) { in setDeviceConfig() 202 return sharedPref.getInt(KEY_EXTRA_KEYS, EXTRA_SIGNED_KEYS_AVAILABLE_DEFAULT); in getExtraSignedKeysAvailable() 243 int failures = sharedPref.getInt(KEY_FAILURE_COUNTER, 0 /* defaultValue */); in incrementFailureCounter() 255 return sharedPref.getInt(KEY_FAILURE_COUNTER, 0 /* defaultValue */); in getFailureCounter() 264 if (sharedPref.getInt(KEY_FAILURE_COUNTER, 0) != 0) { in clearFailureCounter()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/ |
D | CccOpenRangingParams.java | 136 .setUwbConfig(bundle.getInt(KEY_UWB_CONFIG)) in parseBundleVersion1() 140 .setSessionId(bundle.getInt(KEY_SESSION_ID)) in parseBundleVersion1() 141 .setRanMultiplier(bundle.getInt(KEY_RAN_MULTIPLIER)) in parseBundleVersion1() 142 .setChannel(bundle.getInt(KEY_CHANNEL)) in parseBundleVersion1() 143 .setNumChapsPerSlot(bundle.getInt(KEY_NUM_CHAPS_PER_SLOT)) in parseBundleVersion1() 144 .setNumResponderNodes(bundle.getInt(KEY_NUM_RESPONDER_NODES)) in parseBundleVersion1() 145 .setNumSlotsPerRound(bundle.getInt(KEY_NUM_SLOTS_PER_ROUND)) in parseBundleVersion1() 146 .setSyncCodeIndex(bundle.getInt(KEY_SYNC_CODE_INDEX)) in parseBundleVersion1() 147 .setHoppingConfigMode(bundle.getInt(KEY_HOPPING_CONFIG_MODE)) in parseBundleVersion1() 148 .setHoppingSequence(bundle.getInt(KEY_HOPPING_SEQUENCE)) in parseBundleVersion1()
|