Home
last modified time | relevance | path

Searched refs:newNamespace (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java110 final String newNamespace = "namespace2"; in testPut() local
118 executeShellCommand("device_config put " + newNamespace + " " + sKey + " " + newValue); in testPut()
122 result = getFromContentProvider(mContentResolver, newNamespace, sKey); in testPut()
125 deleteFromContentProvider(mContentResolver, newNamespace, sKey); in testPut()
147 final String newNamespace = "namespace2"; in testDelete() local
150 putWithContentProvider(mContentResolver, newNamespace, sKey, sValue); in testDelete()
153 result = getFromContentProvider(mContentResolver, newNamespace, sKey); in testDelete()
162 result = getFromContentProvider(mContentResolver, newNamespace, sKey); in testDelete()
165 deleteFromContentProvider(mContentResolver, newNamespace, sKey); in testDelete()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java72 String newNamespace = "namespace2"; in setAndGetProperty_differentNamespace() local
74 String result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_differentNamespace()
80 String newNamespace = "namespace2"; in setAndGetProperty_multipleNamespaces() local
83 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in setAndGetProperty_multipleNamespaces()
86 result = DeviceConfig.getProperty(newNamespace, sKey); in setAndGetProperty_multipleNamespaces()
120 String newNamespace = "namespace2"; in deleteProperty() local
122 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in deleteProperty()
123 assertThat(DeviceConfig.getProperty(newNamespace, sKey)).isEqualTo(newValue); in deleteProperty()
124 DeviceConfig.deleteProperty(newNamespace, sKey); in deleteProperty()
125 assertThat(DeviceConfig.getProperty(newNamespace, sKey)).isNull(); in deleteProperty()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java446 String newNamespace = "namespace2"; in setAndGetProperty_differentNamespace() local
448 String result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_differentNamespace()
454 String newNamespace = "namespace2"; in setAndGetProperty_multipleNamespaces() local
457 DeviceConfig.setProperty(newNamespace, KEY, newValue, false); in setAndGetProperty_multipleNamespaces()
460 result = DeviceConfig.getProperty(newNamespace, KEY); in setAndGetProperty_multipleNamespaces()
464 deleteViaContentProvider(newNamespace, KEY); in setAndGetProperty_multipleNamespaces()
/frameworks/base/tools/aapt/
DXMLNode.h45 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { in newNamespace() function
DXMLNode.cpp1218 sp<XMLNode> node = XMLNode::newNamespace(st->filename, in startNamespace()
DResource.cpp1207 sp<XMLNode> root = XMLNode::newNamespace(filename, androidPrefix, androidNSUri); in generateAndroidManifestForSplit()
DResourceTable.cpp5222 sp<XMLNode> newNs = XMLNode::newNamespace(ns->getFilename(), ns->getNamespacePrefix(), in processBundleFormatImpl()