Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/core/java/android/provider/
H A 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 …]
/aosp14/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
H A DFakeDeviceConfigInterface.java52 public void putProperty(String namespace, String key, String value) { in putProperty()
56 public void putPropertyAndNotify(String namespace, String key, String value) { in putPropertyAndNotify()
97 public String getProperty(String namespace, String name) { in getProperty()
102 public DeviceConfig.Properties getProperties(String namespace, String... names) { in getProperties()
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()
161 public int getInt(String namespace, String name, int defaultValue) { in getInt()
174 public long getLong(String namespace, String name, long defaultValue) { in getLong()
187 public float getFloat(String namespace, String name, float defaultValue) { in getFloat()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
H A 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()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A 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()
/aosp14/frameworks/base/services/flags/java/com/android/server/flags/
H A 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()
H A 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()
/aosp14/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A 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()
/aosp14/frameworks/base/core/java/android/util/
H A 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()
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/flags/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A 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()
H A DFastXmlSerializer.java187 public XmlSerializer attribute(String namespace, String name, String value) throws IOException, in attribute()
222 public XmlSerializer endTag(String namespace, String name) throws IOException, in endTag()
300 public String getPrefix(String namespace, boolean generatePrefix) in getPrefix()
358 public void setPrefix(String prefix, String namespace) throws IOException, in setPrefix()
378 public XmlSerializer startTag(String namespace, String name) throws IOException, in startTag()
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DDeviceConfigServiceTest.java168 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
173 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider()
185 private static String getFromContentProvider(ContentResolver resolver, String namespace, in getFromContentProvider()
194 private static boolean deleteFromContentProvider(ContentResolver resolver, String namespace, in deleteFromContentProvider()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerShellCommand.java114 private boolean printError(int errCode, String pkgName, int userId, @Nullable String namespace, in printError()
166 String namespace = null; in runJob() local
230 String namespace = null; in timeout() local
273 String namespace = null; in cancelJob() local
357 String namespace = null; in getEstimatedNetworkBytes() local
413 String namespace = null; in getTransferredNetworkBytes() local
457 String namespace = null; in getJobState() local
553 String namespace = null; in stop() local
/aosp14/frameworks/base/core/java/android/flags/
H A 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()
H A DSyncableFlag.java33 public SyncableFlag( in SyncableFlag()
41 public SyncableFlag( in SyncableFlag()
/aosp14/frameworks/base/identity/java/android/security/identity/
H A DPersonalizationData.java54 NamespaceData getNamespaceData(String namespace) { in getNamespaceData()
63 private NamespaceData(String namespace) { in NamespaceData()
124 public @NonNull Builder putEntry(@NonNull String namespace, @NonNull String name, in putEntry()
/aosp14/frameworks/base/core/java/android/net/
H A DLocalSocketAddress.java60 private final Namespace namespace; field in LocalSocketAddress
68 public LocalSocketAddress(String name, Namespace namespace) { in LocalSocketAddress()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSynchedDeviceConfig.java44 static SynchedDeviceConfigBuilder builder(@NonNull String namespace, in builder()
49 private SynchedDeviceConfig(@NonNull String namespace, @NonNull Executor executor, in SynchedDeviceConfig()
130 private SynchedDeviceConfigBuilder(@NonNull String namespace, @NonNull Executor executor) { in SynchedDeviceConfigBuilder()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/
H A DJobSchedulerImpl.java55 @Nullable String namespace) { in JobSchedulerImpl()
61 private JobSchedulerImpl(JobSchedulerImpl jsi, @Nullable String namespace) { in JobSchedulerImpl()
67 public JobScheduler forNamespace(@NonNull String namespace) { in forNamespace()
/aosp14/frameworks/base/keystore/java/android/security/
H A DKeyStore2.java160 public KeyDescriptor[] list(int domain, long namespace) throws KeyStoreException { in list()
167 public KeyDescriptor[] listBatch(int domain, long namespace, String startPastAlias) in listBatch()
317 public int getNumberOfEntries(int domain, long namespace) throws KeyStoreException { in getNumberOfEntries()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreProvider.java258 @NonNull KeyStore2 keyStore, @NonNull String privateKeyAlias, int namespace) in loadAndroidKeyStorePublicKeyFromKeystore()
287 @NonNull KeyStore2 keyStore, @NonNull String privateKeyAlias, int namespace) in loadAndroidKeyStorePrivateKeyFromKeystore()
347 @NonNull KeyStore2 keyStore, @NonNull String alias, int namespace) in loadAndroidKeyStoreKeyFromKeystore()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DHighRefreshRateDenylistTest.java144 public String getProperty(String namespace, String name) { in getProperty()
151 public void addOnPropertiesChangedListener(String namespace, Executor executor, in addOnPropertiesChangedListener()
/aosp14/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java294 public String getAttributeValue(String namespace, String name) { in getAttributeValue()
341 …public void require(int type, String namespace, String name) throws XmlPullParserException,IOExcep… in require()
392 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue()
400 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue()
408 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue()
416 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue()
424 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue()
433 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue()
643 long state, String namespace, String name); in nativeGetAttributeIndex()

1234