Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_SystemTest.java100 assertTrue(System.putFloat(cr, FLOAT_FIELD, 1.3f)); in testSystemSettings()
151 assertTrue(System.putFloat(cr, FLOAT_FIELD, 1.15f)); in testSystemSettingsRejectInvalidFontSizeScale()
153 assertFalse(System.putFloat(cr, FLOAT_FIELD, Float.MAX_VALUE)); in testSystemSettingsRejectInvalidFontSizeScale()
158 assertFalse(System.putFloat(cr, FLOAT_FIELD, -1f)); in testSystemSettingsRejectInvalidFontSizeScale()
163 assertFalse(System.putFloat(cr, FLOAT_FIELD, 0.1f)); in testSystemSettingsRejectInvalidFontSizeScale()
168 assertFalse(System.putFloat(cr, FLOAT_FIELD, 30.0f)); in testSystemSettingsRejectInvalidFontSizeScale()
DSettings_SecureTest.java106 Secure.putFloat(cr, NO_SUCH_SETTING, -1); in testGetPutFloat()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewIntegrationTest.java131 Settings.Global.putFloat(resolver, ANIMATOR_DURATION_SCALE, 0); in disableAnimation()
135 Settings.Global.putFloat(resolver, TRANSITION_ANIMATION_SCALE, 0); in disableAnimation()
142 Settings.Global.putFloat( in restoreAnimation()
146 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/
DLayoutTests.java79 Settings.Global.putFloat(resolver, WINDOW_ANIMATION_SCALE, 0); in setup()
87 Settings.Global.putFloat(getInstrumentation().getContext().getContentResolver(), in tearDown()
DWindowUntrustedTouchTest.java282 Settings.Global.putFloat(mContentResolver, SETTING_MAXIMUM_OBSCURING_OPACITY, 1.5f); in testAfterSettingThresholdGreaterThan1ViaSettings_previousThresholdIsUsed()
299 Settings.Global.putFloat(mContentResolver, SETTING_MAXIMUM_OBSCURING_OPACITY, -.5f); in testAfterSettingThresholdLessThan0ViaSettings_previousThresholdIsUsed()
961 extras.putFloat(Components.OverlayActivity.EXTRA_OPACITY, opacity); in addActivityOverlay()
969 extras.putFloat(Components.OverlayActivity.EXTRA_OPACITY, opacity); in addActivityOverlay()
DBlurTests.java88 Settings.Global.putFloat(resolver, ANIMATOR_DURATION_SCALE, 0); in setUp()
100 Settings.Global.putFloat(getInstrumentation().getContext().getContentResolver(), in tearDown()
DPinnedStackTests.java970 Settings.Global::putFloat); in TransitionAnimationScaleSession() field in PinnedStackTests.TransitionAnimationScaleSession.Settings.Global
/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/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java234 signals.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore1); in testAdjustNotifications_rankingScoreKey()
238 signals2.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore2); in testAdjustNotifications_rankingScoreKey()
411 signals.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore1); in testAdjustNotification_rankingScoreKey_notAllowed()
416 signals.putFloat(Adjustment.KEY_RANKING_SCORE, rankingScore2); in testAdjustNotification_rankingScoreKey_notAllowed()
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java101 blob.putFloat(offset, 3.0f);
DCompanionDeviceManagerTest.kt285 is Float -> putFloat(key, value) in set()
DBundleTest.java349 mBundle.putFloat(KEY, f); in testGetFloat1()
360 mBundle.putFloat(KEY, f2); in testGetFloat2()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java237 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.java1364 extras.putFloat("Float", 5.5f); in testValidateSyncExtrasBundle()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java512 exampleExtras.putFloat(Connection.EXTRA_AUDIO_CODEC_BITRATE_KBPS, TEST_EXTRA_BITRATE); in testExtrasPropagation()
513 exampleExtras.putFloat(Connection.EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ, TEST_EXTRA_BANDWIDTH); in testExtrasPropagation()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java208 mResults.putFloat(key, value); in addResult()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1720 Settings.System::putFloat);