/foundation/graphic/graphic_surface/buffer_handle/src/ |
H A D | buffer_handle.cpp | 44 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in AllocateBufferHandle() local 45 if (handle != nullptr) { in AllocateBufferHandle() 46 errno_t ret = memset_s(handle, handleSize, 0, handleSize); in AllocateBufferHandle() 49 free(handle); in AllocateBufferHandle() 52 handle->fd = -1; in AllocateBufferHandle() 54 handle->reserve[i] = -1; in AllocateBufferHandle() 56 handle->reserveFds = reserveFds; in AllocateBufferHandle() 57 handle->reserveInts = reserveInts; in AllocateBufferHandle() 61 return handle; in AllocateBufferHandle() 64 int32_t FreeBufferHandle(BufferHandle *handle) in FreeBufferHandle() argument 86 WriteBufferHandle(MessageParcel &parcel, const BufferHandle &handle) WriteBufferHandle() argument 129 BufferHandle *handle = AllocateBufferHandle(reserveFds, reserveInts); ReadBufferHandle() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/ |
H A D | NativeInterfaceDependCheckTest.cpp | 50 OH_AVErrCode Destroy(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) in Destroy() argument 52 return decoderDemo->NativeDestroy(handle); in Destroy() 55 OH_AVErrCode SetCallback(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) in SetCallback() argument 59 return decoderDemo->NativeSetCallback(handle, cb); in SetCallback() 62 OH_AVErrCode Configure(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) in Configure() argument 70 OH_AVErrCode ret = decoderDemo->NativeConfigure(handle, format); in Configure() 76 OH_AVErrCode Prepare(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) in Prepare() argument 78 return decoderDemo->NativePrepare(handle); in Prepare() 81 OH_AVErrCode Start(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle, uint32_t &index, uint8_t *data) in Start() argument 83 OH_AVErrCode ret = decoderDemo->NativeStart(handle); in Start() 94 Stop(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) Stop() argument 99 Flush(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) Flush() argument 104 Reset(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle) Reset() argument 109 PushInputData(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle, uint32_t index) PushInputData() argument 120 PushInputDataEOS(AudioDecoderDemo *decoderDemo, OH_AVCodec *handle, uint32_t index) PushInputDataEOS() argument 141 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 160 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 182 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 204 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 235 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 275 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 312 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 349 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 386 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 423 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 469 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 492 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 518 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 549 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 583 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 620 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 657 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 694 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 731 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 771 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 793 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 824 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 858 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 895 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 932 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 969 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1006 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1045 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1066 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1097 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1133 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1170 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1207 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1244 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1284 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1321 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1359 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1379 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1410 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1444 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1481 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1518 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1555 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1592 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1630 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1650 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1681 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1715 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1752 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1789 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1826 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1863 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1901 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1921 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1952 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 1986 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2023 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2060 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2097 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2134 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2172 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2190 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2219 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2251 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2286 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2321 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2356 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local 2391 OH_AVCodec *handle = Create(decoderDemo); HWTEST_F() local [all...] |
H A D | NativeParamCheckTest.cpp | 48 OH_AVCodec *handle = decoderDemo->NativeCreateByMime("aaa"); in HWTEST_F() local 49 ASSERT_EQ(nullptr, handle); in HWTEST_F() 51 handle = decoderDemo->NativeCreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_AAC); in HWTEST_F() 52 ASSERT_NE(nullptr, handle); in HWTEST_F() 54 decoderDemo->NativeDestroy(handle); in HWTEST_F() 55 handle = nullptr; in HWTEST_F() 56 handle = decoderDemo->NativeCreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in HWTEST_F() 57 ASSERT_NE(nullptr, handle); in HWTEST_F() 58 decoderDemo->NativeDestroy(handle); in HWTEST_F() 70 OH_AVCodec *handle in HWTEST_F() local 121 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 176 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 231 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 286 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 343 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 400 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 457 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 504 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 553 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 602 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 651 OH_AVCodec *handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local [all...] |
H A D | NativeNullCheckTest.cpp | 49 OH_AVCodec* handle = decoderDemo->NativeCreateByMime(nullptr); in HWTEST_F() local 50 ASSERT_EQ(nullptr, handle); in HWTEST_F() 64 OH_AVCodec* handle = decoderDemo->NativeCreateByName(nullptr); in HWTEST_F() local 65 ASSERT_EQ(nullptr, handle); in HWTEST_F() 94 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); in HWTEST_F() local 95 ASSERT_NE(nullptr, handle); in HWTEST_F() 102 decoderDemo->NativeDestroy(handle); in HWTEST_F() 115 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); in HWTEST_F() local 116 ASSERT_NE(nullptr, handle); in HWTEST_F() 123 ret = decoderDemo->NativeSetCallback(handle, c in HWTEST_F() 151 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 177 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 196 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 230 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 267 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 307 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 347 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 366 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 406 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 446 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 486 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 532 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 573 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local 614 OH_AVCodec* handle = decoderDemo->NativeCreateByName("OH.Media.Codec.Decoder.Audio.Mpeg"); HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeInterfaceDependCheckTest.cpp | 44 OH_AVErrCode Destroy(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) in Destroy() argument 46 return encoderDemo->NativeDestroy(handle); in Destroy() 49 OH_AVErrCode SetCallback(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) in SetCallback() argument 53 return encoderDemo->NativeSetCallback(handle, cb); in SetCallback() 56 OH_AVErrCode Configure(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) in Configure() argument 70 OH_AVErrCode ret = encoderDemo->NativeConfigure(handle, format); in Configure() 76 OH_AVErrCode Prepare(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) in Prepare() argument 78 return encoderDemo->NativePrepare(handle); in Prepare() 81 OH_AVErrCode Start(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle, uint32_t &index, uint8_t *data) in Start() argument 83 OH_AVErrCode ret = encoderDemo->NativeStart(handle); in Start() 95 Stop(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) Stop() argument 100 Flush(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) Flush() argument 105 Reset(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle) Reset() argument 110 PushInputData(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle, uint32_t index) PushInputData() argument 122 PushInputDataEOS(AudioEncoderDemo *encoderDemo, OH_AVCodec *handle, uint32_t index) PushInputDataEOS() argument 143 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 162 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 184 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 206 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 237 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 277 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 314 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 351 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 388 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 425 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 471 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 494 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 520 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 551 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 585 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 622 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 659 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 696 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 733 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 773 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 795 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 826 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 860 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 897 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 934 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 971 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1008 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1047 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1068 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1099 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1135 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1172 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1209 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1246 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1286 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1323 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1361 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1381 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1412 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1446 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1483 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1520 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1557 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1594 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1632 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1652 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1683 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1717 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1754 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1791 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1828 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1865 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1903 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1923 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1954 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 1988 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2025 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2062 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2099 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2136 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2174 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2192 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2221 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2253 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2288 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2323 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2358 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local 2393 OH_AVCodec *handle = Create(encoderDemo); HWTEST_F() local [all...] |
H A D | NativeParamCheckTest.cpp | 52 OH_AVCodec *handle = encoderDemo->NativeCreateByMime("aaa"); in HWTEST_F() local 53 ASSERT_EQ(nullptr, handle); in HWTEST_F() 55 handle = encoderDemo->NativeCreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_AAC); in HWTEST_F() 56 ASSERT_NE(nullptr, handle); in HWTEST_F() 58 encoderDemo->NativeDestroy(handle); in HWTEST_F() 59 handle = nullptr; in HWTEST_F() 60 handle = encoderDemo->NativeCreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_FLAC); in HWTEST_F() 61 ASSERT_NE(nullptr, handle); in HWTEST_F() 62 encoderDemo->NativeDestroy(handle); in HWTEST_F() 74 OH_AVCodec *handle in HWTEST_F() local 97 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 156 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 215 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 274 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 335 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 396 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 457 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 508 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 561 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 614 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 667 OH_AVCodec *handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 709 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.Flac"); HWTEST_F() local 768 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.Flac"); HWTEST_F() local 826 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.Flac"); HWTEST_F() local [all...] |
H A D | NativeNullCheckTest.cpp | 49 OH_AVCodec* handle = encoderDemo->NativeCreateByMime(nullptr); in HWTEST_F() local 50 ASSERT_EQ(nullptr, handle); in HWTEST_F() 64 OH_AVCodec* handle = encoderDemo->NativeCreateByName(nullptr); in HWTEST_F() local 65 ASSERT_EQ(nullptr, handle); in HWTEST_F() 94 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); in HWTEST_F() local 95 ASSERT_NE(nullptr, handle); in HWTEST_F() 102 encoderDemo->NativeDestroy(handle); in HWTEST_F() 115 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); in HWTEST_F() local 116 ASSERT_NE(nullptr, handle); in HWTEST_F() 123 ret = encoderDemo->NativeSetCallback(handle, c in HWTEST_F() 151 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 180 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 199 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 236 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 276 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 319 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 362 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 381 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 424 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 467 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 510 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 559 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 603 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local 647 OH_AVCodec* handle = encoderDemo->NativeCreateByName("OH.Media.Codec.Encoder.Audio.AAC"); HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerInterfaceDependCheckTest.cpp | 50 OH_AVMuxer* handle = nullptr; in Create() local 52 handle = muxerDemo->NativeCreate(fd, format); in Create() 54 return handle; in Create() 57 OH_AVErrCode SetRotation(AVMuxerDemo* muxerDemo, OH_AVMuxer* handle) in SetRotation() argument 61 OH_AVErrCode ret = muxerDemo->NativeSetRotation(handle, rotation); in SetRotation() 66 OH_AVErrCode AddTrack(AVMuxerDemo* muxerDemo, int32_t* trackId, OH_AVMuxer* handle) in AddTrack() argument 78 OH_AVErrCode ret = muxerDemo->NativeAddTrack(handle, trackId, trackFormat); in AddTrack() 83 OH_AVErrCode Start(AVMuxerDemo* muxerDemo, OH_AVMuxer* handle) in Start() argument 85 OH_AVErrCode ret = muxerDemo->NativeStart(handle); in Start() 90 OH_AVErrCode WriteSampleBuffer(AVMuxerDemo* muxerDemo, OH_AVMuxer* handle, uint32_ argument 105 Stop(AVMuxerDemo* muxerDemo, OH_AVMuxer* handle) Stop() argument 112 Destroy(AVMuxerDemo* muxerDemo, OH_AVMuxer* handle) Destroy() argument 129 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 150 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 174 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 199 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 227 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 258 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 279 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 304 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 329 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 357 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 388 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 409 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 434 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 462 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 490 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 521 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 543 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 568 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 599 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 627 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 658 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 689 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 710 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 735 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 763 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 794 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 828 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 848 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 871 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 895 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 922 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 952 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local 985 OH_AVMuxer* handle = Create(muxerDemo); HWTEST_F() local [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_playback.cpp | 64 if (auto handle = animationManager_->Write(animation_); handle) { in SetPlaybackState() 65 handle->state = state; in SetPlaybackState() 71 if (auto handle = animationManager_->Read(animation_); handle) { in GetPlaybackState() 72 return handle->state; in GetPlaybackState() 79 if (auto handle = animationManager_->Write(animation_); handle) { in SetRepeatCount() 80 handle->repeatCount = repeatCount; in SetRepeatCount() 86 if (auto handle in GetRepeatCount() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_handle_util.h | 75 inline constexpr bool IsDynamicResource(const RenderHandle handle) in IsDynamicResource() argument 77 return (handle.id != INVALID_RESOURCE_HANDLE) && in IsDynamicResource() 78 (((handle.id & RES_HANDLE_ADDITIONAL_INFO_MASK) >> RES_HANDLE_ADDITIONAL_INFO_SHIFT) & in IsDynamicResource() 81 inline constexpr bool IsDynamicAdditionalStateResource(const RenderHandle handle) in IsDynamicAdditionalStateResource() argument 83 return ((handle.id & RES_HANDLE_ADDITIONAL_INFO_MASK) >> RES_HANDLE_ADDITIONAL_INFO_SHIFT) & in IsDynamicAdditionalStateResource() 86 inline constexpr bool IsResetOnFrameBorders(const RenderHandle handle) in IsResetOnFrameBorders() argument 88 return (handle.id != INVALID_RESOURCE_HANDLE) && in IsResetOnFrameBorders() 89 (((handle.id & RES_HANDLE_ADDITIONAL_INFO_MASK) >> RES_HANDLE_ADDITIONAL_INFO_SHIFT) & in IsResetOnFrameBorders() 92 inline constexpr bool IsDepthImage(const RenderHandle handle) in IsDepthImage() argument 94 return (handle in IsDepthImage() 98 IsDeferredDestroy(const RenderHandle handle) IsDeferredDestroy() argument 104 IsMappableOutsideRenderer(const RenderHandle handle) IsMappableOutsideRenderer() argument 110 IsImmediatelyCreated(const RenderHandle handle) IsImmediatelyCreated() argument 116 IsPlatformConversionResource(const RenderHandle handle) IsPlatformConversionResource() argument 122 IsShallowResource(const RenderHandle handle) IsShallowResource() argument 128 IsSwapchain(const RenderHandle& handle) IsSwapchain() argument 133 GetHasNamePart(const RenderHandle handle) GetHasNamePart() argument 138 IsGpuBuffer(const RenderHandle& handle) IsGpuBuffer() argument 142 IsGpuImage(const RenderHandle& handle) IsGpuImage() argument 146 IsGpuSampler(const RenderHandle& handle) IsGpuSampler() argument 150 IsGpuAccelerationStructure(const RenderHandle& handle) IsGpuAccelerationStructure() argument 162 GetIndexPart(const RenderHandle handle) GetIndexPart() argument 170 GetGenerationIndexPart(const RenderHandle handle) GetGenerationIndexPart() argument 179 GetAdditionalData(const RenderHandle handle) GetAdditionalData() argument 184 GetPipelineLayoutDescriptorSetMask(const RenderHandle handle) GetPipelineLayoutDescriptorSetMask() argument 189 IsValid(const EngineResourceHandle& handle) IsValid() argument 193 GetHandleType(const EngineResourceHandle& handle) GetHandleType() argument 197 GetIndexPart(const EngineResourceHandle& handle) GetIndexPart() argument 201 GetGenerationIndexPart(const EngineResourceHandle& handle) GetGenerationIndexPart() argument [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | camera_buffer_handle_utils.cpp | 38 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in CameraAllocateBufferHandle() local 39 if (handle != nullptr) { in CameraAllocateBufferHandle() 40 (void)memset_s(handle, handleSize, 0, handleSize); in CameraAllocateBufferHandle() 41 handle->fd = -1; in CameraAllocateBufferHandle() 43 handle->reserve[i] = -1; in CameraAllocateBufferHandle() 45 handle->reserveFds = reserveFds; in CameraAllocateBufferHandle() 46 handle->reserveInts = reserveInts; in CameraAllocateBufferHandle() 50 return handle; in CameraAllocateBufferHandle() 53 int32_t CameraFreeBufferHandle(BufferHandle *handle) in CameraFreeBufferHandle() argument 55 if (handle in CameraFreeBufferHandle() 74 CameraCloneBufferHandle(const BufferHandle *handle) CameraCloneBufferHandle() argument [all...] |
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | dialog_model.cpp | 32 void Dispose(ArkUI_NativeDialogHandle handle) in Dispose() argument 35 if (!impl || !handle) { in Dispose() 38 impl->getDialogAPI()->dispose(handle->controller); in Dispose() 39 delete handle; in Dispose() 40 handle = nullptr; in Dispose() 43 int32_t SetContent(ArkUI_NativeDialogHandle handle, ArkUI_NodeHandle content) in SetContent() argument 46 if (!impl || !handle || !content) { in SetContent() 49 return impl->getDialogAPI()->setContent(handle->controller, content->uiNodeHandle); in SetContent() 52 int32_t RemoveContent(ArkUI_NativeDialogHandle handle) in RemoveContent() argument 55 if (!impl || !handle) { in RemoveContent() 61 SetContentAlignment(ArkUI_NativeDialogHandle handle, int32_t alignment, float offsetX, float offsetY) SetContentAlignment() argument 71 ResetContentAlignment(ArkUI_NativeDialogHandle handle) ResetContentAlignment() argument 80 SetModalMode(ArkUI_NativeDialogHandle handle, bool isModal) SetModalMode() argument 89 SetAutoCancel(ArkUI_NativeDialogHandle handle, bool autoCancel) SetAutoCancel() argument 98 SetMask(ArkUI_NativeDialogHandle handle, uint32_t maskColor, const ArkUI_Rect* maskRect) SetMask() argument 112 SetBackgroundColor(ArkUI_NativeDialogHandle handle, uint32_t backgroundColor) SetBackgroundColor() argument 121 SetCornerRadius(ArkUI_NativeDialogHandle handle, float topLeft, float topRight, float bottomLeft, float bottomRight) SetCornerRadius() argument 132 SetGridColumnCount(ArkUI_NativeDialogHandle handle, int32_t gridCount) SetGridColumnCount() argument 141 EnableCustomStyle(ArkUI_NativeDialogHandle handle, bool enableCustomStyle) EnableCustomStyle() argument 150 EnableCustomAnimation(ArkUI_NativeDialogHandle handle, bool enableCustomAnimation) EnableCustomAnimation() argument 159 Show(ArkUI_NativeDialogHandle handle, bool showInSubWindow) Show() argument 168 Close(ArkUI_NativeDialogHandle handle) Close() argument 177 RegisterOnWillDismiss(ArkUI_NativeDialogHandle handle, ArkUI_OnWillDismissEvent eventHandler) RegisterOnWillDismiss() argument 186 RegisterOnWillDismissWithUserData( ArkUI_NativeDialogHandle handle, void* userData, void (*callback)(ArkUI_DialogDismissEvent* event)) RegisterOnWillDismissWithUserData() argument [all...] |
H A D | dialog_model.h | 43 void Dispose(ArkUI_NativeDialogHandle handle); 44 int32_t SetContent(ArkUI_NativeDialogHandle handle, ArkUI_NodeHandle content); 45 int32_t RemoveContent(ArkUI_NativeDialogHandle handle); 46 int32_t SetContentAlignment(ArkUI_NativeDialogHandle handle, int32_t alignment, float offsetX, float offsetY); 47 int32_t ResetContentAlignment(ArkUI_NativeDialogHandle handle); 48 int32_t SetModalMode(ArkUI_NativeDialogHandle handle, bool isModal); 49 int32_t SetAutoCancel(ArkUI_NativeDialogHandle handle, bool autoCancel); 50 int32_t SetMask(ArkUI_NativeDialogHandle handle, uint32_t maskColor, const ArkUI_Rect* rect); 51 int32_t SetBackgroundColor(ArkUI_NativeDialogHandle handle, uint32_t backgroundColor); 52 int32_t SetCornerRadius(ArkUI_NativeDialogHandle handle, floa [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_server.h | 37 int SdpDestroyServiceRecord(uint32_t handle); 38 int SdpRegisterServiceRecord(uint32_t handle); 39 int SdpDeregisterServiceRecord(uint32_t handle); 40 int SdpAddServiceClassIdList(uint32_t handle, const BtUuid *classid, uint16_t classidNumber); 41 int SdpAddServiceRecordState(uint32_t handle, uint32_t state); 42 int SdpAddServiceId(uint32_t handle, const BtUuid *serviceid); 43 int SdpAddProtocolDescriptorList(uint32_t handle, const SdpProtocolDescriptor *descriptor, uint16_t descriptorNumber); 45 uint32_t handle, const SdpAdditionalProtocolDescriptor *descriptorList, uint16_t descriptorListNumber); 46 int SdpAddBrowseGroupList(uint32_t handle, const BtUuid *browseUuid, uint16_t browseUuidNumber); 48 uint32_t handle, cons [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | surface_tunnel_handle.cpp | 28 GraphicExtDataHandle *handle = static_cast<GraphicExtDataHandle *>(malloc(handleSize)); in AllocExtDataHandle() local 29 if (handle == nullptr) { in AllocExtDataHandle() 33 auto ret = memset_s(handle, handleSize, 0, handleSize); in AllocExtDataHandle() 35 free(handle); in AllocExtDataHandle() 39 handle->fd = -1; in AllocExtDataHandle() 40 handle->reserveInts = reserveInts; in AllocExtDataHandle() 42 handle->reserve[i] = -1; in AllocExtDataHandle() 44 return handle; in AllocExtDataHandle() 47 void FreeExtDataHandle(GraphicExtDataHandle *handle) in FreeExtDataHandle() argument 49 if (handle in FreeExtDataHandle() 72 SetHandle(const GraphicExtDataHandle *handle) SetHandle() argument 98 Different(const sptr<SurfaceTunnelHandle> &handle) Different() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_receive.c | 34 static void SMP_ReceivePairingRequest(uint16_t handle, const Buffer *buffer); 35 static void SMP_ReceivePairingResponse(uint16_t handle, const Buffer *buffer); 36 static void SMP_ReceivePairingConfirm(uint16_t handle, const Buffer *buffer); 37 static void SMP_ReceivePairingRandom(uint16_t handle, const Buffer *buffer); 38 static void SMP_ReceiveEncryptionInformation(uint16_t handle, const Buffer *buffer); 39 static void SMP_ReceiveMasterIdentification(uint16_t handle, const Buffer *buffer); 40 static void SMP_ReceiveIdentityInformation(uint16_t handle, const Buffer *buffer); 41 static void SMP_ReceiveIdentityAddressInformation(uint16_t handle, const Buffer *buffer); 42 static void SMP_ReceiveSigningInformation(uint16_t handle, const Buffer *buffer); 43 static void SMP_ReceivePairingFailed(uint16_t handle, cons 67 SMP_ReceiveData(uint16_t handle, const Packet *pkt) SMP_ReceiveData() argument 100 SMP_Connected(const BtAddr *addr, uint16_t handle, uint8_t role, uint8_t status) SMP_Connected() argument 109 SMP_Disconnected(uint16_t handle, uint8_t role, uint8_t reason) SMP_Disconnected() argument 141 SMP_RecvDataCmdDistribution(uint16_t handle, uint8_t code, const Buffer *buffer) SMP_RecvDataCmdDistribution() argument 188 SMP_ReceivePairingRequest(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingRequest() argument 222 SMP_RecvPairReqJudgeException(uint16_t handle, const SMP_PairParam *pairParam) SMP_RecvPairReqJudgeException() argument 256 SMP_ReceivePairingResponse(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingResponse() argument 278 SMP_RecvPairRspJudgeException(uint16_t handle, const SMP_PairParam *pairParam) SMP_RecvPairRspJudgeException() argument 321 SMP_ReceivePairingConfirm(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingConfirm() argument 372 SMP_ReceivePairingRandom(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingRandom() argument 423 SMP_ReceiveEncryptionInformation(uint16_t handle, const Buffer *buffer) SMP_ReceiveEncryptionInformation() argument 443 SMP_ReceiveMasterIdentification(uint16_t handle, const Buffer *buffer) SMP_ReceiveMasterIdentification() argument 463 SMP_ReceiveIdentityInformation(uint16_t handle, const Buffer *buffer) SMP_ReceiveIdentityInformation() argument 483 SMP_ReceiveIdentityAddressInformation(uint16_t handle, const Buffer *buffer) SMP_ReceiveIdentityAddressInformation() argument 503 SMP_ReceiveSigningInformation(uint16_t handle, const Buffer *buffer) SMP_ReceiveSigningInformation() argument 523 SMP_ReceivePairingFailed(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingFailed() argument 546 SMP_ReceiveSecurityRequest(uint16_t handle, const Buffer *buffer) SMP_ReceiveSecurityRequest() argument 562 SMP_ReceivePairingPublicKey(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingPublicKey() argument 609 SMP_ReceivePairingDHKeyCheck(uint16_t handle, const Buffer *buffer) SMP_ReceivePairingDHKeyCheck() argument [all...] |
H A D | smp_cmd.h | 31 int SMP_SendPairingRequest(uint16_t handle, const SMP_PairParam *pairReqParam, SMP_SendDataCb cb); 32 int SMP_SendPairingResponse(uint16_t handle, const SMP_PairParam *pairRspParam, SMP_SendDataCb cb); 33 int SMP_SendPairingConfirm(uint16_t handle, const uint8_t *confirm, SMP_SendDataCb cb); 34 int SMP_SendPairingRandom(uint16_t handle, const uint8_t *random, SMP_SendDataCb cb); 35 int SMP_SendPairingFailed(uint16_t handle, uint8_t reason, SMP_SendDataCb cb); 36 int SMP_SendPairingPublicKey(uint16_t handle, const uint8_t *publicKey, SMP_SendDataCb cb); 37 int SMP_SendPairingDHKeyCheck(uint16_t handle, const uint8_t *dhKeyCheck, SMP_SendDataCb cb); 38 int SMP_SendEncryptionInformation(uint16_t handle, const uint8_t *ltk, SMP_SendDataCb cb); 39 int SMP_SendMasterIdentification(uint16_t handle, uint16_t ediv, const uint8_t *rand, SMP_SendDataCb cb); 40 int SMP_SendIdentityInformation(uint16_t handle, cons [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/timer/ |
H A D | time_broker.cpp | 59 bool TimeBroker::RegisterCallback(uint32_t delayTimeMs, std::function<void(uint32_t handle)> timerCallback, in RegisterCallback() argument 60 uint32_t& handle) in RegisterCallback() 64 auto ret = GetNextHandle(handle); in RegisterCallback() 67 auto timerInfo = std::make_shared<TimerInfo>(handle, timestamp, std::move(timerCallback)); in RegisterCallback() 69 timerInfos_.emplace(handle, timerInfo); in RegisterCallback() 77 void TimeBroker::DeregisterCallback(uint32_t handle) in DeregisterCallback() argument 80 if (handle == 0) { in DeregisterCallback() 81 DP_DEBUG_LOG("(%s) invalid handle (%{public}d).", name_.c_str(), static_cast<int>(handle)); in DeregisterCallback() 84 timerInfos_.erase(handle); in DeregisterCallback() 87 GetExpiredFunc(uint32_t handle) GetExpiredFunc() argument 98 GetNextHandle(uint32_t& handle) GetNextHandle() argument 112 static uint32_t handle = 0; GenerateHandle() local [all...] |
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_dialog.h | 73 * @param handle Indicates the pointer to the custom dialog box controller. 75 void (*dispose)(ArkUI_NativeDialogHandle handle); 80 * @param handle Indicates the pointer to the custom dialog box controller. 84 int32_t (*setContent)(ArkUI_NativeDialogHandle handle, ArkUI_NodeHandle content); 89 * @param handle Indicates the pointer to the custom dialog box controller. 92 int32_t (*removeContent)(ArkUI_NativeDialogHandle handle); 97 * @param handle Indicates the pointer to the custom dialog box controller. 103 int32_t (*setContentAlignment)(ArkUI_NativeDialogHandle handle, int32_t alignment, float offsetX, float offsetY); 108 * @param handle Indicates the pointer to the custom dialog box controller. 111 int32_t (*resetContentAlignment)(ArkUI_NativeDialogHandle handle); [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_relational_storage_engine.cpp | 93 int SQLiteSingleRelationalStorageEngine::CreateNewExecutor(bool isWrite, StorageExecutor *&handle) in CreateNewExecutor() argument 111 handle = NewSQLiteStorageExecutor(db, isWrite, false); in CreateNewExecutor() 112 if (handle == nullptr) { in CreateNewExecutor() 125 int SQLiteSingleRelationalStorageEngine::ReleaseExecutor(SQLiteSingleVerRelationalStorageExecutor *&handle) in ReleaseExecutor() argument 127 if (handle == nullptr) { in ReleaseExecutor() 130 StorageExecutor *databaseHandle = handle; in ReleaseExecutor() 132 handle = nullptr; in ReleaseExecutor() 153 int SaveSchemaToMetaTable(SQLiteSingleVerRelationalStorageExecutor *handle, const RelationalSchemaObject &schema) in SaveSchemaToMetaTable() argument 158 int errCode = handle->PutKvData(schemaKey, schemaVal); // save schema to meta_data in SaveSchemaToMetaTable() 165 int SaveTrackerSchemaToMetaTable(SQLiteSingleVerRelationalStorageExecutor *handle, in SaveTrackerSchemaToMetaTable() argument 179 SaveSyncTableTypeAndDropFlagToMeta(SQLiteSingleVerRelationalStorageExecutor *handle, const std::string &tableName, TableSyncType syncType) SaveSyncTableTypeAndDropFlagToMeta() argument 239 CreateDistributedSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::string &tableName, const std::string &sharedTableName, TableSyncType tableSyncType, RelationalSchemaObject &schema) CreateDistributedSharedTable() argument 269 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, CreateDistributedTable() local 306 CreateDistributedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, bool isUpgraded, const std::string &identity, TableInfo &table, RelationalSchemaObject &schema) CreateDistributedTable() argument 342 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, UpgradeDistributedTable() local 383 auto handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, CleanDistributedDeviceTable() local 458 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, SetTrackerTable() local 513 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, CheckAndCacheTrackerSchema() local 547 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, GetOrInitTrackerSchemaFromMeta() local 583 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, SaveTrackerSchema() local 602 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(!condition.readOnly, ExecuteSql() local 650 SetReference(const std::vector<TableReferenceProperty> &tableReferenceProperty, SQLiteSingleVerRelationalStorageExecutor *handle, std::set<std::string> &clearWaterMarkTables, RelationalSchemaObject &schema) SetReference() argument 696 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, CleanTrackerData() local 711 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, OperatePerm::NORMAL_PERM, UpgradeSharedTable() local 737 UpgradeSharedTableInner(SQLiteSingleVerRelationalStorageExecutor *&handle, const DataBaseSchema &cloudSchema, const std::vector<std::string> &deleteTableNames, const std::map<std::string, std::vector<Field>> &updateTableNames, const std::map<std::string, std::string> &alterTableNames) UpgradeSharedTableInner() argument 773 DoDeleteSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::vector<std::string> &deleteTableNames, RelationalSchemaObject &schema) DoDeleteSharedTable() argument 806 DoUpdateSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::map<std::string, std::vector<Field>> &updateTableNames, const DataBaseSchema &cloudSchema, RelationalSchemaObject &localSchema) DoUpdateSharedTable() argument 831 DoAlterSharedTableName(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::map<std::string, std::string> &alterTableNames, RelationalSchemaObject &schema) DoAlterSharedTableName() argument 871 DoCreateSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const DataBaseSchema &cloudSchema, const std::map<std::string, std::vector<Field>> &updateTableNames, const std::map<std::string, std::string> &alterTableNames, RelationalSchemaObject &schema) DoCreateSharedTable() argument 905 UpdateKvData(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::map<std::string, std::string> &alterTableNames) UpdateKvData() argument 935 CheckIfExistUserTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const DataBaseSchema &cloudSchema, const std::map<std::string, std::string> &alterTableNames, const RelationalSchemaObject &schema) CheckIfExistUserTable() argument 990 CleanTrackerDeviceTable(const std::vector<std::string> &tableNames, RelationalSchemaObject &trackerSchemaObj, SQLiteSingleVerRelationalStorageExecutor *&handle) CleanTrackerDeviceTable() argument 1018 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(true, GenLogInfoForUpgrade() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/ |
H A D | transport_rfcomm.cpp | 92 HILOGE("[RfcommTransport] handle:%{public}hu: handle does not exist", this->rfcHandle_); in AcceptConnection() 105 HILOGE("[RfcommTransport] handle:%{public}hu: handle does not exist", this->rfcHandle_); in RejectConnection() 136 RfcommTransport *RfcommTransport::AddTransportInternal(RawAddress addr, uint16_t handle) in AddTransportInternal() argument 138 HILOGI("[RfcommTransport] RawAddress:%{public}s, handle: %{public}d", in AddTransportInternal() 139 GetEncryptAddr(addr.GetAddress()).c_str(), handle); in AddTransportInternal() 143 newTransport->rfcHandle_ = handle; in AddTransportInternal() 146 transportMap_.insert(std::pair<uint16_t, RfcommTransport *>(handle, newTransport)); in AddTransportInternal() 154 void RfcommTransport::TransportRfcEventCallback(uint16_t handle, uint32_ argument 201 TransportRfcConnectSuccess(uint16_t handle, const void *eventData, RfcommTransport *transport) TransportRfcConnectSuccess() argument 223 TransportRfcConnectFail(uint16_t handle, RfcommTransport *transport) TransportRfcConnectFail() argument 249 TransportRfcDisconnected(uint16_t handle, RfcommTransport *transport) TransportRfcDisconnected() argument 283 TransportRfcDisconnectSuccess(uint16_t handle, RfcommTransport *transport) TransportRfcDisconnectSuccess() argument 312 TransportRfcDisconnectFail(uint16_t handle, RfcommTransport *transport) TransportRfcDisconnectFail() argument 330 TransportRfcFcOn(uint16_t handle, RfcommTransport *transport) TransportRfcFcOn() argument 346 TransportRfcRecvData(uint16_t handle, RfcommTransport *transport) TransportRfcRecvData() argument [all...] |
/foundation/multimodalinput/input/frameworks/napi/pointer/include/ |
H A D | js_pointer_manager.h | 60 napi_value SetPointerVisible(napi_env env, bool visible, napi_value handle = nullptr); 62 napi_value IsPointerVisible(napi_env env, napi_value handle = nullptr); 64 napi_value SetPointerColor(napi_env env, int32_t color, napi_value handle = nullptr); 65 napi_value GetPointerColor(napi_env env, napi_value handle = nullptr); 68 napi_value SetPointerSpeed(napi_env env, int32_t pointerSpeed, napi_value handle = nullptr); 70 napi_value GetPointerSpeed(napi_env env, napi_value handle = nullptr); 72 napi_value SetPointerStyle(napi_env env, int32_t windowid, int32_t pointerStyle, napi_value handle = nullptr); 74 napi_value GetPointerStyle(napi_env env, int32_t windowid, napi_value handle = nullptr); 76 napi_value SetPointerLocation(napi_env env, int32_t x, int32_t y, napi_value handle = nullptr); 77 napi_value EnterCaptureMode(napi_env env, int32_t windowId, napi_value handle [all...] |
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | declarative_module_preloader.cpp | 28 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName());
in InitAceModule() local 29 if (handle == nullptr) {
in InitAceModule() 33 auto entry = reinterpret_cast<CreateFunc>(LOADSYM(handle, PRE_INIT_ACE_MODULE_FUNC));
in InitAceModule() 35 FREELIB(handle);
in InitAceModule() 54 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName());
in InitAceModuleCard() local 55 if (handle == nullptr) {
in InitAceModuleCard() 59 auto entry = reinterpret_cast<CreateFuncCard>(LOADSYM(handle, PRE_INIT_ACE_MODULE_FUNC_CARD));
in InitAceModuleCard() 61 FREELIB(handle);
in InitAceModuleCard() 77 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName());
in ReloadAceModuleCard() local 78 if (handle in ReloadAceModuleCard() 104 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); InitAceModuleWorker() local [all...] |
H A D | ui_content.cpp | 41 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); in CreateUIContent() local 42 if (handle == nullptr) { in CreateUIContent() 46 auto entry = reinterpret_cast<CreateCardFunc>(LOADSYM(handle, Card_CREATE_FUNC)); in CreateUIContent() 48 FREELIB(handle); in CreateUIContent() 58 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); in CreateUIContent() local 59 if (handle == nullptr) { in CreateUIContent() 63 auto entry = reinterpret_cast<CreateFunc>(LOADSYM(handle, UI_CONTENT_CREATE_FUNC)); in CreateUIContent() 65 FREELIB(handle); in CreateUIContent() 79 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); in CreateUIContent() local 80 if (handle in CreateUIContent() 131 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); GetUIContent() local 148 LIBHANDLE handle = LOADLIB(AceForwardCompatibility::GetAceLibName()); GetCurrentUIStackInfo() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_adapter_impl.cpp | 39 event.handle = reinterpret_cast<ArkUINodeHandle>(RawPtr(parent)); in RegisterDataChangeListener() 85 getIdevent.handle = reinterpret_cast<ArkUINodeHandle>(AceType::RawPtr(child.second)); in OnGetChildByIndex() 100 child.second = Claim(reinterpret_cast<UINode*>(getChildEvent.handle)); in OnGetChildByIndex() 123 event.handle = reinterpret_cast<ArkUINodeHandle>(node); in OnItemDeleted() 139 UINodeAdapter::UINodeAdapter(ArkUINodeAdapterHandle handle) : handle_(handle) in UINodeAdapter() argument 167 attachToNodeFunc_(event->handle); in OnEventReceived() 184 auto handle = createNewChildFunc_(event->index); in OnEventReceived() local 186 event->handle = handle; in OnEventReceived() 283 Dispose(ArkUINodeAdapterHandle handle) Dispose() argument 300 SetTotalNodeCount(ArkUINodeAdapterHandle handle, ArkUI_Uint32 size) SetTotalNodeCount() argument 309 GetTotalNodeCount(ArkUINodeAdapterHandle handle) GetTotalNodeCount() argument 317 RegisterEventReceiver( ArkUINodeAdapterHandle handle, void* userData, void (*receiver)(ArkUINodeAdapterEvent* event)) RegisterEventReceiver() argument 328 UnregisterEventReceiver(ArkUINodeAdapterHandle handle) UnregisterEventReceiver() argument 337 NotifyItemReloaded(ArkUINodeAdapterHandle handle) NotifyItemReloaded() argument 345 NotifyItemChanged(ArkUINodeAdapterHandle handle, ArkUI_Uint32 startPosition, ArkUI_Uint32 itemCount) NotifyItemChanged() argument 353 NotifyItemRemoved(ArkUINodeAdapterHandle handle, ArkUI_Uint32 startPosition, ArkUI_Uint32 itemCount) NotifyItemRemoved() argument 361 NotifyItemInserted(ArkUINodeAdapterHandle handle, ArkUI_Uint32 startPosition, ArkUI_Uint32 itemCount) NotifyItemInserted() argument 369 NotifyItemMoved(ArkUINodeAdapterHandle handle, ArkUI_Uint32 from, ArkUI_Uint32 to) NotifyItemMoved() argument 377 GetAllItem(ArkUINodeAdapterHandle handle, ArkUINodeHandle** items, ArkUI_Uint32* size) GetAllItem() argument 385 AttachHostNode(ArkUINodeAdapterHandle handle, ArkUINodeHandle host) AttachHostNode() argument 406 auto handle = builder->GetHostHandle(); DetachHostNode() local [all...] |