Home
last modified time | relevance | path

Searched refs:sValue (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java57 private static final String sValue = "value1"; field in DeviceConfigServiceTest
83 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testOverrideDisabled()
86 assertEquals(sValue + "\n", result); in testOverrideDisabled()
97 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testOverride()
105 assertEquals(sValue + "\n", result); in testOverride()
117 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testPut()
121 assertEquals(sValue, result); in testPut()
132 executeShellCommand("device_config put " + sKey + " " + sValue); in testPut_invalidArgs()
139 "device_config put " + sNamespace + " " + sKey + " " + sValue + " extra_arg"); in testPut_invalidArgs()
149 putWithContentProvider(mContentResolver, sNamespace, sKey, sValue); in testDelete()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java50 private static final String sValue = "value1"; field in TestableDeviceConfigTest
65 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace()
67 assertThat(result).isEqualTo(sValue); in setAndGetProperty_sameNamespace()
73 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace()
82 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces()
85 assertThat(result).isEqualTo(sValue); in setAndGetProperty_multipleNamespaces()
93 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_overrideValue()
106 sValue).setString(newKey, newValue).build()); in setProperties()
107 assertThat(DeviceConfig.getProperty(sNamespace, sKey)).isEqualTo(sValue); in setProperties()
116 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in deleteProperty()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/varhandles/
DReflectSetStaticFieldLittleEndianIntPerfTest.java36 static int sValue; field in ReflectSetStaticFieldLittleEndianIntPerfTest
DReflectGetStaticFieldLittleEndianIntPerfTest.java36 static int sValue; field in ReflectGetStaticFieldLittleEndianIntPerfTest
DReflectSetStaticFieldLittleEndianStringPerfTest.java36 static String sValue; field in ReflectSetStaticFieldLittleEndianStringPerfTest
DReflectGetStaticFieldLittleEndianStringPerfTest.java36 static String sValue; field in ReflectGetStaticFieldLittleEndianStringPerfTest
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java198 String lKey, long lValue, String sKey, String sValue, String dKey, double dValue) { in createPersistableBundle() argument
204 result.putString("com.unit_test." + sKey, sValue); in createPersistableBundle()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1521 short sValue = (short) value; in shortToByteArray() local
1522 converter.putShort(sValue); in shortToByteArray()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1524 short sValue = (short) value; in shortToByteArray() local
1525 converter.putShort(sValue); in shortToByteArray()