/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | TypedXmlPullParser.java | 33 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 …]
|
D | TypedXmlSerializer.java | 36 @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()
|
D | BinaryXmlSerializer.java | 184 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/ |
D | DeviceConfigInterface.java | 40 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/ |
D | FakeDeviceConfigInterface.java | 42 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/ |
D | DeviceConfigProxy.java | 44 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/apex/jobscheduler/framework/java/android/app/job/ |
D | IJobScheduler.aidl | 32 int schedule(String namespace, in JobInfo job); in schedule() 33 int enqueue(String namespace, in JobInfo job, in JobWorkItem work); in enqueue() 34 …int scheduleAsPackage(String namespace, in JobInfo job, String packageName, int userId, String tag… in scheduleAsPackage() 35 void cancel(String namespace, int jobId); in cancel() 37 void cancelAllInNamespace(String namespace); in cancelAllInNamespace() 40 ParceledListSlice<JobInfo> getAllPendingJobsInNamespace(String namespace); in getAllPendingJobsInNamespace() 41 JobInfo getPendingJob(String namespace, int jobId); in getPendingJob() 42 int getPendingJobReason(String namespace, int jobId); in getPendingJobReason() 43 int[] getPendingJobReasons(String namespace, int jobId); in getPendingJobReasons() 44 List<PendingJobReasonsInfo> getPendingJobReasonsHistory(String namespace, int jobId); in getPendingJobReasonsHistory()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | DeviceConfigProxyFake.java | 47 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/layoutlib/bridge/src/android/provider/ |
D | DeviceConfig_Delegate.java | 30 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/libs/modules-utils/java/com/android/modules/utils/testing/ |
D | TestableDeviceConfig.java | 88 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local 101 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local 113 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local 123 String namespace = properties.getNamespace(); in setUpMockBehaviors() local 137 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local 144 String namespace = invocationOnMock.getArgument(0); in setUpMockBehaviors() local 174 private static String getKey(String namespace, String name) { in getKey() 183 private void invokeListeners(String namespace, Properties properties) { in invokeListeners() 211 private Properties getProperties(String namespace, String name, String value) { in getProperties() 215 private Properties getProperties(String namespace, Map<String, String> keyValues) { in getProperties() argument
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | FlagOverrideStore.java | 51 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()
|
D | FlagCache.java | 40 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/ |
D | SettingsHelper.java | 40 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/ravenwood/runtime-helper-src/framework/android/provider/ |
D | RavenwoodConfigDataStore.java | 55 private record ObserverInfo(String namespace, ContentObserver observer) { in ObserverInfo() 77 private HashMap<String, String> getNamespaceLocked(@NonNull String namespace) { in getNamespaceLocked() 102 public Properties getProperties(@NonNull String namespace, @NonNull String... names) { in getProperties() 142 public boolean setProperty(@NonNull String namespace, @NonNull String name, in setProperty() 159 public boolean deleteProperty(@NonNull String namespace, @NonNull String name) { in deleteProperty() 174 public void resetToDefaults(int resetMode, @Nullable String namespace) { in resetToDefaults() 212 public void registerContentObserver(@NonNull String namespace, boolean notifyForescendants, in registerContentObserver() 237 private void notifyObserversLock(@NonNull String namespace, String[] keys) { in notifyObserversLock()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | NopAttributeSet.java | 45 public String getAttributeValue(String namespace, String name) { in getAttributeValue() 60 public int getAttributeListValue(String namespace, String attribute, String[] options, int in getAttributeListValue() 66 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() 72 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() 77 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() 82 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() 88 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() 145 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
|
D | BridgeLayoutParamsMapAttributes.java | 41 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()
|
D | BridgeXmlBlockParser.java | 289 public String getAttributeValue(String namespace, String name) { in getAttributeValue() 347 public void require(int type, String namespace, String name) in require() 410 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() 421 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue() 431 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() 441 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() 457 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() 467 public int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) { in getAttributeUnsignedIntValue() 493 public ResourceValue getResolvedAttributeValue(@Nullable String namespace, in getResolvedAttributeValue()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/ |
D | Flag.kt | 35 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/ |
D | AttributeSet.java | 122 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()
|
D | XmlPullAttributes.java | 50 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/ |
D | BridgeXmlPullAttributes.java | 46 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/ |
D | CoreFlags.java | 61 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/ |
D | XmlSerializerWrapper.java | 72 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/services/tests/vibrator/utils/com/android/server/vibrator/ |
D | FakeXmlResourceParser.java | 188 public void require(int type, String namespace, String name) in require() 229 public String getAttributeValue(String namespace, String name) { in getAttributeValue() 239 public int getAttributeListValue(String namespace, String attribute, String[] options, in getAttributeListValue() 245 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() 251 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() 256 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() 261 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() 267 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 133 private boolean printError(int errCode, String pkgName, int userId, @Nullable String namespace, in printError() 185 String namespace = null; in runJob() local 253 String namespace = null; in timeout() local 296 String namespace = null; in cancelJob() local 493 String namespace = null; in getEstimatedNetworkBytes() local 549 String namespace = null; in getTransferredNetworkBytes() local 593 String namespace = null; in getJobWakelockTag() local 636 String namespace = null; in getJobState() local 767 String namespace = null; in stop() local
|