/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ProtoLogController.java | 105 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp() argument 106 pw.println(prefix + "status"); in printShellCommandHelp() 107 pw.println(prefix + " Get current ProtoLog status."); in printShellCommandHelp() 108 pw.println(prefix + "start"); in printShellCommandHelp() 109 pw.println(prefix + " Start proto logging."); in printShellCommandHelp() 110 pw.println(prefix + "stop"); in printShellCommandHelp() 111 pw.println(prefix + " Stop proto logging and flush to file."); in printShellCommandHelp() 112 pw.println(prefix + "enable [group...]"); in printShellCommandHelp() 113 pw.println(prefix + " Enable proto logging for given groups."); in printShellCommandHelp() 114 pw.println(prefix + "disable [group...]"); in printShellCommandHelp() [all …]
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/netlink/ |
D | StructNdOptPref64Test.java | 56 private static IpPrefix prefix(String addrString, int prefixLength) throws Exception { in prefix() method in StructNdOptPref64Test 60 private void assertPref64OptMatches(int lifetime, IpPrefix prefix, StructNdOptPref64 opt) { in assertPref64OptMatches() argument 64 assertEquals(prefix, opt.prefix); in assertPref64OptMatches() 72 private ByteBuffer makeNdOptPref64(int lifetime, byte[] prefix, int prefixLengthCode) { in makeNdOptPref64() argument 73 if (prefix.length != 12) throw new IllegalArgumentException("Prefix must be 12 bytes"); in makeNdOptPref64() 79 .put(prefix, 0, 12); in makeNdOptPref64() 92 assertPref64OptMatches(136, prefix("2001:DB8:3:4:5:6::", 96), opt); in testParseCannedOption() 100 assertPref64OptMatches(10064, prefix("64:FF9B::", 56), opt); in testParseCannedOption() 109 assertPref64OptMatches(600, prefix(PREFIX1, 96), opt); in testParsing() 114 assertPref64OptMatches(0, prefix(PREFIX1, 64), opt); in testParsing() [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/log/ |
D | TableLogBufferBase.kt | 28 fun logChange(prefix: String, columnName: String, value: String?) { in logChange() 29 logChange(prefix, columnName, value, isInitial = false) in logChange() 33 fun logChange(prefix: String, columnName: String, value: String?, isInitial: Boolean) in logChange() 40 fun logChange(prefix: String, columnName: String, value: Boolean) { in logChange() 41 logChange(prefix, columnName, value, isInitial = false) in logChange() 45 fun logChange(prefix: String, columnName: String, value: Boolean, isInitial: Boolean) in logChange() 52 fun logChange(prefix: String, columnName: String, value: Int?) { in logChange() 53 logChange(prefix, columnName, value, isInitial = false) in logChange() 57 fun logChange(prefix: String, columnName: String, value: Int?, isInitial: Boolean)
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 196 #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/libs/net/common/device/com/android/net/module/util/netlink/ |
D | StructNdOptPref64.java | 60 @NonNull public final IpPrefix prefix; field in StructNdOptPref64 95 public StructNdOptPref64(@NonNull IpPrefix prefix, int lifetime) { in StructNdOptPref64() argument 98 Objects.requireNonNull(prefix, "prefix must not be null"); in StructNdOptPref64() 99 if (!(prefix.getAddress() instanceof Inet6Address)) { in StructNdOptPref64() 100 throw new IllegalArgumentException("Must be an IPv6 prefix: " + prefix); in StructNdOptPref64() 102 prefixLengthToPlc(prefix.getPrefixLength()); // Throw if the prefix length is invalid. in StructNdOptPref64() 103 this.prefix = prefix; in StructNdOptPref64() 128 prefix = new IpPrefix(addr, plcToPrefixLength(scaledLifetimePlc & 7)); in StructNdOptPref64() 154 buf.putShort(getScaledLifetimePlc(lifetime, prefixLengthToPlc(prefix.getPrefixLength()))); in writeToByteBuffer() 155 buf.put(prefix.getRawAddress(), 0, 12); in writeToByteBuffer() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationErrorReport.java | 474 public void dump(Printer pw, String prefix) { in dump() argument 475 pw.println(prefix + "exceptionHandlerClassName: " + exceptionHandlerClassName); in dump() 476 pw.println(prefix + "exceptionClassName: " + exceptionClassName); in dump() 477 pw.println(prefix + "exceptionMessage: " + exceptionMessage); in dump() 478 pw.println(prefix + "throwFileName: " + throwFileName); in dump() 479 pw.println(prefix + "throwClassName: " + throwClassName); in dump() 480 pw.println(prefix + "throwMethodName: " + throwMethodName); in dump() 481 pw.println(prefix + "throwLineNumber: " + throwLineNumber); in dump() 482 pw.println(prefix + "stackTrace: " + stackTrace); in dump() 573 public void dump(Printer pw, String prefix) { in dump() argument [all …]
|
D | WaitResult.java | 42 @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/core/java/android/util/ |
D | PrefixPrinter.java | 35 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/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 479 void dump(PrintWriter pw, String prefix, Context baseContext, boolean redact) { in dump() argument 481 pw.println(prefix + this); in dump() 482 prefix = prefix + " "; in dump() 483 pw.println(prefix + "uid=" + getSbn().getUid() + " userId=" + getSbn().getUserId()); in dump() 484 pw.println(prefix + "opPkg=" + getSbn().getOpPkg()); in dump() 485 pw.println(prefix + "icon=" + notification.getSmallIcon()); in dump() 486 pw.println(prefix + "flags=0x" + Integer.toHexString(notification.flags)); in dump() 487 pw.println(prefix + "originalFlags=0x" + Integer.toHexString(mOriginalFlags)); in dump() 488 pw.println(prefix + "pri=" + notification.priority); in dump() 489 pw.println(prefix + "key=" + getSbn().getKey()); in dump() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ComponentInfo.java | 193 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 …]
|
/frameworks/native/cmds/installd/ |
D | matchgen.py | 74 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/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rscript | 40 #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_16/src/com/android/rs/test/ |
D | math.rscript | 40 #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/av/media/codec2/core/include/ |
D | C2Enum.h | 78 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/base/packages/SystemUI/src/com/android/systemui/log/table/ |
D | TableLogBuffer.kt | 181 override fun logChange(prefix: String, columnName: String, value: String?, isInitial: Boolean) { in logChange() 182 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange() 190 override fun logChange(prefix: String, columnName: String, value: Boolean, isInitial: Boolean) { in logChange() 191 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange() 199 override fun logChange(prefix: String, columnName: String, value: Int?, isInitial: Boolean) { in logChange() 200 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange() 208 prefix: String, in logChange() 214 val change = obtain(timestamp, prefix, columnName, isInitial) in logChange() 222 prefix: String, in logChange() 228 val change = obtain(timestamp, prefix, columnName, isInitial) in logChange() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBindRecord.java | 36 void dump(PrintWriter pw, String prefix) { in dump() argument 37 pw.println(prefix + "service=" + service); in dump() 38 pw.println(prefix + "client=" + client); in dump() 39 pw.println(prefix + "attributedClient=" + attributedClient); in dump() 40 dumpInIntentBind(pw, prefix); in dump() 43 void dumpInIntentBind(PrintWriter pw, String prefix) { in dumpInIntentBind() argument 46 pw.println(prefix + "Per-process Connections:"); in dumpInIntentBind() 49 pw.println(prefix + " " + c); in dumpInIntentBind()
|
D | BroadcastFilter.java | 82 public void dump(PrintWriter pw, String prefix) { in dump() argument 83 dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix); in dump() 84 receiverList.dumpLocal(pw, prefix); in dump() 88 public void dumpBrief(PrintWriter pw, String prefix) { in dumpBrief() argument 89 dumpBroadcastFilterState(pw, prefix); in dumpBrief() 93 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument 94 super.dump(pr, prefix); in dumpInReceiverList() 95 dumpBroadcastFilterState(pw, prefix); in dumpInReceiverList() 99 void dumpBroadcastFilterState(PrintWriter pw, String prefix) { in dumpBroadcastFilterState() argument 101 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
|
D | ActiveInstrumentation.java | 107 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 …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardStateMonitor.java | 119 public void dump(String prefix, PrintWriter pw) { in dump() argument 120 pw.println(prefix + TAG); in dump() 121 prefix += " "; in dump() 122 pw.println(prefix + "mIsShowing=" + mIsShowing); in dump() 123 pw.println(prefix + "mSimSecure=" + mSimSecure); in dump() 124 pw.println(prefix + "mInputRestricted=" + mInputRestricted); in dump() 125 pw.println(prefix + "mTrusted=" + mTrusted); in dump() 126 pw.println(prefix + "mCurrentUserId=" + mCurrentUserId); in dump()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | DragState.cpp | 24 void DragState::dump(std::string& dump, const char* prefix) { in dump() argument 25 dump += prefix + StringPrintf("Drag Window: %s\n", dragWindow->getName().c_str()); in dump() 27 dump += prefix + in dump() 30 dump += prefix + StringPrintf("isStartDrag: %s\n", isStartDrag ? "true" : "false"); in dump() 31 dump += prefix + in dump()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2ParamUtils.cpp | 123 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/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
D | RegionSamplingHelper.java | 302 public void dump(String prefix, PrintWriter pw) { 303 pw.println(prefix + "RegionSamplingHelper:"); 304 pw.println(prefix + "\tsampleView isAttached: " + mSampledView.isAttachedToWindow()); 305 pw.println(prefix + "\tsampleView isScValid: " + (mSampledView.isAttachedToWindow() 308 pw.println(prefix + "\tmSamplingEnabled: " + mSamplingEnabled); 309 pw.println(prefix + "\tmSamplingListenerRegistered: " + mSamplingListenerRegistered); 310 pw.println(prefix + "\tmSamplingRequestBounds: " + mSamplingRequestBounds); 311 pw.println(prefix + "\tmRegisteredSamplingBounds: " + mRegisteredSamplingBounds); 312 pw.println(prefix + "\tmLastMedianLuma: " + mLastMedianLuma); 313 pw.println(prefix + "\tmCurrentMedianLuma: " + mCurrentMedianLuma); [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenShellCommandHandler.java | 88 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp() argument 89 pw.println(prefix + "moveToSideStage <taskId> <SideStagePosition>"); in printShellCommandHelp() 90 pw.println(prefix + " Move a task with given id in split-screen mode."); in printShellCommandHelp() 91 pw.println(prefix + "removeFromSideStage <taskId>"); in printShellCommandHelp() 92 pw.println(prefix + " Remove a task with given id in split-screen mode."); in printShellCommandHelp() 93 pw.println(prefix + "setSideStagePosition <SideStagePosition>"); in printShellCommandHelp() 94 pw.println(prefix + " Sets the position of the side-stage."); in printShellCommandHelp()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 307 for (auto& prefix : rootDirectoryPrefix) { in TEST_F() local 308 mkdir(prefix + "/5b14b6458a44==deleted==", 10000, 10000, 0700); in TEST_F() 309 mkdir(prefix + "/5b14b6458a44==deleted==/foo", 10000, 10000, 0700); in TEST_F() 310 touch(prefix + "/5b14b6458a44==deleted==/foo/file", 10000, 20000, 0700); in TEST_F() 311 mkdir(prefix + "/5b14b6458a44==deleted==/bar", 10000, 20000, 0700); in TEST_F() 312 touch(prefix + "/5b14b6458a44==deleted==/bar/file", 10000, 20000, 0700); in TEST_F() 314 auto fd = create(prefix + "/5b14b6458a44==deleted==/bar/opened_file", 10000, 20000, 0700); in TEST_F() 316 mkdir(prefix + "/b14b6458a44NOTdeleted", 10000, 10000, 0700); in TEST_F() 317 mkdir(prefix + "/b14b6458a44NOTdeleted/foo", 10000, 10000, 0700); in TEST_F() 318 touch(prefix + "/b14b6458a44NOTdeleted/foo/file", 10000, 20000, 0700); in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingConstants.java | 141 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()
|