Home
last modified time | relevance | path

Searched refs:data (Results 726 - 750 of 1249) sorted by relevance

1...<<21222324252627282930>>...50

/drivers/peripheral/sensor/chipset/hall/
H A Dhall_ak8789.h15 int32_t DetectHallAk8789Chip(struct SensorCfgData *data);
/drivers/peripheral/sensor/chipset/proximity/
H A Dproximity_apds9960.h19 int32_t DetectProximityApds9960Chip(struct SensorCfgData *data);
/drivers/peripheral/user_auth/hdi_service/key_mgr/inc/
H A Ded25519_key.h28 Buffer *ExecutorMsgSign(const Buffer *data);
/drivers/hdf_core/adapter/uhdf2/hdi/test/buffer_handle/
H A Dnative_buffer_test.cpp63 MessageParcel data; in HWTEST_F() local
66 bool ret = data.WriteStrongParcelable(srcBuffer); in HWTEST_F()
69 sptr<NativeBuffer> destBuffer = data.ReadStrongParcelable<NativeBuffer>(); in HWTEST_F()
83 MessageParcel data; in HWTEST_F() local
86 bool ret = data.WriteStrongParcelable(srcBuffer); in HWTEST_F()
89 sptr<NativeBuffer> destBuffer = data.ReadStrongParcelable<NativeBuffer>(); in HWTEST_F()
371 MessageParcel data; in HWTEST_F() local
379 bool ret = data.WriteStrongParcelable(srcBuffer); in HWTEST_F()
382 sptr<NativeBuffer> destBuffer = data.ReadStrongParcelable<NativeBuffer>(); in HWTEST_F()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcpp_custom_types_code_emitter.cpp68 std::string data = sb.ToString(); in EmitPassthroughCustomTypesHeaderFile() local
69 file.WriteData(data.c_str(), data.size()); in EmitPassthroughCustomTypesHeaderFile()
116 std::string data = sb.ToString(); in EmitCustomTypesHeaderFile() local
117 file.WriteData(data.c_str(), data.size()); in EmitCustomTypesHeaderFile()
202 sb.AppendFormat("bool %sBlockMarshalling(OHOS::MessageParcel &data, const %s& %s);\n", type->GetName().c_str(), in EmitCustomTypeMarshallingDecl()
210 sb.AppendFormat("bool %sBlockUnmarshalling(OHOS::MessageParcel &data, %s& %s);\n", type->GetName().c_str(), in EmitCustomTypeUnmarshallingDecl()
236 std::string data = sb.ToString(); in EmitCustomTypesSourceFile() local
237 file.WriteData(data in EmitCustomTypesSourceFile()
[all...]
H A Dc_interface_code_emitter.cpp79 std::string data = sb.ToString(); in EmitLowModeInterfaceHeaderFile() local
80 file.WriteData(data.c_str(), data.size()); in EmitLowModeInterfaceHeaderFile()
129 std::string data = sb.ToString(); in EmitInterfaceHeaderFile() local
130 file.WriteData(data.c_str(), data.size()); in EmitInterfaceHeaderFile()
H A Dcpp_service_impl_code_emitter.cpp61 std::string data = sb.ToString(); in EmitImplHeaderFile() local
62 file.WriteData(data.c_str(), data.size()); in EmitImplHeaderFile()
154 std::string data = sb.ToString(); in EmitImplSourceFile() local
155 file.WriteData(data.c_str(), data.size()); in EmitImplSourceFile()
/drivers/peripheral/clearplay/hdi_service/src/
H A Dmedia_key_session_service.cpp56 std::vector<uint8_t> data(eventData.begin(), eventData.end()); in GenerateMediaKeyRequest()
57 vdiCallbackObj->SendEvent(EVENTTYPE_KEYREQUIRED, 0, data); in GenerateMediaKeyRequest()
60 licenseRequestInfo.mediaKeyType, licenseRequestInfo.optionalData, &licenseRequest.data); in GenerateMediaKeyRequest()
163 std::vector<uint8_t> data(eventData.begin(), eventData.end()); in ClearMediaKeys()
164 vdiCallbackObj->SendEvent(EVENTTYPE_KEYEXPIRED, 0, data); in ClearMediaKeys()
209 HDF_LOGI("%{public}s: do not find offline license, keyId: %{public}s", __func__, licenseId.data()); in ProcessOfflineReleaseResponse()
231 HDF_LOGE("%{public}s: do not find offline license, licenseId: %{public}s", __func__, licenseId.data()); in RestoreOfflineMediaKeys()
241 std::vector<uint8_t> data(eventData.begin(), eventData.end()); in RestoreOfflineMediaKeys()
242 vdiCallbackObj->SendEvent(EVENTTYPE_EXPIRATIONUPDATE, 0, data); in RestoreOfflineMediaKeys()
/drivers/peripheral/usb/ddk_service/src/
H A Dusb_ddk_service.cpp83 static int32_t UsbdPnpEventHandler(void *priv, uint32_t id, HdfSBuf *data) in UsbdPnpEventHandler() argument
88 auto flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize); in UsbdPnpEventHandler()
90 HDF_LOGE("%{public}s: fail to read infoTable in event data, flag = %{public}d", __func__, flag); in UsbdPnpEventHandler()
193 ret = GetRawConfigDescriptor(rawHandle, configIndex, tmpBuffer.data(), tmpDesc.wTotalLength); in GetConfigDescriptor()
287 uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, std::vector<uint8_t> &data) in SendControlReadRequest()
334 data.assign(request->compInfo.buffer, request->compInfo.buffer + request->compInfo.actualLength); in SendControlReadRequest()
341 uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, const std::vector<uint8_t> &data) in SendControlWriteRequest()
375 params.ctrlReq.buffer = (void *)data.data(); in SendControlWriteRequest()
376 params.ctrlReq.length = data in SendControlWriteRequest()
286 SendControlReadRequest( uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, std::vector<uint8_t> &data) SendControlReadRequest() argument
340 SendControlWriteRequest( uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, const std::vector<uint8_t> &data) SendControlWriteRequest() argument
[all...]
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/
H A Dsidecar.c22 // Service has only one private data.The service ID of current service
208 SideCarPrivateData *data = NULL; in DestroyService() local
218 data = (SideCarPrivateData *)service->privateData; in DestroyService()
219 HDF_LOGE("Destroy service! id=%d", data->serviceId); in DestroyService()
220 errCode = UnregistLocalService(data->dispatcherId, data->serviceId); in DestroyService()
226 OsalMemFree(data); in DestroyService()
/drivers/hdf_core/framework/support/platform/src/watchdog/
H A Dwatchdog_core.c19 struct HdfSBuf *data, struct HdfSBuf *reply);
292 static int32_t WatchdogUserSetTimeout(struct WatchdogCntlr *cntlr, struct HdfSBuf *data) in WatchdogUserSetTimeout() argument
296 if (data == NULL) { in WatchdogUserSetTimeout()
297 HDF_LOGE("WatchdogUserSetTimeout: data is null!"); in WatchdogUserSetTimeout()
301 if (!HdfSbufReadUint32(data, &seconds)) { in WatchdogUserSetTimeout()
332 struct HdfSBuf *data, struct HdfSBuf *reply) in WatchdogIoDispatch()
362 return WatchdogUserSetTimeout(cntlr, data); in WatchdogIoDispatch()
331 WatchdogIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) WatchdogIoDispatch() argument
/drivers/hdf_core/framework/test/unittest/model/audio/src/
H A Daudio_platform_base_test.c45 const int dataLen = 96; // test data length in AudioDataBigEndianChangeTest()
119 struct PlatformData data; in AudioSetRenderBufInfoTest() local
121 (void)memset_s(&data, sizeof(struct PlatformData), 0, sizeof(struct PlatformData)); in AudioSetRenderBufInfoTest()
128 if (AudioSetRenderBufInfo(&data, &param) == HDF_SUCCESS) { in AudioSetRenderBufInfoTest()
137 struct PlatformData data; in AudioSetCaptureBufInfoTest() local
139 (void)memset_s(&data, sizeof(struct PlatformData), 0, sizeof(struct PlatformData)); in AudioSetCaptureBufInfoTest()
146 if (AudioSetCaptureBufInfo(&data, &param) == HDF_SUCCESS) { in AudioSetCaptureBufInfoTest()
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dfile.cpp134 size_t File::ReadData(void *data, size_t size) const in ReadData() argument
136 if (data == nullptr || size == 0) { in ReadData()
144 return fread(data, 1, size, fd_); in ReadData()
147 bool File::WriteData(const void *data, size_t size) const in WriteData() argument
149 if (data == nullptr || size == 0) { in WriteData()
157 size_t count = fwrite(data, size, 1, fd_); in WriteData()
/drivers/peripheral/input/hal/src/
H A Dinput_reporter.c34 uint32_t id, struct HdfSBuf *data) in EventListenerCallback()
45 if (service == NULL || data == NULL) { in EventListenerCallback()
61 if (!HdfSbufReadBuffer(data, (const void **)&pkgs[count], &len)) { in EventListenerCallback()
182 struct HdfIoService *service, uint32_t id, struct HdfSBuf *data) in HotPlugEventListenerCallback()
191 if (service == NULL || data == NULL) { in HotPlugEventListenerCallback()
198 ret = HdfSbufReadBuffer(data, (const void **)&event, &len); in HotPlugEventListenerCallback()
33 EventListenerCallback(struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *data) EventListenerCallback() argument
181 HotPlugEventListenerCallback(struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *data) HotPlugEventListenerCallback() argument
/drivers/peripheral/user_auth/hdi_service/common/src/
H A Duser_sign_centre.c52 const Buffer data = GetTmpBuffer((uint8_t *)userAuthToken, AUTH_TOKEN_DATA_LEN, AUTH_TOKEN_DATA_LEN); in UserAuthTokenHmac() local
54 ResultCode ret = HmacSha256(&key, &data, &sign); in UserAuthTokenHmac()
127 const Buffer data = GetTmpBuffer((uint8_t *)userAuthToken, AUTH_TOKEN_DATA_LEN, AUTH_TOKEN_DATA_LEN); in CheckUserAuthTokenHmac() local
129 ResultCode ret = HmacSha256(&key, &data, &rightSign); in CheckUserAuthTokenHmac()
230 IAM_STATIC ResultCode GetTokenDataCipherResult(const TokenDataToEncrypt *data, UserAuthTokenHal *authToken, in GetTokenDataCipherResult() argument
241 const Buffer plaintext = GetTmpBuffer((uint8_t *)data, sizeof(TokenDataToEncrypt), sizeof(TokenDataToEncrypt)); in GetTokenDataCipherResult()
/drivers/hdf_core/framework/core/adapter/vnode/include/
H A Dhdf_vnode_adapter.h28 struct HdfSBuf *data; member
/drivers/hdf_core/framework/model/storage/include/mmc/
H A Dmmc_dispatch.h27 int32_t MmcIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/hdf_core/framework/support/platform/include/hdmi/
H A Dhdmi_dispatch.h29 int32_t HdmiIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/hdf_core/framework/support/platform/include/pcie/
H A Dpcie_dispatch.h27 int32_t PcieIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/hdf_core/interfaces/inner_api/ipc/
H A Dhdf_dump_reg.h52 * @param data Indicates the pointer to the input parameter, which is obtained from the command line.
57 typedef int32_t (*DevHostDumpFunc)(struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/hdf_core/interfaces/inner_api/host/uhdf/
H A Ddevhost_dump_reg.h25 typedef int32_t (*DevHostDumpFunc)(struct HdfSBuf *data, struct HdfSBuf *reply);
/drivers/peripheral/codec/hal/include/
H A Dcodec_component_manager_stub.h29 int32_t (*OnRemoteRequest)(struct CodecComponentManager *serviceImpl, int code, struct HdfSBuf *data,
/drivers/peripheral/distributed_audio/interface/audio_ext/v1_0/
H A Dtypes.h25 std::string data; member
/drivers/peripheral/usb/sample/device/liteos/lib/include/
H A Dlib_acm_test.h22 void AcmWrite(char *data);
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/
H A Dusb_ddk_service_mock.h39 uint32_t timeout, std::vector<uint8_t> &data));
41 uint32_t timeout, const std::vector<uint8_t> &data));

Completed in 14 milliseconds

1...<<21222324252627282930>>...50