/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Reporter.kt | 104 fun report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in hasErrors() 112 if (element != null && baseline != null && baseline.mark(element, message, id)) { in hasErrors() 116 return report(severity, elementToLocation(element), message, id) in hasErrors() 119 fun report(id: Issues.Issue, file: File?, message: String): Boolean { in report() 127 if (file != null && baseline != null && baseline.mark(file, message, id)) { in report() 131 return report(severity, file?.path, message, id) in report() 134 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report() 141 … which: (severity: Severity, location: String?, message: String, id: Issues.Issue) -> Boolean in report() 143 psi != null -> which(severity, elementToLocation(psi), message, id) in report() 144 item is PsiItem -> which(severity, elementToLocation(item.psi()), message, id) in report() [all …]
|
D | CompatibilityCheck.kt | 360 val message = in compare() constant 366 report(Issues.CHANGED_TYPE, new, message) in compare() 381 val message = in compare() constant 383 report(Issues.CHANGED_TYPE, new, message) in compare() 401 val message = "${describe( in compare() constant 405 report(Issues.CHANGED_VALUE, new, message) in compare() 526 … val message = "${describe(new, capitalize = true)} added thrown exception ${exec.qualifiedName()}" in compare() constant 527 report(Issues.CHANGED_THROWS, new, message) in compare() 540 val message = "${describe( in compare() constant 544 report(Issues.CHANGED_THROWS, new, message) in compare() [all …]
|
D | Baseline.kt | 71 fun mark(element: Item, message: String, issue: Issues.Issue): Boolean { in <lambda>() 73 return mark(elementId, message, issue) in <lambda>() 77 fun mark(element: PsiElement, message: String, issue: Issues.Issue): Boolean { in <lambda>() 79 return mark(elementId, message, issue) in <lambda>() 83 fun mark(file: File, message: String, issue: Issues.Issue): Boolean { in <lambda>() 85 return mark(elementId, message, issue) in <lambda>() 88 …private fun mark(elementId: String, @Suppress("UNUSED_PARAMETER") message: String, issue: Issues.I… in <lambda>() 110 idMap?.set(elementId, message) in <lambda>() 220 val message = if (merge) lines[i + 1].trim() else "" in <lambda>() constant 231 newIdMap[elementId] = message in <lambda>() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/ |
D | descriptor.proto | 52 message FileDescriptorSet { 57 message FileDescriptorProto { 88 // Describes a message type. 89 message DescriptorProto { 98 message ExtensionRange { 109 // Describes a field within a message. 110 message FieldDescriptorProto { 156 // For message and enum types, this is the name of the type. If the name 159 // message are searched, then within the parent, on up to the root 184 message OneofDescriptorProto { [all …]
|
/tools/security/fuzzing/orphans/pppd/ |
D | eap_fuzz.proto | 4 message PacketSet{ 8 message Packet{ 17 message EapRequest{ 27 message EaptRequestIdentity{ 31 message EsptRequestNotification{ 35 message EaptRequestMD5Chap{ 38 message EaptRequestSRP{ 47 message EapRequestSRPChallenge{ 51 message EapRequestSRPKey{ 55 message EapRequestSRPValidator { [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestResultParser.java | 293 String message = null; in parse() local 298 message = line.substring(Prefixes.START_TEST_MARKER.length()).trim(); in parse() 299 processTestStartedTag(message); in parse() 303 message = in parse() 310 fakeRunMarker(message); in parse() 312 processSkippedTag(message); in parse() 318 message = line.substring(line.indexOf(Prefixes.OK_TEST_MARKER) + in parse() 326 processOKTag(message); in parse() 330 message = line.substring(line.indexOf(Prefixes.ALT_OK_MARKER) + in parse() 333 fakeRunMarker(message); in parse() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/log/ |
D | LogUtil.java | 45 public static void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument 46 System.out.print(LogUtil.getLogFormatString(logLevel, tag, message)); in printLog() 56 public static String getLogFormatString(LogLevel logLevel, String tag, String message) { in getLogFormatString() argument 59 logLevel.getPriorityLetter(), tag, message); in getLogFormatString() 75 public static void v(String message) { in v() argument 77 Log.v(getClassName(2), message); in v() 97 public static void d(String message) { in d() argument 99 Log.d(getClassName(2), message); in d() 119 public static void i(String message) { in i() argument 121 Log.i(getClassName(2), message); in i() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | HistoryLogger.java | 42 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument 48 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument 60 StringBuilder message = new StringBuilder(); in logEvent() local 61 message.append(event); in logEvent() 62 message.append(": "); in logEvent() 67 message.append(formattedArgs.toString()); in logEvent() 68 message.append("\n"); in logEvent() 69 internalPrintLog(logLevel, message.toString()); in logEvent() 73 private void internalPrintLog(LogLevel logLevel, String message) { in internalPrintLog() argument 75 System.out.print(message); in internalPrintLog() [all …]
|
D | BaseStreamLogger.java | 70 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument 71 internalPrintLog(logLevel, tag, message, true /* force print to stdout */); in printAndPromptLog() 75 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument 76 internalPrintLog(logLevel, tag, message, false /* don't force stdout */); in printLog() 84 LogLevel logLevel, String tag, String message, boolean forceStdout) { in internalPrintLog() argument 85 String outMessage = LogUtil.getLogFormatString(logLevel, tag, message); in internalPrintLog() 116 protected void writeToLog(String message) throws IOException { in writeToLog() argument 118 mOutputStream.write(message.getBytes()); in writeToLog()
|
/tools/test/openhst/ |
D | stress_test.proto | 23 message LoggingEventConfig { 33 message TimeStampConfig { 51 message FileConfig { 65 message ProcessConfig { 82 message DeviceConfig { 107 message TestStep { 126 message ExpectedResult { 136 message TestEventConfig { 150 message StressTestConfig { 165 message EventLogDetails { [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | apollo_qa.proto | 4 old message/field/enum & start using new one. If deprecated message 6 c) Prefer 3-stage migrations if possible: add new message/enum/field & start 7 sending it, make sure QA has switched to new message/enum/field, remove old 8 message/enum/field. 91 message ApolloQATrace { 106 message ApolloQAGetVerResponse { 126 message ApolloQAGetCodecResponse { 148 message ApolloQAGetDspStatusResponse { 159 message ApolloQAFactoryPlaySound { 166 message ApolloQAFactoryInfoRequest { [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/ |
D | logcat.py | 37 def read_output(self, message): argument 39 all_timestamps = re.findall(TIMESTAMP_REGEX, message) 44 def _get_log_level(message): argument 46 if message.startswith('-') or len(message) < 37: 49 log_level = message[36] 64 def log_line(message): argument 65 timestamp_tracker.read_output(message) 66 log.log(_get_log_level(message), message)
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | JavaCrashParser.java | 57 StringBuilder message = new StringBuilder(); in parse() local 68 message = new StringBuilder(); in parse() 84 message.append(exceptionMatch.group(3)); in parse() 104 message.append("\n"); in parse() 105 message.append(line); in parse() 108 addMessageStack(jc, message.toString(), stack.toString()); in parse() 120 addMessageStack(jc, message.toString(), stack.toString()); in parse() 127 private void addMessageStack(JavaCrashItem jc, String message, String stack) { in addMessageStack() argument 129 if (message.length() > 0) { in addMessageStack() 130 jc.setMessage(message); in addMessageStack()
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aClient.java | 222 JSONObject message = new JSONObject(info); in sendCommand() local 224 out.print(message.toString()); in sendCommand() 242 private synchronized Object sendThroughSocket(String message) throws IOException { in sendThroughSocket() argument 243 CLog.v("preparing sending: '%s' to device %s", message, mDevice.getSerialNumber()); in sendThroughSocket() 245 out.print(message); in sendThroughSocket() 301 JSONObject message = new JSONObject(); in rpcCall() local 303 message.put("id", mCounter); in rpcCall() 304 message.put("method", methodName); in rpcCall() 305 message.put("params", argsFormatted); in rpcCall() 311 return sendThroughSocket(message.toString()); in rpcCall()
|
/tools/asuite/atest/proto/ |
D | internal_user_log.proto | 8 message AtestLogEventInternal { 14 message AtestStartEvent { 22 message AtestExitEvent { 31 message FindTestFinishEvent { 40 message BuildFinishEvent { 47 message RunnerFinishEvent { 51 message Test { 60 message RunTestsFinishEvent { 65 message LocalDetectEvent {
|
D | external_user_log.proto | 8 message AtestLogEventExternal { 14 message AtestStartEvent { 18 message AtestExitEvent { 25 message FindTestFinishEvent { 31 message BuildFinishEvent { 37 message RunnerFinishEvent { 44 message RunTestsFinishEvent { 49 message LocalDetectEvent {
|
/tools/tradefederation/core/atest/proto/ |
D | internal_user_log.proto | 8 message AtestLogEventInternal { 14 message AtestStartEvent { 22 message AtestExitEvent { 31 message FindTestFinishEvent { 40 message BuildFinishEvent { 47 message RunnerFinishEvent { 51 message Test { 60 message RunTestsFinishEvent { 65 message LocalDetectEvent {
|
D | external_user_log.proto | 8 message AtestLogEventExternal { 14 message AtestStartEvent { 18 message AtestExitEvent { 25 message FindTestFinishEvent { 31 message BuildFinishEvent { 37 message RunnerFinishEvent { 44 message RunTestsFinishEvent { 49 message LocalDetectEvent {
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bluetooth.proto | 27 message BluetoothLog { 63 message DeviceInfo { 85 message BluetoothSession { 128 message RFCommSession { 146 message A2DPSession { 178 message PairEvent { 191 message WakeEvent { 216 message ScanEvent { 280 message ProfileConnectionStats { 295 message HeadsetProfileConnectionStats {
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 520 message = 'waiting for {} to shutdown'.format(self.serial_number) 521 logging.info(message) 551 message = 'commander_port: {}, log_port: {}'.format( 553 logging.info(message) 561 message = 'Fail to connect {} times due to {}'.format( 563 logging.warning(message) 593 message = 'Inside led({})...'.format(cmd) 594 logging.debug(message) 615 message = 'Inside volume({}, {})...'.format(key, times) 616 logging.debug(message) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/ |
D | RfcommLongevityTest.py | 119 message = "x" 129 message, False): 209 message = "x" * 990 # largest message size till sl4a fixed 219 message, False): 324 message = "x" 336 self.client_ad, self.server_ad, message, False): 339 size_of_message = len(message) 346 message = "x" * (size_of_message - 1) 348 message = "x" * (size_of_message + 1)
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiParseException.kt | 22 internal constructor(message: String) : super(message) 23 internal constructor(message: String, file: String, cause: Exception?) : super(message, cause) { 26 internal constructor(message: String, tokenizer: ApiFile.Tokenizer) : super(message) { 31 override val message: String constant in com.android.tools.metalava.model.text.ApiParseException 43 sb.append(super.message)
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/ |
D | apollo_log_decoder.py | 64 _, encoding, message = logline.split("|", 2) 65 message = message.rstrip() 67 message = decoders[encoding](message) 68 header = message[0:4] 69 serialized = message[4:] 70 if len(header) == 4 and len(serialized) == len(message) - 4:
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | ShellStatusChecker.java | 56 String message = in preExecutionCheck() local 69 message += FAIL_STRING; in preExecutionCheck() 71 CLog.w(message); in preExecutionCheck() 72 result.setErrorMessage(message); in preExecutionCheck() 84 String message = in postExecutionCheck() local 97 message += FAIL_STRING; in postExecutionCheck() 99 CLog.w(message); in postExecutionCheck() 100 result.setErrorMessage(message); in postExecutionCheck()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 203 String message; // "Camera 0: Camera capture latency" field in CameraPerformanceTest.CtsMetric 219 String message, in CtsMetric() argument 225 this.message = message; in CtsMetric() 229 this.schemaKey = getRuSchemaKeyName(message); in CtsMetric() 233 return (this.testMethod.equals(testMethod) && this.message.endsWith(kpiName)); in matches() 236 public String getRuSchemaKeyName(String message) { in getRuSchemaKeyName() argument 238 String schemaKey = message.replace(":", ""); in getRuSchemaKeyName() 478 String message = parser.getAttributeValue(null, MESSAGE_ATTR); in parseToCtsMetrics() local 489 return new CtsMetric(mTestMethod, source, message, type, unit, kpiValue); in parseToCtsMetrics()
|