/system/update_engine/ |
D | libcurl_http_fetcher.cc | 165 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_PROXY, ""), CURLE_OK); in ResumeTransfer() 167 CHECK_EQ(curl_easy_setopt( in ResumeTransfer() 173 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_PROXYTYPE, type), in ResumeTransfer() 179 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_POST, 1), CURLE_OK); in ResumeTransfer() 180 CHECK_EQ( in ResumeTransfer() 183 CHECK_EQ(curl_easy_setopt( in ResumeTransfer() 209 CHECK_EQ( in ResumeTransfer() 231 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_RANGE, range_str.c_str()), in ResumeTransfer() 235 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_WRITEDATA, this), CURLE_OK); in ResumeTransfer() 236 CHECK_EQ( 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() 123 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest() 144 CHECK_EQ(terms.size(), static_cast<vector<string>::size_type>(2)); in ParseRequest() 392 CHECK_EQ(static_cast<size_t>(0), url.find("/redirect/")); in HandleRedirect() 501 CHECK_EQ(url[0], '/'); in UrlTerms() 508 CHECK_EQ(terms.size(), num_terms); in UrlTerms() 645 CHECK_EQ(write(report_fd, listening_msg.c_str(), listening_msg.length()), in main() 647 CHECK_EQ(write(report_fd, "\n", 1), 1); in main()
|
/system/libbase/ |
D | test_utils.cpp | 46 CHECK_EQ(0, TEMP_FAILURE_RETRY(lseek(fd(), 0, SEEK_SET))); in str() 53 CHECK_EQ(-1, old_fd_); in Reset() 54 CHECK_EQ(0, TEMP_FAILURE_RETRY(lseek(fd(), 0, SEEK_SET))); in Reset() 55 CHECK_EQ(0, ftruncate(fd(), 0)); in Reset() 62 if (std_fd_ == STDERR_FILENO) CHECK_EQ(0, setvbuf(stderr, nullptr, _IONBF, 0)); in Start()
|
D | logging_test.cpp | 67 ASSERT_DEATH({SuppressAbortUI(); CHECK_EQ(0, 1);}, "Check failed: 0 == 1 "); in TEST() 68 CHECK_EQ(0, 0); in TEST() 72 CHECK_EQ(p, nullptr); in TEST() 73 CHECK_EQ(p, p); in TEST() 77 ASSERT_DEATH(CHECK_EQ(kText, nullptr), "Check failed.*null"); in TEST() 78 CHECK_EQ(kText, kText); in TEST()
|
/system/core/logd/ |
D | CompressionEngine.cpp | 51 CHECK_EQ(ret, Z_STREAM_END); in Compress() 74 CHECK_EQ(strm.avail_in, 0U); in Decompress() 75 CHECK_EQ(strm.avail_out, 0U); in Decompress() 76 CHECK_EQ(ret, Z_STREAM_END); in Decompress() 102 CHECK_EQ(result, out.size()); in Decompress()
|
D | SerializedLogChunk.cpp | 24 CHECK_EQ(reader_ref_count_, 0U); in ~SerializedLogChunk() 57 CHECK_EQ(reader_ref_count_, 0U); in ClearUidLogs()
|
/system/core/libprocinfo/ |
D | process_map_benchmark.cpp | 39 CHECK_EQ(maps.size(), 2043u); in BM_ReadMapFile() 49 CHECK_EQ(maps.Total(), 2043u); in BM_unwindstack_FileMaps() 61 CHECK_EQ(maps.Total(), 2043u); in BM_unwindstack_BufferMaps()
|
/system/update_engine/payload_consumer/ |
D | file_writer.cc | 24 CHECK_EQ(fd_, -1); in Open() 42 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 | 59 CHECK_EQ(extent_bytes_written_, cur_extent_->num_blocks() * block_size_); in Write()
|
/system/memory/libmeminfo/ |
D | libmeminfo_benchmark.cpp | 338 CHECK_EQ(mem[MEMINFO_KERNEL_STACK], 4880u); in BM_MemInfoWithZram_old() 401 CHECK_EQ(mem[MEMINFO_KERNEL_STACK], 4880u); in BM_MemInfoWithZram_new() 448 CHECK_EQ(get_allocated_vmalloc_memory(vmallocinfo), 29884416); in BM_VmallocInfo_old_fixed() 458 CHECK_EQ(::android::meminfo::ReadVmallocInfo(vmallocinfo), 29884416); in BM_VmallocInfo_new() 527 CHECK_EQ(get_smaps_rollup(path, &stats), true); in BM_SmapsRollup_old() 528 CHECK_EQ(stats.pss, 108384); in BM_SmapsRollup_old() 538 CHECK_EQ(SmapsOrRollupFromFile(path, &stats), true); in BM_SmapsRollup_new() 539 CHECK_EQ(stats.pss, 108384); in BM_SmapsRollup_new()
|
/system/extras/verity/ |
D | hash_tree_builder.cpp | 148 CHECK_EQ(1, ret); in HashBlock() 149 CHECK_EQ(hash_size_raw_, s); in HashBlock() 160 CHECK_EQ(0, len % block_size_); in HashBlocks() 226 CHECK_EQ(1, verity_tree_.size()); in BuildHashTree() 238 CHECK_EQ(base_level_blocks * block_size_, verity_tree_[0].size()); in BuildHashTree() 253 CHECK_EQ(next_level_blocks * block_size_, next_level.size()); in BuildHashTree() 257 CHECK_EQ(block_size_, verity_tree_.back().size()); in BuildHashTree()
|
/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/update_engine/payload_generator/ |
D | boot_img_filesystem.cc | 78 CHECK_EQ(0, memcmp(hdr_v0->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile() 85 CHECK_EQ(0, memcmp(hdr_v3->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile() 86 CHECK_EQ(3u, hdr_v3->header_version); in CreateFromFile()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 388 CHECK_EQ(adapter, adapter_); in OnAdapterStateChanged() 399 CHECK_EQ(adapter, adapter_); in OnDeviceConnectionStateChanged() 408 CHECK_EQ(adapter, adapter_); in OnScanEnableChanged() 419 CHECK_EQ(adapter, adapter_); in OnSspRequest() 436 CHECK_EQ(adapter, adapter_); in OnBondStateChanged() 449 CHECK_EQ(adapter, adapter_); in OnGetBondedDevices() 464 CHECK_EQ(adapter, adapter_); in OnGetRemoteDeviceProperties() 479 CHECK_EQ(adapter, adapter_); in OnDeviceFound()
|
/system/core/logwrapper/ |
D | logwrap_fork_execvp_benchmark.cpp | 27 CHECK_EQ(0, rc); in BM_android_fork_execvp_ext()
|
/system/core/adb/ |
D | transport_fd.cpp | 41 CHECK_EQ(0, rc); in CreateWakeFds() 110 CHECK_EQ(sizeof(amessage), header_buf.size()); in Run() 132 CHECK_EQ(static_cast<int>(sizeof(buf)), rc); in Run()
|
/system/bt/packet/avrcp/ |
D | capabilities_packet.cc | 97 CHECK_EQ(capability_, Capability::COMPANY_ID); in AddCompanyId() 109 CHECK_EQ(capability_, Capability::EVENTS_SUPPORTED); in AddEvent()
|
/system/extras/simpleperf/ |
D | record.cpp | 368 CHECK_EQ(p, new_binary + new_size); in SetCommandName() 510 CHECK_EQ(0u, sample_type & ~(PERF_SAMPLE_IP | PERF_SAMPLE_TID in SampleRecord() 598 CHECK_EQ(p, new_binary + size); in SampleRecord() 718 CHECK_EQ(callchain_pos, static_cast<size_t>(reinterpret_cast<char*>(p64) - new_binary)) in BuildBinaryWithNewCallChain() 902 CHECK_EQ(p, end); in BuildIdRecord() 934 CHECK_EQ(data->aux_type, AUX_TYPE_ETM); in AuxTraceInfoRecord() 935 CHECK_EQ(data->version, 0); in AuxTraceInfoRecord() 937 CHECK_EQ(data->etm4_info[i].magic, MAGIC_ETM4); in AuxTraceInfoRecord() 940 CHECK_EQ(p, end); in AuxTraceInfoRecord() 984 CHECK_EQ(p, end); in AuxTraceRecord() [all …]
|
D | workload.cpp | 82 CHECK_EQ(work_state_, NotYetCreateNewProcess); in CreateNewProcess() 156 CHECK_EQ(work_state_, NotYetStartNewProcess); in Start()
|
D | IOEventLoop_test.cpp | 54 CHECK_EQ(write(fd[1], &c, 1), 1); in TEST() 174 CHECK_EQ(write(fd[1], &c, 1), 1); in TEST()
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.cc | 93 CHECK_EQ(fetcher, base_fetcher_.get()); in ReceivedBytes() 126 CHECK_EQ(fetcher, base_fetcher_.get()); in TransferEnded()
|
/system/bt/common/ |
D | address_obfuscator.cc | 54 CHECK_EQ(out_len, static_cast<unsigned int>(kOctet32Length)); in Obfuscate()
|
/system/iorap/tests/src/binder/ |
D | app_launch_event_test.cc | 184 CHECK_EQ(value.writeToParcel(&p), ::android::NO_ERROR); in ValueParcelRoundTrip() 188 CHECK_EQ(new_value.readFromParcel(&p), ::android::NO_ERROR); in ValueParcelRoundTrip()
|
/system/core/debuggerd/tombstoned/ |
D | intercept_manager.cpp | 42 CHECK_EQ(sockfd, intercept->sockfd.get()); in intercept_close_cb() 88 CHECK_EQ(sockfd, intercept->sockfd.get()); in intercept_request_cb()
|