/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 135 auto control = IncFs_Mount(details::c_str(backingPath), details::c_str(targetDir), options); in mount() local 136 return UniqueControl(control); in mount() 140 auto control = IncFs_Open(details::c_str(dir)); in open() local 141 return UniqueControl(control); in open() 149 inline ErrorCode setOptions(const Control& control, MountOptions newOptions) { in setOptions() argument 150 return IncFs_SetOptions(control, newOptions); in setOptions() 161 inline std::string root(const Control& control) { in root() argument 165 if (auto err = IncFs_Root(control, result.data(), &size); err < 0) { in root() 173 inline ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, in makeFile() argument 175 return IncFs_MakeFile(control, details::c_str(path), mode, fileId, params); in makeFile() [all …]
|
D | incfs_ndk.h | 215 void IncFs_DeleteControl(IncFsControl* control); 216 IncFsFd IncFs_GetControlFd(const IncFsControl* control, IncFsFdType type); 217 IncFsSize IncFs_ReleaseControlFds(IncFsControl* control, IncFsFd out[], IncFsSize outSize); 219 IncFsErrorCode IncFs_SetOptions(const IncFsControl* control, IncFsMountOptions options); 224 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize); 226 IncFsErrorCode IncFs_MakeFile(const IncFsControl* control, const char* path, int32_t mode, 228 IncFsErrorCode IncFs_MakeMappedFile(const IncFsControl* control, const char* path, int32_t mode, 231 IncFsErrorCode IncFs_MakeDir(const IncFsControl* control, const char* path, int32_t mode); 232 IncFsErrorCode IncFs_MakeDirs(const IncFsControl* control, const char* path, int32_t mode); 234 IncFsErrorCode IncFs_GetMetadataById(const IncFsControl* control, IncFsFileId id, char buffer[], [all …]
|
D | incfs.h | 90 UniqueControl(IncFsControl* control = nullptr) : mControl(control) {} in mControl() argument 216 ErrorCode setOptions(const Control& control, MountOptions newOptions); 221 std::string root(const Control& control); 223 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, 225 ErrorCode makeMappedFile(const Control& control, std::string_view path, int mode, 227 ErrorCode makeDir(const Control& control, std::string_view path, int mode = 0555); 228 ErrorCode makeDirs(const Control& control, std::string_view path, int mode = 0555); 230 RawMetadata getMetadata(const Control& control, FileId fileId); 231 RawMetadata getMetadata(const Control& control, std::string_view path); 232 FileId getFileId(const Control& control, std::string_view path); [all …]
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 397 auto control = in makeControl() local 399 if (control) { in makeControl() 407 return control; in makeControl() 556 auto control = makeControl(targetDir); in IncFs_Mount() local 557 if (control == nullptr) { in IncFs_Mount() 561 return control; in IncFs_Mount() 573 IncFsFd IncFs_GetControlFd(const IncFsControl* control, IncFsFdType type) { in IncFs_GetControlFd() argument 574 if (!control) { in IncFs_GetControlFd() 579 return control->cmd; in IncFs_GetControlFd() 581 return control->pendingReads; in IncFs_GetControlFd() [all …]
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | Android.bp | 54 "android.system.suspend.control-V1-cpp", 55 "android.system.suspend.control.internal-cpp", 77 "android.system.suspend.control-V1-cpp", 78 "android.system.suspend.control.internal-cpp", 104 "android.system.suspend.control-V1-cpp", 116 "android.system.suspend.control-V1-cpp", 117 "android.system.suspend.control.internal-cpp",
|
/system/bt/gd/rust/hal/src/ |
D | facade.rs | 21 async fn provide_facade(control: ControlHal, acl: AclHal, iso: IsoHal) -> HciHalFacadeService { in provide_facade() 23 evt_rx: RxAdapter::from_arc(control.rx.clone()), in provide_facade() 26 control, in provide_facade() 38 control: ControlHal, field 51 let cmd_tx = self.control.tx.clone(); in send_command()
|
/system/incremental_delivery/libdataloader/ |
D | DataLoaderConnector.cpp | 149 auto control = FindClassOrDie(env, "android/content/pm/FileSystemControlParcel"); in JniIds() local 151 GetFieldIDOrDie(env, control, "incremental", in JniIds() 153 service = GetFieldIDOrDie(env, control, "service", in JniIds() 156 GetFieldIDOrDie(env, control, "callback", in JniIds() 307 DataLoaderConnector(JNIEnv* env, jobject service, jint storageId, UniqueControl control, in DataLoaderConnector() argument 315 mControl(std::move(control)) { in DataLoaderConnector() 552 const UniqueControl& control() const { return mControl; } in control() function in __anonb17d6ec20111::DataLoaderConnector 752 bool DataLoaderService_OnCreate(JNIEnv* env, jobject service, jint storageId, jobject control, in DataLoaderService_OnCreate() argument 762 auto nativeControl = createIncFsControlFromManaged(env, control); in DataLoaderService_OnCreate() 784 auto serviceConnector = createServiceConnector(env, control); in DataLoaderService_OnCreate() [all …]
|
/system/hardware/interfaces/suspend/aidl/ |
D | Android.bp | 6 name: "android.system.suspend.control.internal", 20 name: "android.system.suspend.control",
|
/system/logging/logd/ |
D | LogListener.cpp | 60 alignas(4) char control[CMSG_SPACE(sizeof(struct ucred))]; in HandleData() local 62 nullptr, 0, &iov, 1, control, sizeof(control), 0, in HandleData()
|
/system/core/fastboot/device/ |
D | usb_client.cpp | 192 h->control.reset(); in CloseFunctionFs() 198 if (h->control < 0) { // might have already done this before in InitFunctionFs() 200 h->control.reset(open(kUsbFfsFastbootEp0, O_RDWR)); in InitFunctionFs() 201 if (h->control < 0) { in InitFunctionFs() 206 auto ret = write(h->control.get(), &v2_descriptor, sizeof(v2_descriptor)); in InitFunctionFs() 212 ret = write(h->control.get(), &strings, sizeof(strings)); in InitFunctionFs()
|
D | usb.h | 50 android::base::unique_fd control; member
|
/system/core/libcutils/ |
D | uevent.cpp | 56 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_kernel_recv() local 58 &addr, sizeof(addr), &iov, 1, control, sizeof(control), 0, in uevent_kernel_recv()
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 51 std::bitset<8> control; in GetControlField() local 52 control |= frame_type; in GetControlField() 53 control.set(4, pf); in GetControlField() 54 return static_cast<uint8_t>(control.to_ulong()); in GetControlField() 111 std::vector<uint8_t> CreateRfcommPacket(uint8_t address, uint8_t control, in CreateRfcommPacket() argument 117 result.push_back(control); in CreateRfcommPacket() 133 if (GetFrameTypeFromControlField(control) == RFCOMM_UIH) { in CreateRfcommPacket()
|
/system/nvram/core/include/nvram/core/ |
D | persistence.h | 108 bool HasControl(uint32_t control) const { in HasControl() 109 return (controls & (1 << control)) != 0; in HasControl()
|
/system/nvram/client/ |
D | nvram_client.c | 64 nvram_control_t control; member 77 static const char* ControlToString(nvram_control_t control) { in ControlToString() argument 79 if (kControlNameTable[i].control == control) { in ControlToString() 90 static int StringToControl(const char* name, nvram_control_t* control) { in StringToControl() argument 93 *control = kControlNameTable[i].control; in StringToControl()
|
/system/bt/gd/os/linux_generic/ |
D | reactor.cc | 164 auto control = eventfd_write(control_fd_, kStopReactor); in Stop() local 165 ASSERT(control != -1); in Stop() 239 auto control = eventfd_write(control_fd_, kWaitForIdle); in WaitForIdle() local 240 ASSERT(control != -1); in WaitForIdle()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 393 static void CheckCreateLoopDevice(LoopControl* control, const std::string& file, in CheckCreateLoopDevice() argument 398 CHECK(control->Attach(file_fd, timeout_ms, path)) in CheckCreateLoopDevice() 404 AutoDetachLoopDevice(LoopControl* control, const std::string& device) in AutoDetachLoopDevice() argument 405 : AutoDevice(device), control_(control) {} in AutoDetachLoopDevice() 413 uint64_t size, LoopControl* control, in CheckMapImage() argument 416 CheckCreateLoopDevice(control, img_path, 1s, mapped_path); in CheckMapImage() 418 return std::make_unique<AutoDetachLoopDevice>(control, *mapped_path); in CheckMapImage()
|
/system/sepolicy/vendor/ |
D | hal_bootctl_default.te | 1 # Boot control subsystem
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 258 auto control = IncFs_CreateControl(fds[0].release(), fds[1].release(), fds[2].release(), -1); in TEST_F() local 259 ASSERT_TRUE(control); in TEST_F() 260 EXPECT_GE(IncFs_GetControlFd(control, CMD), 0); in TEST_F() 261 EXPECT_GE(IncFs_GetControlFd(control, PENDING_READS), 0); in TEST_F() 262 EXPECT_GE(IncFs_GetControlFd(control, LOGS), 0); in TEST_F() 265 EXPECT_EQ(-EINVAL, IncFs_ReleaseControlFds(control, nullptr, 3)); in TEST_F() 266 EXPECT_EQ(-ERANGE, IncFs_ReleaseControlFds(control, rawFds, 2)); in TEST_F() 267 EXPECT_EQ(4, IncFs_ReleaseControlFds(control, rawFds, 4)); in TEST_F() 275 IncFs_DeleteControl(control); in TEST_F() 326 auto control{createControl(tmp_file.fd, -1, -1, -1)}; in TEST_F() local [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 333 static bool CreateLoopDevice(LoopControl& control, const std::string& file, in CreateLoopDevice() argument 341 if (!control.Attach(file_fd, timeout_ms, path)) { in CreateLoopDevice() 351 AutoDetachLoopDevices(LoopControl& control, const std::vector<std::string>& devices) in AutoDetachLoopDevices() argument 352 : control_(control), devices_(devices), commit_(false) {} in AutoDetachLoopDevices() 470 LoopControl control; in MapWithLoopDevice() local 472 AutoDetachLoopDevices auto_detach(control, loop_devices); in MapWithLoopDevice() 480 if (!CreateLoopDevice(control, file, timeout_ms - elapsed, &loop_device)) { in MapWithLoopDevice()
|
/system/nvram/core/ |
D | nvram_manager.cpp | 52 for (size_t control = 0; control < sizeof(uint32_t) * 8; ++control) { in GetControlsVector() local 53 if (space.HasControl(control)) { in GetControlsVector() 58 (*controls)[controls->size() - 1] = static_cast<nvram_control_t>(control); in GetControlsVector() 226 for (uint32_t control : request.controls) { in CreateSpace() local 227 controls |= (1 << control); in CreateSpace()
|
/system/bt/gd/rust/hci/src/ |
D | lib.rs | 57 async fn provide_hci(control: ControlHal, rt: Arc<Runtime>) -> Hci { in provide_hci() 65 control.rx, in provide_hci() 66 control.tx, in provide_hci()
|
/system/extras/simpleperf/demo/JavaApi/app/ |
D | proguard-rules.pro | 2 # You can control the set of applied configuration files using the
|
/system/extras/simpleperf/demo/CppApi/app/ |
D | proguard-rules.pro | 2 # You can control the set of applied configuration files using the
|
/system/vold/ |
D | VoldNativeService.cpp | 999 auto control = incfs::mount(backingPath, targetDir, in mountIncFs() local 1006 if (!control) { in mountIncFs() 1009 auto fds = control.releaseFds(); in mountIncFs() 1028 const ::android::os::incremental::IncrementalFileSystemControlParcel& control, in setIncFsMountOptions() 1033 incfs::createControl(control.cmd.get(), control.pendingReads.get(), control.log.get(), in setIncFsMountOptions() 1034 control.blocksWritten ? control.blocksWritten->get() : -1); in setIncFsMountOptions()
|