Home
last modified time | relevance | path

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

12345

/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlPullParser.java33 default int getAttributeIndex(@Nullable String namespace, @NonNull String name) { in getAttributeIndex()
49 default int getAttributeIndexOrThrow(@Nullable String namespace, @NonNull String name) in getAttributeIndexOrThrow()
117 default @NonNull byte[] getAttributeBytesHex(@Nullable String namespace, in getAttributeBytesHex()
126 default @NonNull byte[] getAttributeBytesBase64(@Nullable String namespace, in getAttributeBytesBase64()
135 default int getAttributeInt(@Nullable String namespace, @NonNull String name) in getAttributeInt()
144 default int getAttributeIntHex(@Nullable String namespace, @NonNull String name) in getAttributeIntHex()
153 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong()
162 default long getAttributeLongHex(@Nullable String namespace, @NonNull String name) in getAttributeLongHex()
171 default float getAttributeFloat(@Nullable String namespace, @NonNull String name) in getAttributeFloat()
180 default double getAttributeDouble(@Nullable String namespace, @NonNull String name) in getAttributeDouble()
[all …]
DTypedXmlSerializer.java36 @NonNull XmlSerializer attributeInterned(@Nullable String namespace, @NonNull String name, in attributeInterned()
43 @NonNull XmlSerializer attributeBytesHex(@Nullable String namespace, @NonNull String name, in attributeBytesHex()
50 @NonNull XmlSerializer attributeBytesBase64(@Nullable String namespace, @NonNull String name, in attributeBytesBase64()
57 @NonNull XmlSerializer attributeInt(@Nullable String namespace, @NonNull String name, in attributeInt()
64 @NonNull XmlSerializer attributeIntHex(@Nullable String namespace, @NonNull String name, in attributeIntHex()
71 @NonNull XmlSerializer attributeLong(@Nullable String namespace, @NonNull String name, in attributeLong()
78 @NonNull XmlSerializer attributeLongHex(@Nullable String namespace, @NonNull String name, in attributeLongHex()
85 @NonNull XmlSerializer attributeFloat(@Nullable String namespace, @NonNull String name, in attributeFloat()
92 @NonNull XmlSerializer attributeDouble(@Nullable String namespace, @NonNull String name, in attributeDouble()
99 @NonNull XmlSerializer attributeBoolean(@Nullable String namespace, @NonNull String name, in attributeBoolean()
DBinaryXmlSerializer.java184 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag()
196 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag()
205 public XmlSerializer attribute(String namespace, String name, String value) throws IOException { in attribute()
214 public XmlSerializer attributeInterned(String namespace, String name, String value) in attributeInterned()
224 public XmlSerializer attributeBytesHex(String namespace, String name, byte[] value) in attributeBytesHex()
239 public XmlSerializer attributeBytesBase64(String namespace, String name, byte[] value) in attributeBytesBase64()
254 public XmlSerializer attributeInt(String namespace, String name, int value) in attributeInt()
264 public XmlSerializer attributeIntHex(String namespace, String name, int value) in attributeIntHex()
274 public XmlSerializer attributeLong(String namespace, String name, long value) in attributeLong()
284 public XmlSerializer attributeLongHex(String namespace, String name, long value) in attributeLongHex()
[all …]
/frameworks/base/core/java/android/provider/
DDeviceConfigInterface.java40 String getProperty(@NonNull String namespace, @NonNull String name); in getProperty()
47 Properties getProperties(@NonNull String namespace, @NonNull String... names); in getProperties()
53 boolean setProperty(@NonNull String namespace, @NonNull String name, @Nullable String value, in setProperty()
66 boolean deleteProperty(@NonNull String namespace, @NonNull String name); in deleteProperty()
72 void resetToDefaults(@ResetMode int resetMode, @Nullable String namespace); in resetToDefaults()
79 String getString(@NonNull String namespace, @NonNull String name, @NonNull String defaultValue); in getString()
85 int getInt(@NonNull String namespace, @NonNull String name, int defaultValue); in getInt()
91 long getLong(@NonNull String namespace, @NonNull String name, long defaultValue); in getLong()
97 boolean getBoolean(@NonNull String namespace, @NonNull String name, boolean defaultValue); in getBoolean()
103 float getFloat(@NonNull String namespace, @NonNull String name, float defaultValue); in getFloat()
[all …]
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DFakeDeviceConfigInterface.java42 private static String createCompositeName(@NonNull String namespace, @NonNull String name) { in createCompositeName()
52 public void putProperty(String namespace, String key, String value) { in putProperty()
56 public void putPropertyAndNotify(String namespace, String key, String value) { in putPropertyAndNotify()
83 private DeviceConfig.Properties makeProperties(String namespace, String key, String value) { in makeProperties()
97 public String getProperty(String namespace, String name) { in getProperty()
102 public DeviceConfig.Properties getProperties(String namespace, String... names) { in getProperties()
127 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty()
144 public boolean deleteProperty(String namespace, String name) { in deleteProperty()
150 public void resetToDefaults(int resetMode, String namespace) { in resetToDefaults()
155 public String getString(String namespace, String name, String defaultValue) { in getString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java44 public void addOnPropertiesChangedListener( in addOnPropertiesChangedListener()
55 public boolean getBoolean( in getBoolean()
63 public float getFloat( in getFloat()
71 public int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
78 public long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
86 public String getProperty(@NonNull String namespace, @NonNull String name) { in getProperty()
93 public String getString( in getString()
113 @Nullable String namespace) { in resetToDefaults()
120 public boolean setProperty( in setProperty()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DDeviceConfigProxyFake.java47 String namespace, Executor executor, in addOnPropertiesChangedListener()
64 public boolean setProperty(String namespace, String name, String value, boolean makeDefault) { in setProperty()
78 private void setPropertyInternal(String namespace, String name, String value, in setPropertyInternal()
84 private Properties propsForNamespaceAndName(String namespace, String name) { in propsForNamespaceAndName()
98 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
108 public int getInt(String namespace, String name, int defaultValue) { in getInt()
118 public long getLong(String namespace, String name, long defaultValue) { in getLong()
128 public String getProperty(String namespace, String name) { in getProperty()
133 public String getString(String namespace, String name, String defaultValue) { in getString()
143 public void resetToDefaults(int resetMode, String namespace) { in resetToDefaults()
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DTestableDeviceConfig.java86 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
98 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
109 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
118 String namespace = properties.getNamespace(); in setUpMockBehaviors() local
131 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
137 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local
169 private static String getKey(String namespace, String name) { in getKey()
178 private void invokeListeners(String namespace, Properties properties) { in invokeListeners()
188 private Properties getProperties(String namespace, String name, String value) { in getProperties()
192 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()
55 public static String getProperty(String namespace, String name) { in getProperty()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DIJobScheduler.aidl31 int schedule(String namespace, in JobInfo job); in schedule()
32 int enqueue(String namespace, in JobInfo job, in JobWorkItem work); in enqueue()
33 …int scheduleAsPackage(String namespace, in JobInfo job, String packageName, int userId, String tag… in scheduleAsPackage()
34 void cancel(String namespace, int jobId); in cancel()
36 void cancelAllInNamespace(String namespace); in cancelAllInNamespace()
39 ParceledListSlice<JobInfo> getAllPendingJobsInNamespace(String namespace); in getAllPendingJobsInNamespace()
40 JobInfo getPendingJob(String namespace, int jobId); in getPendingJob()
41 int getPendingJobReason(String namespace, int jobId); in getPendingJobReason()
/frameworks/base/services/flags/java/com/android/server/flags/
DFlagOverrideStore.java51 boolean contains(String namespace, String name) { in contains()
57 public void set(String namespace, String name, String value) { in set()
64 public String get(String namespace, String name) { in get()
70 public void erase(String namespace, String name) { in erase()
78 Map<String, Map<String, String>> getFlagsForNamespace(String namespace) { in getFlagsForNamespace()
115 static String getPropName(String namespace, String name) { in getPropName()
120 void onFlagChanged(String namespace, String name, String value); in onFlagChanged()
DFlagCache.java40 boolean containsNamespace(String namespace) { in containsNamespace()
49 boolean contains(String namespace, String name) { in contains()
64 boolean setIfChanged(String namespace, String name, V value) { in setIfChanged()
81 V getOrSet(String namespace, String name, V defaultValue) { in getOrSet()
94 V getOrNull(String namespace, String name) { in getOrNull()
/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/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()
358 public void require(int type, String namespace, String name) in require()
421 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
432 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue()
442 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
452 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
468 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
478 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { in getAttributeUnsignedIntValue()
504 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlag.kt35 val namespace: String constant
60 override val namespace: String, constant in com.android.systemui.flags.BooleanFlag
109 override val namespace: String, constant in com.android.systemui.flags.UnreleasedFlag
121 override val namespace: String, constant in com.android.systemui.flags.ReleasedFlag
132 override val namespace: String, constant in com.android.systemui.flags.ResourceBooleanFlag
147 override val namespace: String, constant in com.android.systemui.flags.SysPropBooleanFlag
155 override val namespace: String, constant in com.android.systemui.flags.StringFlag
191 override val namespace: String, constant in com.android.systemui.flags.ResourceStringFlag
198 override val namespace: String, constant in com.android.systemui.flags.IntFlag
235 override val namespace: String, constant in com.android.systemui.flags.ResourceIntFlag
[all …]
/frameworks/base/core/java/android/util/
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/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()
162 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
203 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
220 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
306 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
/frameworks/base/core/java/com/android/internal/flags/
DCoreFlags.java61 private static BooleanFlag booleanFlag(String namespace, String name, boolean defaultValue) { in booleanFlag()
69 private static FusedOffFlag fusedOffFlag(String namespace, String name) { in fusedOffFlag()
77 private static FusedOnFlag fusedOnFlag(String namespace, String name) { in fusedOnFlag()
86 String namespace, String name, boolean defaultValue) { in dynamicBooleanFlag()
/frameworks/base/core/java/com/android/internal/util/
DXmlSerializerWrapper.java72 public void setPrefix(String prefix, String namespace) throws IOException { in setPrefix()
76 public String getPrefix(String namespace, boolean generatePrefix) { in getPrefix()
92 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag()
96 public XmlSerializer attribute(String namespace, String name, String value) in attribute()
101 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag()
/frameworks/base/core/java/android/flags/
DFeatureFlags.java126 public static BooleanFlag booleanFlag( in booleanFlag()
138 public static FusedOffFlag fusedOffFlag(@NonNull String namespace, @NonNull String name) { in fusedOffFlag()
149 public static FusedOnFlag fusedOnFlag(@NonNull String namespace, @NonNull String name) { in fusedOnFlag()
160 public static DynamicBooleanFlag dynamicBooleanFlag( in dynamicBooleanFlag()
311 private void addBooleanOverride(String namespace, String name, String override) { in addBooleanOverride()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java220 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
225 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
237 private static String getFromContentProvider(ContentResolver resolver, String namespace, in getFromContentProvider()
246 private static boolean deleteFromContentProvider(ContentResolver resolver, String namespace, in deleteFromContentProvider()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java131 private boolean printError(int errCode, String pkgName, int userId, @Nullable String namespace, in printError()
183 String namespace = null; in runJob() local
251 String namespace = null; in timeout() local
294 String namespace = null; in cancelJob() local
482 String namespace = null; in getEstimatedNetworkBytes() local
538 String namespace = null; in getTransferredNetworkBytes() local
582 String namespace = null; in getJobState() local
713 String namespace = null; in stop() local

12345