Home
last modified time | relevance | path

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

12

/system/apex/apexd/
Dapex_database.h37 std::string device_name; // Name of the dm verity device. member
47 const std::string& device_name, in MountedApexData()
52 device_name(device_name), in MountedApexData()
74 compare_val = device_name.compare(rhs.device_name);
105 if (pair.first.device_name != "") { in CheckUniqueLoopDm()
106 CHECK(dm_devices.insert(pair.first.device_name).second) in CheckUniqueLoopDm()
107 << "Duplicate dm device: " << pair.first.device_name; in CheckUniqueLoopDm()
Dapex_database_test.cpp106 const std::string& mount_point, const std::string& device_name, in Contains() argument
112 mount_point == d.mount_point && device_name == d.device_name && in Contains()
128 dm == d.device_name && hashtree_loop_name == d.hashtree_loop_name) { in ContainsPackage()
Dapexd_loop.cpp76 std::string device_name = device_path.substr(pos + 1, std::string::npos); in configureReadAhead() local
79 StringPrintf("/sys/block/%s/queue/read_ahead_kb", device_name.c_str()); in configureReadAhead()
Dapex_database.cpp213 result.device_name = *name; in resolveMountInfo()
/system/core/init/
Dblock_dev_initializer.cpp127 const std::string device_name(basename(device.c_str())); in InitDmDevice() local
128 const std::string syspath = "/sys/block/" + device_name; in InitDmDevice()
131 auto uevent_callback = [&device_name, &device, this, &found](const Uevent& uevent) { in InitDmDevice()
132 if (uevent.device_name == device_name) { in InitDmDevice()
Duevent.h31 std::string device_name; member
Ddevices.cpp370 links.emplace_back("/dev/block/by-name/" + uevent.device_name); in GetBlockDeviceSymlinks()
446 if (uevent.device_name == "ashmem") { in HandleAshmemUevent()
456 dup_ashmem_uevent.device_name += boot_id; in HandleAshmemUevent()
486 if (!uevent.device_name.empty()) { in HandleUevent()
487 devpath = "/dev/" + uevent.device_name; in HandleUevent()
Duevent_listener.cpp41 uevent->device_name.clear(); in ParseEvent()
71 uevent->device_name = msg; in ParseEvent()
Ddevices.h95 ? uevent.device_name in ParseDevPath()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp227 if (device_name.empty()) { in InitDefaults()
228 device_name = partition_name; in InitDefaults()
244 if (!dm.CreateDevice(params.device_name, table, path, params.timeout_ms)) { in CreateLogicalPartition()
247 LINFO << "Created logical partition " << params.device_name << " on device " << *path; in CreateLogicalPartition()
252 if (!device_name.empty()) return device_name; in GetDeviceName()
/system/bt/service/common/android/bluetooth/
DIBluetoothCallback.aidl29 String device_name, in OnSspRequest() argument
/system/bt/service/common/bluetooth/
Dscan_filter.h37 const std::string& device_name() const { return device_name_; } in device_name() function
/system/bt/gd/security/pairing/
Dclassic_pairing_handler.h41 … UI* user_interface, os::Handler* user_interface_handler, std::string device_name) in ClassicPairingHandler() argument
48 user_interface_handler_(user_interface_handler), device_name_(std::move(device_name)) {} in ClassicPairingHandler()
/system/core/fastboot/
Dusb_windows.cpp356 const wchar_t* wchar_name = next_interface->device_name; in find_usb_device()
364 DBG("attempting to open interface %S\n", next_interface->device_name); in find_usb_device()
365 handle = do_usb_open(next_interface->device_name); in find_usb_device()
/system/core/fs_mgr/include/
Dfs_mgr_dm_linear.h75 std::string device_name; member
/system/extras/simpleperf/
Devent_type.cpp193 for (const auto& device_name : GetSubDirs(evtsrc_dirname)) { in GetPmuEventTypes() local
194 std::string evtdev_path = evtsrc_dirname + device_name; in GetPmuEventTypes()
199 LOG(DEBUG) << "cannot read event type: " << device_name; in GetPmuEventTypes()
220 result.emplace_back(EventType(device_name + "/" + event_name + "/", in GetPmuEventTypes()
/system/core/adb/client/
Dusb_windows.cpp560 if (!known_device(next_interface->device_name)) { in find_devices()
562 handle = do_usb_open(next_interface->device_name); in find_devices()
566 D("adding a new device %ls", next_interface->device_name); in find_devices()
583 D("register_new_device failed for %ls", next_interface->device_name); in find_devices()
/system/core/adb/
Dtest_adb.py502 device_name = "localhost:{}".format(port)
504 "connect", device_name])
506 "connected to {}".format(device_name).encode("utf8"))
509 self.assertEqual(_devices(server_port), [[device_name, "device"]])
518 self.assertEqual(_devices(server_port), [[device_name, "offline"]])
522 "disconnect", device_name])
/system/extras/partition_tools/
Dlpdump.cc302 std::string device_name = GetBlockDevicePartitionName(block_device); in ParseLinearExtentData() local
303 return std::make_tuple(std::move(device_name), extent.target_data); in ParseLinearExtentData()
333 std::string device_name = GetBlockDevicePartitionName(block_device); in PrintMetadata() local
334 cout << "linear " << device_name.c_str() << " " << extent.target_data; in PrintMetadata()
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp506 const std::string device_name(GetVerityDeviceName(*fstab_entry)); in TearDownAvbHashtree() local
512 dm.GetDmDevicePathByName(device_name, &path); in TearDownAvbHashtree()
514 if (!dm.DeleteDevice(device_name)) { in TearDownAvbHashtree()
/system/bt/service/
Dadapter.h78 const std::string& device_name, int cod,
/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/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp164 params.device_name = params_proto.device_name(); in SNAPSHOT_FUZZ_FUNCTION()
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot_fuzz.proto46 string device_name = 8; field

12