Home
last modified time | relevance | path

Searched defs:namespace (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/core/java/android/util/
DTypedXmlPullParser.java35 default int getAttributeIndex(@Nullable String namespace, @NonNull String name) { in getAttributeIndex()
51 default int getAttributeIndexOrThrow(@Nullable String namespace, @NonNull String name) in getAttributeIndexOrThrow()
119 default @NonNull byte[] getAttributeBytesHex(@Nullable String namespace, in getAttributeBytesHex()
128 default @NonNull byte[] getAttributeBytesBase64(@Nullable String namespace, in getAttributeBytesBase64()
137 default int getAttributeInt(@Nullable String namespace, @NonNull String name) in getAttributeInt()
146 default int getAttributeIntHex(@Nullable String namespace, @NonNull String name) in getAttributeIntHex()
155 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong()
164 default long getAttributeLongHex(@Nullable String namespace, @NonNull String name) in getAttributeLongHex()
173 default float getAttributeFloat(@Nullable String namespace, @NonNull String name) in getAttributeFloat()
182 default double getAttributeDouble(@Nullable String namespace, @NonNull String name) in getAttributeDouble()
[all …]
DTypedXmlSerializer.java38 @NonNull XmlSerializer attributeInterned(@Nullable String namespace, @NonNull String name, in attributeInterned()
45 @NonNull XmlSerializer attributeBytesHex(@Nullable String namespace, @NonNull String name, in attributeBytesHex()
52 @NonNull XmlSerializer attributeBytesBase64(@Nullable String namespace, @NonNull String name, in attributeBytesBase64()
59 @NonNull XmlSerializer attributeInt(@Nullable String namespace, @NonNull String name, in attributeInt()
66 @NonNull XmlSerializer attributeIntHex(@Nullable String namespace, @NonNull String name, in attributeIntHex()
73 @NonNull XmlSerializer attributeLong(@Nullable String namespace, @NonNull String name, in attributeLong()
80 @NonNull XmlSerializer attributeLongHex(@Nullable String namespace, @NonNull String name, in attributeLongHex()
87 @NonNull XmlSerializer attributeFloat(@Nullable String namespace, @NonNull String name, in attributeFloat()
94 @NonNull XmlSerializer attributeDouble(@Nullable String namespace, @NonNull String name, in attributeDouble()
101 @NonNull XmlSerializer attributeBoolean(@Nullable String namespace, @NonNull String name, in attributeBoolean()
DAttributeSet.java122 public String getAttributeValue(String namespace, String name); in getAttributeValue()
161 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
173 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
191 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue()
203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue()
217 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
229 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
DXmlPullAttributes.java50 public String getAttributeValue(String namespace, String name) { in getAttributeValue()
62 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
68 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
74 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue()
80 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue()
86 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
92 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java45 public void addOnPropertiesChangedListener( in addOnPropertiesChangedListener()
56 public void enforceReadPermission(Context context, String namespace) { in enforceReadPermission()
63 public boolean getBoolean( in getBoolean()
71 public float getFloat( in getFloat()
79 public int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
86 public long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
94 public String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty()
101 public String getString( in getString()
121 @Nullable String namespace) { in resetToDefaults()
128 public boolean setProperty( in setProperty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFake.java48 String namespace, Executor executor, in addOnPropertiesChangedListener()
65 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty()
79 private void setPropertyInternal(String namespace, String name, String value, in setPropertyInternal()
86 public void enforceReadPermission(Context context, String namespace) { in enforceReadPermission()
90 private Properties propsForNamespaceAndName(String namespace, String name) { in propsForNamespaceAndName()
104 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
114 public int getInt(String namespace, String name, int defaultValue) { in getInt()
124 public long getLong(String namespace, String name, long defaultValue) { in getLong()
134 public String getProperty(String namespace, String name) { in getProperty()
139 public String getString(String namespace, String name, String defaultValue) { in getString()
[all …]
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DFakeDeviceConfigInterface.java44 public void putProperty(String namespace, String key, String value) { in putProperty()
48 public void putPropertyAndNotify(String namespace, String key, String value) { in putPropertyAndNotify()
75 private DeviceConfig.Properties makeProperties(String namespace, String key, String value) { in makeProperties()
89 public String getProperty(String namespace, String name) { in getProperty()
94 public String getString(String namespace, String name, String defaultValue) { in getString()
100 public int getInt(String namespace, String name, int defaultValue) { in getInt()
113 public long getLong(String namespace, String name, long defaultValue) { in getLong()
126 public float getFloat(String namespace, String name, float defaultValue) { in getFloat()
139 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
145 public void addOnPropertiesChangedListener(String namespace, Executor executor, in addOnPropertiesChangedListener()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/
DDeviceConfigInterface.java33 String getProperty(@NonNull String namespace, @NonNull String name); in getProperty()
39 String getString(@NonNull String namespace, @NonNull String name, @NonNull String defaultValue); in getString()
44 int getInt(@NonNull String namespace, @NonNull String name, int defaultValue); in getInt()
49 long getLong(@NonNull String namespace, @NonNull String name, long defaultValue); in getLong()
54 boolean getBoolean(@NonNull String namespace, @NonNull String name, boolean defaultValue); in getBoolean()
59 float getFloat(@NonNull String namespace, @NonNull String name, float defaultValue); in getFloat()
64 void addOnPropertiesChangedListener(@NonNull String namespace, @NonNull Executor executor, in addOnPropertiesChangedListener()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java82 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
94 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
111 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
117 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
147 private static String getKey(String namespace, String name) { in getKey()
156 private Properties getProperties(String namespace, String name, String value) { in getProperties()
160 private Properties getProperties(String namespace, Map<String, String> keyValues) { in getProperties() argument
/frameworks/layoutlib/bridge/src/android/provider/
DDeviceConfig_Delegate.java30 public static String getString(String namespace, String name, String defaultValue) { in getString()
35 public static boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
40 public static int getInt(String namespace, String name, int defaultValue) { in getInt()
45 public static long getLong(String namespace, String name, long defaultValue) { in getLong()
50 public static float getFloat(String namespace, String name, float defaultValue) { in getFloat()
/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()
52 public static void syncSet(@NonNull Context context, @NonNull String namespace, in syncSet()
75 public static void delete(@NonNull String namespace, @NonNull String key) { in delete()
83 public static void syncDelete(@NonNull Context context, @NonNull String namespace, in syncDelete()
102 public static String get(@NonNull String namespace, @NonNull String key) { in get()
106 private static void assertNewValue(@NonNull String namespace, @NonNull String key, in assertNewValue()
/frameworks/base/core/java/com/android/internal/util/
DBinaryXmlSerializer.java179 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag()
191 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag()
200 public XmlSerializer attribute(String namespace, String name, String value) throws IOException { in attribute()
209 public XmlSerializer attributeInterned(String namespace, String name, String value) in attributeInterned()
219 public XmlSerializer attributeBytesHex(String namespace, String name, byte[] value) in attributeBytesHex()
230 public XmlSerializer attributeBytesBase64(String namespace, String name, byte[] value) in attributeBytesBase64()
241 public XmlSerializer attributeInt(String namespace, String name, int value) in attributeInt()
251 public XmlSerializer attributeIntHex(String namespace, String name, int value) in attributeIntHex()
261 public XmlSerializer attributeLong(String namespace, String name, long value) in attributeLong()
271 public XmlSerializer attributeLongHex(String namespace, String name, long value) in attributeLongHex()
[all …]
DXmlSerializerWrapper.java71 public void setPrefix(String prefix, String namespace) throws IOException { in setPrefix()
75 public String getPrefix(String namespace, boolean generatePrefix) { in getPrefix()
91 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag()
95 public XmlSerializer attribute(String namespace, String name, String value) in attribute()
100 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DNopAttributeSet.java50 public String getAttributeValue(String namespace, String name) { in getAttributeValue()
65 public int getAttributeListValue(String namespace, String attribute, String[] options, int in getAttributeListValue()
71 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
77 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
82 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
87 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
93 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
150 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
DBridgeLayoutParamsMapAttributes.java41 public String getAttributeValue(String namespace, String name) { in getAttributeValue()
84 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
90 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
96 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue()
102 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue()
108 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
114 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
DBridgeXmlBlockParser.java289 public String getAttributeValue(String namespace, String name) { in getAttributeValue()
351 public void require(int type, String namespace, String name) in require()
414 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue()
435 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
445 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
461 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
471 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { in getAttributeUnsignedIntValue()
497 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
/frameworks/libs/net/common/device/com/android/net/module/util/
DDeviceConfigUtils.java67 public static String getDeviceConfigProperty(@NonNull String namespace, @NonNull String name, in getDeviceConfigProperty()
80 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt()
104 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt()
118 public static boolean getDeviceConfigPropertyBoolean(@NonNull String namespace, in getDeviceConfigPropertyBoolean()
137 public static boolean isFeatureEnabled(@NonNull Context context, @NonNull String namespace, in isFeatureEnabled()
157 public static boolean isFeatureEnabled(@NonNull Context context, @NonNull String namespace, in isFeatureEnabled()
184 public static boolean isFeatureEnabled(@NonNull Context context, @NonNull String namespace, in isFeatureEnabled()
204 @NonNull String namespace, String name, boolean defaultEnabled) in isFeatureEnabled()
/frameworks/base/core/java/android/provider/
DDeviceConfig.java629 public static String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty()
658 public static Properties getProperties(@NonNull String namespace, @NonNull String ... names) { in getProperties()
676 public static String getString(@NonNull String namespace, @NonNull String name, in getString()
694 public static boolean getBoolean(@NonNull String namespace, @NonNull String name, in getBoolean()
712 public static int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
737 public static long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
762 public static float getFloat(@NonNull String namespace, @NonNull String name, in getFloat()
797 public static boolean setProperty(@NonNull String namespace, @NonNull String name, in setProperty()
853 public static void resetToDefaults(@ResetMode int resetMode, @Nullable String namespace) { in resetToDefaults()
905 public static void addOnPropertiesChangedListener( in addOnPropertiesChangedListener()
[all …]
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java46 Map<String, Integer> getEnumValues( in getEnumValues()
108 ResourceNamespace namespace = ResourceNamespace.fromNamespaceUri(ns); in getAttributeNameResource() local
118 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
135 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
152 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
159 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
200 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
217 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
303 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java169 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
174 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
186 private static String getFromContentProvider(ContentResolver resolver, String namespace, in getFromContentProvider()
195 private static boolean deleteFromContentProvider(ContentResolver resolver, String namespace, in deleteFromContentProvider()
/frameworks/base/core/java/android/net/
DLocalSocketAddress.java60 private final Namespace namespace; field in LocalSocketAddress
68 public LocalSocketAddress(String name, Namespace namespace) { in LocalSocketAddress()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java53 NamespaceData getNamespaceData(String namespace) { in getNamespaceData()
62 private NamespaceData(String namespace) { in NamespaceData()
123 public @NonNull Builder putEntry(@NonNull String namespace, @NonNull String name, in putEntry()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/capabilities/
DAudio.java61 String namespace = getNamespace(); in serialize() local
70 String namespace = parser.getNamespace(); in parse() local
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceId.java64 String namespace = getNamespace(); in serialize() local
73 String namespace = parser.getNamespace(); in parse() local
DDescription.java64 String namespace = getNamespace(); in serialize() local
73 String namespace = parser.getNamespace(); in parse() local

12345