/cts/tests/tests/security/src/android/security/cts/ |
D | AudioSecurityTest.java | 204 .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/ |
D | ImeSettings.java | 129 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()
|
D | MockImeSession.java | 290 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()
|
D | ImeEvent.java | 86 bundle.putInt("mNestLevel", mNestLevel); in toBundle() 88 bundle.putInt("mThreadId", mThreadId); in toBundle()
|
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/ |
D | NoRestartActivity.java | 49 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/ |
D | AirplaneModeRestrictionTest.java | 65 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/ |
D | SettingsTest.java | 220 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/ |
D | ReentrantFragment.java | 56 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/ |
D | RingtoneSyncTest.java | 95 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/ |
D | AppWidgetTest.java | 64 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/ |
D | TextClockTest.java | 74 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/ |
D | ActivityTransitionActivity.java | 149 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/ |
D | MediaBrowserTest.java | 220 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()
|
D | EncoderTest.java | 201 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/ |
D | ShortcutManagerPreUpgradeTest.java | 41 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/ |
D | KeyListenerTestCase.java | 74 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/ |
D | BundleUtils.java | 45 ret.putInt(key, (Integer) value); in makeBundle()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | AirplaneModeTest.java | 77 Settings.Global.putInt(resolver, Settings.Global.AIRPLANE_MODE_ON, enabling ? 1 : 0); in setAirplaneModeOn()
|
D | TheaterModeTest.java | 76 Settings.Global.putInt(resolver, Settings.Global.THEATER_MODE_ON, enabling ? 1 : 0); in setTheaterModeOn()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | FragmentTestActivity.java | 109 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState() 112 outState.putInt(key, mTransitionIds[i]); in onSaveInstanceState()
|
/cts/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 151 b1.putInt(HOUR, TARGET_HOUR); in testOnRestoreInstanceState() 152 b1.putInt(MINUTE, minute); in testOnRestoreInstanceState()
|
/cts/tests/tests/telephony/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsDownloadService.java | 152 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/ |
D | ApplicationRestrictionsTest.java | 234 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/ |
D | TestUtils.java | 70 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, in setLocationMode()
|
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/ |
D | SharedPrefsRestoreTestActivity.java | 99 boolean success = mPrefs.edit().putInt(INT_PREF, value).commit(); in setPrefValue()
|