/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/core/java/android/ddm/ |
D | DdmHandleHello.java | 152 out.putInt(CLIENT_PROTOCOL_VERSION); in handleHELO() 153 out.putInt(android.os.Process.myPid()); in handleHELO() 154 out.putInt(vmIdent.length()); in handleHELO() 155 out.putInt(appName.length()); in handleHELO() 158 out.putInt(UserHandle.myUserId()); in handleHELO() 159 out.putInt(instructionSetDescription.length()); in handleHELO() 161 out.putInt(vmFlags.length()); in handleHELO() 196 out.putInt(vmFeatures.length + FRAMEWORK_FEATURES.length); in handleFEAT() 198 out.putInt(vmFeatures[i].length()); in handleFEAT() 202 out.putInt(FRAMEWORK_FEATURES[i].length()); in handleFEAT()
|
D | DdmHandleThread.java | 161 out.putInt(0); in createStackChunk() 162 out.putInt(threadId); in createStackChunk() 163 out.putInt(trace.length); in createStackChunk() 165 out.putInt(elem.getClassName().length()); in createStackChunk() 167 out.putInt(elem.getMethodName().length()); in createStackChunk() 170 out.putInt(elem.getFileName().length()); in createStackChunk() 173 out.putInt(0); in createStackChunk() 175 out.putInt(elem.getLineNumber()); in createStackChunk()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CarrierConfigManager.java | 3582 defaults.putInt(KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT, in getDefaults() 3836 sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, 2); in sDefaults.putInt() 3837 sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, 2); in sDefaults.putInt() 3857 sDefaults.putInt(KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT, 64); in sDefaults.putInt() 3902 sDefaults.putInt(KEY_VOLTE_REPLACEMENT_RAT_INT, 0); in sDefaults.putInt() 3905 sDefaults.putInt(KEY_VVM_PORT_NUMBER_INT, 0); in sDefaults.putInt() 3938 sDefaults.putInt(KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT, 7200); in sDefaults.putInt() 3965 sDefaults.putInt(KEY_GSM_DTMF_TONE_DELAY_INT, 0); in sDefaults.putInt() 3966 sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0); in sDefaults.putInt() 3967 sDefaults.putInt(KEY_CDMA_DTMF_TONE_DELAY_INT, 100); in sDefaults.putInt() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 106 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenShowNotificationsFalse() 114 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenShowNotificationsTrue() 122 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenAllowPrivateNotificationsTrue() 130 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenAllowPrivateNotificationsFalse() 161 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysShow() 163 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysShow() 165 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysShow() 174 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysHide() 176 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysHide() 178 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysHide()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
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 | 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 | 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/base/core/java/android/util/ |
D | StatsEvent.java | 394 mPos += mBuffer.putInt(mPos, value); in writeInt() 449 mPos += mBuffer.putInt(mPos, numBytes); in writeByteArray() 480 mPos += mBuffer.putInt(mPos, uids[i]); in writeAttributionChain() 485 mPos += mBuffer.putInt(mPos, tagBytes.length); in writeAttributionChain() 522 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 524 mPos += mBuffer.putInt(mPos, value); in writeKeyValuePairs() 530 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 538 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() 541 mPos += mBuffer.putInt(mPos, valueBytes.length); in writeKeyValuePairs() 548 mPos += mBuffer.putInt(mPos, key); in writeKeyValuePairs() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 120 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 124 sp.edit().putInt(KEY_LAST_BOOT_COUNT, mLastBootCount).apply(); in tearDown() 130 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testIsBootUp() 133 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp() 137 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp() 138 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 1); in testIsBootUp() 141 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 2).apply(); in testIsBootUp() 204 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_Present() 218 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_NotPresent() 231 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testStartOtaUpdatingIfNecessary_notBootUp() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 56 source.putInt("int", 1); in createBundleParcel() 151 bundle1.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_same() 155 bundle2.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_same() 164 bundle1.putInt("IntKey", 2); in kindofEquals_bothUnparcelled_different() 177 bundle1.putInt("IntKey", 2); in kindofEquals_bothParcelled_same() 182 bundle2.putInt("IntKey", 2); in kindofEquals_bothParcelled_same() 194 bundle1.putInt("IntKey", 2); in kindofEquals_bothParcelled_different()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 135 Secure.putInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, count); in setPowerSaveMode() 189 Secure.putInt(context.getContentResolver(), Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); in setBatterySaverConfirmationAcknowledged() 196 Secure.putInt(context.getContentResolver(), in suppressAutoBatterySaver() 207 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 233 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded() 234 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 60 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut() 61 editor.putInt(TEST_KEY, 1); in putInt_shouldNotLogInitialPut() 62 editor.putInt(TEST_KEY, 1); 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() 66 editor.putInt(TEST_KEY, 2); in putInt_shouldNotLogInitialPut()
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaCellLocation.java | 221 bundleToFill.putInt("baseStationId", this.mBaseStationId); in fillInNotifierBundle() 222 bundleToFill.putInt("baseStationLatitude", this.mBaseStationLatitude); in fillInNotifierBundle() 223 bundleToFill.putInt("baseStationLongitude", this.mBaseStationLongitude); in fillInNotifierBundle() 224 bundleToFill.putInt("systemId", this.mSystemId); in fillInNotifierBundle() 225 bundleToFill.putInt("networkId", this.mNetworkId); in fillInNotifierBundle()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | Capabilities.java | 48 bundle.putInt(Characteristics.KEY_MAX_SERVICE_NAME_LENGTH, maxServiceNameLen); in toPublicCharacteristics() 49 bundle.putInt(Characteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH, in toPublicCharacteristics() 51 bundle.putInt(Characteristics.KEY_MAX_MATCH_FILTER_LENGTH, maxMatchFilterLen); in toPublicCharacteristics()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 62 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAlwaysPrompt() 76 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testForever() 90 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 45); in testSpecificDuration() 103 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseAlwaysPromptSetting() 117 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseForeverSetting() 131 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseTimeSetting() 146 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testGetTimeFromBucket()
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 1450 b.putInt(KEY_ANIM_TYPE, mAnimationType); in toBundle() 1456 b.putInt(KEY_ANIM_ENTER_RES_ID, mCustomEnterResId); in toBundle() 1457 b.putInt(KEY_ANIM_EXIT_RES_ID, mCustomExitResId); in toBundle() 1462 b.putInt(KEY_ANIM_IN_PLACE_RES_ID, mCustomInPlaceResId); in toBundle() 1466 b.putInt(KEY_ANIM_START_X, mStartX); in toBundle() 1467 b.putInt(KEY_ANIM_START_Y, mStartY); in toBundle() 1468 b.putInt(KEY_ANIM_WIDTH, mWidth); in toBundle() 1469 b.putInt(KEY_ANIM_HEIGHT, mHeight); in toBundle() 1485 b.putInt(KEY_ANIM_START_X, mStartX); in toBundle() 1486 b.putInt(KEY_ANIM_START_Y, mStartY); in toBundle() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 243 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset() 245 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset() 323 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_firstTime_showsWarningDialog() 342 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_withDialogShowing_callsServer() 358 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog() 374 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testClickingDisableButtonInDialog_shouldClearShortcutId() 391 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testClickingLeaveOnButtonInDialog_shouldLeaveShortcutReady() 412 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testOnAccessibilityShortcut_afterDialogShown_shouldCallServer() 441 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash() 451 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testOnAccessibilityShortcut_forFrameworkFeature_callsServiceWithNoToast() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 77 mSharedPreferences.edit().putInt(packageName, backupsSinceRotation).apply(); in recordBackup() 98 mSharedPreferences.edit().putInt(packageName, 0).apply(); in resetCountdown() 105 editor.putInt(packageName, MAX_BACKUPS_UNTIL_TERTIARY_KEY_ROTATION); in markAllForRotation()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | WizardManagerHelperTest.java | 320 Settings.Global.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1); in testIsUserSetupComplete() 321 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 1); in testIsUserSetupComplete() 324 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 0); in testIsUserSetupComplete() 331 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 1); in testIsUserSetupCompleteCompat() 334 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 0); in testIsUserSetupCompleteCompat() 341 Settings.Global.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1); in testIsDeviceProvisioned() 343 Settings.Global.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 0); in testIsDeviceProvisioned() 350 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 1); in testIsDeviceProvisionedCompat() 352 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 0); in testIsDeviceProvisionedCompat()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | DevelopmentSettingsEnablerTest.java | 48 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue() 60 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse() 72 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse()
|
/frameworks/base/telephony/java/android/telephony/gsm/ |
D | GsmCellLocation.java | 146 m.putInt("lac", mLac); in fillInNotifierBundle() 147 m.putInt("cid", mCid); in fillInNotifierBundle() 148 m.putInt("psc", mPsc); in fillInNotifierBundle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 150 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 1); in testSettingOverrideConfig_enableSkinTemperatureWarning() 163 Settings.Global.putInt(mContext.getContentResolver(), SHOW_USB_TEMPERATURE_ALARM, 1); in testSettingOverrideConfig_enableUsbTemperatureAlarm() 176 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 0); in testSettingOverrideConfig_disableSkinTemperatureWarning() 189 Settings.Global.putInt(mContext.getContentResolver(), SHOW_USB_TEMPERATURE_ALARM, 0); in testSettingOverrideConfig_disableUsbTemperatureAlarm() 203 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 1); in testThermalEventListenerRegistration_success_skinType() 217 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 0); in testThermalEventListenerRegistration_success_skinType() 229 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 1); in testThermalEventListenerRegistration_fail_skinType() 243 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 0); in testThermalEventListenerRegistration_fail_skinType() 252 Settings.Global.putInt(mContext.getContentResolver(), SHOW_TEMPERATURE_WARNING, 1); in testThermalEventListenerRegistration_fail_skinType() 265 Settings.Global.putInt(mContext.getContentResolver(), SHOW_USB_TEMPERATURE_ALARM, 1); in testThermalEventListenerRegistration_success_usbType() [all …]
|