/sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/logcat/ |
D | LogCatFilterTest.java | 30 LogCatMessage msg = new LogCatMessage(LogLevel.VERBOSE, in testFilterByLogLevel() local 32 assertEquals(false, filter.matches(msg)); in testFilterByLogLevel() 35 msg = new LogCatMessage(LogLevel.ERROR, in testFilterByLogLevel() 37 assertEquals(true, filter.matches(msg)); in testFilterByLogLevel() 45 LogCatMessage msg = new LogCatMessage(LogLevel.VERBOSE, in testFilterByPid() local 47 assertEquals(true, filter.matches(msg)); in testFilterByPid() 50 msg = new LogCatMessage(LogLevel.VERBOSE, in testFilterByPid() 52 assertEquals(false, filter.matches(msg)); in testFilterByPid() 60 LogCatMessage msg = new LogCatMessage(LogLevel.VERBOSE, in testFilterByAppNameRegex() local 62 assertEquals(true, filter.matches(msg)); in testFilterByAppNameRegex() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | StateTransformFactory.java | 40 public static List<IStateTransform> getTransformsFor(GLMessage msg) { in getTransformsFor() argument 41 switch (msg.getFunction()) { in getTransformsFor() 43 return transformsForEglCreateContext(msg); in getTransformsFor() 45 return transformsForGlBindFramebuffer(msg); in getTransformsFor() 49 return transformsForGlVertexAttribPointer(msg); in getTransformsFor() 54 return transformsForGlVertexAttribxf(msg); in getTransformsFor() 59 return transformsForGlVertexAttribxfv(msg); in getTransformsFor() 61 return transformsForGlEnableVertexAttribArray(msg); in getTransformsFor() 63 return transformsForGlDisableVertexAttribArray(msg); in getTransformsFor() 67 return transformsForGlBindBuffer(msg); in getTransformsFor() [all …]
|
/sdk/common/src/com/android/utils/ |
D | StdLogger.java | 87 String msg = String.format("Error: " + errorFormat, args); in error() local 89 printMessage(msg, System.err); in error() 115 String msg = String.format("Warning: " + warningFormat, args); in warning() local 117 printMessage(msg, System.out); in warning() 136 String msg = String.format(msgFormat, args); in info() local 138 printMessage(msg, System.out); in info() 157 String msg = String.format(msgFormat, args); in verbose() local 159 printMessage(msg, System.out); in verbose() 162 private void printMessage(String msg, PrintStream stream) { in printMessage() argument 164 !msg.endsWith("\r\n") && in printMessage() [all …]
|
/sdk/emulator/opengl/tests/event_injector/ |
D | emulator-console.c | 53 Msg* msg; in msg_alloc() local 55 msg = malloc(sizeof(*msg) + datalen); in msg_alloc() 56 msg->data = (const char*)(msg + 1); in msg_alloc() 57 msg->size = datalen; in msg_alloc() 58 msg->sent = 0; in msg_alloc() 59 memcpy((char*)msg->data, data, datalen); in msg_alloc() 60 msg->next = NULL; in msg_alloc() 62 return msg; in msg_alloc() 66 msg_free( Msg* msg ) in msg_free() argument 68 free(msg); in msg_free() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileParserTask.java | 73 private void addMessage(int index, long traceFileOffset, GLMessage msg, long startTime) { in addMessage() argument 76 formattedMsg = sGLMessageFormatter.formatGLMessage(msg); in addMessage() 78 formattedMsg = String.format("%s()", msg.getFunction().toString()); //$NON-NLS-1$ in addMessage() 85 msg.getFunction(), in addMessage() 86 msg.hasFb(), in addMessage() 87 msg.getContextId(), in addMessage() 88 msg.getDuration(), in addMessage() 89 msg.getThreadtime()); in addMessage() 91 addProperties(c, msg); in addMessage() 94 c.setStateTransformations(StateTransformFactory.getTransformsFor(msg)); in addMessage() [all …]
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/ |
D | SdkLogAdapter.java | 95 private boolean acceptLog(String msg) { in acceptLog() argument 96 if (msg == null) { in acceptLog() 100 msg = msg.trim(); in acceptLog() 101 if (msg.indexOf('%') != -1) { in acceptLog() 105 if (msg.equals(mLastLogMsg)) { in acceptLog() 109 mLastLogMsg = msg; in acceptLog()
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/ |
D | HandlerTest.java.txt | 8 public void dispatchMessage(Message msg) { 9 super.dispatchMessage(msg); 13 public void dispatchMessage(Message msg) { 14 super.dispatchMessage(msg); 19 public void dispatchMessage(Message msg) { 20 super.dispatchMessage(msg);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
D | GLMessageFormatterTest.java | 62 GLMessage msg = constructGLMessage(null, Function.glBindBuffer, in testBindBuffer() local 69 String actual = sGLMessageFormatter.formatGLMessage(msg); in testBindBuffer() 79 GLMessage msg = constructGLMessage( in testGlGetString() local 85 String actual = sGLMessageFormatter.formatGLMessage(msg); in testGlGetString() 94 GLMessage msg = constructGLMessage( in testGLEnum0() local 99 String actual = sGLMessageFormatter.formatGLMessage(msg); in testGLEnum0() 106 GLMessage msg = constructGLMessage(null, in testMessageWithPointer() local 112 String actual = sGLMessageFormatter.formatGLMessage(msg); in testMessageWithPointer() 120 GLMessage msg = constructGLMessage(null, in testMessageWithMismatchedPointer() local 125 String actual = sGLMessageFormatter.formatGLMessage(msg); in testMessageWithMismatchedPointer() [all …]
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
D | Channel.java | 247 SdkControllerMessage msg = mMsgQueue.take(); in Channel() 248 if (msg != null) { in Channel() 250 msg.getMessageType(), msg.getMessage(), msg.getMessageSize()); in Channel() 398 private void sendMessage(Socket socket, int msg_type, byte[] msg, int len) in sendMessage() argument 415 bb.put(msg, 0, len); in sendMessage() 429 public boolean sendMessage(int msg_type, byte[] msg, int msg_len) { in sendMessage() argument 433 sendMessage(socket, msg_type, msg, msg_len); in sendMessage() 453 public boolean sendMessage(int msg_type, byte[] msg) { in sendMessage() argument 457 if (msg != null) { in sendMessage() 458 sendMessage(socket, msg_type, msg, msg.length); in sendMessage() [all …]
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/ |
D | UiAutomatorHelper.java | 101 String msg = "UI Automator requires a device with API Level " in takeSnapshot() local 103 throw new UiAutomatorException(msg, null); in takeSnapshot() 118 String msg = "Error while creating temporary file to save snapshot: " in takeSnapshot() 120 throw new UiAutomatorException(msg, e); in takeSnapshot() 131 String msg = "Error while obtaining UI hierarchy XML file: " + e.getMessage(); in takeSnapshot() 132 throw new UiAutomatorException(msg, e); in takeSnapshot() 139 String msg = "Error while parsing UI hierarchy XML file: " + e.getMessage(); in takeSnapshot() 140 throw new UiAutomatorException(msg, e); in takeSnapshot() 148 String msg = "Error taking device screenshot: " + e.getMessage(); in takeSnapshot() 149 throw new UiAutomatorException(msg, e); in takeSnapshot() [all …]
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
D | LogFilter.java | 367 String msg = logMessage.msg; in accept() local 371 if (msg.contains(kw) == false && msg.matches(kw) == false) { in accept() 426 LogMessage msg = mNewMessages.get(i); in flush() local 427 addTableItem(msg); in flush() 533 private void addTableItem(LogMessage msg) { in addTableItem() argument 535 item.setText(0, msg.data.time); in addTableItem() 536 item.setText(1, new String(new char[] { msg.data.logLevel.getPriorityLetter() })); in addTableItem() 537 item.setText(2, msg.data.pidString); in addTableItem() 538 item.setText(3, msg.data.tag); in addTableItem() 539 item.setText(4, msg.msg); in addTableItem() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | AMReceiver.java | 85 String msg; in processNewLines() local 91 msg = String.format( in processNewLines() 96 msg = String.format( in processNewLines() 101 msg = String.format( in processNewLines() 108 AdtPlugin.printToConsole(mLaunchInfo.getProject(), msg); in processNewLines() local
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptParser.java | 255 String msg = m.group(2); in parseOutput() local 266 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput() 277 String msg = p; // default msg is the line in case we don't find anything else in parseOutput() local 280 msg = results[i].trim(); in parseOutput() 282 msg = msg + " - " + results[i].trim(); //$NON-NLS-1$ in parseOutput() 290 if (checkAndMark(location, null, msg, osRoot, project, in parseOutput() 302 String msg = m.group(1); in parseOutput() local 314 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput() 325 String msg = m.group(3); in parseOutput() local 328 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
D | PostCompilerBuilder.java | 180 …String msg = "BENCHMARK ADT: Ending Compilation \n BENCHMARK ADT: Time Elapsed: " + //$NON-NLS-… in build() local 182 AdtPlugin.printBuildToConsole(BuildVerbosity.ALWAYS, project, msg); in build() 183 …msg = "BENCHMARK ADT: Starting PostCompilation"; //$NON-NLS-… in build() 184 AdtPlugin.printBuildToConsole(BuildVerbosity.ALWAYS, project, msg); in build() 455 String msg = String.format(Messages.s_Missing_Repackaging, finalPackageName); in build() local 456 AdtPlugin.printBuildToConsole(BuildVerbosity.VERBOSE, project, msg); in build() 503 String msg = String.format(Messages.s_File_Missing, in build() local 505 markProject(AdtConstants.MARKER_PACKAGING, msg, IMarker.SEVERITY_ERROR); in build() 627 String msg = String.format(Messages.Final_Archive_Error_s, eMessage); in build() 628 BaseProjectHelper.markResource(project, AdtConstants.MARKER_PACKAGING, msg, in build() [all …]
|
D | PreCompilerBuilder.java | 403 String msg = String.format(Messages.s_File_Missing, in build() local 405 AdtPlugin.printErrorToConsole(project, msg); in build() 406 markProject(AdtConstants.MARKER_ADT, msg, IMarker.SEVERITY_ERROR); in build() 428 String msg = String.format(Messages.s_Contains_Xml_Error, in build() local 430 AdtPlugin.printBuildToConsole(BuildVerbosity.VERBOSE, project, msg); in build() 431 markProject(AdtConstants.MARKER_ADT, msg, IMarker.SEVERITY_ERROR); in build() 448 String msg = String.format( in build() 453 handleException(e, msg); in build() 457 String msg = String.format( in build() 462 handleException(e, msg); in build() [all …]
|
D | BaseBuilder.java | 211 String msg = String.format(Messages.Marker_Delete_Error, markerId, resource.toString()); in removeMarkersFromResource() 212 AdtPlugin.printErrorToConsole(getProject(), msg); in removeMarkersFromResource() 228 String msg = String.format(Messages.Marker_Delete_Error, markerId, folder.toString()); in removeMarkersFromContainer() 229 AdtPlugin.printErrorToConsole(getProject(), msg); in removeMarkersFromContainer() 358 String msg; in handleStreamException() local 365 msg = "File is Out of sync"; in handleStreamException() 367 msg = "Error reading file. Read log for details"; in handleStreamException() 372 msg = String.format("Out of sync file: %s", file.getOsLocation()); in handleStreamException() 374 msg = String.format("Error reading file %s. Read log for details", in handleStreamException() 379 AdtPlugin.logAndPrintError(e, getProject().getName(), msg); in handleStreamException() [all …]
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
D | SensorChannel.java | 550 Message msg = Message.obtain(); in enableSensor() local 551 msg.what = SENSOR_STATE_CHANGED; in enableSensor() 552 msg.obj = MonitoredSensor.this; in enableSensor() 553 notifyUiHandlers(msg); in enableSensor() 565 Message msg = Message.obtain(); in disableSensor() local 566 msg.what = SENSOR_STATE_CHANGED; in disableSensor() 567 msg.obj = MonitoredSensor.this; in disableSensor() 568 notifyUiHandlers(msg); in disableSensor() 642 Message msg = Message.obtain(); in onSensorChanged() local 643 msg.what = SENSOR_DISPLAY_MODIFIED; in onSensorChanged() [all …]
|
D | MultiTouchChannel.java | 109 Message msg = Message.obtain(); in onEmulatorMessage() local 110 msg.what = EVENT_FRAME_BUFFER; in onEmulatorMessage() 111 msg.obj = msg_data; in onEmulatorMessage() 113 notifyUiHandlers(msg); in onEmulatorMessage()
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | BadPacketException.java | 30 public BadPacketException(String msg) in BadPacketException() argument 32 super(msg); in BadPacketException()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
D | LogCatView.java | 99 String msg = m.getMessage(); in onDoubleClick() local 100 if (!mStackTraceParser.isValidExceptionTrace(msg)) { in onDoubleClick() 111 String fileName = mStackTraceParser.getFileName(msg); in onDoubleClick() 112 int lineNumber = mStackTraceParser.getLineNumber(msg); in onDoubleClick() 113 String methodName = mStackTraceParser.getMethodName(msg); in onDoubleClick()
|
/sdk/emulator/opengl/host/renderer/ |
D | main.cpp | 160 MSG msg; in main() local 162 while( GetMessage(&msg, hWnd, 0, 0) > 0 ) { in main() 163 TranslateMessage(&msg); in main() 164 DispatchMessage(&msg); in main()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
D | MessageBoxLog.java | 108 for (String msg : logMessages) { in displayResult() 109 if (msg.length() > 0) { in displayResult() 110 if (msg.charAt(0) != '\n') { in displayResult() 116 sb.append(msg); in displayResult()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | TooManyViewsDetector.java | 132 String msg = String.format("%1$s has more than %2$d levels, bad for performance", in visitElement() local 134 context.report(TOO_DEEP, element, context.getLocation(element), msg, null); in visitElement() 137 String msg = String.format("%1$s has more than %2$d views, bad for performance", in visitElement() local 139 context.report(TOO_MANY, element, context.getLocation(element), msg, null); in visitElement()
|
/sdk/sdklauncher/ |
D | sdklauncher.c | 35 void dprintf(char *msg, ...) { in dprintf() argument 37 va_start(ap, msg); in dprintf() 40 vfprintf(stderr, msg, ap); in dprintf()
|
/sdk/avdlauncher/ |
D | avdlauncher.c | 35 void dprintf(char *msg, ...) { in dprintf() argument 37 va_start(ap, msg); in dprintf() 40 vfprintf(stderr, msg, ap); in dprintf()
|