Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 60) sorted by relevance

123

/device/google/cuttlefish/host/frontend/gcastv2/webrtc/
DRTPSession.cpp66 CHECK(!mRemoteUFrag && !mRemotePassword && !mRemoteFingerprint); in setRemoteParams()
115 CHECK(mRemoteUFrag.has_value()); in remoteUFrag()
120 CHECK(mRemotePassword.has_value()); in remotePassword()
125 CHECK(mRemoteFingerprint.has_value()); in remoteFingerprint()
134 CHECK(hasRemoteAddress()); in remoteAddress()
139 CHECK(!hasRemoteAddress()); in setRemoteAddress()
DDTLS.cpp85 CHECK(mCtx); in DTLS()
99 CHECK(useCertificate(cert)); in DTLS()
100 CHECK(usePrivateKey(key)); in DTLS()
108 CHECK(mSSL); in DTLS()
113 CHECK(mBioR); in DTLS()
116 CHECK(mBioW); in DTLS()
170 CHECK(spacePos != std::string::npos); in OnVerifyPeerCertificate()
172 CHECK(!strcasecmp(digestName.c_str(), "sha-256")); in OnVerifyPeerCertificate()
283 CHECK(!"Should not be here"); in queueOutputDataFromDTLS()
DSTUNClient.cpp51 CHECK(!res); in STUNClient()
57 CHECK(!res); in STUNClient()
115 CHECK(msg.isValid()); in onReceiveResponse()
DSDP.cpp36 CHECK(!mInitCheck); in countSections()
82 CHECK(!mInitCheck); in getSectionRange()
117 CHECK(!mNewSectionEditorActive); in createSection()
DRTPSender.cpp43 CHECK(mSources.insert( in addSource()
50 CHECK(it != mSources.end()); in addRetransInfo()
54 CHECK(info.mRetrans.insert( in addRetransInfo()
330 CHECK(it != mSources.end()); in appendSR()
469 CHECK(it != mSources.end()); in queueRTPDatagram()
509 CHECK(it != mSources.end()); in retransmitPackets()
553 CHECK(it2 != info.mRetrans.end()); in retransmitPackets()
DSTUNMessage.cpp38 CHECK((type >> 14) == 0); in STUNMessage()
72 CHECK(!mAddedMessageIntegrity || type == 0x8028); in addAttribute()
179 CHECK(mIsValid); in dump()
340 CHECK(mIsValid); in findAttribute()
DRTPSocketHandler.cpp51 CHECK(!"Should not be here."); in getSockAddrLen()
121 CHECK(!res); in RTPSocketHandler()
128 CHECK(mLocalPort > 0); in RTPSocketHandler()
132 CHECK(!res); in RTPSocketHandler()
207 CHECK(!res); in onTCPConnect()
622 CHECK(!mSendPending); in scheduleDrainOutQueue()
633 CHECK(!mOutQueue.empty()); in drainOutQueue()
654 CHECK(!"Should not be here"); in drainOutQueue()
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp142 CHECK(server->IsOpen()) << "Could not start server on " << FLAGS_tcp_port; in TcpServer()
147 CHECK(client_socket->IsOpen()) << "error creating client socket"; in TcpServer()
202 CHECK(vsock->IsOpen()) << "Could not start server on " << FLAGS_vsock_port; in VsockServer()
206 CHECK(vsock_client->IsOpen()) << "error creating vsock socket"; in VsockServer()
209 CHECK(client->IsOpen()) << "error connecting to guest client"; in VsockServer()
221 CHECK(FLAGS_tcp_port != 0) << "Must specify -tcp_port flag"; in main()
222 CHECK(FLAGS_vsock_port != 0) << "Must specify -vsock_port flag"; in main()
224 CHECK(FLAGS_vsock_cid != 0) << "Must specify -vsock_cid flag"; in main()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp86 CHECK(fn != nullptr); in post()
125 CHECK(fn != nullptr); in postWithDelay()
155 CHECK(fn != nullptr); in postSocketRecv()
164 CHECK(fn != nullptr); in postSocketSend()
242 CHECK(it->second.mSendFn != nullptr); in run()
244 CHECK(it->second.mRecvFn == nullptr); in run()
266 CHECK(it->second.mRecvFn != nullptr); in run()
274 CHECK(it->second.mSendFn == nullptr); in run()
355 CHECK(res < 0 && errno == EWOULDBLOCK); in run()
385 CHECK(cb.mRecvFn != nullptr); in run()
[all …]
DSSLSocket.cpp92 CHECK(!(mFlags & FLAG_DONT_CHECK_PEER_CERTIFICATE)); in SSLSocket()
94 CHECK(useCertificate(certificate_pem_path) in SSLSocket()
106 CHECK(trusted_pem_path.has_value()); in SSLSocket()
107 CHECK(useTrustedCertificates(*trusted_pem_path)); in SSLSocket()
126 CHECK(mRecvCallback == nullptr); in postRecv()
216 CHECK(SSL_is_init_finished(mSSL.get())); in handleIncomingData()
489 CHECK(SSL_is_init_finished(mSSL.get())); in drainOutputBufferPlain()
560 CHECK(mFlushFn == nullptr); in postFlush()
DHTTPClientConnection.cpp61 CHECK(trusted_pem_path.has_value()); in HTTPClientConnection()
115 CHECK(mRunLoop->isCurrentThread()); in sendRequest()
236 CHECK(mRunLoop->isCurrentThread()); in queueOutputData()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp37 CHECK(logcat_file->IsOpen()) in main()
43 CHECK(server_fd->IsOpen()) << "Error creating or inheriting logcat server: " in main()
61 CHECK(written == read) in main()
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DSimpleGoldfishOMXComponent.cpp59 CHECK(data == NULL); in sendCommand()
115 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed()
271 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBufferCallerLockedAlready()
308 CHECK((*header)->pPlatformPrivate == NULL); in allocateBuffer()
324 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded) in freeBuffer()
333 CHECK(!buffer->mOwnedByUs); in freeBuffer()
337 CHECK(header->pPlatformPrivate == header->pBuffer); in freeBuffer()
356 CHECK(found); in freeBuffer()
399 CHECK(msg->findInt32("cmd", &cmd)); in onMessageReceived()
400 CHECK(msg->findInt32("param", &param)); in onMessageReceived()
[all …]
/device/google/cuttlefish/host/libs/wayland/
Dwayland_surface.cpp44 CHECK(shm_buffer != nullptr); in Commit()
49 CHECK(buffer_w == state_.region.w); in Commit()
51 CHECK(buffer_h == state_.region.h); in Commit()
Dwayland_server.cpp63 CHECK(server_state_->display_ != nullptr) in ServerLoop()
68 CHECK(socket != nullptr) in ServerLoop()
73 CHECK(wl_display_add_socket_fd(server_state_->display_, fd) == 0) in ServerLoop()
/device/google/cuttlefish/host/commands/config_server/
Dmain.cpp32 CHECK(vsoc::CuttlefishConfig::Get()) << "Could not open config"; in main()
36 CHECK(server_fd->IsOpen()) << "Inheriting logcat server: " in main()
/device/linaro/hikey/bluetooth/
Dh4_protocol.cc50 CHECK(!bad_packet_type); in OnPacketReady()
61 CHECK(bytes_read == 1); in OnDataReady()
Dhci_packetizer.cc56 CHECK(bytes_read > 0); in OnDataReady()
75 CHECK(bytes_read > 0); in OnDataReady()
Dbluetooth_hci.cc72 CHECK(static_cast<int>(bytes_read) == tty_bytes); in initialize()
75 CHECK(static_cast<int>(bytes_written) == tty_bytes); in initialize()
/device/google/cuttlefish/host/frontend/vnc_server/
Dblackboard.cpp54 CHECK(!clients_.count(conn)); in Register()
62 CHECK(clients_.count(conn)); in Unregister()
67 CHECK(seq_nums.size() == most_recent_stripe_seq_nums_.size()); in NoNewStripesFor()
165 CHECK(clients_.count(conn)); in GetStateForClient()
Dframe_buffer_watcher.cpp76 CHECK(from < raw.size()); in Rotated()
77 CHECK(to < rotated.size()); in Rotated()
99 CHECK(seq_numbers.size() == stripes.size()); in StripesNewerThan()
/device/google/cuttlefish/host/frontend/gcastv2/libsource/
DHostToGuestComms.cpp91 CHECK(!res); in HostToGuestComms()
94 CHECK(!res); in HostToGuestComms()
185 CHECK(!mSendPending); in onServerConnection()
272 CHECK(mSendPending); in onSocketSend()
360 CHECK(!res); in onCheckConnection()
395 CHECK(!mSendPending); in onConnected()
DStreamingSource.cpp26 CHECK(cb); in setCallback()
/device/google/cuttlefish/tools/play_audio/
Dplay_audio.cpp93 CHECK(dec.valid()) << "Could not construct Decoder. Maybe bad frame_rate (" in main()
98 CHECK(dec.valid()) << "decoder in invalid state"; in main()
/device/google/cuttlefish/host/commands/fetcher/
Dbuild_api.cc92 CHECK(!response.isMember("error")) << "Error fetching the latest build of \"" in LatestBuildId()
107 CHECK(!response_json.isMember("error")) << "Error fetching the status of " in BuildStatus()
117 CHECK(!artifacts_json.isMember("error")) << "Error fetching the artifacts of " in Artifacts()
139 CHECK(dir != nullptr) << "Could not read files from \"" << path << "\""; in Artifacts()

123