HomeSort by relevance Sort by last modified time
    Searched refs:received_data (Results 1 - 14 of 14) sorted by null

  /external/chromium_org/content/renderer/device_orientation/
device_motion_event_pump_unittest.cc 90 blink::WebDeviceMotionData& received_data = listener->data_; local
92 EXPECT_TRUE(received_data.hasAccelerationX);
93 EXPECT_EQ(1, (double)received_data.accelerationX);
94 EXPECT_TRUE(received_data.hasAccelerationX);
95 EXPECT_EQ(2, (double)received_data.accelerationY);
96 EXPECT_TRUE(received_data.hasAccelerationY);
97 EXPECT_EQ(3, (double)received_data.accelerationZ);
98 EXPECT_TRUE(received_data.hasAccelerationZ);
99 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityX);
100 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityY)
147 blink::WebDeviceMotionData& received_data = listener->data_; local
    [all...]
device_orientation_event_pump_unittest.cc 110 blink::WebDeviceOrientationData& received_data = listener_->data_; local
112 EXPECT_TRUE(received_data.allAvailableSensorsAreActive);
113 EXPECT_EQ(1, (double)received_data.alpha);
114 EXPECT_TRUE(received_data.hasAlpha);
115 EXPECT_EQ(2, (double)received_data.beta);
116 EXPECT_TRUE(received_data.hasBeta);
117 EXPECT_EQ(3, (double)received_data.gamma);
118 EXPECT_TRUE(received_data.hasGamma);
139 blink::WebDeviceOrientationData& received_data = listener_->data_; local
141 EXPECT_TRUE(received_data.allAvailableSensorsAreActive)
    [all...]
  /external/chromium_org/remoting/codec/
audio_encoder_opus_unittest.cc 90 double EstimateSignalShift(const std::vector<int16>& received_data) {
92 i < received_data.size() / kChannels - 1; i++) {
93 int16 this_sample = received_data[i * kChannels];
94 int16 next_sample = received_data[(i + 1) * kChannels];
109 const std::vector<int16>& received_data) {
110 double shift = EstimateSignalShift(received_data);
113 i < received_data.size() / kChannels; i++) {
114 double d = received_data[i * kChannels] -
117 d = received_data[i * kChannels + 1] -
121 double deviation = sqrt(diff_sqare_sum / received_data.size()
135 std::vector<int16> received_data; local
    [all...]
  /external/chromium_org/content/browser/renderer_host/p2p/
socket_host_tcp_unittest.cc 138 std::string received_data; local
139 received_data.append(IntToSize(packet1.size()));
140 received_data.append(packet1.begin(), packet1.end());
141 received_data.append(IntToSize(packet2.size()));
142 received_data.append(packet2.begin(), packet2.end());
143 received_data.append(IntToSize(packet3.size()));
144 received_data.append(packet3.begin(), packet3.end());
156 while (pos < received_data.size()) {
157 size_t step_size = std::min(step_sizes[step], received_data.size() - pos);
158 socket_->AppendInputData(&received_data[pos], step_size)
186 std::string received_data; local
288 std::string received_data; local
    [all...]
  /external/chromium_org/net/spdy/
spdy_stream_test_util.cc 88 std::string received_data(len, '\0');
92 received_data_queue_.Dequeue(string_as_array(&received_data), len));
94 return received_data;
  /external/chromium/net/websockets/
websocket_job.cc 223 std::string received_data; local
228 received_data +=
233 if (delegate_ && !received_data.empty())
235 socket, received_data.data(), received_data.size());
386 std::string received_data = handshake_response_->GetResponse(); local
390 received_data +=
399 socket_, received_data.data(), received_data.size());
websocket_job_unittest.cc 73 const std::string& received_data() const { return received_data_; } function in class:net::MockSocketStreamDelegate
271 EXPECT_EQ(kHandshakeResponseMessage, delegate.received_data());
323 EXPECT_TRUE(delegate.received_data().empty());
328 EXPECT_TRUE(delegate.received_data().empty());
331 EXPECT_EQ(kHandshakeResponseMessage, delegate.received_data());
409 EXPECT_EQ(kHandshakeResponseExpected, delegate.received_data());
496 EXPECT_EQ(kHandshakeResponseExpected, delegate.received_data());
  /external/chromium_org/net/websockets/
websocket_job_test.cc 138 const std::string& received_data() const { return received_data_; } function in class:net::__anon9624::MockSocketStreamDelegate
328 if (received_data().size() == kHandshakeResponseWithoutCookieLength)
419 const std::string& received_data() const { function in class:net::WebSocketJobTest
424 return delegate->received_data();
558 EXPECT_EQ(kHandshakeResponseWithoutCookie, delegate.received_data());
586 EXPECT_TRUE(delegate.received_data().empty());
591 EXPECT_FALSE(delegate.received_data().empty());
592 EXPECT_EQ(kHandshakeResponseWithoutCookie, delegate.received_data());
639 EXPECT_EQ(kHandshakeResponseWithoutCookie, delegate.received_data());
674 EXPECT_EQ(kHandshakeResponseWithoutCookie, delegate.received_data());
    [all...]
websocket_job.cc 484 std::vector<char> received_data(handshake_response.begin(),
486 received_data.insert(received_data.end(),
493 DCHECK(!received_data.empty());
496 socket_.get(), &received_data.front(), received_data.size());
  /external/chromium/net/spdy/
spdy_stream_unittest.cc 89 const std::string& received_data() const { return received_data_; } function in class:net::__anon2927::TestSpdyStreamDelegate
244 EXPECT_EQ(std::string("\0hello!\xff", 8), delegate->received_data());
  /external/chromium_org/media/audio/win/
audio_low_latency_input_win_unittest.cc 56 const std::vector<uint8>& received_data() const { return received_data_; } function in class:media::FakeAudioInputCallback
478 EXPECT_FALSE(sink.received_data().empty());
  /external/chromium/webkit/glue/
multipart_response_delegate_unittest.cc 319 int responses, int received_data,
354 EXPECT_EQ(received_data, client.received_data_);
  /external/chromium_org/webkit/child/
multipart_response_delegate_unittest.cc 319 int responses, int received_data,
354 EXPECT_EQ(received_data, client.received_data_);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
standalone.py 677 received_data = self.rfile.read(bytes_to_receive_in_this_loop)
678 for c in received_data:
682 bytes_to_receive -= len(received_data)
    [all...]

Completed in 168 milliseconds