| /device/lge/mako/camera/ |
| QCameraHWI_Record_7x27A.cpp | 169 struct encoder_media_buffer_type * packet = local 172 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle)); 207 struct encoder_media_buffer_type * packet = local 210 packet->meta_handle = native_handle_create(1, 3); //1 fd, 1 offset,1 size and 1 data 211 packet->buffer_type = kMetadataBufferTypeCameraSource; 212 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); 226 struct encoder_media_buffer_type * packet = local 229 native_handle_delete(const_cast<native_handle_t *>(packet->meta_handle));
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
| LengthTest.java | 59 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsReferenceTypeID(classID); 63 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 92 CommandPacket packet = new CommandPacket( local 95 packet.setNextValueAsReferenceTypeID(classID); 96 packet.setNextValueAsInt(1); 97 packet.setNextValueAsFieldID(fieldID); 98 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 109 packet = new CommandPacket( 112 packet.setNextValueAsArrayID(arrayID) [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
| JDWPClassTypeTestCase.java | 116 CommandPacket packet = new CommandPacket( local 119 packet.setNextValueAsReferenceTypeID(refType); 121 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| SetValuesTest.java | 125 CommandPacket packet = new CommandPacket( local 128 packet.setNextValueAsClassID(classID); 129 packet.setNextValueAsInt(1); 130 packet.setNextValueAsFieldID(fieldInfo.getFieldID()); 132 packet.setNextValueAsUntaggedValue(value); 134 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 137 packet = new CommandPacket( 140 packet.setNextValueAsReferenceTypeID(classID); 141 packet.setNextValueAsInt(1); 142 packet.setNextValueAsFieldID(fieldInfo.getFieldID()) 155 CommandPacket packet = new CommandPacket( local [all...] |
| SuperClassTest.java | 44 CommandPacket packet = new CommandPacket( local 47 packet.setNextValueAsClassID(classID); 48 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/ |
| JDWPMethodTestCase.java | 88 CommandPacket packet = new CommandPacket( local 91 packet.setNextValueAsClassID(classID); 92 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
| AttachConnectorTest.java | 59 CommandPacket packet = new CommandPacket( local 62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| ListenConnectorTest.java | 65 CommandPacket packet = new CommandPacket( local 69 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
| CurrentContendedMonitorTest.java | 86 CommandPacket packet = new CommandPacket( local 89 packet.setNextValueAsThreadID(testedThreadID); 91 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 100 packet = new CommandPacket( 103 packet.setNextValueAsObjectID(tobj.objectID); 104 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet); 128 packet = new CommandPacket( 131 packet.setNextValueAsThreadID(testedThreadID); 133 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| InterruptTest.java | 67 CommandPacket packet = new CommandPacket( local 70 packet.setNextValueAsThreadID(threadID); 73 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| OwnedMonitorsTest.java | 83 CommandPacket packet = new CommandPacket( local 86 packet.setNextValueAsThreadID(testedThreadID); 87 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 103 packet = new CommandPacket( 106 packet.setNextValueAsObjectID(tobj.objectID); 107 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet);
|
| StopTest.java | 74 CommandPacket packet = new CommandPacket( local 77 packet.setNextValueAsReferenceTypeID(classID); 78 packet.setNextValueAsInt(1); 79 packet.setNextValueAsFieldID(fieldID); 80 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 92 packet = new CommandPacket( 95 packet.setNextValueAsThreadID(threadID); 96 packet.setNextValueAsObjectID(fieldValue.getLongValue()); 98 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| SuspendTest.java | 124 CommandPacket packet = new CommandPacket( local 127 packet.setNextValueAsThreadID(threadID); 128 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 135 packet = new CommandPacket( 138 packet.setNextValueAsReferenceTypeID(threadID); 139 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
| AllThreadsTest.java | 60 CommandPacket packet = new CommandPacket( local 64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 81 packet = new CommandPacket( 84 packet.setNextValueAsReferenceTypeID(threadID); 86 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 118 CommandPacket packet = new CommandPacket( local 122 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 141 packet = new CommandPacket( 144 packet.setNextValueAsReferenceTypeID(threadID); 146 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 191 CommandPacket packet = new CommandPacket( local [all...] |
| HoldEventsTest.java | 65 CommandPacket packet = new CommandPacket( local 69 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 86 packet = new CommandPacket( 89 debuggeeWrapper.vmMirror.performCommand(packet);
|
| TopLevelThreadGroupsTest.java | 50 * <BR> - there are no extra data in the reply packet; 58 CommandPacket packet = new CommandPacket( local 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 82 CommandPacket packet = new CommandPacket( local 85 packet.setNextValueAsThreadGroupID(rootID); 86 ReplyPacket replyParent = debuggeeWrapper.vmMirror.performCommand(packet); 93 packet = new CommandPacket( 96 packet.setNextValueAsThreadGroupID(rootID); 97 ReplyPacket replyChilds = debuggeeWrapper.vmMirror.performCommand(packet); 107 packet = new CommandPacket [all...] |
| /external/chromium_org/content/browser/renderer_host/p2p/ |
| socket_host_tcp_unittest.cc | 172 std::vector<char> packet; local 173 CreateRandomPacket(&packet); 174 socket_host_->Send(dest_.ip_address, packet, options, 0); 182 // Receive packet from |dest_|. 199 std::vector<char> packet; local 200 CreateRandomPacket(&packet); 201 socket_host_->Send(dest_.ip_address, packet, options, 0); 204 expected_data.append(IntToSize(packet.size())); 205 expected_data.append(packet.begin(), packet.end()) 260 std::vector<char> packet; local 355 std::vector<char> packet; local [all...] |
| /external/chromium_org/media/filters/ |
| audio_file_reader.cc | 124 AVPacket packet; local 129 ReadPacket(&packet)) { 130 // Make a shallow copy of packet so we can slide packet.data as frames are 131 // decoded from the packet; otherwise av_free_packet() will corrupt memory. 132 AVPacket packet_temp = packet; 148 // Update packet size and data pointer in case we need to call the decoder 149 // with the remaining bytes from this packet. 216 av_free_packet(&packet);
|
| /external/chromium_org/remoting/host/ |
| audio_capturer_win.cc | 25 // value less than this threshold, the packet will be counted as a packet of 248 scoped_ptr<AudioPacket> packet = local 250 packet->add_data(data, frames * wave_format_ex_->nBlockAlign); 251 packet->set_encoding(AudioPacket::ENCODING_RAW); 252 packet->set_sampling_rate(sampling_rate_); 253 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); 254 packet->set_channels(AudioPacket::CHANNELS_STEREO); 256 callback_.Run(packet.Pass()); 272 LOG(ERROR) << "Failed to capture an audio packet: 0x [all...] |
| video_scheduler.cc | 283 void VideoScheduler::SendVideoPacket(scoped_ptr<VideoPacket> packet) { 290 packet.Pass(), base::Bind(&VideoScheduler::OnVideoPacketSent, this)); 348 scoped_ptr<VideoPacket> packet = encoder_->Encode(*frame); local 349 packet->set_client_sequence_number(sequence_number); 351 // Destroy the frame before sending |packet| because SendVideoPacket() may 357 base::TimeDelta::FromMilliseconds(packet->encode_time_ms())); 360 base::Passed(&packet)));
|
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| testclient.cc | 34 // DESIGN: Each packet received is put it into a list of packets. 40 packets_ = new std::vector<Packet*>(); 71 TestClient::Packet* TestClient::NextPacket() { 73 // at most 1 second. If, during the loop, a packet arrives, then we can stop 76 // Note that the case where no packet arrives is important. We often want to 77 // test that a packet does not arrive. 94 // Return the first packet placed in the queue. 95 Packet* packet = NULL; local 98 packet = packets_->front() 108 Packet* packet = NextPacket(); local 120 Packet* packet = NextPacket(); local [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
| asyncstuntcpsocket_unittest.cc | 135 std::string packet = recv_packets_.front(); local 137 ret = (memcmp(data, packet.c_str(), len) == 0); 150 // Testing a stun packet sent/recv properly. 248 unsigned char packet[65539]; local 249 packet[0] = 0x40; 250 packet[1] = 0x00; 251 packet[2] = 0xFF; 252 packet[3] = 0xFF; 253 EXPECT_TRUE(Send(packet, sizeof(packet))); 262 unsigned char packet[65552]; local [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/session/media/ |
| mediarecorder_unittest.cc | 75 talk_base::StreamResult ReadPacket(RtpDumpPacket* packet) { 81 return reader_->ReadPacket(packet); 92 // By default, the sink is disabled. The 1st packet is not written. 97 // Enable the sink. The 2nd packet is written. 103 // Disable the sink. The 3rd packet is not written. 108 // Read the recorded file and verify it contains only the 2nd packet. 109 RtpDumpPacket packet; local 110 EXPECT_EQ(talk_base::SR_SUCCESS, ReadPacket(&packet)); 112 &packet, &RtpTestUtility::kTestRawRtpPackets[1], false)); 113 EXPECT_EQ(talk_base::SR_EOS, ReadPacket(&packet)); 130 RtpDumpPacket packet; local 160 RtpDumpPacket packet; local [all...] |
| /external/chromium_org/third_party/libsrtp/srtp/srtp/ |
| ekt.c | 210 uint8_t *packet; local 220 packet = base_tag + base_tag_len; 222 /* copy encrypted master key into packet */ 224 memcpy(packet, ekt->encrypted_master_key, emk_len); 226 octet_string_hex_string(packet, emk_len)); 227 packet += emk_len; 229 /* copy ROC into packet */ 231 *((uint32_t *)packet) = be32_to_cpu(roc); 233 octet_string_hex_string(packet, sizeof(roc))); 234 packet += sizeof(roc) [all...] |
| /external/chromium_org/third_party/webrtc/base/ |
| testclient.cc | 17 // DESIGN: Each packet received is put it into a list of packets. 23 packets_ = new std::vector<Packet*>(); 54 TestClient::Packet* TestClient::NextPacket() { 56 // at most 1 second. If, during the loop, a packet arrives, then we can stop 59 // Note that the case where no packet arrives is important. We often want to 60 // test that a packet does not arrive. 77 // Return the first packet placed in the queue. 78 Packet* packet = NULL; local 81 packet = packets_->front() 91 Packet* packet = NextPacket(); local 103 Packet* packet = NextPacket(); local [all...] |