/packages/modules/Virtualization/libs/vmconfig/src/ |
D | lib.rs | 154 pub writable: bool, field 162 image: maybe_open_parcel_file(&self.image, self.writable)?, in to_parcelable() 163 writable: self.writable, in to_parcelable() 178 pub writable: bool, field 184 image: Some(open_parcel_file(&self.path, self.writable)?), in to_parcelable() 185 writable: self.writable, in to_parcelable() 192 pub fn open_parcel_file(filename: &Path, writable: bool) -> Result<ParcelFileDescriptor> { in open_parcel_file() 196 .write(writable) in open_parcel_file() 205 writable: bool, in maybe_open_parcel_file() 207 filename.as_deref().map(|filename| open_parcel_file(filename, writable)).transpose() in maybe_open_parcel_file()
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/ |
D | SharedMemory.h | 80 bool writable = true; in mapReadWrite() local 81 return std::unique_ptr<MappedFile>(new MappedFile(getFd(), mSize, writable)); in mapReadWrite() 85 bool writable = false; in mapReadOnly() local 86 return std::unique_ptr<MappedFile>(new MappedFile(getFd(), mSize, writable)); in mapReadOnly()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sco_hfp_hal_linux.cc | 171 struct pollfd writable[1]; in mgmt_get_codec_capabilities() local 172 writable[0].fd = fd; in mgmt_get_codec_capabilities() 173 writable[0].events = POLLOUT; in mgmt_get_codec_capabilities() 176 ret = poll(writable, 1, MGMT_POLL_TIMEOUT_MS); in mgmt_get_codec_capabilities() 259 struct pollfd writable[1]; in mgmt_notify_sco_connection_change() local 260 writable[0].fd = fd; in mgmt_notify_sco_connection_change() 261 writable[0].events = POLLOUT; in mgmt_notify_sco_connection_change() 264 ret = poll(writable, 1, MGMT_POLL_TIMEOUT_MS); in mgmt_notify_sco_connection_change()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | payload.rs | 291 writable: false, in make_payload_disk() 299 writable: false, in make_payload_disk() 305 writable: false, in make_payload_disk() 310 writable: false, in make_payload_disk() 321 writable: false, in make_payload_disk() 332 writable: false, in make_payload_disk() 336 Ok(DiskImage { image: None, partitions, writable: false }) in make_payload_disk() 414 writable: false, in add_microdroid_vendor_image() 418 writable: false, in add_microdroid_vendor_image() 441 writable: true, in add_microdroid_system_images() [all …]
|
D | composite.rs | 106 writable: partition.writable, in convert_partitions()
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | mgmt.cc | 104 struct pollfd writable[1]; in get_vs_opcode() local 105 writable[0].fd = fd; in get_vs_opcode() 106 writable[0].events = POLLOUT; in get_vs_opcode() 109 ret = poll(writable, 1, MGMT_POLL_TIMEOUT_MS); in get_vs_opcode()
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | loopdevice.rs | 68 writable: bool, in attach() 83 match try_attach(&path, offset, size_limit, direct_io, writable) { in attach() 106 writable: bool, in try_attach() 120 .write(writable) in try_attach() 130 if !writable { in try_attach()
|
D | lib.rs | 180 writable: bool, in create_device() 196 if !writable { in create_device()
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualMachineCustomImageConfig.java | 167 writables[i] = disks[i].writable; in toPersistableBundle() 199 private final boolean writable; field in VirtualMachineCustomImageConfig.Disk 202 private Disk(boolean writable, String imagePath) { in Disk() argument 203 this.writable = writable; in Disk() 219 return writable; in isWritable()
|
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | BpfMap.h | 62 void abortOnMismatch(bool writable) const { in abortOnMismatch() argument 68 if (writable && (flags & BPF_F_RDONLY)) abort(); in abortOnMismatch() 105 [[clang::reinitializes]] Result<void> init(const char* path, int fd, bool writable) { in init() argument 114 abortOnMismatch(writable); in init()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | PersistentIntTest.kt | 114 fun setWritable(p: Path, writable: Boolean) { in setWritable() 115 addOrRemovePermission(p, OWNER_WRITE, writable) in setWritable()
|
/packages/modules/Virtualization/vmbase/example/tests/ |
D | test.rs | 80 let disk_image = DiskImage { image: Some(test_image), writable: false, partitions: vec![] }; in test_run_example_vm() 92 DiskImage { image: Some(empty_image), writable: false, partitions: vec![] }; in test_run_example_vm()
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/ |
D | Partition.aidl | 27 boolean writable;
|
D | DiskImage.aidl | 28 boolean writable;
|
/packages/modules/Virtualization/authfs/service/src/ |
D | authfs.rs | 55 writable: bool, in openFile() 59 let file = OpenOptions::new().read(true).write(writable).open(&path).map_err(|e| { in openFile()
|
/packages/modules/Virtualization/authfs/aidl/com/android/virt/fs/ |
D | IAuthFs.aidl | 24 ParcelFileDescriptor openFile(int remoteFdName, boolean writable); in openFile() argument
|
/packages/services/Car/car_product/init/ |
D | init.bootstat.rc | 3 # IMPORTANT: Do not create world writable files or directories.
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | SharedMemoryAndroid.cpp | 162 const bool writable = (memory.prot & PROT_WRITE) != 0; in map() local 164 if (writable) { in map()
|
/packages/modules/Virtualization/service_vm/manager/src/ |
D | lib.rs | 222 writable: true, in protected_vm_instance() 230 disks: vec![DiskImage { image: None, partitions: writable_partitions, writable: true }], in protected_vm_instance()
|
/packages/modules/Virtualization/microdroid/ |
D | ueventd.rc | 24 # these should not be world writable
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_types.h | 275 .writable = preset.IsWritable(), in GetPresetInfo() 289 .writable = preset.IsWritable(), in GetAllPresetInfo()
|
D | has_client_test.cc | 1491 ASSERT_TRUE(info.writable); in TEST_F() 1589 ASSERT_TRUE(info.writable); in TEST_F() 1637 ASSERT_EQ(preset.IsWritable(), it->writable); in TEST_F() 1867 ASSERT_TRUE(preset->writable); in TEST_F() 2062 ASSERT_EQ(preset.writable, new_preset_details[0].writable); in TEST_F() 2127 ASSERT_EQ(new_test_preset.IsWritable(), preset_details[0].writable); in TEST_F() 2208 ASSERT_EQ(new_test_preset1.IsWritable(), updated_preset_details[0].writable); in TEST_F() 2214 ASSERT_EQ(new_test_preset2.IsWritable(), updated_preset_details[1].writable); in TEST_F() 2270 ASSERT_EQ(preset_details[1].writable, deleted_preset_details[0].writable); in TEST_F() 2322 ASSERT_EQ(preset_details[0].writable, changed_preset_details[0].writable); in TEST_F() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactMultiDeletionInteraction.java | 225 boolean writable = type == null || type.areContactsWritable(); in onLoadFinished() 226 if (writable) { in onLoadFinished()
|
D | ContactDeletionInteraction.java | 267 boolean writable = type == null || type.areContactsWritable(); in onLoadFinished() 268 if (writable) { in onLoadFinished()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_has.h | 60 bool writable; member
|