/external/adhd/cras/src/server/ |
cras_bt_profile.c | 51 DBusMessage *reply; local 63 reply = dbus_message_new_method_return(message); 64 if (!reply) 66 if (!dbus_connection_send(conn, reply, NULL)) { 67 dbus_message_unref(reply); 71 dbus_message_unref(reply); 82 DBusMessage *reply; local 121 reply = dbus_message_new_error(message, 124 if (!dbus_connection_send(conn, reply, NULL)) 127 dbus_message_unref(reply); 154 DBusMessage *reply; local 196 DBusMessage *reply; local 228 DBusMessage *reply; local 276 DBusMessage *reply; local [all...] |
cras_rclient.c | 41 struct cras_client_stream_connected reply; local 79 &reply, 86 rc = cras_rclient_send_message(client, &reply.header, stream_fds, 2); 98 cras_fill_client_stream_connected(&reply, rc, msg->stream_id, 100 cras_rclient_send_message(client, &reply.header, NULL, 0);
|
cras_telephony.c | 75 /* Helper to send an empty reply. */ 78 DBusMessage *reply; local 81 reply = dbus_message_new_method_return(message); 82 if (!reply) 85 dbus_connection_send(conn, reply, &serial); 87 dbus_message_unref(reply); 246 DBusMessage *reply; local 249 reply = dbus_message_new_method_return(message); 250 if (!reply) 252 if (!dbus_message_append_args(reply, [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
SetValuesTest.java | 100 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 101 checkReplyPacket(reply, "ReferenceType::GetValues command"); 103 assertEquals("GetValuesCommand returned invalid number of values,", 1, reply.getNextValueAsInt()); 104 Value value = reply.getNextValueAsValue(); 125 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 126 checkReplyPacket(reply, "ArrayReference::SetValues command"); 135 reply = debuggeeWrapper.vmMirror.performCommand(packet); 136 checkReplyPacket(reply, "ArrayReference::GetValues command"); 139 ArrayRegion region = reply.getNextValueAsArrayRegion();
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
AbstractNewInstanceTestCase.java | 130 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 131 checkReplyPacket(reply, "ClassType.NewInstance command"); 134 TaggedObject objectResult = reply.getNextValueAsTaggedObject(); 135 TaggedObject exceptionResult = reply.getNextValueAsTaggedObject(); 136 assertAllDataRead(reply);
|
InvokeMethod003Test.java | 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 67 checkReplyPacket(reply, "EventRequest::Set command"); 69 int requestID = reply.getNextValueAsInt(); 71 assertAllDataRead(reply); 102 reply = debuggeeWrapper.vmMirror.performCommand(packet); 103 checkReplyPacket(reply, "EventRequest::Clear command"); 104 assertAllDataRead(reply); 122 reply = debuggeeWrapper.vmMirror.performCommand(packet); 123 checkReplyPacket(reply, "ClassType::InvokeMethod command"); 125 Value returnValue = reply.getNextValueAsValue() [all...] |
NewInstance002Test.java | 67 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 68 checkReplyPacket(reply, "EventRequest::Set command"); 70 int requestID = reply.getNextValueAsInt(); 72 assertAllDataRead(reply); 103 reply = debuggeeWrapper.vmMirror.performCommand(packet); 104 checkReplyPacket(reply, "EventRequest::Clear command"); 105 assertAllDataRead(reply); 128 reply = debuggeeWrapper.vmMirror.performCommand(packet); 129 checkReplyPacket(reply, "ClassType::NewInstance command"); 131 TaggedObject newObject = reply.getNextValueAsTaggedObject() [all...] |
NewInstanceTest.java | 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 71 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); 73 int classes = reply.getNextValueAsInt(); 75 byte refTypeTag = reply.getNextValueAsByte(); 76 long typeID = reply.getNextValueAsReferenceTypeID(); 77 int status = reply.getNextValueAsInt(); 82 assertAllDataRead(reply); 100 reply = debuggeeWrapper.vmMirror.performCommand(packet); 101 checkReplyPacket(reply, "EventRequest::Set command"); 103 int requestID = reply.getNextValueAsInt() 258 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
DDMTest.java | 101 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 102 checkReplyPacket(reply, "DDM::Chunk command"); 103 int type = reply.getNextValueAsInt(); 105 int len = reply.getNextValueAsInt(); 109 res[i] = reply.getNextValueAsByte(); 115 assertAllDataRead(reply); 121 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 122 checkReplyPacket(reply, "DDM::Chunk command"); 123 assertAllDataRead(reply); 145 reply = debuggeeWrapper.vmMirror.performCommand(packet) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
Breakpoint003Test.java | 87 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 88 checkReplyPacket(reply, "ThreadReference::FramesCommand command"); 89 int frames = reply.getNextValueAsInt(); 91 long frameID = reply.getNextValueAsLong(); 92 Location location = reply.getNextValueAsLocation(); 105 //check reply for errors 106 reply = debuggeeWrapper.vmMirror.performCommand(packet); 107 checkReplyPacket(reply, "StackFrame::GetValues command"); 109 int numberOfValues = reply.getNextValueAsInt(); 111 Value val = reply.getNextValueAsValue() [all...] |
CombinedEventsTestCase.java | 154 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 156 (reply, "getMethodEntryLocation(): Method.LineTable command") ) { 159 long methodStartCodeIndex = reply.getNextValueAsLong(); 183 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 185 (reply, "getMethodEndLocation(): Method.LineTable command") ) { 188 long methodStartCodeIndex = reply.getNextValueAsLong(); 189 long methodEndCodeIndex = reply.getNextValueAsLong();
|
EventLocationEventTestCase.java | 123 ReplyPacket reply = debuggeeWrapper.vmMirror.setEvent(event); local 124 int requestId = reply.getNextValueAsInt();
|
MethodExitWithReturnValueTest.java | 50 ReplyPacket reply = debuggeeWrapper.vmMirror local 52 checkReplyPacket(reply, "Set METHOD_EXIT_WITH_RETURN_VALUE event"); 161 ReplyPacket reply = debuggeeWrapper.vmMirror local 163 checkReplyPacket(reply, "Set METHOD_EXIT_WITH_RETURN_VALUE event");
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/ |
InvokeMethodTest.java | 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 62 checkReplyPacket(reply, "EventRequest::Set command"); 64 int requestID = reply.getNextValueAsInt(); 66 assertAllDataRead(reply); 116 reply = debuggeeWrapper.vmMirror.performCommand(packet); 117 checkReplyPacket(reply, "InterfaceType::InvokeMethod command"); 119 Value returnValue = reply.getNextValueAsValue(); 127 TaggedObject exception = reply.getNextValueAsTaggedObject(); 142 TaggedObject exception = reply.getNextValueAsTaggedObject(); 153 assertAllDataRead(reply); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
DisableCollectionTest.java | 124 logWriter.println("=> CHECK: Reply is received without any error"); 186 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); local 187 checkReplyPacket(reply, thisCommandName, expectedErrorCode);
|
EnableCollectionTest.java | 131 logWriter.println("=> CHECK: Reply is received without any error"); 191 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); local 192 checkReplyPacket(reply, thisCommandName, expectedErrorCode);
|
InvokeMethod002Test.java | 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 67 checkReplyPacket(reply, "EventRequest::Set command"); 69 int requestID = reply.getNextValueAsInt(); 71 assertAllDataRead(reply); 102 reply = debuggeeWrapper.vmMirror.performCommand(packet); 103 checkReplyPacket(reply, "EventRequest::Clear command"); 104 assertAllDataRead(reply); 117 reply = debuggeeWrapper.vmMirror.performCommand(packet); 118 checkReplyPacket(reply, "ReferenceType::GetValues command"); 119 int valuesCount = reply.getNextValueAsInt(); // number of field values [all...] |
InvokeMethod003Test.java | 68 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 69 checkReplyPacket(reply, "EventRequest::Set command"); 71 int requestID = reply.getNextValueAsInt(); 73 assertAllDataRead(reply); 104 reply = debuggeeWrapper.vmMirror.performCommand(packet); 105 checkReplyPacket(reply, "EventRequest::Clear command"); 106 assertAllDataRead(reply); 119 reply = debuggeeWrapper.vmMirror.performCommand(packet); 120 checkReplyPacket(reply, "ReferenceType::GetValues command"); 121 int valuesCount = reply.getNextValueAsInt(); // number of field values [all...] |
IsCollectedTest.java | 153 + " for checkedObject_01 and check reply..."); 197 + " for checkedObject_02 and check reply..."); 264 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); local 265 checkReplyPacket(reply, thisCommandName); 266 boolean is_collected = reply.getNextValueAsBoolean(); 267 assertAllDataRead(reply); 287 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); local 288 checkReplyPacket(reply, thisCommandName, JDWPConstants.Error.INVALID_OBJECT);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
GetValuesTest.java | 214 //check reply for errors 215 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 216 checkReplyPacket(reply, "StackFrame::GetValues command"); 219 int numberOfValues = reply.getNextValueAsInt(); 232 Value val = reply.getNextValueAsValue();
|
JDWPStackFrameTestCase.java | 75 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 76 checkReplyPacket(reply, "ThreadReference::FrameCount command"); 78 int frameCount = reply.getNextValueAsInt(); 90 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 91 checkReplyPacket(reply, "ThreadReference::FramesCommand command"); 93 int frames = reply.getNextValueAsInt(); 96 long frameID = reply.getNextValueAsLong(); 97 Location location = reply.getNextValueAsLocation(); 119 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 120 checkReplyPacket(reply, "VirtualMachine::AllThreads command") 138 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 151 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 161 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 172 ReplyPacket reply = debuggeeWrapper.vmMirror local [all...] |
SetValuesTest.java | 211 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 212 checkReplyPacket(reply, "StackFrame::SetValues command"); 237 //check reply for errors 238 reply = debuggeeWrapper.vmMirror.performCommand(packet); 239 checkReplyPacket(reply, "StackFrame::GetValues command"); 242 int numberOfValues = reply.getNextValueAsInt(); 255 Value val = reply.getNextValueAsValue();
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FramesTest.java | 436 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 437 err = reply.getErrorCode(); 443 int framesCount = reply.getNextValueAsInt(); 448 frameID = reply.getNextValueAsFrameID(); 449 loc = reply.getNextValueAsLocation();
|
OwnedMonitorsStackDepthInfoTest.java | 46 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); local 47 checkReplyPacket(reply, "ThreadReference::FrameCount command"); 48 return reply.getNextValueAsInt(); 95 // Perform the command and attain the reply package 99 // Analyze the reply package 126 // Perform the command and attain the reply package 166 // Perform the command and attain the reply package
|
ResumeTest.java | 133 ReplyPacket reply = null; local 152 reply = debuggeeWrapper.vmMirror.performCommand(packet); 153 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { 172 reply = debuggeeWrapper.vmMirror.performCommand(packet); 173 int errorCode = reply.getErrorCode(); 192 reply = debuggeeWrapper.vmMirror.performCommand(packet); 193 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) { 198 int threadStatus = reply.getNextValueAsInt(); 199 int suspendStatus = reply.getNextValueAsInt(); 221 reply = debuggeeWrapper.vmMirror.performCommand(packet) [all...] |