Home
last modified time | relevance | path

Searched refs:writable (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs154 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/
DSharedMemory.h80 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/
Dbtm_sco_hfp_hal_linux.cc171 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/
Dpayload.rs291 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 …]
Dcomposite.rs106 writable: partition.writable, in convert_partitions()
/packages/modules/Bluetooth/system/gd/hal/
Dmgmt.cc104 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/
Dloopdevice.rs68 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()
Dlib.rs180 writable: bool, in create_device()
196 if !writable { in create_device()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineCustomImageConfig.java167 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/
DBpfMap.h62 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/
DPersistentIntTest.kt114 fun setWritable(p: Path, writable: Boolean) { in setWritable()
115 addOrRemovePermission(p, OWNER_WRITE, writable) in setWritable()
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs80 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/
DPartition.aidl27 boolean writable;
DDiskImage.aidl28 boolean writable;
/packages/modules/Virtualization/authfs/service/src/
Dauthfs.rs55 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/
DIAuthFs.aidl24 ParcelFileDescriptor openFile(int remoteFdName, boolean writable); in openFile() argument
/packages/services/Car/car_product/init/
Dinit.bootstat.rc3 # IMPORTANT: Do not create world writable files or directories.
/packages/modules/NeuralNetworks/common/types/src/
DSharedMemoryAndroid.cpp162 const bool writable = (memory.prot & PROT_WRITE) != 0; in map() local
164 if (writable) { in map()
/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs222 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/
Dueventd.rc24 # these should not be world writable
/packages/modules/Bluetooth/system/bta/has/
Dhas_types.h275 .writable = preset.IsWritable(), in GetPresetInfo()
289 .writable = preset.IsWritable(), in GetAllPresetInfo()
Dhas_client_test.cc1491 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/
DContactMultiDeletionInteraction.java225 boolean writable = type == null || type.areContactsWritable(); in onLoadFinished()
226 if (writable) { in onLoadFinished()
DContactDeletionInteraction.java267 boolean writable = type == null || type.areContactsWritable(); in onLoadFinished()
268 if (writable) { in onLoadFinished()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_has.h60 bool writable; member

12