Home
last modified time | relevance | path

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

123456

/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/config/
H A Dextract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
26 {"namespace":"MainCallTrace", "matchKey":"at ", "v_trace":"@T@at (.*)"}, string
36 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
37 {"namespace":"BasicParam", "matchKey":"TID = ", "v_tid":"TID = (.*)"}, string
38 {"namespace":"BasicParam", "matchKey":"State:", "v_state":"^State:(.*)"}, string
53 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
54 {"namespace":"BasicParam", "matchKey":"TID = ", "v_tid":"TID = (.*)"}, string
139 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
140 {"namespace":"BasicParam", "matchKey":"TID = ", "v_tid":"TID = (.*)"}, string
154 {"namespace":"BasicParam", "matchKey":"time", "v_last":"@L@time (.+)"} string
[all …]
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/common/
H A Dtest_extract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
7 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
9 … {"namespace":"test", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:"}, string
10 … {"namespace":"test", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:"}, string
11 … {"namespace":"test", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:"}, string
12 … {"namespace":"test", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:"}, string
13 … {"namespace":"test", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:"}, string
72 {"namespace":"BasicParam", "matchKey":"Module name:", "v_pname":"Module name:(.*)"}, string
81 {"namespace":"BasicParam", "matchKey":"Module name:", "v_pname":"Module name:(.*)"}, string
[all …]
H A Dextract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
19 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
20 {"namespace":"BasicParam", "matchKey":"UID = ", "v_uid":"UID = (.*)"} string
42 {"namespace":"MainCallTrace", "matchKey":"at ", "v_trace":"@T@at (.*)"} string
51 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
62 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
93 {"namespace":"BasicParam", "matchKey":"sysrq: Trigger a crash", "v_fiq":"(.*)"}, string
122 {"namespace":"BasicParam", "matchKey":"time", "v_last":"@L@time (.+)"} string
130 {"namespace":"BasicParam", "matchKey":"brief:", "v_first":"brief:(.*)"}, string
[all …]
/aosp12/frameworks/base/core/java/android/util/
H A DTypedXmlPullParser.java35 default int getAttributeIndex(@Nullable String namespace, @NonNull String name) { in getAttributeIndex()
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()
200 default @Nullable byte[] getAttributeBytesHex(@Nullable String namespace, in getAttributeBytesHex()
215 default @Nullable byte[] getAttributeBytesBase64(@Nullable String namespace, in getAttributeBytesBase64()
230 default int getAttributeInt(@Nullable String namespace, @NonNull String name, in getAttributeInt()
245 default int getAttributeIntHex(@Nullable String namespace, @NonNull String name, in getAttributeIntHex()
[all …]
H A 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()
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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A 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()
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest011/
H A Dtest_extract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
7 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
15 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
16 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
25 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
26 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
35 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
45 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
56 {"namespace":"BasicParam", "matchKey":"start @&@time:", "v_pid":"PID = (.*)"}, string
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A 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 …]
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest010/
H A Dtest_extract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
5 …{"namespace":"segWaitOther", "matchKey":"waiting to lock.*held by thread (\\d+)", "desc":" waiting… string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
7 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
8 …{"namespace":"segIpcFull", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:… string
15 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
16 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
17 …{"namespace":"MainCallTrace", "matchKey":"@R@(Tid:){1}", "v_trace":"@T@#\\d+ pc [0-9a-zA-Z]+ (.*) … string
25 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, string
26 {"namespace":"BasicParam", "matchKey":"PID = ", "v_pid":"PID = (.*)"}, string
[all …]
/aosp12/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
H A 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 …]
/aosp12/frameworks/base/services/core/java/com/android/server/utils/
H A 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()
/aosp12/frameworks/layoutlib/bridge/src/android/provider/
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/module/
H A DModulesInfo.java78 final String namespace, final boolean enableCaptureModule) { in registerPhotoModule()
109 final String namespace) { in registerVideoModule()
134 final String namespace) { in registerWideAngleModule()
159 final String namespace) { in registerPhotoSphereModule()
184 final String namespace) { in registerRefocusModule()
209 final String namespace, final HdrPlusSupportLevel hdrPlusSupportLevel) { in registerGcamModule()
234 final String namespace, final boolean enableCaptureModule) { in registerCaptureIntentModule()
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest007/
H A Dtest_extract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
5 …{"namespace":"segWaitOther", "matchKey":"waiting to lock.*held by thread (\\d+)", "desc":" waiting… string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
7 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
8 …{"namespace":"segIpcFull", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:… string
9 {"namespace":"", "matchKey":"", "desc":"test"} string
32 {"namespace":"BasicParam", "matchKey":"Module name:", "v_pname":"Module name:(.*)"}, string
33 …{"namespace":"MainCallTrace", "matchKey":"Thread name:", "v_trace":"@T@#\\d+ pc [0-9a-zA-Z]+ (.*)"} string
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest012/
H A Dtest_extract_rule.json5 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
6 …{"namespace":"segWaitOther", "matchKey":"waiting to lock.*held by thread (\\d+)", "desc":" waiting… string
7 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
8 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
9 …{"namespace":"segIpcFull", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:… string
10 {"namespace":"", "matchKey":"", "desc":"test"} string
33 {"namespace":"BasicParam", "matchKey":"Module name:", "v_pname":"Module name:(.*)"}, string
34 …{"namespace":"MainCallTrace", "matchKey":"Thread name:", "v_trace":"@T@#\\d+ pc [0-9a-zA-Z]+ (.*)"} string
/aosp12/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()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A 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()
209 public XmlSerializer attributeInterned(String namespace, String name, String value) in attributeInterned()
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()
281 public XmlSerializer attributeFloat(String namespace, String name, float value) in attributeFloat()
291 public XmlSerializer attributeDouble(String namespace, String name, double value) in attributeDouble()
385 public void setPrefix(String prefix, String namespace) { in setPrefix()
[all …]
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
H A Dtest_extract_rule.json4 {"namespace":"segStatus", "matchKey":"tid=\\d+ (.*)", "desc":""}, string
5 …{"namespace":"segWaitOther", "matchKey":"waiting to lock.*held by thread (\\d+)", "desc":" waiting… string
6 {"namespace":"segWaitSelf", "matchKey":"- waiting on <(.*)>", "desc":" waiting on itself"}, string
7 … {"namespace":"segIpcTrans", "matchKey":"os\\.(IpcProxy)\\.transact", "desc":" ipc transact:"}, string
8 …{"namespace":"segIpcFull", "matchKey":"os\\.Ipc\\.(blockUntilThreadAvailable)", "desc":" ipc full:… string
20 …{"namespace":"NocTrace", "depend":"BasicParam.v_noc", "matchKey":"err_code=", "v_errcode":"\\[(err… string
21 …{"namespace":"NocTrace", "depend":"BasicParam.v_noc", "matchKey":"init_flow=", "v_master":"\\[init… string
23 …{"namespace":"NocTrace", "depend":"BasicParam.v_noc", "matchKey":"adjusted ADDR", "v_address":"adj… string
25 …{"namespace":"NocTrace", "depend":"BasicParam.v_noc", "matchKey":"sec_val =", "v_security":"(sec_v… string
42 …{"namespace":"NocTrace", "depend":"BasicParam.v_noc", "matchKey":"err_code=", "v_errcode":"\\[(err… string
[all …]
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A 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()
H A 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()
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A 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()
/aosp12/frameworks/base/core/java/android/provider/
H A DDeviceConfig.java684 public static String getString(@NonNull String namespace, @NonNull String name, in getString()
702 public static boolean getBoolean(@NonNull String namespace, @NonNull String name, in getBoolean()
770 public static float getFloat(@NonNull String namespace, @NonNull String name, in getFloat()
913 public static void addOnPropertiesChangedListener( in addOnPropertiesChangedListener()
918 namespace); in addOnPropertiesChangedListener() local
957 private static Uri createNamespaceUri(@NonNull String namespace) { in createNamespaceUri()
970 private static void incrementNamespace(@NonNull String namespace) { in incrementNamespace()
999 private static void decrementNamespace(@NonNull String namespace) { in decrementNamespace()
1019 final String namespace = pathSegments.get(1); in handleChange() local
1050 public static void enforceReadPermission(Context context, String namespace) { in enforceReadPermission()
[all …]
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
H A DTestableDeviceConfig.java154 private static String getKey(String namespace, String name) { in getKey()
163 private void invokeListeners(String namespace, Properties properties) { in invokeListeners()
173 private Properties getProperties(String namespace, String name, String value) { in getProperties()
177 private Properties getProperties(String namespace, Map<String, String> keyValues) { in getProperties() argument

123456