Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapex_database.h37 std::string device_name; // Name of the dm verity device. member
42 const std::string& device_name) in MountedApexData()
46 device_name(device_name) {} in MountedApexData()
67 return device_name < rhs.device_name;
92 if (pair.first.device_name != "") { in CheckUniqueLoopDm()
93 CHECK(dm_devices.insert(pair.first.device_name).second) in CheckUniqueLoopDm()
94 << "Duplicate dm device: " << pair.first.device_name; in CheckUniqueLoopDm()
Dapex_database_test.cpp93 const std::string& mount_point, const std::string& device_name) { in Contains() argument
98 mount_point == d.mount_point && device_name == d.device_name) { in Contains()
112 dm == d.device_name) { in ContainsPackage()
Dapexd_loop.cpp74 std::string device_name = device_path.substr(pos + 1, std::string::npos); in configureReadAhead() local
77 StringPrintf("/sys/block/%s/queue/read_ahead_kb", device_name.c_str()); in configureReadAhead()
Dapexd.cpp398 const std::string& device_name, in mountNonFlattened() argument
433 device_name); in mountNonFlattened()
447 createVerityDevice(device_name, *verityTable); in mountNonFlattened()
527 const std::string& device_name, in MountPackageImpl() argument
561 ret = mountNonFlattened(apex, mountPoint, device_name, verifyImage); in MountPackageImpl()
592 if (!data.device_name.empty()) { in Unmount()
593 const auto& status = DeleteVerityDevice(data.device_name); in Unmount()
595 LOG(DEBUG) << "Failed to free device " << data.device_name << " : " in Unmount()
/system/core/init/
Duevent.h31 std::string device_name; member
Duevent_listener.cpp41 uevent->device_name.clear(); in ParseEvent()
71 uevent->device_name = msg; in ParseEvent()
Dfirst_stage_mount.cpp424 const std::string device_name(basename(dm_device.c_str())); in InitMappedDevice() local
425 const std::string syspath = "/sys/block/" + device_name; in InitMappedDevice()
428 auto verity_callback = [&device_name, &dm_device, this, &found](const Uevent& uevent) { in InitMappedDevice()
429 if (uevent.device_name == device_name) { in InitMappedDevice()
Ddevices.cpp377 links.emplace_back("/dev/block/by-name/" + uevent.device_name); in GetBlockDeviceSymlinks()
442 if (!uevent.device_name.empty()) { in HandleUevent()
443 devpath = "/dev/" + uevent.device_name; in HandleUevent()
Ddevices.h95 ? uevent.device_name in ParseDevPath()
/system/bt/service/common/android/bluetooth/
DIBluetoothCallback.aidl29 String device_name, in OnSspRequest() argument
/system/core/adb/
Dtest_adb.py474 device_name = "localhost:{}".format(port)
476 "connect", device_name])
478 "connected to {}".format(device_name).encode("utf8"))
481 self.assertEqual(_devices(server_port), [[device_name, "device"]])
490 self.assertEqual(_devices(server_port), [[device_name, "offline"]])
494 "disconnect", device_name])
/system/bt/service/common/bluetooth/
Dscan_filter.h37 const std::string& device_name() const { return device_name_; } in device_name() function
/system/core/fastboot/
Dusb_windows.cpp352 const wchar_t* wchar_name = next_interface->device_name; in find_usb_device()
360 DBG("attempting to open interface %S\n", next_interface->device_name); in find_usb_device()
361 handle = do_usb_open(next_interface->device_name); in find_usb_device()
/system/core/adb/client/
Dusb_windows.cpp557 if (!known_device(next_interface->device_name)) { in find_devices()
559 handle = do_usb_open(next_interface->device_name); in find_devices()
563 D("adding a new device %ls", next_interface->device_name); in find_devices()
580 D("register_new_device failed for %ls", next_interface->device_name); in find_devices()
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp461 const std::string device_name(GetVerityDeviceName(*fstab_entry)); in TearDownAvbHashtree() local
467 dm.GetDmDevicePathByName(device_name, &path); in TearDownAvbHashtree()
469 if (!dm.DeleteDevice(device_name)) { in TearDownAvbHashtree()
Davb_util.cpp108 const std::string device_name(GetVerityDeviceName(*fstab_entry)); in HashtreeDmVeritySetup() local
110 if (!dm.CreateDevice(device_name, table)) { in HashtreeDmVeritySetup()
116 if (!dm.GetDmDevicePathByName(device_name, &dev_path)) { in HashtreeDmVeritySetup()
/system/bt/service/
Dadapter.h78 const std::string& device_name, int cod,
Dadapter.cc166 const std::string& device_name, int cod, in OnSspRequest() argument
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc416 const std::string& device_name, in OnSspRequest() argument
421 << ", device_name: " << device_name << ", cod: " << cod in OnSspRequest()
426 android::String16 name_s16(device_name.c_str()); in OnSspRequest()
Dbluetooth_binder_server.h136 const std::string& device_name, int cod,
/system/extras/partition_tools/
Dlpdump.cc349 std::string device_name = GetBlockDevicePartitionName(block_device); in LpdumpMain() local
350 cout << "linear " << device_name.c_str() << " " << extent.target_data; in LpdumpMain()
/system/core/fs_mgr/
Dfs_mgr.cpp913 std::string device_name; in fs_mgr_update_logical_partition() local
914 if (!dm.GetDmDevicePathByName(entry->blk_device, &device_name)) { in fs_mgr_update_logical_partition()
918 entry->blk_device = device_name; in fs_mgr_update_logical_partition()
/system/bt/service/client/
Dmain.cc165 const String16& device_name, int32_t cod, in OnSspRequest() argument