/foundation/communication/ipc/ipc/native/src/core/source/ |
D | message_parcel.cpp | 54 void AcquireObject(flat_binder_object *flat, const void *cookie) in AcquireObject() argument 56 switch (flat->hdr.type) { in AcquireObject() 58 if (flat->binder) { in AcquireObject() 59 reinterpret_cast<IRemoteObject *>(flat->cookie)->IncStrongRef(cookie); in AcquireObject() 66 remoteObject = current->QueryObject(current->MakeHandleDescriptor(flat->handle)); in AcquireObject() 74 flat->handle = static_cast<uint32_t>(dup(flat->handle)); in AcquireObject() 75 flat->cookie = 1; in AcquireObject() 253 const flat_binder_object *flat = reinterpret_cast<flat_binder_object *>(data + object[i]); in ClearFileDescriptor() local 254 if (flat->hdr.type == BINDER_TYPE_FD && flat->handle > 0) { in ClearFileDescriptor() 255 ::close(flat->handle); in ClearFileDescriptor() [all …]
|
/foundation/communication/ipc/ipc/native/src/mock/source/ |
D | binder_invoker.cpp | 884 flat_binder_object flat; in FlattenObject() local 888 flat.hdr.type = BINDER_TYPE_HANDLE; in FlattenObject() 889 flat.binder = 0; in FlattenObject() 890 flat.handle = (uint32_t)handle; in FlattenObject() 891 flat.cookie = proxy ? static_cast<binder_uintptr_t>(proxy->GetProto()) : 0; in FlattenObject() 893 flat.hdr.type = BINDER_TYPE_BINDER; in FlattenObject() 894 flat.binder = reinterpret_cast<uintptr_t>(object); in FlattenObject() 895 flat.cookie = flat.binder; in FlattenObject() 898 flat.flags = 0x7f | FLAT_BINDER_FLAG_ACCEPTS_FDS; in FlattenObject() 899 bool status = parcel.WriteBuffer(&flat, sizeof(flat_binder_object)); in FlattenObject() [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
D | rs_ashmem_helper.cpp | 183 const flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in CopyFileDescriptor() local 184 if (flat->hdr.type == BINDER_TYPE_FD) { in CopyFileDescriptor() 185 if (!ashmemParcel->WriteFileDescriptor(flat->handle)) { in CopyFileDescriptor() 186 ROSEN_LOGE("RSAshmemHelper::CopyFileDescriptor failed, fd:%d", flat->handle); in CopyFileDescriptor() 198 flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in InjectFileDescriptor() local 199 if (flat->hdr.type == BINDER_TYPE_FD) { in InjectFileDescriptor() 204 flat->handle = static_cast<uint32_t>(val); in InjectFileDescriptor()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
D | input_device.cpp | 125 InputDevice::AxisInfo::AxisInfo(int32_t type, int32_t min, int32_t max, int32_t fuzz, int32_t flat,… in AxisInfo() argument 126 …: axisType_(type), minimum_(min), maximum_(max), fuzz_(fuzz), flat_(flat), resolution_(resolution)… in AxisInfo() 168 void InputDevice::AxisInfo::SetFlat(int32_t flat) in SetFlat() argument 170 flat_ = flat; in SetFlat()
|
/foundation/multimodalinput/input/tools/vuinput/include/ |
D | virtual_device_config.h | 63 int32_t flat {};
|
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
D | input_device.h | 54 … AxisInfo(int32_t type, int32_t min, int32_t max, int32_t fuzz, int32_t flat, int32_t resolution); 64 void SetFlat(int32_t flat);
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
D | input_device_impl.cpp | 336 int32_t flat; in DevDataUnmarshalling() local 337 pkt >> flat; in DevDataUnmarshalling() 338 axis.SetFlat(flat); in DevDataUnmarshalling()
|
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
D | js_util.cpp | 152 napi_value flat = nullptr; in GetDeviceAxisInfo() local 153 CHKRF(cb->env, napi_create_int32(cb->env, item.GetFlat(), &flat), CREATE_INT32); in GetDeviceAxisInfo() 154 … CHKRF(cb->env, napi_set_named_property(cb->env, axisRange, "flat", flat), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
|
/foundation/multimodalinput/input/patch/diff_libinput_mmi/ |
D | BUILD.gn | 28 "$gen_dst_dir/src/filter-flat.c", 35 "$gen_dst_dir/src/filter-touchpad-flat.c", 131 "$gen_dst_dir/src/filter-flat.c", 135 "$gen_dst_dir/src/filter-touchpad-flat.c",
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/ |
D | rs_render_service_connection_stub.cpp | 46 const flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in CopyFileDescriptor() local 49 if (flat->hdr.type == BINDER_TYPE_FD && flat->handle > 0) { in CopyFileDescriptor() 50 int32_t val = dup(flat->handle); in CopyFileDescriptor()
|
/foundation/multimodalinput/input/util/common/include/ |
D | struct_multimodal.h | 186 int32_t flat; member
|
/foundation/multimodalinput/input/patch/prebuild_eudev/hwdb.d/ |
D | 60-evdev.hwdb | 31 # EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat> 34 # and min, max, res, fuzz, flat are the decimal values to the respective
|
/foundation/multimodalinput/input/tools/vuinput/src/ |
D | virtual_device.cpp | 663 uinputDev_.absflat[absInfo.code] = absInfo.flat; in SetAbsValue()
|
/foundation/multimodalinput/input/util/common/src/ |
D | util.cpp | 236 … axisName.c_str(), r.code, r.value, r.minimum, r.maximum, r.fuzz, r.flat, r.resolution, in PrintEventJoyStickAxisInfo()
|
/foundation/multimodalinput/input/patch/diff_libinput_mmi/libinput/ |
D | libinput_0000.diff | 165 + int32_t flat; 688 +/** @brief 获取设备特定轴的flat值*/ 2405 + absinfo->flat = absinfo_raw->flat; 2632 + printf("%s: code: %d, value: %d, minimum: %d, maximum: %d, fuzz: %d, flat: %d, resolution: %d,… 2639 + absinfo->flat, 5242 + return absinfo->flat; 5566 + int32_t flat; 6089 +/** @brief 获取设备特定轴的flat值*/
|