Home
last modified time | relevance | path

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

/device/google/gs-common/bootctrl/1.2/
DBootControl.cpp87 std::string dev_path = getDevPath(slot); in isSlotFlagSet() local
88 if (dev_path.empty()) { in isSlotFlagSet()
93 GptUtils gpt(dev_path); in isSlotFlagSet()
109 std::string dev_path = getDevPath(slot); in setSlotFlag() local
110 if (dev_path.empty()) { in setSlotFlag()
115 GptUtils gpt(dev_path); in setSlotFlag()
338 std::string dev_path = getDevPath(slot); in setActiveBootSlot() local
339 if (dev_path.empty()) { in setActiveBootSlot()
344 GptUtils gpt(dev_path); in setActiveBootSlot()
422 std::string dev_path = getDevPath(slot); in setSlotAsUnbootable() local
[all …]
DGptUtils.cpp56 GptUtils::GptUtils(const std::string dev_path) : dev_path(dev_path), fd(0) {} in GptUtils() argument
59 fd = open(dev_path.c_str(), O_RDWR); in Load()
61 ALOGE("failed to open block dev %s, %d\n", dev_path.c_str(), errno); in Load()
DGptUtils.h59 GptUtils(const std::string dev_path);
66 std::string dev_path;
/device/google/gs-common/bootctrl/aidl/
DBootControl.cpp84 std::string dev_path = getDevPath(in_slot); in isSlotFlagSet() local
85 if (dev_path.empty()) { in isSlotFlagSet()
90 GptUtils gpt(dev_path); in isSlotFlagSet()
106 std::string dev_path = getDevPath(in_slot); in setSlotFlag() local
107 if (dev_path.empty()) { in setSlotFlag()
112 GptUtils gpt(dev_path); in setSlotFlag()
453 std::string dev_path = getDevPath(in_slot); in setActiveBootSlot() local
454 if (dev_path.empty()) { in setActiveBootSlot()
459 GptUtils gpt(dev_path); in setActiveBootSlot()
535 std::string dev_path = getDevPath(in_slot); in setSlotAsUnbootable() local
[all …]
DGptUtils.cpp52 GptUtils::GptUtils(const std::string dev_path) : dev_path(dev_path), fd(0) {} in GptUtils() argument
55 fd = open(dev_path.c_str(), O_RDWR); in Load()
57 ALOGE("failed to open block dev %s, %d\n", dev_path.c_str(), errno); in Load()
DGptUtils.h55 GptUtils(const std::string dev_path);
62 std::string dev_path;
/device/google/trout/hal/sensors/2.1/tests/
DIioUtilsTest.cpp91 const std::string dev_path(ss.str()); in writeAccelDevice() local
93 int err = mkdir(dev_path.c_str(), 0777); in writeAccelDevice()
96 if (!writeFile(concatPaths(dev_path, "name"), dev.name)) return false; in writeAccelDevice()
97 if (!writeFile(concatPaths(dev_path, "in_accel_x_scale"), dev.scale)) return false; in writeAccelDevice()
98 if (!writeFile(concatPaths(dev_path, "in_accel_y_scale"), dev.scale)) return false; in writeAccelDevice()
99 if (!writeFile(concatPaths(dev_path, "in_accel_z_scale"), dev.scale)) return false; in writeAccelDevice()
100 if (!writeFile(concatPaths(dev_path, "in_accel_raw_available"), in writeAccelDevice()
103 if (!writeFile(concatPaths(dev_path, "in_accel_sampling_frequency_available"), in writeAccelDevice()
/device/google/gs-common/gs_watchdogd/
Dgs_watchdogd.cpp66 std::string dev_path = StringPrintf("/dev/%s", Basename(globbuf.gl_pathv[i]).c_str()); in main() local
68 int fd = TEMP_FAILURE_RETRY(open(dev_path.c_str(), O_RDWR | O_CLOEXEC)); in main()
70 PLOG(ERROR) << "Failed to open " << dev_path; in main()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs144 pub async fn new(dev_path: &Path) -> NfcService { in new()
151 .open(dev_path) in new()
/device/google/sunfish/gpt-utils/
Dgpt-utils.cpp749 int prepare_partitions(enum boot_update_stage stage, const char *dev_path) in prepare_partitions() argument
758 if (!dev_path) { in prepare_partitions()
764 fd = open(dev_path, O_RDWR); in prepare_partitions()
/device/google/redbull/gpt-utils/
Dgpt-utils.cpp749 int prepare_partitions(enum boot_update_stage stage, const char *dev_path) in prepare_partitions() argument
758 if (!dev_path) { in prepare_partitions()
764 fd = open(dev_path, O_RDWR); in prepare_partitions()
/device/google/coral/gpt-utils/
Dgpt-utils.cpp749 int prepare_partitions(enum boot_update_stage stage, const char *dev_path) in prepare_partitions() argument
758 if (!dev_path) { in prepare_partitions()
764 fd = open(dev_path, O_RDWR); in prepare_partitions()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.h277 void set_ap_image_dev_path(const std::string& dev_path);
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all3531 pci_route_irq(int dev_irq, const char *dev_path, int parent_irq, const char *parent_path) "IRQ %d @…
5705 qemu_rdma_dump_id(const char *who, const char *name, const char *dev_name, const char *dev_path, co…
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all3531 pci_route_irq(int dev_irq, const char *dev_path, int parent_irq, const char *parent_path) "IRQ %d @…
5705 qemu_rdma_dump_id(const char *who, const char *name, const char *dev_name, const char *dev_path, co…