Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 123) sorted by relevance

12345

/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java208 .putInt(0) // status (unused) in testAudioEffectGetParameter2()
209 .putInt(parameterSize) // psize (very large) in testAudioEffectGetParameter2()
210 .putInt(0) // vsize in testAudioEffectGetParameter2()
211 .putInt(0x04030201) // data[0] (param too small for psize) in testAudioEffectGetParameter2()
212 .putInt(0x08070605) // data[4] in testAudioEffectGetParameter2()
276 .putInt(0) // status (unused) in testAudioEffectSetParameter()
277 .putInt(0xdddddddd) // psize (very large) in testAudioEffectSetParameter()
278 .putInt(4) // vsize in testAudioEffectSetParameter()
279 .putInt(1) // data[0] (param too small for psize) in testAudioEffectSetParameter()
280 .putInt(0) // data[4] in testAudioEffectSetParameter()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java318 params.putInt("n", n); in callGetTextBeforeCursor()
319 params.putInt("flag", flag); in callGetTextBeforeCursor()
342 params.putInt("n", n); in callGetTextAfterCursor()
343 params.putInt("flag", flag); in callGetTextAfterCursor()
365 params.putInt("flag", flag); in callGetSelectedText()
387 params.putInt("reqModes", reqModes); in callGetCursorCapsMode()
412 params.putInt("flags", flags); in callGetExtractedText()
436 params.putInt("beforeLength", beforeLength); in callDeleteSurroundingText()
437 params.putInt("afterLength", afterLength); in callDeleteSurroundingText()
462 params.putInt("beforeLength", beforeLength); in callDeleteSurroundingTextInCodePoints()
[all …]
DImeSettings.java140 mBundle.putInt(BACKGROUND_COLOR_KEY, color); in setBackgroundColor()
151 mBundle.putInt(NAVIGATION_BAR_COLOR_KEY, color); in setNavigationBarColor()
161 mBundle.putInt(INPUT_VIEW_HEIGHT_WITHOUT_SYSTEM_WINDOW_INSET, height); in setInputViewHeightWithoutSystemWindowInset()
178 mBundle.putInt(WINDOW_FLAGS, flags); in setWindowFlags()
179 mBundle.putInt(WINDOW_FLAGS_MASK, flagsMask); in setWindowFlags()
191 mBundle.putInt(INPUT_VIEW_SYSTEM_UI_VISIBILITY, visibilityFlags); in setInputViewSystemUiVisibility()
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java83 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, mInitialPowerSaverMode); in tearDown()
84 Global.putInt(resolver, in tearDown()
86 Global.putInt(resolver, in tearDown()
97 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testPowerManager_getPowerSaveMode()
103 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, 1); in testPowerManager_getPowerSaveMode()
DPersistableBundleTest.java35 bundle.putInt("int", 1); in testWriteToStreamAndReadFromStream()
43 nestedBundle.putInt("int", 9); in testWriteToStreamAndReadFromStream()
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java47 bundle.putInt(Utils.SCREENSHOT_COLOR_KEY, Color.RED); in testRedScreenshot()
67 bundle.putInt(Utils.SCREENSHOT_COLOR_KEY, Color.GREEN); in testGreenScreenshot()
87 bundle.putInt(Utils.SCREENSHOT_COLOR_KEY, Color.BLUE); in testBlueScreenshot()
99 extras.putInt(Utils.SCREENSHOT_COLOR_KEY, color); in delayAndStartSession()
DTextViewTest.java88 bundle.putInt(Utils.SCROLL_X_POSITION, scrollX); in scrollTestApp()
89 bundle.putInt(Utils.SCROLL_Y_POSITION, scrollY); in scrollTestApp()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DRingtoneSyncTest.java79 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1); in testSoundDisableSync()
94 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1); in testSoundDisableSync()
104 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 0); in testSoundDisableSync()
107 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1); in testSoundDisableSync()
/cts/tests/tests/identity/src/android/security/identity/cts/
DEphemeralKeyTest.java185 iv.putInt(0, 0x00000000); in encryptMessageToHolder()
186 iv.putInt(4, 0x00000000); in encryptMessageToHolder()
187 iv.putInt(8, mCounter); in encryptMessageToHolder()
208 iv.putInt(0, 0x00000000); in decryptMessageFromHolder()
209 iv.putInt(4, 0x00000001); in decryptMessageFromHolder()
210 iv.putInt(8, mMdlExpectedCounter); in decryptMessageFromHolder()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java250 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess()
257 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess()
276 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromOtherProcess()
289 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
293 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
300 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
325 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
329 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
342 Settings.System.putInt(getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java151 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState()
152 outState.putInt(TEST, mTest); in onSaveInstanceState()
171 result.putInt(ARRIVE_COUNT, mNumSharedElementsArrivedCalled); in startTest()
173 … result.putInt(ARRIVE_ENTER_START_VISIBILITY, sharedElements.get(0).getVisibility()); in startTest()
184 result.putInt(ARRIVE_ENTER_DELAY_VISIBILITY, in startTest()
312 data.putInt(mPropertyName, view.getVisibility()); in onTransitionEnd()
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
DAppWidgetTest.java64 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, 1); in testBindWidget2()
65 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, 2); in testBindWidget2()
66 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, 3); in testBindWidget2()
67 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, 4); in testBindWidget2()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAirplaneModeRestrictionTest.java68 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeTurnedOffWhenRestrictionSet()
83 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeCannotBeTurnedOnWithRestrictionOn()
89 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeCanBeTurnedOnWithRestrictionOff()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java221 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeWithOptions()
224 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testSubscribeWithOptions()
287 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeInvalidItemWithOptions()
288 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testSubscribeInvalidItemWithOptions()
334 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testUnsubscribeForMultipleSubscriptions()
335 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testUnsubscribeForMultipleSubscriptions()
380 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testUnsubscribeWithSubscriptionCallbackForMultipleSubscriptions()
381 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testUnsubscribeWithSubscriptionCallbackForMultipleSubscriptions()
DSurfaceEncodeTimestampTest.java179 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 0); in testCreateInputSurfaceSuspendedResume()
202 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 0); in testCreateInputSurfaceSuspendedResumeWithTime()
226 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 1); in testSuspendedResume()
230 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 0); in testSuspendedResume()
250 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 1); in testSuspendedResumeWithTime()
255 params.putInt(MediaCodec.PARAMETER_KEY_SUSPEND, 0); in testSuspendedResumeWithTime()
DEncoderTest.java231 buffer.putInt(0); in queueInputBuffer()
232 buffer.putInt(0); in queueInputBuffer()
233 buffer.putInt(0); in queueInputBuffer()
234 buffer.putInt(0); in queueInputBuffer()
239 buffer.putInt(random.nextInt()); in queueInputBuffer()
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/
DOtherSoundsSettingsTest.java89 Settings.System.putInt( in testOtherSoundsSettings_dialPadTones()
122 Settings.System.putInt( in testOtherSoundsSettings_touchSounds()
154 Settings.System.putInt( in testOtherSoundsSettings_touchVibration()
/cts/tests/fragment/src/android/fragment/cts/
DReentrantFragment.java56 outState.putInt(FROM_STATE, mFromState); in onSaveInstanceState()
57 outState.putInt(TO_STATE, mToState); in onSaveInstanceState()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java119 Settings.System.putInt(resolver, Settings.System.TIME_12_24, 12); in testUpdate12_24()
140 Settings.System.putInt(resolver, Settings.System.TIME_12_24, 24); in testUpdate12_24()
176 Settings.System.putInt(resolver, Settings.System.TEXT_AUTO_CAPS, newAutoCaps); in mActivityRule.runOnUiThread()
178 Settings.System.putInt(resolver, Settings.System.TEXT_AUTO_CAPS, oldAutoCaps); in mActivityRule.runOnUiThread()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DFontScaleActivity.java62 bundle -> bundle.putInt(EXTRA_FONT_PIXEL_SIZE, fontPixelSize)); in dumpFontSize()
75 bundle -> bundle.putInt(EXTRA_FONT_ACTIVITY_DPI, fontActivityDpi)); in dumpActivityDpi()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java273 editor.putInt(SHARED_PREF_KEY1, SHARED_PREF_VALUE1); in generateSharedPrefs()
276 editor.putInt(SHARED_PREF_KEY2, SHARED_PREF_VALUE2); in generateSharedPrefs()
281 editor.putInt(SHARED_PREF_KEY3, SHARED_PREF_VALUE3); in generateSharedPrefs()
284 editor.putInt(SHARED_PREF_KEY4, SHARED_PREF_VALUE4); in generateSharedPrefs()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java154 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
188 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
221 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
246 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
264 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
396 b.putInt(ARGUMENT_RESULT_CODE, getResultCode());
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java41 b1.putInt(Consts.EXTRA_ICON_RES_ID, R.drawable.black_32x32); in testPreUpgrade()
50 b2.putInt(Consts.EXTRA_ICON_RES_ID, R.drawable.black_64x64); in testPreUpgrade()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java75 Settings.System.putInt(resolver, TEXT_AUTO_CAPS, 1); in enableAutoCapSettings()
91 Settings.System.putInt(resolver, TEXT_AUTO_CAPS, mAutoCapSetting); in resetAutoCapSettings()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java480 exampleExtras.putInt(TEST_EXTRA_KEY, TEST_EXTRA_VALUE); in testExtrasPropagation()
481 exampleExtras.putInt(Connection.EXTRA_AUDIO_CODEC, Connection.AUDIO_CODEC_AMR); in testExtrasPropagation()
515 exampleExtras.putInt("oir", TelecomManager.PRESENTATION_ALLOWED); in testExtrasBlocking()
516 exampleExtras.putInt("cnap", TelecomManager.PRESENTATION_ALLOWED); in testExtrasBlocking()
546 testBundle.putInt(TEST_EXTRA_KEY2, TEST_EXTRA_VALUE); in testConnectionPutExtras()
695 testBundle.putInt(TEST_EXTRA_KEY2, TEST_EXTRA_VALUE); in setupCallExtras()
885 testBundle.putInt(TelecomManager.EXTRA_CALL_NETWORK_TYPE, in testLogFeatures()
928 radioTechExtras.putInt(TelecomManager.EXTRA_CALL_NETWORK_TYPE, in testSetCallRadioTech()

12345