/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataStallRecoveryStats.java | 443 bundle.putInt("Action", action); in getDataStallRecoveryMetricsData() 444 bundle.putInt("IsRecovered", isRecovered ? 1 : 0); in getDataStallRecoveryMetricsData() 445 bundle.putInt("Duration", duration); in getDataStallRecoveryMetricsData() 446 bundle.putInt("Reason", reason); in getDataStallRecoveryMetricsData() 447 bundle.putInt("DurationOfAction", durationOfAction); in getDataStallRecoveryMetricsData() 448 bundle.putInt("ValidationCount", validationCount); in getDataStallRecoveryMetricsData() 449 bundle.putInt("ActionValidationCount", actionValidationCount); in getDataStallRecoveryMetricsData() 450 bundle.putInt("PhoneId", mPhoneId); in getDataStallRecoveryMetricsData() 451 bundle.putInt("CarrierId", mCarrierId); in getDataStallRecoveryMetricsData() 452 bundle.putInt("MccMnc", mConvertedMccMnc); in getDataStallRecoveryMetricsData() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 54 buffer.putInt(mVersion); in serialize() 55 buffer.putInt(mMetrics.credType); in serialize() 56 buffer.putInt(mMetrics.length); in serialize() 57 buffer.putInt(mMetrics.letters); in serialize() 58 buffer.putInt(mMetrics.upperCase); in serialize() 59 buffer.putInt(mMetrics.lowerCase); in serialize() 60 buffer.putInt(mMetrics.numeric); in serialize() 61 buffer.putInt(mMetrics.symbols); in serialize() 62 buffer.putInt(mMetrics.nonLetter); in serialize() 63 buffer.putInt(mMetrics.nonNumeric); in serialize() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CarrierConfigManager.java | 4429 sDefaults.putInt(KEY_ENTRY_THRESHOLD_SS_RSRP_INT, -111); in getDefaults() 4438 sDefaults.putInt(KEY_EXIT_THRESHOLD_SS_RSRP_INT, -120); in getDefaults() 4862 defaults.putInt(KEY_ENTITLEMENT_VERSION_INT, 2); in getDefaults() 5045 defaults.putInt(KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT, in getDefaults() 6002 defaults.putInt(KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT, 4000); in getDefaults() 6012 defaults.putInt(KEY_NON_RCS_CAPABILITIES_CACHE_EXPIRATION_SEC_INT, 30 * 24 * 60 * 60); in getDefaults() 6052 defaults.putInt(KEY_SIP_TIMER_T1_MILLIS_INT, 2000); in getDefaults() 6053 defaults.putInt(KEY_SIP_TIMER_T2_MILLIS_INT, 16000); in getDefaults() 6054 defaults.putInt(KEY_SIP_TIMER_T4_MILLIS_INT, 17000); in getDefaults() 6055 defaults.putInt(KEY_SIP_TIMER_B_MILLIS_INT, 128000); in getDefaults() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | WifiPowerStatsLayout.java | 206 extras.putInt(EXTRA_DEVICE_RX_TIME_POSITION, mDeviceRxTimePosition); in toExtras() 207 extras.putInt(EXTRA_DEVICE_TX_TIME_POSITION, mDeviceTxTimePosition); in toExtras() 208 extras.putInt(EXTRA_DEVICE_SCAN_TIME_POSITION, mDeviceScanTimePosition); in toExtras() 209 extras.putInt(EXTRA_DEVICE_BASIC_SCAN_TIME_POSITION, mDeviceBasicScanTimePosition); in toExtras() 210 extras.putInt(EXTRA_DEVICE_BATCHED_SCAN_TIME_POSITION, mDeviceBatchedScanTimePosition); in toExtras() 211 extras.putInt(EXTRA_DEVICE_IDLE_TIME_POSITION, mDeviceIdleTimePosition); in toExtras() 212 extras.putInt(EXTRA_DEVICE_ACTIVE_TIME_POSITION, mDeviceActiveTimePosition); in toExtras() 213 extras.putInt(EXTRA_UID_RX_BYTES_POSITION, mUidRxBytesPosition); in toExtras() 214 extras.putInt(EXTRA_UID_TX_BYTES_POSITION, mUidTxBytesPosition); in toExtras() 215 extras.putInt(EXTRA_UID_RX_PACKETS_POSITION, mUidRxPacketsPosition); in toExtras() [all …]
|
D | MobileRadioPowerStatsLayout.java | 186 extras.putInt(EXTRA_DEVICE_SLEEP_TIME_POSITION, mDeviceSleepTimePosition); in toExtras() 187 extras.putInt(EXTRA_DEVICE_IDLE_TIME_POSITION, mDeviceIdleTimePosition); in toExtras() 188 extras.putInt(EXTRA_DEVICE_SCAN_TIME_POSITION, mDeviceScanTimePosition); in toExtras() 189 extras.putInt(EXTRA_DEVICE_CALL_TIME_POSITION, mDeviceCallTimePosition); in toExtras() 190 extras.putInt(EXTRA_DEVICE_CALL_POWER_POSITION, mDeviceCallPowerPosition); in toExtras() 191 extras.putInt(EXTRA_STATE_RX_TIME_POSITION, mStateRxTimePosition); in toExtras() 192 extras.putInt(EXTRA_STATE_TX_TIMES_POSITION, mStateTxTimesPosition); in toExtras() 193 extras.putInt(EXTRA_STATE_TX_TIMES_COUNT, mStateTxTimesCount); in toExtras() 194 extras.putInt(EXTRA_UID_RX_BYTES_POSITION, mUidRxBytesPosition); in toExtras() 195 extras.putInt(EXTRA_UID_TX_BYTES_POSITION, mUidTxBytesPosition); in toExtras() [all …]
|
D | BluetoothPowerStatsLayout.java | 121 extras.putInt(EXTRA_DEVICE_RX_TIME_POSITION, mDeviceRxTimePosition); in toExtras() 122 extras.putInt(EXTRA_DEVICE_TX_TIME_POSITION, mDeviceTxTimePosition); in toExtras() 123 extras.putInt(EXTRA_DEVICE_IDLE_TIME_POSITION, mDeviceIdleTimePosition); in toExtras() 124 extras.putInt(EXTRA_DEVICE_SCAN_TIME_POSITION, mDeviceScanTimePosition); in toExtras() 125 extras.putInt(EXTRA_UID_RX_BYTES_POSITION, mUidRxBytesPosition); in toExtras() 126 extras.putInt(EXTRA_UID_TX_BYTES_POSITION, mUidTxBytesPosition); in toExtras() 127 extras.putInt(EXTRA_UID_SCAN_TIME_POSITION, mUidScanTimePosition); in toExtras()
|
D | CpuPowerStatsLayout.java | 144 extras.putInt(EXTRA_DEVICE_TIME_BY_SCALING_STEP_POSITION, in toExtras() 146 extras.putInt(EXTRA_DEVICE_TIME_BY_SCALING_STEP_COUNT, in toExtras() 148 extras.putInt(EXTRA_DEVICE_TIME_BY_CLUSTER_POSITION, in toExtras() 150 extras.putInt(EXTRA_DEVICE_TIME_BY_CLUSTER_COUNT, in toExtras() 152 extras.putInt(EXTRA_UID_BRACKETS_POSITION, mUidPowerBracketsPosition); in toExtras()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleHello.java | 148 out.putInt(CLIENT_PROTOCOL_VERSION); in handleHELO() 149 out.putInt(android.os.Process.myPid()); in handleHELO() 150 out.putInt(vmIdent.length()); in handleHELO() 151 out.putInt(appName.length()); in handleHELO() 154 out.putInt(UserHandle.myUserId()); in handleHELO() 155 out.putInt(instructionSetDescription.length()); in handleHELO() 157 out.putInt(vmFlags.length()); in handleHELO() 160 out.putInt(pkgName.length()); in handleHELO() 165 out.putInt(DdmSyncState.getStage().toInt()); in handleHELO() 201 out.putInt(vmFeatures.length + fmFeatures.length); in handleFEAT() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | MockScrypt.java | 37 byteBuffer.putInt(password.length); in scrypt() 39 byteBuffer.putInt(salt.length); in scrypt() 41 byteBuffer.putInt(n); in scrypt() 42 byteBuffer.putInt(r); in scrypt() 43 byteBuffer.putInt(p); in scrypt() 44 byteBuffer.putInt(outLen); in scrypt()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 143 Secure.putInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, count); in setPowerSaveMode() 190 enabledReasonExtras.putInt(EXTRA_POWER_SAVE_MODE_MANUAL_ENABLED_REASON, reason); in recordBatterySaverEnabledReason() 204 Secure.putInt(context.getContentResolver(), in setBatterySaverConfirmationAcknowledged() 206 Secure.putInt(context.getContentResolver(), in setBatterySaverConfirmationAcknowledged() 214 Secure.putInt(context.getContentResolver(), in suppressAutoBatterySaver() 225 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 249 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded() 250 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() 286 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setBatterySaverScheduleMode() 288 Settings.Global.putInt(resolver, Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in setBatterySaverScheduleMode() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | FakeSharedPreferencesTest.kt | 109 Data("keyInt", 10, SharedPreferences.Editor::putInt, { getInt(it, 0) }), in <lambda>() 137 sharedPreferences.edit().putInt("key", 10).commit() in <lambda>() 145 sharedPreferences.edit().putInt("key", 10).commit() in <lambda>() 146 sharedPreferences.edit().putInt("key", 11).commit() in <lambda>() 177 sharedPreferences.edit().putInt("keyInt", 1).putString("keyString", "a").commit() in <lambda>() 186 sharedPreferences.edit().putInt("key", 10).commit() in <lambda>() 187 sharedPreferences.edit().putInt("key", 11).clear().commit() in <lambda>() 196 sharedPreferences.edit().putInt("keyInt", 10).putString("keyString", "value").commit() in <lambda>() 205 sharedPreferences.edit().putInt("keyInt", 10).commit() in <lambda>() 233 sharedPreferences.edit().putInt("key", 10).commit() in <lambda>() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 101 Secure.putInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_secondCall_expectUpdateIntent() 102 Secure.putInt(mMockResolver, Secure.EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_secondCall_expectUpdateIntent() 124 Secure.putInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent() 125 Secure.putInt(mMockResolver, Secure.EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent() 126 Secure.putInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 1); in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent() 147 Secure.putInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning() 148 Secure.putInt(mMockResolver, Secure.EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED, 1); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning() 149 Secure.putInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 3); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning() 201 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 234 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testGetBatterySaverScheduleKey_returnExpectedKey() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRecommendedStreamConfiguration.java | 47 buffer.putInt(value.getWidth()); in marshal() 48 buffer.putInt(value.getHeight()); in marshal() 49 buffer.putInt(value.getFormat()); in marshal() 50 buffer.putInt(value.isInput() ? 1 : 0); in marshal() 51 buffer.putInt(value.getUsecaseBitmap()); in marshal()
|
D | MarshalQueryableHighSpeedVideoConfiguration.java | 48 buffer.putInt(value.getWidth()); in marshal() 49 buffer.putInt(value.getHeight()); in marshal() 50 buffer.putInt(value.getFpsMin()); in marshal() 51 buffer.putInt(value.getFpsMax()); in marshal() 52 buffer.putInt(value.getBatchSizeMax()); in marshal()
|
D | MarshalQueryableMeteringRectangle.java | 49 buffer.putInt(xMin); in marshal() 50 buffer.putInt(yMin); in marshal() 51 buffer.putInt(xMax); in marshal() 52 buffer.putInt(yMax); in marshal() 53 buffer.putInt(weight); in marshal()
|
D | MarshalQueryableStreamConfiguration.java | 46 buffer.putInt(value.getFormat()); in marshal() 47 buffer.putInt(value.getWidth()); in marshal() 48 buffer.putInt(value.getHeight()); in marshal() 49 buffer.putInt(value.isInput() ? 1 : 0); in marshal()
|
D | MarshalQueryableRect.java | 42 buffer.putInt(value.left); in marshal() 43 buffer.putInt(value.top); in marshal() 44 buffer.putInt(value.width()); in marshal() 45 buffer.putInt(value.height()); in marshal()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 118 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 122 sp.edit().putInt(KEY_LAST_BOOT_COUNT, mLastBootCount).apply(); in tearDown() 131 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testIsBootUp() 134 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp() 138 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp() 139 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 1); in testIsBootUp() 142 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 2).apply(); in testIsBootUp() 205 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_Present() 219 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_NotPresent() 232 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testStartOtaUpdatingIfNecessary_notBootUp() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 427 .putInt((int) 0) // total size in bytes (filled in later) in Item() 428 .putInt((int) mHeaderSize) // size of header in Item() 432 .putInt(pid) in Item() 433 .putInt(uid) in Item() 438 mBuffer.putInt(0); // number of properties (to be later filled in by record()). in Item() 451 putInt(key.getName(), (int) value); in set() 470 public Item putInt(String key, int value) { in putInt() method in Item 477 .putInt(value); in putInt() 563 mBuffer.putInt(mPidOffset, pid); // pid location in byte string. in setPid() 579 mBuffer.putInt(mUidOffset, uid); // uid location in byte string. in setUid() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 59 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut() 60 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut() 61 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut() 62 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut() 63 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut() 64 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut() 65 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | InlinePresentationStyleUtilsTest.java | 103 bundle2.putInt("KEY_B", 12); in testBundleEquals_sameKeyDifferentType() 111 bundle1.putInt("KEY", 11); in testBundleEquals_primitiveValue_equal() 113 bundle2.putInt("KEY", 11); in testBundleEquals_primitiveValue_equal() 120 bundle1.putInt("KEY", 11); in testBundleEquals_primitiveValue_unequal() 122 bundle2.putInt("KEY", 22); in testBundleEquals_primitiveValue_unequal() 135 bundle.putInt("int", 11); in testFilterContentTypes_basic() 149 bundle.putInt("int", 11); in testFilterContentTypes_binder_removedBinder()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ReviewNotificationPermissionsReceiverTest.java | 72 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_firstTime() 96 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_laterTimes() 121 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_dismiss() 142 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_notificationCanceled_firstSwipe() 166 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_notificationCanceled_secondSwipe() 190 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_notificationCanceled_fromDismiss()
|
/frameworks/base/core/java/android/net/vcn/ |
D | VcnUnderlyingNetworkTemplate.java | 184 result.putInt(NETWORK_PRIORITY_TYPE_KEY, mNetworkPriorityType); in toPersistableBundle() 185 result.putInt(METERED_MATCH_KEY, mMeteredMatchCriteria); in toPersistableBundle() 186 result.putInt(MIN_ENTRY_UPSTREAM_BANDWIDTH_KBPS_KEY, mMinEntryUpstreamBandwidthKbps); in toPersistableBundle() 187 result.putInt(MIN_EXIT_UPSTREAM_BANDWIDTH_KBPS_KEY, mMinExitUpstreamBandwidthKbps); in toPersistableBundle() 188 result.putInt(MIN_ENTRY_DOWNSTREAM_BANDWIDTH_KBPS_KEY, mMinEntryDownstreamBandwidthKbps); in toPersistableBundle() 189 result.putInt(MIN_EXIT_DOWNSTREAM_BANDWIDTH_KBPS_KEY, mMinExitDownstreamBandwidthKbps); in toPersistableBundle()
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaCellLocation.java | 227 bundleToFill.putInt("baseStationId", this.mBaseStationId); in fillInNotifierBundle() 228 bundleToFill.putInt("baseStationLatitude", this.mBaseStationLatitude); in fillInNotifierBundle() 229 bundleToFill.putInt("baseStationLongitude", this.mBaseStationLongitude); in fillInNotifierBundle() 230 bundleToFill.putInt("systemId", this.mSystemId); in fillInNotifierBundle() 231 bundleToFill.putInt("networkId", this.mNetworkId); in fillInNotifierBundle()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 64 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAlwaysPrompt() 78 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testForever() 92 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 45); in testSpecificDuration() 105 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseAlwaysPromptSetting() 119 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseForeverSetting() 133 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseTimeSetting() 148 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testGetTimeFromBucket() 213 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAccessibility()
|