Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 1113) sorted by relevance

12345678910>>...45

/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript196 #define DECL_INT(prefix) \
197 volatile char prefix##_c_1 = 1; \
198 volatile char2 prefix##_c_2 = 1; \
199 volatile char3 prefix##_c_3 = 1; \
200 volatile char4 prefix##_c_4 = 1; \
201 volatile uchar prefix##_uc_1 = 1; \
202 volatile uchar2 prefix##_uc_2 = 1; \
203 volatile uchar3 prefix##_uc_3 = 1; \
204 volatile uchar4 prefix##_uc_4 = 1; \
205 volatile short prefix##_s_1 = 1; \
[all …]
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java457 public void dump(Printer pw, String prefix) { in dump() argument
458 pw.println(prefix + "exceptionClassName: " + exceptionClassName); in dump()
459 pw.println(prefix + "exceptionMessage: " + exceptionMessage); in dump()
460 pw.println(prefix + "throwFileName: " + throwFileName); in dump()
461 pw.println(prefix + "throwClassName: " + throwClassName); in dump()
462 pw.println(prefix + "throwMethodName: " + throwMethodName); in dump()
463 pw.println(prefix + "throwLineNumber: " + throwLineNumber); in dump()
464 pw.println(prefix + "stackTrace: " + stackTrace); in dump()
555 public void dump(Printer pw, String prefix) { in dump() argument
556 pw.println(prefix + "activity: " + activity); in dump()
[all …]
DWaitResult.java42 @IntDef(prefix = {"LAUNCH_STATE_"}, value = {
124 public void dump(PrintWriter pw, String prefix) { in dump() argument
125 pw.println(prefix + "WaitResult:"); in dump()
126 pw.println(prefix + " result=" + result); in dump()
127 pw.println(prefix + " timeout=" + timeout); in dump()
128 pw.println(prefix + " who=" + who); in dump()
129 pw.println(prefix + " totalTime=" + totalTime); in dump()
130 pw.println(prefix + " launchState=" + launchState); in dump()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java461 void dump(PrintWriter pw, String prefix, Context baseContext, boolean redact) { in dump() argument
463 pw.println(prefix + this); in dump()
464 prefix = prefix + " "; in dump()
465 pw.println(prefix + "uid=" + getSbn().getUid() + " userId=" + getSbn().getUserId()); in dump()
466 pw.println(prefix + "opPkg=" + getSbn().getOpPkg()); in dump()
467 pw.println(prefix + "icon=" + notification.getSmallIcon()); in dump()
468 pw.println(prefix + "flags=0x" + Integer.toHexString(notification.flags)); in dump()
469 pw.println(prefix + "pri=" + notification.priority); in dump()
470 pw.println(prefix + "key=" + getSbn().getKey()); in dump()
471 pw.println(prefix + "seen=" + mStats.hasSeen()); in dump()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java63 public static String getPackageName(@NonNull String prefix) { in getPackageName() argument
64 int delimiterIndex = prefix.indexOf(PACKAGE_DELIMITER); in getPackageName()
67 Log.wtf(TAG, "Malformed prefix doesn't contain package delimiter: " + prefix); in getPackageName()
70 return prefix.substring(0, delimiterIndex); in getPackageName()
81 public static String getDatabaseName(@NonNull String prefix) { in getDatabaseName() argument
83 int packageDelimiterIndex = prefix.indexOf(PACKAGE_DELIMITER); in getDatabaseName()
84 int databaseDelimiterIndex = prefix.indexOf(DATABASE_DELIMITER); in getDatabaseName()
87 Log.wtf(TAG, "Malformed prefix doesn't contain package delimiter: " + prefix); in getDatabaseName()
92 Log.wtf(TAG, "Malformed prefix doesn't contain database delimiter: " + prefix); in getDatabaseName()
95 return prefix.substring(packageDelimiterIndex + 1, databaseDelimiterIndex); in getDatabaseName()
[all …]
/frameworks/base/core/java/android/content/pm/
DComponentInfo.java193 protected void dumpFront(Printer pw, String prefix) { in dumpFront() argument
194 super.dumpFront(pw, prefix); in dumpFront()
196 pw.println(prefix + "processName=" + processName); in dumpFront()
199 pw.println(prefix + "splitName=" + splitName); in dumpFront()
208 pw.println(prefix + "attributionTags=[" + tags + "]"); in dumpFront()
210 pw.println(prefix + "enabled=" + enabled + " exported=" + exported in dumpFront()
213 pw.println(prefix + "description=" + descriptionRes); in dumpFront()
217 protected void dumpBack(Printer pw, String prefix) { in dumpBack() argument
218 dumpBack(pw, prefix, DUMP_FLAG_ALL); in dumpBack()
221 void dumpBack(Printer pw, String prefix, int dumpFlags) { in dumpBack() argument
[all …]
DServiceInfo.java183 @IntDef(flag = true, prefix = { "FOREGROUND_SERVICE_TYPE_" }, value = {
224 public void dump(Printer pw, String prefix) { in dump() argument
225 dump(pw, prefix, DUMP_FLAG_ALL); in dump()
229 void dump(Printer pw, String prefix, int dumpFlags) { in dump() argument
230 super.dumpFront(pw, prefix); in dump()
231 pw.println(prefix + "permission=" + permission); in dump()
232 pw.println(prefix + "flags=0x" + Integer.toHexString(flags)); in dump()
233 super.dumpBack(pw, prefix, dumpFlags); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/
DAppSearchImplPlatformTest.java127 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_existingSchemaRetainsVisibilitySetting() local
144 prefix + "schema1", in testSetSchema_existingSchemaRetainsVisibilitySetting()
152 prefix + "schema1", in testSetSchema_existingSchemaRetainsVisibilitySetting()
177 prefix + "schema1", in testSetSchema_existingSchemaRetainsVisibilitySetting()
186 prefix + "schema1", in testSetSchema_existingSchemaRetainsVisibilitySetting()
196 prefix + "schema2", in testSetSchema_existingSchemaRetainsVisibilitySetting()
205 prefix + "schema2", in testSetSchema_existingSchemaRetainsVisibilitySetting()
233 String prefix = PrefixUtil.createPrefix("package", "database"); in testRemoveSchema_removedFromVisibilityStore() local
250 prefix + "schema1", in testRemoveSchema_removedFromVisibilityStore()
258 prefix + "schema1", in testRemoveSchema_removedFromVisibilityStore()
[all …]
/frameworks/base/core/java/android/util/
DPrefixPrinter.java35 public static Printer create(Printer printer, String prefix) { in create() argument
36 if (prefix == null || prefix.equals("")) { in create()
39 return new PrefixPrinter(printer, prefix); in create()
42 private PrefixPrinter(Printer printer, String prefix) { in PrefixPrinter() argument
44 mPrefix = prefix; in PrefixPrinter()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript40 #define DECL_INT(prefix) \
41 volatile char prefix##_c_1 = 1; \
42 volatile char2 prefix##_c_2 = 1; \
43 volatile char3 prefix##_c_3 = 1; \
44 volatile char4 prefix##_c_4 = 1; \
45 volatile uchar prefix##_uc_1 = 1; \
46 volatile uchar2 prefix##_uc_2 = 1; \
47 volatile uchar3 prefix##_uc_3 = 1; \
48 volatile uchar4 prefix##_uc_4 = 1; \
49 volatile short prefix##_s_1 = 1; \
[all …]
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rscript40 #define DECL_INT(prefix) \
41 volatile char prefix##_c_1 = 1; \
42 volatile char2 prefix##_c_2 = 1; \
43 volatile char3 prefix##_c_3 = 1; \
44 volatile char4 prefix##_c_4 = 1; \
45 volatile uchar prefix##_uc_1 = 1; \
46 volatile uchar2 prefix##_uc_2 = 1; \
47 volatile uchar3 prefix##_uc_3 = 1; \
48 volatile uchar4 prefix##_uc_4 = 1; \
49 volatile short prefix##_s_1 = 1; \
[all …]
Dmath.rs.bak40 #define DECL_INT(prefix) \
41 volatile char prefix##_c_1 = 1; \
42 volatile char2 prefix##_c_2 = 1; \
43 volatile char3 prefix##_c_3 = 1; \
44 volatile char4 prefix##_c_4 = 1; \
45 volatile uchar prefix##_uc_1 = 1; \
46 volatile uchar2 prefix##_uc_2 = 1; \
47 volatile uchar3 prefix##_uc_3 = 1; \
48 volatile uchar4 prefix##_uc_4 = 1; \
49 volatile short prefix##_s_1 = 1; \
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java64 public void dump(PrintWriter pw, String prefix) { in dump() argument
65 dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix); in dump()
66 receiverList.dumpLocal(pw, prefix); in dump()
69 public void dumpBrief(PrintWriter pw, String prefix) { in dumpBrief() argument
70 dumpBroadcastFilterState(pw, prefix); in dumpBrief()
73 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
74 super.dump(pr, prefix); in dumpInReceiverList()
75 dumpBroadcastFilterState(pw, prefix); in dumpInReceiverList()
78 void dumpBroadcastFilterState(PrintWriter pw, String prefix) { in dumpBroadcastFilterState() argument
80 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
DActiveInstrumentation.java107 void dump(PrintWriter pw, String prefix) { in dump() argument
108 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump()
110 pw.print(prefix); pw.println("mRunningProcesses:"); in dump()
112 pw.print(prefix); pw.print(" #"); pw.print(i); pw.print(": "); in dump()
115 pw.print(prefix); pw.print("mTargetProcesses="); in dump()
117 pw.print(prefix); pw.print("mTargetInfo="); in dump()
120 mTargetInfo.dump(new PrintWriterPrinter(pw), prefix + " ", 0); in dump()
123 pw.print(prefix); pw.print("mProfileFile="); pw.println(mProfileFile); in dump()
126 pw.print(prefix); pw.print("mWatcher="); pw.println(mWatcher); in dump()
129 pw.print(prefix); pw.print("mUiAutomationConnection="); in dump()
[all …]
DAppBindRecord.java35 void dump(PrintWriter pw, String prefix) { in dump() argument
36 pw.println(prefix + "service=" + service); in dump()
37 pw.println(prefix + "client=" + client); in dump()
38 dumpInIntentBind(pw, prefix); in dump()
41 void dumpInIntentBind(PrintWriter pw, String prefix) { in dumpInIntentBind() argument
44 pw.println(prefix + "Per-process Connections:"); in dumpInIntentBind()
47 pw.println(prefix + " " + c); in dumpInIntentBind()
/frameworks/native/cmds/installd/
Dmatchgen.py74 prefix = " " * (index + 1)
75 print "%sswitch (ext[%d]) {" % (prefix, index)
78 print "%scase '\\0': return %s;" % (prefix, target[k])
82 print "%scase '%s': case '%s':" % (prefix, k, upper)
84 print "%scase '%s':" % (prefix, k)
86 print "%s}" % (prefix)
88 print "%sbreak;" % (prefix)
/frameworks/av/media/codec2/core/include/
DC2Enum.h78 C2StringLiteral prefix = nullptr) {
80 std::vector<C2String> sanitizedNames = sanitizeEnumValueNames(names, prefix);
98 #define DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
99 _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(__C2_GENERATE_GLOBAL_VARS__, name, type, prefix, \
101 #define _DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
102 __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ##__VA_ARGS__)
103 #define __DEFINE_C2_ENUM_VALUE_AUTO_HELPER(enabled, name, type, prefix, ...) \ argument
104 ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER##enabled(name, type, prefix, ##__VA_ARGS__)
105 #define ___DEFINE_C2_ENUM_VALUE_AUTO_HELPER(name, type, prefix, ...) \ argument
111 prefix); \
[all …]
/frameworks/av/media/codec2/vndk/util/
DC2ParamUtils.cpp123 C2String prefix; in sanitizeEnumValueNames() local
128 prefix = _prefix + extraUnderscores; in sanitizeEnumValueNames()
130 C2_LOG(VERBOSE) << "prefix:" << prefix << ", underscores:" << extraUnderscores; in sanitizeEnumValueNames()
139 prefix = s + underscores; in sanitizeEnumValueNames()
144 prefix); in sanitizeEnumValueNames()
145 prefix.resize(matching); in sanitizeEnumValueNames()
148 C2_LOG(VERBOSE) << "prefix:" << prefix << ", underscores:" << extraUnderscores; in sanitizeEnumValueNames()
149 if (prefix.size() == 0 && extraUnderscores == 0) { in sanitizeEnumValueNames()
156 for (size_t i = 0; i < prefix.size(); ++i) { in sanitizeEnumValueNames()
157 if (islower(prefix[i])) { in sanitizeEnumValueNames()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardStateMonitor.java123 public void dump(String prefix, PrintWriter pw) { in dump() argument
124 pw.println(prefix + TAG); in dump()
125 prefix += " "; in dump()
126 pw.println(prefix + "mIsShowing=" + mIsShowing); in dump()
127 pw.println(prefix + "mSimSecure=" + mSimSecure); in dump()
128 pw.println(prefix + "mInputRestricted=" + mInputRestricted); in dump()
129 pw.println(prefix + "mTrusted=" + mTrusted); in dump()
130 pw.println(prefix + "mCurrentUserId=" + mCurrentUserId); in dump()
/frameworks/native/services/inputflinger/dispatcher/
DDragState.cpp26 void DragState::dump(std::string& dump, const char* prefix) { in dump() argument
27 dump += prefix + StringPrintf("Drag Window: %s\n", dragWindow->getName().c_str()); in dump()
29 dump += prefix + in dump()
32 dump += prefix + StringPrintf("isStartDrag: %s\n", isStartDrag ? "true" : "false"); in dump()
33 dump += prefix + in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java312 public void dump(PrintWriter pw, String prefix) { in dump() argument
314 pw.println(prefix + TAG); in dump()
315 prefix += " "; in dump()
316 pw.println(prefix + "mEnabled=" + mEnabled); in dump()
317 pw.println(prefix + "mCurrentRotation=" + Surface.rotationToString(mCurrentRotation)); in dump()
318 pw.println(prefix + "mSensorType=" + mSensorType); in dump()
319 pw.println(prefix + "mSensor=" + mSensor); in dump()
320 pw.println(prefix + "mRate=" + mRate); in dump()
323 mOrientationJudge.dumpLocked(pw, prefix); in dump()
396 public abstract void dumpLocked(PrintWriter pw, String prefix); in dumpLocked() argument
[all …]
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingConstants.java141 public void dump(String prefix, PrintWriter pw) { in dump() argument
142 pw.print(prefix); in dump()
146 pw.print(prefix); in dump()
150 pw.print(prefix); in dump()
154 pw.print(prefix); in dump()
158 pw.print(prefix); in dump()
162 pw.print(prefix); in dump()
166 pw.print(prefix); in dump()
/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DPrefixInformationOption.java71 public final byte[] prefix; field in PrefixInformationOption
75 final int reserved, @NonNull final byte[] prefix) { in PrefixInformationOption() argument
83 this.prefix = prefix; in PrefixInformationOption()
89 public static ByteBuffer build(final IpPrefix prefix, final byte flags, in build() argument
93 (byte) prefix.getPrefixLength(), flags, validLifetime, preferredLifetime, in build()
94 (int) 0, prefix.getRawAddress()); in build()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java31 public final boolean prefix; field in GrantUri
36 this.prefix = (modeFlags & Intent.FLAG_GRANT_PREFIX_URI_PERMISSION) != 0; in GrantUri()
44 hashCode = 31 * hashCode + (prefix ? 1231 : 1237); in hashCode()
53 && prefix == other.prefix; in equals()
61 if (prefix) result += " [prefix]"; in toString()
67 if (prefix) result += " [prefix]"; in toSafeString()
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript27 #define DECL_VAR_SET(prefix) \
28 static volatile float prefix##_f_1 = 1; \
29 static volatile float2 prefix##_f_2 = 1; \
30 static volatile float3 prefix##_f_3 = 1; \
31 static volatile float4 prefix##_f_4 = 1; \
32 static volatile char prefix##_c_1 = 1; \
33 static volatile char2 prefix##_c_2 = 1; \
34 static volatile char3 prefix##_c_3 = 1; \
35 static volatile char4 prefix##_c_4 = 1; \
36 static volatile uchar prefix##_uc_1 = 1; \
[all …]

12345678910>>...45