Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 57) sorted by relevance

123

/system/update_engine/
Dlibcurl_http_fetcher.cc167 CHECK_EQ(curl_easy_setopt(curl_handle_, in ResumeTransfer()
171 CHECK_EQ(curl_easy_setopt(curl_handle_, in ResumeTransfer()
177 CHECK_EQ(curl_easy_setopt(curl_handle_, in ResumeTransfer()
184 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_POST, 1), CURLE_OK); in ResumeTransfer()
185 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_POSTFIELDS, in ResumeTransfer()
188 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_POSTFIELDSIZE, in ResumeTransfer()
214 CHECK_EQ( in ResumeTransfer()
236 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_RANGE, range_str.c_str()), in ResumeTransfer()
240 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_WRITEDATA, this), CURLE_OK); in ResumeTransfer()
241 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_WRITEFUNCTION, in ResumeTransfer()
[all …]
Dtest_http_server.cc109 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(3)); in ParseRequest()
110 CHECK_EQ(terms[0], "GET"); in ParseRequest()
121 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest()
141 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest()
382 CHECK_EQ(static_cast<size_t>(0), url.find("/redirect/")); in HandleRedirect()
487 CHECK_EQ(url[0], '/'); in UrlTerms()
494 CHECK_EQ(terms.size(), num_terms); in UrlTerms()
630 CHECK_EQ(write(report_fd, listening_msg.c_str(), listening_msg.length()), in main()
632 CHECK_EQ(write(report_fd, "\n", 1), 1); in main()
Dmain.cc61 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()
63 CHECK_EQ(strftime(str, sizeof(str), "%Y%m%d-%H%M%S", &tm), 15u); in GetTimeAsString()
/system/tpm/trunks/
Dhmac_authorization_delegate.cc81 CHECK_EQ(Serialize_TPMA_SESSION(auth.session_attributes, &attributes_bytes), in GetCommandAuthorization()
135 CHECK_EQ(Serialize_TPMA_SESSION(auth_response.session_attributes, in CheckResponseAuthorization()
161 CHECK_EQ(digest.size(), auth_response.hmac.size); in CheckResponseAuthorization()
255 CHECK_EQ(counter.size(), sizeof(uint32_t)); in CreateKey()
256 CHECK_EQ(digest_size_bits.size(), sizeof(uint32_t)); in CreateKey()
257 CHECK_EQ(label.size(), kLabelSize); in CreateKey()
278 CHECK_EQ(digest_length, kHashDigestSize); in HmacSha256()
290 CHECK_EQ(compound_key.size(), kAesKeySize + kAesIVSize); in AesOperation()
309 CHECK_EQ(RAND_bytes(caller_nonce_.buffer, caller_nonce_.size), 1) in RegenerateCallerNonce()
Dtrunksd.cc57 CHECK_EQ(getuid(), kRootUID) << "trunksd not initialized as root."; in InitMinijailSandbox()
64 CHECK_EQ(getuid(), trunks_uid) in InitMinijailSandbox()
66 CHECK_EQ(getgid(), trunks_gid) in InitMinijailSandbox()
Derror_codes.cc356 CHECK_EQ(Serialize_TPM_ST(TPM_ST_NO_SESSIONS, &response), TPM_RC_SUCCESS); in CreateErrorResponse()
357 CHECK_EQ(Serialize_UINT32(kErrorResponseSize, &response), TPM_RC_SUCCESS); in CreateErrorResponse()
358 CHECK_EQ(Serialize_TPM_RC(error_code, &response), TPM_RC_SUCCESS); in CreateErrorResponse()
Dtpm_simulator_handle.cc46 CHECK_EQ(chdir("/data/misc/trunksd"), 0); in Init()
Dsession_manager_impl.cc86 CHECK_EQ(RAND_bytes(salt_buffer, salt.size()), 1) in StartSession()
114 CHECK_EQ(RAND_bytes(nonce_caller.buffer, nonce_caller.size), 1) in StartSession()
/system/tpm/attestation/server/
Dmain.cc49 CHECK_EQ(getuid(), kRootUID) << "AttestationDaemon not initialized as root."; in InitMinijailSandbox()
58 CHECK_EQ(getuid(), attestation_uid) in InitMinijailSandbox()
60 CHECK_EQ(getgid(), attestation_gid) in InitMinijailSandbox()
/system/core/base/
Dtest_utils.cpp75 CHECK_EQ(tmp_dir[result - 1], '\\'); in GetSystemTempDir()
128 CHECK_EQ(0, setvbuf(stderr, NULL, _IONBF, 0)); in init()
137 CHECK_EQ(0, close(old_stderr_)); in reset()
/system/update_engine/payload_consumer/
Dfile_writer.cc24 CHECK_EQ(fd_, -1); in Open()
43 CHECK_EQ(bytes_written, count); in Write()
Dfile_descriptor.cc32 CHECK_EQ(fd_, -1); in Open()
37 CHECK_EQ(fd_, -1); in Open()
Dextent_writer.cc61 CHECK_EQ(extent_bytes_written_, in Write()
Dbzip_extent_writer.cc71 CHECK_EQ(stream_.avail_in, 0u); in Write()
/system/connectivity/wificond/
Dmain.cpp87 CHECK_EQ(err, 0) << "Error setting up binder polling: " << strerror(-err); in SetupBinderOrCrash()
94 CHECK_EQ(sm != NULL, true) << "Could not obtain IServiceManager"; in RegisterServiceOrCrash()
96 CHECK_EQ(sm->addService(android::String16(kServiceName), service), in RegisterServiceOrCrash()
/system/tools/hidl/utils/
DFQName.cpp126 CHECK_EQ(match.size(), 5u); in setTo()
132 CHECK_EQ(match.size(), 4u); in setTo()
137 CHECK_EQ(match.size(), 4u); in setTo()
147 CHECK_EQ(match.size(), 6u); in setTo()
154 CHECK_EQ(match.size(), 5u); in setTo()
160 CHECK_EQ(match.size(), 3u); in setTo()
207 CHECK_EQ(match.size(), 3u); in setVersion()
/system/core/logwrapper/
Dandroid_fork_execvp_ext_benchmark.cpp29 CHECK_EQ(0, rc); in BM_android_fork_execvp_ext()
/system/update_engine/common/
Dmulti_range_http_fetcher.cc93 CHECK_EQ(fetcher, base_fetcher_.get()); in ReceivedBytes()
121 CHECK_EQ(fetcher, base_fetcher_.get()); in TransferEnded()
Dhttp_fetcher.cc48 CHECK_EQ(static_cast<Closure*>(nullptr), callback_.get()); in ResolveProxiesForUrl()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc84 CHECK_EQ(channel.empty(), empty); in ParseImageInfo()
85 CHECK_EQ(board.empty(), empty); in ParseImageInfo()
86 CHECK_EQ(version.empty(), empty); in ParseImageInfo()
87 CHECK_EQ(key.empty(), empty); in ParseImageInfo()
225 CHECK_EQ(performer.Write(buf.data(), bytes_read), bytes_read); in ApplyDelta()
227 CHECK_EQ(performer.Close(), 0); in ApplyDelta()
/system/extras/simpleperf/
Dworkload.cpp59 CHECK_EQ(work_state_, NotYetCreateNewProcess); in CreateNewProcess()
133 CHECK_EQ(work_state_, NotYetStartNewProcess); in Start()
Dtracing.cpp218 CHECK_EQ(filename, "header_page"); in LoadFromBinary()
221 CHECK_EQ(filename, "header_event"); in LoadFromBinary()
244 CHECK_EQ(p, end); in LoadFromBinary()
312 CHECK_EQ(size % field.elem_count, 0u); in ParseTracingField()
404 CHECK_EQ(PERF_TYPE_TRACEPOINT, type->type); in GetTracingData()
/system/core/debuggerd/tombstoned/
Dintercept_manager.cpp40 CHECK_EQ(sockfd, intercept->sockfd.get()); in intercept_close_cb()
73 CHECK_EQ(sockfd, intercept->sockfd.get()); in intercept_request_cb()
/system/connectivity/wificond/tests/integration/
Dbinder_dispatcher.cpp82 CHECK_EQ(err, 0) << "Error setting up binder polling: " << strerror(-err); in Init()
/system/extras/perfprofd/quipper/
Dperf_utils.h49 CHECK_EQ(fwrite(contents.data(), in BufferToFile()

123