Home
last modified time | relevance | path

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

1234

/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java204 .putInt(0) // status (unused) in testAudioEffectGetParameter2()
205 .putInt(parameterSize) // psize (very large) in testAudioEffectGetParameter2()
206 .putInt(0) // vsize in testAudioEffectGetParameter2()
207 .putInt(0x04030201) // data[0] (param too small for psize) in testAudioEffectGetParameter2()
208 .putInt(0x08070605) // data[4] in testAudioEffectGetParameter2()
272 .putInt(0) // status (unused) in testAudioEffectSetParameter()
273 .putInt(0xdddddddd) // psize (very large) in testAudioEffectSetParameter()
274 .putInt(4) // vsize in testAudioEffectSetParameter()
275 .putInt(1) // data[0] (param too small for psize) in testAudioEffectSetParameter()
276 .putInt(0) // data[4] in testAudioEffectSetParameter()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java129 mBundle.putInt(BACKGROUND_COLOR_KEY, color); in setBackgroundColor()
140 mBundle.putInt(NAVIGATION_BAR_COLOR_KEY, color); in setNavigationBarColor()
150 mBundle.putInt(INPUT_VIEW_HEIGHT_WITHOUT_SYSTEM_WINDOW_INSET, height); in setInputViewHeightWithoutSystemWindowInset()
167 mBundle.putInt(WINDOW_FLAGS, flags); in setWindowFlags()
168 mBundle.putInt(WINDOW_FLAGS_MASK, flagsMask); in setWindowFlags()
180 mBundle.putInt(INPUT_VIEW_SYSTEM_UI_VISIBILITY, visibilityFlags); in setInputViewSystemUiVisibility()
DMockImeSession.java290 params.putInt("newCursorPosition", newCursorPosition); in callCommitText()
304 params.putInt("backDisposition", backDisposition); in callSetBackDisposition()
318 params.putInt("flags", flags); in callRequestHideSelf()
332 params.putInt("flags", flags); in callRequestShowSelf()
DImeEvent.java86 bundle.putInt("mNestLevel", mNestLevel); in toBundle()
88 bundle.putInt("mThreadId", mThreadId); in toBundle()
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
DNoRestartActivity.java49 payload.putInt("CREATE_COUNT", sCreateCount); in sendResponse()
50 payload.putInt("NEW_INTENT_COUNT", mNewIntentCount); in sendResponse()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAirplaneModeRestrictionTest.java65 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeTurnedOffWhenRestrictionSet()
79 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeCannotBeTurnedOnWithRestrictionOn()
86 Settings.Global.putInt(mContext.getContentResolver(), AIRPLANE_MODE_ON, 1); in testAirplaneModeCanBeTurnedOnWithRestrictionOff()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java220 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess()
227 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess()
245 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromOtherProcess()
257 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
261 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
268 Settings.System.putInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses()
292 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
296 Settings.System.putInt(getInstrumentation().getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
309 Settings.System.putInt(getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses()
/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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DRingtoneSyncTest.java95 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1); in testSoundDisableSync()
105 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 0); in testSoundDisableSync()
108 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1); in testSoundDisableSync()
/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/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java74 Settings.System.putInt(mActivity.getContentResolver(), Settings.System.TIME_12_24, base); in teardown()
106 Settings.System.putInt(resolver, Settings.System.TIME_12_24, 12); in testUpdate12_24()
126 Settings.System.putInt(resolver, Settings.System.TIME_12_24, 24); in testUpdate12_24()
168 Settings.System.putInt(resolver, Settings.System.TEXT_AUTO_CAPS, newAutoCaps); in mActivityRule.runOnUiThread()
170 Settings.System.putInt(resolver, Settings.System.TEXT_AUTO_CAPS, oldAutoCaps); in mActivityRule.runOnUiThread()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java149 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState()
150 outState.putInt(TEST, mTest); in onSaveInstanceState()
163 result.putInt(ARRIVE_COUNT, mNumSharedElementsArrivedCalled); in startTest()
165 … result.putInt(ARRIVE_ENTER_START_VISIBILITY, sharedElements.get(0).getVisibility()); in startTest()
175 result.putInt(ARRIVE_ENTER_DELAY_VISIBILITY, in startTest()
280 data.putInt(mPropertyName, view.getVisibility()); in onTransitionEnd()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java220 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeWithOptions()
223 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testSubscribeWithOptions()
286 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeInvalidItemWithOptions()
287 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testSubscribeInvalidItemWithOptions()
333 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testUnsubscribeForMultipleSubscriptions()
334 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testUnsubscribeForMultipleSubscriptions()
379 options.putInt(MediaBrowser.EXTRA_PAGE, page); in testUnsubscribeWithSubscriptionCallbackForMultipleSubscriptions()
380 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testUnsubscribeWithSubscriptionCallbackForMultipleSubscriptions()
DEncoderTest.java201 buffer.putInt(0); in queueInputBuffer()
202 buffer.putInt(0); in queueInputBuffer()
203 buffer.putInt(0); in queueInputBuffer()
204 buffer.putInt(0); in queueInputBuffer()
209 buffer.putInt(random.nextInt()); in queueInputBuffer()
/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.java74 Settings.System.putInt(resolver, TEXT_AUTO_CAPS, 1); in enableAutoCapSettings()
90 Settings.System.putInt(resolver, TEXT_AUTO_CAPS, mAutoCapSetting); in resetAutoCapSettings()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBundleUtils.java45 ret.putInt(key, (Integer) value); in makeBundle()
/cts/tests/tests/net/src/android/net/cts/
DAirplaneModeTest.java77 Settings.Global.putInt(resolver, Settings.Global.AIRPLANE_MODE_ON, enabling ? 1 : 0); in setAirplaneModeOn()
DTheaterModeTest.java76 Settings.Global.putInt(resolver, Settings.Global.THEATER_MODE_ON, enabling ? 1 : 0); in setTheaterModeOn()
/cts/tests/app/app/src/android/app/stubs/
DFragmentTestActivity.java109 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState()
112 outState.putInt(key, mTransitionIds[i]); in onSaveInstanceState()
/cts/tests/app/src/android/app/cts/
DTimePickerDialogTest.java151 b1.putInt(HOUR, TARGET_HOUR); in testOnRestoreInstanceState()
152 b1.putInt(MINUTE, minute); in testOnRestoreInstanceState()
/cts/tests/tests/telephony/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java152 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
186 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
219 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
244 b.putInt(ARGUMENT_SUBSCRIPTION_ID, subscriptionId);
384 b.putInt(ARGUMENT_RESULT_CODE, getResultCode());
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationRestrictionsTest.java234 result.putInt("integer", 0x7fffffff); in createBundle0()
243 bundle.putInt("bundle_int", 1); in createBundle0()
294 result.putInt("dummy", 1); in createBundle1()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DTestUtils.java70 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, in setLocationMode()
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/
DSharedPrefsRestoreTestActivity.java99 boolean success = mPrefs.edit().putInt(INT_PREF, value).commit(); in setPrefValue()

1234