Home
last modified time | relevance | path

Searched refs:flat (Results 1 – 15 of 15) sorted by relevance

/foundation/communication/ipc/ipc/native/src/core/source/
Dmessage_parcel.cpp54 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/
Dbinder_invoker.cpp884 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/
Drs_ashmem_helper.cpp183 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/
Dinput_device.cpp125 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/
Dvirtual_device_config.h63 int32_t flat {};
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
Dinput_device.h54 … 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/
Dinput_device_impl.cpp336 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/
Djs_util.cpp152 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/
DBUILD.gn28 "$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/
Drs_render_service_connection_stub.cpp46 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/
Dstruct_multimodal.h186 int32_t flat; member
/foundation/multimodalinput/input/patch/prebuild_eudev/hwdb.d/
D60-evdev.hwdb31 # 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/
Dvirtual_device.cpp663 uinputDev_.absflat[absInfo.code] = absInfo.flat; in SetAbsValue()
/foundation/multimodalinput/input/util/common/src/
Dutil.cpp236 … 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/
Dlibinput_0000.diff165 + 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值*/