/system/apex/apexd/ |
D | apex_database.h | 41 std::string device_name; // Name of the dm verity device. member 53 const std::string& device_name, 59 device_name(device_name), in loop_name() 82 compare_val = device_name.compare(rhs.device_name); 262 if (pair.first.device_name != "") { in CheckUniqueLoopDm() 263 CHECK(dm_devices.insert(pair.first.device_name).second) in CheckUniqueLoopDm() 264 << "Duplicate dm device: " << pair.first.device_name; in CheckUniqueLoopDm()
|
D | apex_database_test.cpp | 106 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() 225 ASSERT_EQ(ret->device_name, std::string(kDeviceName)); in TEST()
|
D | apexd_test.cpp | 991 ASSERT_EQ(data.device_name, "test.apex.rebootless@2_1"); in TEST_F() 1032 ASSERT_EQ(data.device_name, "test.apex.rebootless@1_1"); in TEST_F() 1080 ASSERT_EQ(data.device_name, "test.apex.rebootless@2_1"); in TEST_F() 1133 ASSERT_EQ(data.device_name, "test.apex.rebootless@1_2"); in TEST_F() 1181 ASSERT_EQ(data.device_name, "test.apex.rebootless@2_1"); in TEST_F() 1269 ASSERT_EQ(data.device_name, "test.apex.rebootless@1"); in TEST_F() 1915 ASSERT_EQ(data.device_name, in TEST_F() 1994 ASSERT_EQ(data.device_name, in TEST_F() 2042 ASSERT_EQ(data.device_name, in TEST_F() 2090 ASSERT_EQ(data.device_name, in TEST_F() [all …]
|
D | apexd_loop.cpp | 91 std::string device_name = Basename(device_path); in ConfigureReadAhead() local 94 StringPrintf("/sys/block/%s/queue/read_ahead_kb", device_name.c_str()); in ConfigureReadAhead()
|
D | apexd.cpp | 425 const std::string& device_name, in MountPackageImpl() argument 527 CreateVerityDevice(device_name, *verity_table); in MountPackageImpl() 533 apex_data.device_name = device_name; in MountPackageImpl() 636 if (!data.device_name.empty()) { in Unmount() 637 const auto& result = DeleteVerityDevice(data.device_name, deferred); in Unmount() 1045 const std::string& device_name) { in MountPackage() argument 1046 auto ret = MountPackageImpl(apex, mount_point, device_name, in MountPackage() 1237 const std::string& device_name) { in ActivatePackageImpl() argument 1296 auto mount_status = MountPackage(apex_file, mount_point, device_name); in ActivatePackageImpl() 1582 std::string device_name = GetPackageId(apex->GetManifest()); in ActivateApexWorker() local [all …]
|
/system/core/init/ |
D | block_dev_initializer.cpp | 127 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()
|
D | uevent.h | 31 std::string device_name; member
|
D | devices.cpp | 378 links.emplace_back("/dev/block/by-name/" + uevent.device_name); in GetBlockDeviceSymlinks() 454 if (uevent.device_name == "ashmem") { in HandleAshmemUevent() 464 dup_ashmem_uevent.device_name += boot_id; in HandleAshmemUevent() 495 if (!uevent.device_name.empty()) { in HandleUevent() 496 devpath = "/dev/" + uevent.device_name; in HandleUevent() 508 } else if (uevent.subsystem == "misc" && StartsWith(uevent.device_name, "dm-user/")) { in HandleUevent() 509 devpath = "/dev/dm-user/" + uevent.device_name.substr(8); in HandleUevent()
|
D | uevent_listener.cpp | 41 uevent->device_name.clear(); in ParseEvent() 71 uevent->device_name = msg; in ParseEvent()
|
D | devices.h | 96 ? uevent.device_name in ParseDevPath()
|
/system/core/fs_mgr/ |
D | fs_mgr_dm_linear.cpp | 227 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/ |
D | IBluetoothCallback.aidl | 29 String device_name, in OnSspRequest() argument
|
/system/bt/service/common/bluetooth/ |
D | scan_filter.h | 37 const std::string& device_name() const { return device_name_; } in device_name() function
|
/system/core/fastboot/ |
D | usb_windows.cpp | 356 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/ |
D | fs_mgr_dm_linear.h | 75 std::string device_name; member
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler.h | 45 std::string device_name, in ClassicPairingHandler() argument 58 device_name_(std::move(device_name)) {} in ClassicPairingHandler()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 302 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/ |
D | fs_avb.cpp | 506 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/extras/simpleperf/ |
D | event_type.cpp | 210 for (const auto& device_name : GetSubDirs(evtsrc_dirname)) { in LoadTypes() local 211 std::string evtdev_path = evtsrc_dirname + device_name; in LoadTypes() 216 LOG(DEBUG) << "cannot read event type: " << device_name; in LoadTypes() 237 types_.emplace(device_name + "/" + event_name + "/", type_id, config, "", ""); in LoadTypes()
|
/system/bt/service/ |
D | adapter.h | 78 const std::string& device_name, int cod,
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 416 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()
|
D | bluetooth_binder_server.h | 136 const std::string& device_name, int cod,
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz.cpp | 164 params.device_name = params_proto.device_name(); in SNAPSHOT_FUZZ_FUNCTION()
|
D | snapshot.cpp | 573 .device_name = GetSourceDeviceName(name), in MapSourceDevice() 2030 params.device_name = GetBaseDeviceName(params.GetPartitionName()); in MapPartitionWithSnapshot() 2223 cow_partition_params.device_name.clear(); in MapCowDevices() 3598 bool SnapshotManager::GetMappedImageDevicePath(const std::string& device_name, in GetMappedImageDevicePath() argument 3603 if (dm.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDevicePath() 3604 return dm.GetDmDevicePathByName(device_name, device_path); in GetMappedImageDevicePath() 3608 return images_->GetMappedImageDevice(device_name, device_path); in GetMappedImageDevicePath() 3611 bool SnapshotManager::GetMappedImageDeviceStringOrPath(const std::string& device_name, in GetMappedImageDeviceStringOrPath() argument 3615 if (dm.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDeviceStringOrPath() 3616 return dm.GetDeviceString(device_name, device_string_or_mapped_path); in GetMappedImageDeviceStringOrPath() [all …]
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot_fuzz.proto | 46 string device_name = 8; field
|