Home
last modified time | relevance | path

Searched refs:local_fd (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/client/
Dadb_install.cpp204 unique_fd local_fd(adb_open(file, O_RDONLY | O_CLOEXEC)); in install_app_streamed() local
205 if (local_fd < 0) { in install_app_streamed()
211 posix_fadvise(local_fd.get(), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in install_app_streamed()
243 if (!copy_to_file(local_fd.get(), remote_fd.get())) { in install_app_streamed()
628 unique_fd local_fd(adb_open(file, O_RDONLY | O_CLOEXEC)); in install_multiple_app_streamed() local
629 if (local_fd < 0) { in install_multiple_app_streamed()
643 if (!copy_to_file(local_fd.get(), remote_fd.get())) { in install_multiple_app_streamed()
883 unique_fd local_fd(adb_open(split.c_str(), O_RDONLY | O_CLOEXEC)); in install_multi_package() local
884 if (local_fd < 0) { in install_multi_package()
896 if (!copy_to_file(local_fd.get(), remote_fd.get())) { in install_multi_package()