/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DeviceConfigTest.java | 48 private static final String sKey = "key1"; field in DeviceConfigTest 54 deleteViaContentProvider(sNamespace, sKey); in cleanUp() 59 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty() 66 DeviceConfig.getProperty(null, sKey); in getProperty_nullNamespace() 86 final String result = DeviceConfig.getString(sNamespace, sKey, default_value); in getString_empty() 92 final String result = DeviceConfig.getString(sNamespace, sKey, null); in getString_nullDefault() 100 DeviceConfig.setProperty(sNamespace, sKey, value, false); in getString_nonEmpty() 102 final String result = DeviceConfig.getString(sNamespace, sKey, default_value); in getString_nonEmpty() 109 DeviceConfig.getString(null, sKey, "default_value"); in getString_nullNamespace() 129 final boolean result = DeviceConfig.getBoolean(sNamespace, sKey, default_value); in getBoolean_empty() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | DeviceConfigServiceTest.java | 48 private static final String sKey = "key1"; field in DeviceConfigServiceTest 60 deleteFromContentProvider(mContentResolver, sNamespace, sKey); in cleanUp() 68 String result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut() 72 executeShellCommand("device_config put " + sNamespace + " " + sKey + " " + sValue); in testPut() 73 executeShellCommand("device_config put " + newNamespace + " " + sKey + " " + newValue); in testPut() 75 result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut() 77 result = getFromContentProvider(mContentResolver, newNamespace, sKey); in testPut() 80 deleteFromContentProvider(mContentResolver, newNamespace, sKey); in testPut() 87 executeShellCommand("device_config put " + sKey + " " + sValue); in testPut_invalidArgs() 88 String result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut_invalidArgs() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/ |
D | TestableDeviceConfigTest.java | 43 private static final String sKey = "key1"; field in TestableDeviceConfigTest 52 String result = DeviceConfig.getProperty(sNamespace, sKey); in getProperty_empty() 58 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace() 59 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_sameNamespace() 66 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace() 67 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace() 75 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces() 76 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in setAndGetProperty_multipleNamespaces() 77 String result = DeviceConfig.getProperty(sNamespace, sKey); in setAndGetProperty_multipleNamespaces() 79 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 59 static void create() { pthread_key_create(&sKey, destructTLSData); } in validateTLSKey() 85 pthread_setspecific(sKey, tls); in destructTLSData() 87 ALOGE_IF(pthread_getspecific(sKey) != nullptr, in destructTLSData() 120 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getTLS() 123 pthread_setspecific(sKey, tls); in getTLS() 129 if (sKey != TLS_KEY_NOT_INITIALIZED) { in clearTLS() 130 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in clearTLS() 132 pthread_setspecific(sKey, nullptr); in clearTLS() 145 if (sKey == TLS_KEY_NOT_INITIALIZED) { in getError() [all …]
|
D | egl_tls.h | 32 static pthread_key_t sKey; variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 106003 Ljava/security/KeyStore$SecretKeyEntry;->sKey:Ljavax/crypto/SecretKey;
|