Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 25 of 2849) sorted by relevance

12345678910>>...114

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFake.java48 String namespace, Executor executor, in addOnPropertiesChangedListener() argument
65 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty() argument
66 setPropertyInternal(namespace, name, value, mProperties); in setProperty()
68 setPropertyInternal(namespace, name, value, mDefaultProperties); in setProperty()
72 Properties.Builder propBuilder = new Properties.Builder(namespace); in setProperty()
73 for (String key : mProperties.get(namespace).keySet()) { in setProperty()
74 propBuilder.setString(key, mProperties.get(namespace).get(key)); in setProperty()
81 private void setPropertyInternal(String namespace, String name, String value, in setPropertyInternal() argument
83 properties.putIfAbsent(namespace, new HashMap<>()); in setPropertyInternal()
84 properties.get(namespace).put(name, value); in setPropertyInternal()
[all …]
/frameworks/av/apex/
Dld.config.txt14 # "default" namespace
16 # This namespace is for the binaries and libraries on the swcodec APEX.
19 namespace.default.isolated = true
20 namespace.default.visible = true
22 namespace.default.search.paths = /apex/com.android.media.swcodec/${LIB}
23 namespace.default.asan.search.paths = /apex/com.android.media.swcodec/${LIB}
28 namespace.default.permitted.paths = /system/${LIB}
29 namespace.default.asan.permitted.paths = /system/${LIB}
31 namespace.default.links = platform
34 # namespace.default.link.platform.shared_libs = %LLNDK_LIBRARIES%
[all …]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java40 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() argument
42 delete(namespace, key); in set()
45 ShellHelper.runShellCommand("settings put %s %s %s default", namespace, key, value); in set()
52 public static void syncSet(@NonNull Context context, @NonNull String namespace, in syncSet() argument
55 syncDelete(context, namespace, key); in syncSet()
59 String currentValue = get(namespace, key); in syncSet()
65 OneTimeSettingsListener observer = new OneTimeSettingsListener(context, namespace, key, in syncSet()
67 set(namespace, key, value); in syncSet()
69 assertNewValue(namespace, key, value); in syncSet()
75 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java42 @NonNull String namespace, in addOnPropertiesChangedListener()
46 namespace, executor, onPropertiesChangedListener); in addOnPropertiesChangedListener()
52 public void enforceReadPermission(Context context, String namespace) { in enforceReadPermission() argument
53 DeviceConfig.enforceReadPermission(context, namespace); in enforceReadPermission()
60 @NonNull String namespace, @NonNull String name, boolean defaultValue) { in getBoolean()
61 return DeviceConfig.getBoolean(namespace, name, defaultValue); in getBoolean()
68 @NonNull String namespace, @NonNull String name, float defaultValue) { in getFloat()
69 return DeviceConfig.getFloat(namespace, name, defaultValue); in getFloat()
75 public int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt() argument
76 return DeviceConfig.getInt(namespace, name, defaultValue); in getInt()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/utils/
DDeviceConfigInterface.java33 String getProperty(@NonNull String namespace, @NonNull String name); in getProperty() argument
39 String getString(@NonNull String namespace, @NonNull String name, @NonNull String defaultValue); in getString() argument
44 int getInt(@NonNull String namespace, @NonNull String name, int defaultValue); in getInt() argument
49 long getLong(@NonNull String namespace, @NonNull String name, long defaultValue); in getLong() argument
54 boolean getBoolean(@NonNull String namespace, @NonNull String name, boolean defaultValue); in getBoolean() argument
59 void addOnPropertiesChangedListener(@NonNull String namespace, @NonNull Executor executor, in addOnPropertiesChangedListener() argument
73 public String getProperty(String namespace, String name) {
74 return DeviceConfig.getProperty(namespace, name);
78 public String getString(String namespace, String name, String defaultValue) {
79 return DeviceConfig.getString(namespace, name, defaultValue);
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DFakeDeviceConfigInterface.java43 public void putProperty(String namespace, String key, String value) { in putProperty() argument
44 mProperties.put(createCompositeName(namespace, key), value); in putProperty()
47 public void putPropertyAndNotify(String namespace, String key, String value) { in putPropertyAndNotify() argument
48 putProperty(namespace, key, value); in putPropertyAndNotify()
49 DeviceConfig.Properties properties = makeProperties(namespace, key, value); in putPropertyAndNotify()
52 if (namespace.equals(mListeners.valueAt(i).first)) { in putPropertyAndNotify()
74 private DeviceConfig.Properties makeProperties(String namespace, String key, String value) { in makeProperties() argument
81 return ctor.newInstance(namespace, keyValueMap); in makeProperties()
88 public String getProperty(String namespace, String name) { in getProperty() argument
89 return mProperties.get(createCompositeName(namespace, name)); in getProperty()
[all …]
/frameworks/base/core/java/android/provider/
DDeviceConfig.java439 public static String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty() argument
443 return getProperties(namespace, name).getString(name, null); in getProperty()
469 public static Properties getProperties(@NonNull String namespace, @NonNull String ... names) { in getProperties() argument
471 return new Properties(namespace, in getProperties()
472 Settings.Config.getStrings(contentResolver, namespace, Arrays.asList(names))); in getProperties()
488 public static String getString(@NonNull String namespace, @NonNull String name, in getString() argument
490 String value = getProperty(namespace, name); in getString()
507 public static boolean getBoolean(@NonNull String namespace, @NonNull String name, in getBoolean() argument
509 String value = getProperty(namespace, name); in getBoolean()
526 public static int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt() argument
[all …]
/frameworks/base/cmds/idmap2/tests/
DR.h22 namespace android::idmap2 {
31 namespace R::target {
32 namespace integer {
35 namespace literal {
40 namespace string {
55 namespace literal {
63 namespace R::overlay {
64 namespace integer {
67 namespace string {
74 namespace R::overlay_shared {
[all …]
/frameworks/base/core/java/android/util/
DXmlPullAttributes.java50 public String getAttributeValue(String namespace, String name) { in getAttributeValue() argument
51 return mParser.getAttributeValue(namespace, name); in getAttributeValue()
62 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
65 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue()
68 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue()
74 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument
77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue()
80 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument
83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue()
[all …]
DAttributeSet.java122 public String getAttributeValue(String namespace, String name); in getAttributeValue() argument
161 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
173 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
191 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument
203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument
217 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument
229 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument
/frameworks/av/media/codec2/hidl/1.1/utils/include/codec2/hidl/1.1/
DInputSurfaceConnection.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
DInputBufferManager.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
DComponentInterface.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
DOutputBufferQueue.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
DInputSurface.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
DConfigurable.h23 namespace android {
24 namespace hardware {
25 namespace media {
26 namespace c2 {
27 namespace V1_1 {
28 namespace utils {
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java47 @NonNull ResourceNamespace namespace, @NonNull String attrName); in getEnumValues()
108 ResourceNamespace namespace = ResourceNamespace.fromNamespaceUri(ns); in getAttributeNameResource() local
109 if (namespace != null) { in getAttributeNameResource()
111 ResourceReference.attr(namespace, name)); in getAttributeNameResource()
118 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
120 String value = getAttributeValue(namespace, attribute); in getAttributeListValue()
135 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
137 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue()
152 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument
153 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue()
[all …]
/frameworks/av/media/codec2/core/include/media/stagefright/codec2/1.0/
DInputSurfaceConnection.h26 namespace android {
27 namespace hardware {
28 namespace media {
29 namespace c2 {
30 namespace V1_0 {
31 namespace implementation {
DInputSurface.h25 namespace android {
29 namespace hardware {
30 namespace media {
31 namespace c2 {
32 namespace V1_0 {
33 namespace implementation {
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DMockComposerHal.h23 using namespace android::hardware::graphics::common;
24 using namespace android::hardware::graphics::composer;
25 using namespace android::hardware::graphics::composer::V2_4;
26 using namespace android::hardware::graphics::composer::V2_4::hal;
27 using namespace android::hardware;
28 using namespace std::chrono_literals;
30 namespace sftest {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java82 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
87 onPropertiesChangedListener, new Pair<>(namespace, executor)); in setUpMockBehaviors()
94 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
97 mKeyValueMap.put(getKey(namespace, name), value); in setUpMockBehaviors()
100 if (namespace.equals(mOnPropertiesChangedListenerMap.get(listener).first)) { in setUpMockBehaviors()
103 getProperties(namespace, name, value))); in setUpMockBehaviors()
111 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
113 return mKeyValueMap.get(getKey(namespace, name)); in setUpMockBehaviors()
117 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
123 if (!nameSpaceAndName.first.equals(namespace)) { in setUpMockBehaviors()
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BProducerListener.h24 namespace android {
25 namespace hardware {
26 namespace graphics {
27 namespace bufferqueue {
28 namespace V1_0 {
29 namespace utils {
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HProducerListener.h27 namespace android {
28 namespace hardware {
29 namespace graphics {
30 namespace bufferqueue {
31 namespace V2_0 {
32 namespace utils {
DH2BProducerListener.h24 namespace android {
25 namespace hardware {
26 namespace graphics {
27 namespace bufferqueue {
28 namespace V2_0 {
29 namespace utils {
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponentInterface.h32 namespace android {
33 namespace hardware {
34 namespace media {
35 namespace c2 {
36 namespace V1_0 {
37 namespace utils {

12345678910>>...114