/device/generic/vulkan-cereal/gl-host-common/opengl/ |
D | gpuinfo_unittest.cpp | 393 std::string contents(win_noinstalleddrivers); in TEST() local 396 parse_gpu_info_list_windows(contents, &gpulist); in TEST() 402 std::string contents(win_single_gpu); in TEST() local 405 parse_gpu_info_list_windows(contents, &gpulist); in TEST() 431 std::string contents(win_dual_gpu); in TEST() local 434 parse_gpu_info_list_windows(contents, &gpulist); in TEST() 491 std::string contents; in TEST() local 494 parse_gpu_info_list_linux(contents, &gpulist); in TEST() 500 std::string contents(linux_2); in TEST() local 503 parse_gpu_info_list_linux(contents, &gpulist); in TEST() [all …]
|
D | NativeGpuInfo_windows.cpp | 91 const std::string& contents, in parse_windows_gpu_dlls() argument 95 contents.substr(val_pos, line_loc - val_pos); in parse_windows_gpu_dlls() 211 void parse_gpu_info_list_windows(const std::string& contents, in parse_gpu_info_list_windows() argument 213 size_t line_loc = contents.find("\r\n"); in parse_gpu_info_list_windows() 215 line_loc = contents.size(); in parse_gpu_info_list_windows() 228 equals_pos = contents.find("=", p); in parse_gpu_info_list_windows() 230 key = contents.substr(p, equals_pos - p); in parse_gpu_info_list_windows() 232 val = contents.substr(val_pos, line_loc - val_pos); in parse_gpu_info_list_windows() 250 parse_windows_gpu_dlls(line_loc, val_pos, contents, gpulist); in parse_gpu_info_list_windows() 253 if (line_loc == contents.size()) { in parse_gpu_info_list_windows() [all …]
|
D | NativeGpuInfo_linux.cpp | 42 void parse_gpu_info_list_linux(const std::string& contents, in parse_gpu_info_list_linux() argument 44 size_t line_loc = contents.find("\n"); in parse_gpu_info_list_linux() 46 line_loc = contents.size(); in parse_gpu_info_list_linux() 62 key = contents.substr(p, line_loc - p); in parse_gpu_info_list_linux() 76 if (line_loc == contents.size()) { in parse_gpu_info_list_linux() 80 line_loc = contents.find("\n", p); in parse_gpu_info_list_linux() 82 line_loc = contents.size(); in parse_gpu_info_list_linux()
|
/device/generic/vulkan-cereal/stream-servers/ |
D | ColorBuffer.cpp | 297 std::vector<uint8_t> contents; in flushFromVk() local 298 if (!vk::readColorBufferToBytes(mHandle, &contents)) { in flushFromVk() 303 if (contents.empty()) { in flushFromVk() 307 if (!mColorBufferGl->replaceContents(contents.data(), contents.size())) { in flushFromVk() 363 std::vector<uint8_t> contents(contentsSize, 0); in invalidateForVk() local 365 if (!mColorBufferGl->readContents(&contentsSize, contents.data())) { in invalidateForVk() 370 if (!mColorBufferVk->updateFromBytes(contents)) { in invalidateForVk()
|
/device/google/cuttlefish/common/libs/confui/ |
D | protocol.cpp | 165 auto& contents = message.additional_info_; in ToConfUiMessage() local 171 if (contents.size() != 2) { in ToConfUiMessage() 177 const std::string success_str(contents[0].begin(), contents[0].end()); in ToConfUiMessage() 179 const std::string status_message(contents[1].begin(), contents[1].end()); in ToConfUiMessage()
|
/device/google/cuttlefish/host/commands/cvd/selector/ |
D | instance_database_utils.cpp | 109 std::vector<std::string> contents = std::move(*contents_result); in PotentiallyHostArtifactsPath() local 110 std::set<std::string> contents_set{std::move_iterator(contents.begin()), in PotentiallyHostArtifactsPath() 111 std::move_iterator(contents.end())}; in PotentiallyHostArtifactsPath()
|
/device/google/cuttlefish/common/libs/utils/ |
D | files.cpp | 328 std::string contents; in ReadFile() local 339 contents.resize(in.tellg()); in ReadFile() 341 in.read(&contents[0], contents.size()); in ReadFile() 343 return(contents); in ReadFile()
|
D | subprocess.cpp | 352 std::string contents = in AsBashScript() local 355 contents += " &> " + AbsolutePath(redirected_stdio_path); in AsBashScript() 357 return contents; in AsBashScript()
|
D | proc_file_utils.cpp | 138 std::string contents = CF_EXPECT(ReadAll(cmdline_file_path)); in GetCmdArgs() local 139 return TokenizeByNullChar(contents); in GetCmdArgs()
|
/device/generic/vulkan-cereal/gl-host-common/include/host-common/opengl/ |
D | gpuinfo.h | 128 void parse_gpu_info_list_linux(const std::string& contents, GpuInfoList* gpulist); 129 void parse_gpu_info_list_windows(const std::string& contents, GpuInfoList* gpulist);
|
/device/google/gs101/usb/usb/ |
D | Usb.cpp | 879 string contents; in report_overheat_event() local 883 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event() 884 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event() 889 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event() 890 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event() 895 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event() 896 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()
|
/device/google/cuttlefish/host/commands/test_gce_driver/ |
D | test_gce_driver.proto | 26 oneof contents { oneof 70 bytes contents = 2; field
|
D | cvd_test_gce_driver.cpp | 337 << data_msg.data().contents().size(); in UploadFile() 338 if (WriteAll(ssh_stdin_in, data_msg.data().contents()) != in UploadFile() 339 data_msg.data().contents().size()) { in UploadFile()
|
/device/google/gs201/usb/usb/ |
D | Usb.cpp | 962 string contents; in report_overheat_event() local 966 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event() 967 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event() 972 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event() 973 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event() 978 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event() 979 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()
|
/device/google/cuttlefish/host/commands/cvd/proto/ |
D | cvd_server.proto | 34 oneof contents { oneof 46 oneof contents { oneof
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | Device.cpp | 81 const std::string contents = dictionary.toStyledString(); in savePersistentKeyValues() local 82 if (!::android::base::WriteStringToFile(contents, path)) { in savePersistentKeyValues()
|
/device/generic/vulkan-cereal/stream-servers/gl/ |
D | ColorBufferGl.cpp | 1121 std::vector<uint8_t> contents(bytes); in getContents() local 1122 readContents(&bytes, contents.data()); in getContents() 1123 return contents; in getContents() 1142 std::vector<uint8_t> contents; in rebindEglImage() local 1144 contents = getContents(); in rebindEglImage() 1150 replaceContents(contents.data(), m_numBytes); in rebindEglImage()
|
/device/google/redbull-kernel/sm7250/kernel-headers/input/ |
D | touch_offload.h | 147 } contents; member 167 } contents; member
|
/device/google/raviole-kernel/original-kernel-headers/input/ |
D | touch_offload.h | 281 } contents; member 316 } contents; member
|
/device/google/bluejay-kernel/original-kernel-headers/input/ |
D | touch_offload.h | 281 } contents; member 316 } contents; member
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/input/ |
D | touch_offload.h | 277 } contents; member 312 } contents; member
|
/device/google/cuttlefish/host/libs/config/ |
D | instance_nums.cpp | 147 auto contents = *reinterpret_cast<const std::string*>(info.flag_ptr); in GflagsInstanceNumsFlag() local 148 return CF_EXPECT(ParseInstanceNums(contents)); in GflagsInstanceNumsFlag()
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | super_image_mixer.cc | 87 auto contents = archive->ExtractToMemory(build_prop_file); in FindImports() local 88 auto lines = android::base::Split(contents, "\n"); in FindImports()
|
/device/google/contexthub/firmware/os/platform/stm32/lkr/ |
D | app.lkr | 23 * initial contents of RW data 24 * initial contents of the GOT
|
/device/google/zuma/usb/usb/ |
D | Usb.cpp | 1019 string contents; in report_overheat_event() local 1023 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event() 1024 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event() 1029 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event() 1030 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event() 1035 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event() 1036 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()
|