/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A 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 …]
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | CarrierConfigManager.java | 7401 text_codec_capability_payload_types.putInt( in getDefaults() 7405 text_codec_capability_payload_types.putInt( in getDefaults() 8179 h264_bundle_instance2.putInt( in getDefaults() 9171 defaults.putInt(KEY_MAX_RETRIES_INT, 3); in getDefaults() 9968 sDefaults.putInt(KEY_VVM_PORT_NUMBER_INT, 0); in sDefaults.putInt() 9994 sDefaults.putInt(KEY_DEFAULT_MTU_INT, 1500); in sDefaults.putInt() 10116 sDefaults.putInt( in sDefaults.putInt() 10202 sDefaults.putInt(IMSI_KEY_AVAILABILITY_INT, 0); in sDefaults.putInt() 10451 sDefaults.putInt(KEY_GBA_MODE_INT, GBA_ME); in sDefaults.putInt() 10505 sDefaults.putInt(KEY_DEFAULT_RTT_MODE_INT, 0); in sDefaults.putInt() [all …]
|
/aosp14/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleHello.java | 150 out.putInt(CLIENT_PROTOCOL_VERSION); in handleHELO() 151 out.putInt(android.os.Process.myPid()); in handleHELO() 152 out.putInt(vmIdent.length()); in handleHELO() 153 out.putInt(appName.length()); in handleHELO() 156 out.putInt(UserHandle.myUserId()); in handleHELO() 157 out.putInt(instructionSetDescription.length()); in handleHELO() 159 out.putInt(vmFlags.length()); in handleHELO() 162 out.putInt(pkgName.length()); in handleHELO() 196 out.putInt(vmFeatures.length + FRAMEWORK_FEATURES.length); in handleFEAT() 198 out.putInt(vmFeatures[i].length()); in handleFEAT() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
H A D | FakeSharedPreferencesTest.kt | 109 Data("keyInt", 10, SharedPreferences.Editor::putInt, { getInt(it, 0) }), 137 sharedPreferences.edit().putInt("key", 10).commit() 145 sharedPreferences.edit().putInt("key", 10).commit() 146 sharedPreferences.edit().putInt("key", 11).commit() 177 sharedPreferences.edit().putInt("keyInt", 1).putString("keyString", "a").commit() 186 sharedPreferences.edit().putInt("key", 10).commit() 187 sharedPreferences.edit().putInt("key", 11).clear().commit() 196 sharedPreferences.edit().putInt("keyInt", 10).putString("keyString", "value").commit() 205 sharedPreferences.edit().putInt("keyInt", 10).commit() 233 sharedPreferences.edit().putInt("key", 10).commit() [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
H A D | BatterySaverUtils.java | 144 Secure.putInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, count); in setPowerSaveMode() 191 enabledReasonExtras.putInt(EXTRA_POWER_SAVE_MODE_MANUAL_ENABLED_REASON, reason); in recordBatterySaverEnabledReason() 215 Secure.putInt(context.getContentResolver(), in suppressAutoBatterySaver() 226 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 250 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded() 251 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() 287 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setBatterySaverScheduleMode() 289 Settings.Global.putInt(resolver, Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in setBatterySaverScheduleMode() 292 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setBatterySaverScheduleMode() 294 Settings.Global.putInt(resolver, in setBatterySaverScheduleMode()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
H A D | BatterySaverUtilsTest.java | 101 Secure.putInt(mMockResolver, Secure.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() 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() 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() 235 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey() 241 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 20); in testGetBatterySaverScheduleKey_returnExpectedKey() 242 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey() 248 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 20); in testGetBatterySaverScheduleKey_returnExpectedKey() [all …]
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | InlinePresentationStyleUtilsTest.java | 95 bundle2.putInt("KEY_B", 12); in testBundleEquals_sameKeyDifferentType() 103 bundle1.putInt("KEY", 11); in testBundleEquals_primitiveValue_equal() 105 bundle2.putInt("KEY", 11); in testBundleEquals_primitiveValue_equal() 112 bundle1.putInt("KEY", 11); in testBundleEquals_primitiveValue_unequal() 114 bundle2.putInt("KEY", 22); in testBundleEquals_primitiveValue_unequal() 127 bundle.putInt("int", 11); in testFilterContentTypes_basic() 141 bundle.putInt("int", 11); in testFilterContentTypes_binder_removedBinder()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaMetrics.java | 431 .putInt(pid) in Item() 432 .putInt(uid) in Item() 450 putInt(key.getName(), (int) value); in set() 469 public Item putInt(String key, int value) { in putInt() method in Item 476 .putInt(value); in putInt() 711 bundle.putInt(BUNDLE_TOTAL_SIZE, totalSize); in toBundle() 712 bundle.putInt(BUNDLE_HEADER_SIZE, headerSize); in toBundle() 716 bundle.putInt(BUNDLE_PID, pid); in toBundle() 717 bundle.putInt(BUNDLE_UID, uid); in toBundle() 719 bundle.putInt(BUNDLE_PROPERTY_COUNT, propertyCount); in toBundle() [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
H A 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()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
H A D | RadioMetadataTest.java | 97 mBuilder.putInt(invalidIntKey, INT_KEY_VALUE); in putInt_withIllegalKey() 122 RadioMetadata metadata = mBuilder.putInt(key, INT_KEY_VALUE).build(); in containsKey_withKeyInMetadata() 131 RadioMetadata metadata = mBuilder.putInt(key, INT_KEY_VALUE).build(); in containsKey_withKeyNotInMetadata() 140 RadioMetadata metadata = mBuilder.putInt(key, INT_KEY_VALUE).build(); in getInt_withKeyInMetadata() 150 mBuilder.putInt(RadioMetadata.METADATA_KEY_RDS_PI, INT_KEY_VALUE).build(); in getInt_withKeyNotInMetadata() 196 RadioMetadata metadata = mBuilder.putInt(key, INT_KEY_VALUE).build(); in getBitmapId_withKeyInMetadata() 240 .putInt(RadioMetadata.METADATA_KEY_RDS_PI, INT_KEY_VALUE) in size_withNonEmptyMetadata() 259 .putInt(RadioMetadata.METADATA_KEY_RDS_PI, INT_KEY_VALUE) in keySet_withNonEmptyMetadata() 293 .putInt(RadioMetadata.METADATA_KEY_RDS_PI, INT_KEY_VALUE) in equals_forMetadataWithSameContents_returnsTrue() 320 .putInt(RadioMetadata.METADATA_KEY_RDS_PI, INT_KEY_VALUE) in writeToParcel_forRadioMetadata()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/net/vcn/ |
H A 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()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | DeviceProvisionedControllerImplTest.kt | 111 settings.putInt(Settings.Global.DEVICE_PROVISIONED, 1) 119 settings.putInt(Settings.Secure.SECURE_FRP_MODE, 1) 137 settings.putInt(Settings.Global.DEVICE_PROVISIONED, 1) 147 settings.putInt(Settings.Secure.SECURE_FRP_MODE, 1) 237 settings.putInt(Settings.Global.DEVICE_PROVISIONED, 1) 252 settings.putInt(Settings.Secure.SECURE_FRP_MODE, 1) 270 settings.putInt(Settings.Global.DEVICE_PROVISIONED, 1) 271 settings.putInt(Settings.Secure.SECURE_FRP_MODE, 1)
|
/aosp14/frameworks/base/telephony/java/android/telephony/cdma/ |
H A 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()
|
/aosp14/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
H A D | EntryController.java | 211 bundle.putInt(META_DATA_KEY_ORDER, mOrder); in build() 215 bundle.putInt(META_DATA_PREFERENCE_ICON, mIcon); in build() 218 bundle.putInt(META_DATA_PREFERENCE_ICON_BACKGROUND_HINT, mIconBackgroundHint); in build() 221 bundle.putInt(META_DATA_PREFERENCE_ICON_BACKGROUND_ARGB, mIconBackgroundArgb); in build() 228 bundle.putInt(META_DATA_PREFERENCE_TITLE, mTitleId); in build() 234 bundle.putInt(META_DATA_PREFERENCE_SUMMARY, mSummaryId); in build()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
H A D | KeyguardQuickAffordanceLegacySettingSyncerTest.kt | 99 settings.putInt(Settings.Secure.LOCKSCREEN_SHOW_CONTROLS, 0) 100 settings.putInt(Settings.Secure.LOCKSCREEN_SHOW_WALLET, 0) 101 settings.putInt(Settings.Secure.LOCK_SCREEN_SHOW_QR_CODE_SCANNER, 0) 117 settings.putInt( 140 settings.putInt( 144 settings.putInt(
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/ |
H A D | AirplaneModeRepositoryImplTest.kt | 78 settings.putInt(Global.AIRPLANE_MODE_ON, 1) 100 settings.putInt(Global.AIRPLANE_MODE_ON, 0) 104 settings.putInt(Global.AIRPLANE_MODE_ON, 1) 108 settings.putInt(Global.AIRPLANE_MODE_ON, 0)
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ReviewNotificationPermissionsReceiver.java | 88 Settings.Global.putInt(context.getContentResolver(), in onReceive() 94 Settings.Global.putInt(context.getContentResolver(), in onReceive() 110 Settings.Global.putInt(context.getContentResolver(), in onReceive() 116 Settings.Global.putInt(context.getContentResolver(), in onReceive()
|