Home
last modified time | relevance | path

Searched refs:putFloat (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_SystemTest.java111 assertTrue(System.putFloat(mContentResolver, FLOAT_FIELD, 1.3f)); in testSystemSettings()
163 assertTrue(System.putFloat(mContentResolver, FLOAT_FIELD, 1.15f)); in testSystemSettingsRejectInvalidFontSizeScale()
166 assertFalse(System.putFloat(mContentResolver, FLOAT_FIELD, Float.MAX_VALUE)); in testSystemSettingsRejectInvalidFontSizeScale()
171 assertFalse(System.putFloat(mContentResolver, FLOAT_FIELD, -1f)); in testSystemSettingsRejectInvalidFontSizeScale()
176 assertFalse(System.putFloat(mContentResolver, FLOAT_FIELD, 0.1f)); in testSystemSettingsRejectInvalidFontSizeScale()
181 assertFalse(System.putFloat(mContentResolver, FLOAT_FIELD, 30.0f)); in testSystemSettingsRejectInvalidFontSizeScale()
DSettings_SecureTest.java113 Secure.putFloat(cr, NO_SUCH_SETTING, -1); in testGetPutFloat()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewIntegrationTest.java123 Settings.Global.putFloat(resolver, ANIMATOR_DURATION_SCALE, 0); in disableAnimation()
127 Settings.Global.putFloat(resolver, TRANSITION_ANIMATION_SCALE, 0); in disableAnimation()
134 Settings.Global.putFloat( in restoreAnimation()
138 Settings.Global.putFloat( in restoreAnimation()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationProviderBaseTest.java117 bundle.putFloat("indoorProbability", 0.75f); in testReportLocation_stripExtras()
142 bundle.putFloat("indoorProbability", 0.75f); in testReportLocations_stripExtras()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DLayoutTests.java84 Settings.Global.putFloat(resolver, WINDOW_ANIMATION_SCALE, 0); in setup()
93 Settings.Global.putFloat( in tearDown()
DMoveAnimationTests.java63 Settings.Global::putFloat,
DActivityTransitionTests.java124 Settings.Global::putFloat,
131 Settings.Global::putFloat,
138 Settings.Global::putFloat,
DBlurTests.java90 Settings.Global::putFloat,
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceDataStoreTest.java390 mPreference.putFloat(1f); in putFloatTestCommon()
393 verify(mDataStore, atLeastOnce()).putFloat(eq(KEY), anyFloat()); in putFloatTestCommon()
542 void putFloat(float value) { in putFloat() method in PreferenceDataStoreTest.PreferenceWrapper
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingIntegrationTests.java167 extras.putFloat(EXTRA_SPLIT_RATIO, 0.1f); in testDisplayFeaturesWithEmbedding_differentPackage()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontScalingTest.kt202 Settings.System.putFloat( in <lambda>()
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java104 blob.putFloat(offset, 3.0f);
DBundleTest.java408 mBundle.putFloat(KEY1, f); in testGetFloat1()
420 mBundle.putFloat(KEY1, f2); in testGetFloat2()
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/
DVirtualSensorTest.java774 event.putFloat(reportToken + eventCount * 0.01f); in writeDirectChannelEvents()
775 event.putFloat(reportToken + eventCount * 0.02f); in writeDirectChannelEvents()
776 event.putFloat(reportToken + eventCount * 0.03f); in writeDirectChannelEvents()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java238 editor.putFloat(FLOAT_PREF, FLOAT_PREF_VALUE); in saveSharedPreferencesValues()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java338 extras.putFloat("Float", 5.5f);
DContentResolverTest.java1545 extras.putFloat("Float", 5.5f); in testValidateSyncExtrasBundle()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java295 signals.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore1); in testAdjustNotifications_rankingScoreKey()
299 signals2.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore2); in testAdjustNotifications_rankingScoreKey()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java208 mResults.putFloat(key, value); in addResult()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java930 extras.putFloat(Components.OverlayActivity.EXTRA_OPACITY, opacity); in addActivityOverlay()
938 extras.putFloat(Components.OverlayActivity.EXTRA_OPACITY, opacity); in addActivityOverlay()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java663 exampleExtras.putFloat(Connection.EXTRA_AUDIO_CODEC_BITRATE_KBPS, TEST_EXTRA_BITRATE); in testExtrasPropagation()
664 exampleExtras.putFloat(Connection.EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ, TEST_EXTRA_BANDWIDTH); in testExtrasPropagation()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt306 putFloat(KEY_RANKING_SCORE, 1.0f) in testRankingRedactedInUpdate()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java1052 runWithShellPermissionIdentity(() -> Settings.Secure.putFloat( in putContrastInSettings()
/cts/tests/translation/src/android/translation/cts/
DUiTranslationManagerTest.java326 Settings.Global.putFloat(resolver, ANIMATOR_DURATION_SCALE, 0); in testUiTranslationWithoutAnimation()
360 Settings.Global.putFloat( in testUiTranslationWithoutAnimation()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java819 bundle.putFloat(ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT, -1); in testActionArgumentScrollAmountFloat()
838 bundle.putFloat(ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT, 1); in testActionArgumentScrollAmountFloat()

12