Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java49 private static final String sValue = "value1"; field in DeviceConfigServiceTest
72 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testPut()
76 assertEquals(sValue, result); in testPut()
87 executeShellCommand("device_config put " + sKey + " " + sValue); in testPut_invalidArgs()
94 "device_config put " + sNamespace + " " + sKey + " " + sValue + " extra_arg"); in testPut_invalidArgs()
104 putWithContentProvider(mContentResolver, sNamespace, sKey, sValue); in testDelete()
105 putWithContentProvider(mContentResolver, newNamespace, sKey, sValue); in testDelete()
107 assertEquals(sValue, result); in testDelete()
109 assertEquals(sValue, result); in testDelete()
118 assertEquals(sValue, result); in testDelete()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfigTest.java44 private static final String sValue = "value1"; field in TestableDeviceConfigTest
58 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace()
60 assertThat(result).isEqualTo(sValue); in setAndGetProperty_sameNamespace()
66 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace()
75 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces()
78 assertThat(result).isEqualTo(sValue); in setAndGetProperty_multipleNamespaces()
86 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_overrideValue()
100 assertThat(properties.getString(sKey, "bogus_value")).isEqualTo(sValue); in testListener()
107 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in testListener()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java49 private static final String sValue = "value1"; field in DeviceConfigTest
317 DeviceConfig.setProperty(null, sKey, sValue, false); in setProperty_nullNamespace()
327 DeviceConfig.setProperty(sNamespace, null, sValue, false); in setProperty_nullName()
336 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace()
338 assertThat(result).isEqualTo(sValue); in setAndGetProperty_sameNamespace()
344 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace()
353 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces()
356 assertThat(result).isEqualTo(sValue); in setAndGetProperty_multipleNamespaces()
367 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_overrideValue()
380 assertThat(properties.getString(sKey, "default_value")).isEqualTo(sValue); in testOnPropertiesChangedListener()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1420 short sValue = (short) value; in shortToByteArray() local
1421 converter.putShort(sValue); in shortToByteArray()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1526 short sValue = (short) value; in shortToByteArray() local
1527 converter.putShort(sValue); in shortToByteArray()