/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | api_test.cpp | 43 int fd1; member in OHOS::Media::DemuxerApiNdkTest 62 fd1 = open(g_file1, O_RDONLY); in SetUp() 69 std::cout << fd1 << "----------" << g_file1 << "=====" << size << std::endl; in SetUp() 74 close(fd1); in TearDown() 75 fd1 = 0; in TearDown() 188 source = OH_AVSource_CreateWithFD(fd1, 0, size); in HWTEST_F() 201 source = OH_AVSource_CreateWithFD(fd1, 0, 0); in HWTEST_F() 243 source = OH_AVSource_CreateWithFD(fd1, 0, size); in HWTEST_F() 266 source = OH_AVSource_CreateWithFD(fd1, 0, size); in HWTEST_F() 294 source = OH_AVSource_CreateWithFD(fd1, in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/ |
H A D | api_test.cpp | 61 int fd1; member in __anon10299::DemuxerInnerApiNdkTest 70 fd1 = open(g_file1, O_RDONLY); in SetUp() 76 std::cout << fd1 << "----------" << g_file1 << "=====" << size << std::endl; in SetUp() 81 close(fd1); in TearDown() 82 fd1 = 0; in TearDown() 149 source = AVSourceFactory::CreateWithFD(fd1, 0, size); in HWTEST_F() 164 source = AVSourceFactory::CreateWithFD(fd1, 0, 0); in HWTEST_F() 186 source = AVSourceFactory::CreateWithFD(fd1, 0, size); in HWTEST_F() 200 source = AVSourceFactory::CreateWithFD(fd1, 0, size); in HWTEST_F() 224 source = AVSourceFactory::CreateWithFD(fd1, in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoAbility/ |
H A D | mock_ability_test.h | 60 FILE* fd1 = fopen("/dataability_openfile_test.txt", "w+"); in OpenFile() local 61 if (fd1 == nullptr) { in OpenFile() 62 GTEST_LOG_(INFO) << "MockAbilityTest::OpenFile fd1 == nullptr"; in OpenFile() 65 (void)fputs("123456", fd1); in OpenFile() 66 (void)fclose(fd1); in OpenFile()
|
/foundation/graphic/graphic_surface/interfaces/inner_api/sync_fence/ |
H A D | sync_fence.h | 77 static int32_t SyncMerge(const char *name, int32_t fd1, int32_t fd2, int32_t &newFenceFd);
|
/foundation/graphic/graphic_surface/interfaces/inner_api/utils/ |
H A D | sync_fence.h | 77 static int32_t SyncMerge(const char *name, int32_t fd1, int32_t fd2, int32_t &newFenceFd);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_ashmem_helper_test.cpp | 115 int fd1 = 0; in HWTEST_F() local 116 auto res = AshmemAllocator::CreateAshmemAllocatorWithFd(fd1, size1, mapType); in HWTEST_F()
|
/foundation/graphic/graphic_surface/sync_fence/src/ |
H A D | sync_fence.cpp | 94 int32_t SyncFence::SyncMerge(const char *name, int32_t fd1, int32_t fd2, int32_t &newFenceFd)
in SyncMerge() argument 102 int32_t retCode = ioctl(fd1, SYNC_IOC_MERGE, &syncMergeData);
in SyncMerge()
|
/foundation/filemanagement/app_file_service/test/fuzztest/backupservicestub_fuzzer/ |
H A D | backupservicestub_fuzzer.cpp | 499 int fd1 = TypeCast<int>(data, &pos); in CmdAppIncrementalFileReadyFuzzTest() local 506 msg.WriteFileDescriptor(fd1); in CmdAppIncrementalFileReadyFuzzTest()
|