Searched refs:sKey (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | DeviceConfigServiceTest.java | 56 private static final String sKey = "key1"; field in DeviceConfigServiceTest 72 deleteFromContentProvider(mContentResolver, sNamespace, sKey); in cleanUp() 83 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testOverrideDisabled() 84 executeShellCommand("device_config override " + sNamespace + " " + sKey + " " + newValue); in testOverrideDisabled() 85 String result = readShellCommandOutput("device_config get " + sNamespace + " " + sKey); in testOverrideDisabled() 97 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testOverride() 98 executeShellCommand("device_config override " + sNamespace + " " + sKey + " " + newValue); in testOverride() 100 String result = readShellCommandOutput("device_config get " + sNamespace + " " + sKey); in testOverride() 103 executeShellCommand("device_config clear_override " + sNamespace + " " + sKey); in testOverride() 104 result = readShellCommandOutput("device_config get " + sNamespace + " " + sKey); in testOverride() [all …]
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/ |
D | TestableDeviceConfigTest.java | 49 private static final String sKey = "key1"; field in TestableDeviceConfigTest 59 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty() 65 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace() 66 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace() 73 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace() 74 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace() 82 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces() 83 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in setAndGetProperty_multipleNamespaces() 84 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces() 86 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_tls.cpp | 28 pthread_key_t egl_tls_t::sKey = TLS_KEY_NOT_INITIALIZED; member in android::egl_tls_t 72 static void create() { pthread_key_create(&sKey, destructTLSData); } in validateTLSKey() 98 pthread_setspecific(sKey, tls); in destructTLSData() 100 ALOGE_IF(pthread_getspecific(sKey) != nullptr, in destructTLSData() 128 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getTLS() 131 pthread_setspecific(sKey, tls); in getTLS() 137 if (sKey != TLS_KEY_NOT_INITIALIZED) { in clearTLS() 138 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in clearTLS() 140 pthread_setspecific(sKey, nullptr); in clearTLS() 153 if (sKey == TLS_KEY_NOT_INITIALIZED) { in getError() [all …]
|
D | egl_tls.h | 29 static pthread_key_t sKey; variable
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 198 String lKey, long lValue, String sKey, String sValue, String dKey, double dValue) { in createPersistableBundle() argument 203 if (sKey != null) { in createPersistableBundle() 204 result.putString("com.unit_test." + sKey, sValue); in createPersistableBundle()
|