/system/update_engine/ |
D | libcurl_http_fetcher.cc | 167 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 …]
|
D | test_http_server.cc | 109 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()
|
D | main.cc | 61 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/ |
D | hmac_authorization_delegate.cc | 81 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()
|
D | trunksd.cc | 57 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()
|
D | error_codes.cc | 356 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()
|
D | tpm_simulator_handle.cc | 46 CHECK_EQ(chdir("/data/misc/trunksd"), 0); in Init()
|
D | session_manager_impl.cc | 86 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/ |
D | main.cc | 49 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/ |
D | test_utils.cpp | 75 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/ |
D | file_writer.cc | 24 CHECK_EQ(fd_, -1); in Open() 43 CHECK_EQ(bytes_written, count); in Write()
|
D | file_descriptor.cc | 32 CHECK_EQ(fd_, -1); in Open() 37 CHECK_EQ(fd_, -1); in Open()
|
D | extent_writer.cc | 61 CHECK_EQ(extent_bytes_written_, in Write()
|
D | bzip_extent_writer.cc | 71 CHECK_EQ(stream_.avail_in, 0u); in Write()
|
/system/connectivity/wificond/ |
D | main.cpp | 87 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/ |
D | FQName.cpp | 126 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/ |
D | android_fork_execvp_ext_benchmark.cpp | 29 CHECK_EQ(0, rc); in BM_android_fork_execvp_ext()
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.cc | 93 CHECK_EQ(fetcher, base_fetcher_.get()); in ReceivedBytes() 121 CHECK_EQ(fetcher, base_fetcher_.get()); in TransferEnded()
|
D | http_fetcher.cc | 48 CHECK_EQ(static_cast<Closure*>(nullptr), callback_.get()); in ResolveProxiesForUrl()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 84 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/ |
D | workload.cpp | 59 CHECK_EQ(work_state_, NotYetCreateNewProcess); in CreateNewProcess() 133 CHECK_EQ(work_state_, NotYetStartNewProcess); in Start()
|
D | tracing.cpp | 218 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/ |
D | intercept_manager.cpp | 40 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/ |
D | binder_dispatcher.cpp | 82 CHECK_EQ(err, 0) << "Error setting up binder polling: " << strerror(-err); in Init()
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.h | 49 CHECK_EQ(fwrite(contents.data(), in BufferToFile()
|