Home
last modified time | relevance | path

Searched refs:index (Results 1 - 25 of 1391) sorted by relevance

12345678910>>...56

/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/
H A Dmian.cpp52 int32_t index; in InitCamera() local
53 napi_get_value_int32(env, args[1], &index); in InitCamera()
55 ndkCamera = new NDKCamera(surfaceId, index); in InitCamera()
68 int32_t index; in CameraGetCameraManager() local
69 napi_get_value_int32(env, args[0], &index); in CameraGetCameraManager()
74 if (index == PARAMETER_OK) { in CameraGetCameraManager()
97 int32_t index; in OHCameraManagerRegisterCallback() local
98 napi_get_value_int32(env, args[0], &index); in OHCameraManagerRegisterCallback()
100 Camera_ErrorCode code = ndkCamera->CameraManagerRegisterCallback(index); in OHCameraManagerRegisterCallback()
114 int32_t index; in CameraDeleteCameraManager() local
129 int32_t index; CameraManagerGetSupportedCameras() local
164 int32_t index; CameraManagerDeleteSupportedCameras() local
180 int32_t index; GetSupportedCameraOutputCapability() local
196 int32_t index; OHCameraManagerCreatePreviewOutput() local
212 int32_t index; OHCameraManagerCreateCameraInput() local
260 int32_t index; OHCreateCameraInputWithPositionAndType() local
277 int32_t index; OHCameraManagerCreateCaptureSession() local
293 int32_t index; CameraManagerDeleteSupportedCameraOutputCapability() local
309 int32_t index; PreviewOutputRegisterCallback() local
332 int32_t index; OHCameraManagerCreatePhotoOutput() local
347 int32_t index; OHCameraManagerCreateMetadataOutput() local
363 int32_t index; OHCameraInputOpen() local
379 int32_t index; OHCameraInputClose() local
395 int32_t index; OHCameraInputRelease() local
411 int32_t index; OHCameraInputRegisterCallback() local
427 int32_t index; OHCameraInputUnregisterCallback() local
443 int32_t index; OHCaptureSessionBeginConfig() local
459 int32_t index; OHCaptureSessionCommitConfig() local
475 int32_t index; OHCaptureSessionStart() local
491 int32_t index; OHCaptureSessionStop() local
507 int32_t index; OHCaptureSessionRelease() local
523 int32_t index; OHCaptureSessionRegisterCallback() local
539 int32_t index; OHCaptureSessionUnregisterCallback() local
555 int32_t index; OHCaptureSessionGetExposureBias() local
571 int32_t index; OHCaptureSessionAddInput() local
587 int32_t index; OHCaptureSessionRemoveInput() local
603 int32_t index; OHCaptureSessionAddPreviewOutput() local
619 int32_t index; OHCaptureSessionAddPhotoOutput() local
635 int32_t index; OHCaptureSessionGetExposureBiasRange() local
651 int32_t index; OHCameraManagerIsCameraMuted() local
667 int32_t index; OHCaptureSessionGetExposureMode() local
686 int32_t index; OHCaptureSessionIsExposureModeSupported() local
704 int32_t index; OHCaptureSessionSetExposureMode() local
722 int32_t index; OHCaptureSessionSetExposureBias() local
740 int32_t index; OHCaptureSessionIsFlashModeSupported() local
755 int32_t index; OHCaptureSessionHasFlash() local
774 int32_t index; OHCaptureSessionSetFlashMode() local
789 int32_t index; OHCaptureSessionGetFlashMode() local
808 int32_t index; OHCaptureSessionIsFocusModeSupported() local
823 int32_t index; OHCaptureSessionGetFocusMode() local
839 int32_t index; OHCaptureSessionGetFocusPoint() local
864 int32_t index; OHCaptureSessionSetFocusPoint() local
879 int32_t index; OHCaptureSessionGetMeteringPoint() local
895 int32_t index; OHCaptureSessionGetZoomRatio() local
911 int32_t index; OHCaptureSessionGetZoomRatioRange() local
930 int32_t index; OHCaptureSessionSetZoomRatio() local
955 int32_t index; OHCaptureSessionSetMeteringPoint() local
973 int32_t index; OHCaptureSessionIsVideoStabilizationModeSupported() local
988 int32_t index; OHCaptureSessionGetVideoStabilizationMode() local
1007 int32_t index; OHCaptureSessionSetVideoStabilizationMode() local
1022 int32_t index; OHCaptureSessionRemovePreviewOutput() local
1038 int32_t index; OHCaptureSessionRemovePhotoOutput() local
1054 int32_t index; OHCaptureSessionAddVideoOutput() local
1076 int32_t index; OHCameraManagerCreateVideoOutput() local
1091 int32_t index; OHVideoOutputRegisterCallback() local
1107 int32_t index; OHVideoOutputUnregisterCallback() local
1123 int32_t index; OHVideoOutputStart() local
1139 int32_t index; OHVideoOutputStop() local
1155 int32_t index; OHCaptureSessionRemoveVideoOutput() local
1171 int32_t index; OHVideoOutputRelease() local
1187 int32_t index; OHCameraManagerUnregisterCallback() local
1203 int32_t index; OHPreviewOutputStart() local
1219 int32_t index; OHPreviewOutputStop() local
1235 int32_t index; OHPreviewOutputRelease() local
1251 int32_t index; OHPhotoOutputRegisterCallback() local
1267 int32_t index; OHPhotoOutputUnregisterCallback() local
1283 int32_t index; OHPhotoOutputIsMirrorSupported() local
1299 int32_t index; OHPhotoOutputCapture() local
1364 int32_t index; OHPhotoOutputCaptureWithCaptureSetting() local
1379 int32_t index; OHPhotoOutputRelease() local
[all...]
/test/xts/acts/telephony/networkmanager/ndk/networkndk/entry/src/main/cpp/
H A Dnet_connection_ndk_test.cpp65 int32_t index; in OHNetConnFreeDnsResult() local
66 napi_get_value_int32(env, args[PARAM_INDEX_0], &index); in OHNetConnFreeDnsResult()
69 if (index == CASE_INDEX_1) { in OHNetConnFreeDnsResult()
72 } else if (index == CASE_INDEX_2) { in OHNetConnFreeDnsResult()
75 } else if (index == CASE_INDEX_3) { in OHNetConnFreeDnsResult()
89 int32_t index; in OHNetConnGetAllNets() local
90 napi_get_value_int32(env, args[PARAM_INDEX_0], &index); in OHNetConnGetAllNets()
93 if (index == CASE_INDEX_1) { in OHNetConnGetAllNets()
96 } else if (index == CASE_INDEX_2) { in OHNetConnGetAllNets()
110 int32_t index; in OHNetConnHasDefaultNet() local
131 int32_t index; OHNetConnIsDefaultNetMetered() local
152 int32_t index; OHNetConnGetDefaultNet() local
173 int32_t index; OHNetConnGetConnectionProperties() local
203 int32_t index; OHNetConnGetNetCapabilities() local
233 int32_t index; OHNetConnGetDefaultHttpProxy() local
260 int32_t index; OHOSNetConnRegisterDnsResolver() local
281 int32_t index; OHOSNetConnUnregisterDnsResolver() local
305 int32_t index; OHNetConnBindSocket() local
336 int32_t index; OHNetConnRegisterNetConnCallback() local
381 int32_t index; OHNetConnRegisterNetConnCallbackTimeout() local
425 int32_t index; OHNetConnRegisterDefaultNetConnCallback() local
453 int32_t index; OHNetConnUnregisterNetConnCallback() local
508 int32_t index; OHNetConnSetAppHttpProxy() local
541 int32_t index; OHOSNetConnRegisterAppHttpProxyCallback() local
577 int32_t index; OHOSNetConnUnregisterAppHttpProxyCallback() local
[all...]
H A Dnet_stack_ndk_test.cpp97 static uint32_t TestCaseCertVerification(uint32_t index, char *pemCertPath, char *derCertPath) in TestCaseCertVerification() argument
102 if (index == CASE_INDEX_1) { in TestCaseCertVerification()
106 } else if (index == CASE_INDEX_2) { in TestCaseCertVerification()
109 } else if (index == CASE_INDEX_3) { in TestCaseCertVerification()
112 } else if (index == CASE_INDEX_4) { in TestCaseCertVerification()
114 } else if (index == CASE_INDEX_5) { in TestCaseCertVerification()
117 } else if (index == CASE_INDEX_6) { in TestCaseCertVerification()
121 } else if (index == CASE_INDEX_7) { in TestCaseCertVerification()
124 } else if (index == CASE_INDEX_8) { in TestCaseCertVerification()
127 } else if (index in TestCaseCertVerification()
148 int32_t index; OHNetStackCertVerification() local
181 int32_t index; OHWebSocketClientConstruct() local
210 int32_t index; OHWebSocketClientAddHeader() local
239 int32_t index; OHWebSocketClientConnect() local
271 int32_t index; OHWebSocketClientSend() local
305 int32_t index; OHWebSocketClientClose() local
355 int32_t index; OHWebSocketClientDestroy() local
386 TestCaseGetPinSetForHostName(uint32_t index, const char *hostname) TestCaseGetPinSetForHostName() argument
418 int32_t index; OHNetStackGetPinSetForHostName() local
437 TestCaseGetCertificatesForHostName(uint32_t index, const char *hostname) TestCaseGetCertificatesForHostName() argument
471 int32_t index; OHNetStackGetCertificatesForHostName() local
[all...]
/test/xts/acts/multimedia/av_codec/demuxer/src/
H A Dfunc_test.cpp243 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F()
244 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_SelectTrackByID(demuxer, index)); in HWTEST_F()
248 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F()
250 trackFormat = OH_AVSource_GetTrackFormat(source, index); in HWTEST_F()
257 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_ReadSample(demuxer, index, memory, &attr)); in HWTEST_F()
292 for (int32_t index in HWTEST_F()
[all...]
H A Dproc_test.cpp167 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F()
168 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_SelectTrackByID(demuxer, index)); in HWTEST_F()
175 for (int32_t index = 0; index < g_trackCount; index++) { in HWTEST_F()
176 trackFormat = OH_AVSource_GetTrackFormat(source, index); in HWTEST_F()
182 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_ReadSample(demuxer, index, memory, &attr)); in HWTEST_F()
186 SetAudioValue(attr, audioIsEnd, audioFrame[index in HWTEST_F()
[all...]
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/
H A Dmain.cpp31 int32_t index; in TestMediaAssetGetUri() local
32 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetUri()
34 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetUri(index); in TestMediaAssetGetUri()
48 int32_t index; in TestMediaAssetGetDisplayName() local
49 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetDisplayName()
51 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetDisplayName(index); in TestMediaAssetGetDisplayName()
65 int32_t index; in TestMediaAssetGetSize() local
66 napi_get_value_int32(env, args[0], &index); in TestMediaAssetGetSize()
68 MediaLibrary_ErrorCode code = ndkMediaLibrary->MediaAssetGetSize(index); in TestMediaAssetGetSize()
82 int32_t index; in TestMediaAssetGetDateModifiedMs() local
99 int32_t index; TestMediaAssetGetWidth() local
116 int32_t index; TestMediaAssetGetHeight() local
133 int32_t index; TestMediaAssetGetOrientation() local
150 int32_t index; TestMediaAssetGetMediaType() local
167 int32_t index; TestMediaAssetGetMediaSubType() local
184 int32_t index; TestMediaAssetGetDateAdded() local
201 int32_t index; TestMediaAssetGetDateModified() local
218 int32_t index; TestMediaAssetGetDateTaken() local
235 int32_t index; TestMediaAssetGetDateAddedMs() local
252 int32_t index; TestMediaAssetGetDuration() local
269 int32_t index; TestMediaAssetIsFavorite() local
286 int32_t index; TestMediaAssetGetTitle() local
303 int32_t index; TestMediaAssetRelease() local
320 int32_t index; TestChangeRequestAddResourceWithUri() local
337 int32_t index; TestChangeRequestGetWriteCacheHandler() local
354 int32_t index; TestChangeRequestAddResourceWithBuffer() local
371 int32_t index; TestChangeRequestSaveCameraPhoto() local
388 int32_t index; TestChangeRequestDiscardCameraPhoto() local
405 int32_t index; TestChangeRequestRelease() local
422 int32_t index; TestManagerRequestImage() local
439 int32_t index; TestManagerRequestMovingPhoto() local
456 int32_t index; TestMediaAccessHelperApplyChanges() local
473 int32_t index; TestManagerRelease() local
490 int32_t index; TestMovingPhotoGetUri() local
507 int32_t index; TestMovingPhotoRequestContentWithUris() local
524 int32_t index; TestMovingPhotoRequestContentWithUri() local
541 int32_t index; TestMovingPhotoRequestContentWithBuffer() local
558 int32_t index; TestMovingPhotoRelease() local
[all...]
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/
H A DExecute.test.js129 for (let index = 0; index < authParams.length; index++) {
130 console.info("Security_IAM_getUserAuthInstance_Func_0043 authParams: " + JSON.stringify(authParams[index]));
131 await userAuthPromise(authParams[index], widgetParamDefault,
176 for (let index = 0; index < widgetParams.length; index++) {
177 console.info("Security_IAM_getUserAuthInstance_Func_0043 widgetParams: " + JSON.stringify(widgetParams[index]));
181 }, widgetParams[index],
[all...]
/test/xts/acts/security_lite/huks/liteos_a_adapter/
H A Dhks_generate_key_test.cpp82 uint32_t index = 0; in HWTEST_F() local
86 g_testGenKeyParams[index].keyAliasParams.blobExist, in HWTEST_F()
87 g_testGenKeyParams[index].keyAliasParams.blobSize, in HWTEST_F()
88 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in HWTEST_F()
89 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in HWTEST_F()
94 g_testGenKeyParams[index].paramSetParams.paramSetExist, in HWTEST_F()
95 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in HWTEST_F()
96 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in HWTEST_F()
[all...]
H A Dhks_derive_test.cpp147 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
152 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
153 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
154 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
156 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
157 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
158 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
161 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
162 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
163 g_testDeriveParams[index] in BaseTestDerive()
[all...]
H A Dhks_mac_test.cpp131 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
137 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
145 ret = HuksGenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
146 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
149 g_testMacParams[index] in BaseTestMac()
[all...]
/test/xts/acts/security_lite/huks/liteos_m_adapter/
H A Dhks_generate_key_test.c107 uint32_t index = 0; in ExecHksGenerateKeyTest001() local
111 g_testGenKeyParams[index].keyAliasParams.blobExist, in ExecHksGenerateKeyTest001()
112 g_testGenKeyParams[index].keyAliasParams.blobSize, in ExecHksGenerateKeyTest001()
113 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in ExecHksGenerateKeyTest001()
114 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in ExecHksGenerateKeyTest001()
119 g_testGenKeyParams[index].paramSetParams.paramSetExist, in ExecHksGenerateKeyTest001()
120 g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in ExecHksGenerateKeyTest001()
121 g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index] in ExecHksGenerateKeyTest001()
[all...]
H A Dhks_hash_test.c111 static void ExecHksHashTestCommon(int index) in ExecHksHashTestCommon() argument
118 g_testHashParams[index].paramSetParams.paramSetExist, in ExecHksHashTestCommon()
119 g_testHashParams[index].paramSetParams.setDigest, g_testHashParams[index].paramSetParams.digest); in ExecHksHashTestCommon()
123 g_testHashParams[index].srcDataParams.blobExist, in ExecHksHashTestCommon()
124 g_testHashParams[index].srcDataParams.blobSize, in ExecHksHashTestCommon()
125 g_testHashParams[index].srcDataParams.blobDataExist, in ExecHksHashTestCommon()
126 g_testHashParams[index].srcDataParams.blobDataSize); in ExecHksHashTestCommon()
130 g_testHashParams[index].hashParams.blobExist, in ExecHksHashTestCommon()
131 g_testHashParams[index] in ExecHksHashTestCommon()
[all...]
H A Dhks_derive_test.c200 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
205 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
206 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
207 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
209 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
210 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
211 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
214 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
215 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
216 g_testDeriveParams[index] in BaseTestDerive()
[all...]
H A Dhks_mac_test.c69 uint32_t index = 0; in printBuffer() local
74 BufferToAscii(buffer + index, (i == print_count) ? buffer_size % SINGLE_PRINT_LENGTH : SINGLE_PRINT_LENGTH, in printBuffer()
78 index += SINGLE_PRINT_LENGTH; in printBuffer()
303 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
309 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
311 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
312 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
313 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
314 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
316 if (g_testMacParams[index] in BaseTestMac()
[all...]
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/
H A Deffect_filter_test.cpp71 int32_t index; in OHEffectBufferInfoSetAddr() local
72 napi_get_value_int32(env, args[0], &index); in OHEffectBufferInfoSetAddr()
76 switch (index) { in OHEffectBufferInfoSetAddr()
106 int32_t index; in OHEffectBufferInfoGetAddr() local
107 napi_get_value_int32(env, args[0], &index); in OHEffectBufferInfoGetAddr()
116 switch (index) { in OHEffectBufferInfoGetAddr()
145 int32_t index; in OHEffectBufferInfoSetEffectFormat() local
146 napi_get_value_int32(env, args[0], &index); in OHEffectBufferInfoSetEffectFormat()
150 switch (index) { in OHEffectBufferInfoSetEffectFormat()
193 int32_t index; in OHEffectBufferInfoGetEffectFormat() local
242 int32_t index; OHEffectBufferInfoSetHeight() local
277 int32_t index; OHEffectBufferInfoGetHeight() local
323 int32_t index; OHEffectBufferInfoSetRowSize() local
359 int32_t index; OHEffectBufferInfoGetRowSize() local
405 int32_t index; OHEffectBufferInfoSetWidth() local
442 int32_t index; OHEffectBufferInfoGetWidth() local
488 int32_t index; OHEffectBufferInfoSetTimestamp() local
522 int32_t index; OHEffectBufferInfoGetTimestamp() local
564 int32_t index; OHEffectBufferInfoRelease() local
604 int32_t index; OHEffectFilterInfoSetFilterName() local
634 int32_t index; OHEffectFilterInfoGetFilterName() local
671 int32_t index; OHEffectFilterInfoSetSupportedBufferTypes() local
705 int32_t index; OHEffectFilterInfoGetSupportedBufferTypes() local
750 int32_t index; OHEffectFilterInfoSetSupportedFormats() local
778 GetSupportedFormats(int32_t index, OH_EffectFilterInfo *filterInfo) GetSupportedFormats() argument
812 int32_t index; OHEffectFilterInfoGetSupportedFormats() local
860 int32_t index; OHEffectFilterInfoRelease() local
887 int32_t index; OHEffectFilterCreate() local
917 int32_t index; OHEffectFilterSetValue() local
962 int32_t index; OHEffectFilterGetValue() local
1010 int32_t index; OHEffectFilterLookupFilterInfo() local
1040 int32_t index; OHEffectFilterLookupFilters() local
1078 int32_t index; OHEffectFilterRegister() local
1115 int32_t index; OHEffectFilterRelease() local
1142 int32_t index; OHEffectFilterReleaseFilterNames() local
[all...]
H A DimageEffect.cpp127 int32_t index; in OHEffectFilterRender() local
128 napi_get_value_int32(env, args[0], &index); in OHEffectFilterRender()
153 switch (index) { in OHEffectFilterRender()
179 int32_t index; in OHImageEffectCreate() local
180 napi_get_value_int32(env, args[0], &index); in OHImageEffectCreate()
183 switch (index) { in OHImageEffectCreate()
209 int32_t index; in OHImageEffectConfigure() local
210 napi_get_value_int32(env, args[0], &index); in OHImageEffectConfigure()
215 switch (index) { in OHImageEffectConfigure()
259 int32_t index; in OHImageEffectAddFilter() local
293 int32_t index; OHImageEffectAddFilterByFilter() local
325 int32_t index; OHImageEffectGetFilter() local
358 int32_t index; OHImageEffectGetFilterCount() local
401 int32_t index; OHImageEffectGetInputSurface() local
429 int32_t index; OHImageEffectInsertFilter() local
466 int32_t index; OHImageEffectInsertFilterByFilter() local
501 int32_t index; OHImageEffectReplaceFilter() local
539 int32_t index; OHImageEffectReplaceFilterByFilter() local
576 int32_t index; OHImageEffectRelease() local
601 int32_t index; OHImageEffectRemoveFilter() local
638 int32_t index; OHImageEffectRemoveFilterByIndex() local
674 int32_t index; OHImageEffectSave() local
705 int32_t index; OHImageEffectRestore() local
762 int32_t index; OHImageEffectSetInputPixelmap() local
788 SetInputUri1(int32_t index, OH_ImageEffect *imageEffect, OH_EffectFilter *filter) SetInputUri1() argument
823 SetInputUri2(int32_t index, OH_ImageEffect *imageEffect, OH_EffectFilter *filter) SetInputUri2() argument
865 int32_t index; OHImageEffectSetInputUri() local
931 int32_t index; OHImageEffectSetOutputPixelmap() local
962 int32_t index; OHImageEffectSetOutputSurface() local
986 SetInputUri3(int32_t index, OH_ImageEffect *imageEffect, OH_EffectFilter *filter) SetInputUri3() argument
1021 SetInputUri4(int32_t index, OH_ImageEffect *imageEffect, OH_EffectFilter *filter) SetInputUri4() argument
1063 int32_t index; OHImageEffectSetOutputUri() local
[all...]
/test/xts/acts/security_lite/huks/common/
H A Dhks_test_cipher.c633 int32_t BaseTestCipher(uint32_t times, uint32_t index, uint32_t performTimes) in BaseTestCipher() argument
638 if ((g_testCipherParams[index].genKeyParamSetParams.setKeyStorageFlag) && in BaseTestCipher()
639 g_testCipherParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP) { in BaseTestCipher()
640 ret = GenerateLocalRandomKey(&keyAlias, &g_testCipherParams[index].localKeyParams); in BaseTestCipher()
642 ret = HuksGenerateKey(&keyAlias, &g_testCipherParams[index].keyAliasParams, in BaseTestCipher()
643 &g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOut); in BaseTestCipher()
649 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipher()
656 keyAlias, &g_testCipherParams[index] in BaseTestCipher()
687 BaseTestEncrypt(uint32_t times, uint32_t index, uint32_t performTimes) BaseTestEncrypt() argument
739 BaseTestDecrypt(uint32_t times, uint32_t index, uint32_t performTimes) BaseTestDecrypt() argument
[all...]
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
H A Dmain.cpp986 int32_t index; in OHCaptureSessionRegisterCallback() local
987 napi_get_value_int32(env, args[0], &index); in OHCaptureSessionRegisterCallback()
989 Camera_ErrorCode code = ndkCamera_->CaptureSessionRegisterCallback(index); in OHCaptureSessionRegisterCallback()
1002 int32_t index; in OHCaptureSessionUnregisterCallback() local
1003 napi_get_value_int32(env, args[0], &index); in OHCaptureSessionUnregisterCallback()
1005 Camera_ErrorCode code = ndkCamera_->CaptureSessionUnRegisterCallback(index); in OHCaptureSessionUnregisterCallback()
1017 int32_t index; in OHCameraManagerGetSupportedSceneModes() local
1018 napi_get_value_int32(env, args[0], &index); in OHCameraManagerGetSupportedSceneModes()
1020 Camera_ErrorCode code = ndkCamera_->GetSupportedSceneModes(index); in OHCameraManagerGetSupportedSceneModes()
1054 int32_t index; in OHCameraManagerDeleteSceneModes() local
1071 int32_t index; OHCameraManagerGetSupportedCameraOutputCapabilityWithSceneMode() local
1087 int32_t index; OHCaptureSessionSetSessionMode() local
1102 int32_t index; OHCaptureSessionCanAddInput() local
1127 int32_t index; OHCaptureSessionCanAddPreviewOutput() local
1152 int32_t index; OHCaptureSessionCanAddPhotoOutput() local
1177 int32_t index; OHCaptureSessionCanAddVideoOutput() local
1203 int32_t index; OHCaptureSessionAddSecureOutput() local
1217 int32_t index; OHCameraInputOpenSecureCamera() local
1242 int32_t index; OHCameraManagerSetSceneMode() local
1258 int32_t index; OHCameraManagerCreatePreviewOutputUsedInPreconfig() local
1281 int32_t index; OHCameraManagerCreatePhotoOutputUsedInPreconfig() local
1296 int32_t index; OHCaptureSessionCanPreconfig() local
1324 int32_t index; OHCaptureSessionCanPreconfigWithRatio() local
1352 int32_t index; OHCaptureSessionPreconfig() local
1371 int32_t index; OHCaptureSessionPreconfigWithRatio() local
1391 int32_t index; OHCameraManagerCreateVideoOutputUsedInPreconfig() local
1406 int32_t index; OHVideoOutputGetActiveProfile() local
1422 int32_t index; OHVideoOutputDeleteProfile() local
1438 int32_t index; OHPreviewOutputGetActiveProfile() local
1454 int32_t index; OHPreviewOutputDeleteProfile() local
1470 int32_t index; OHPhotoOutputGetActiveProfile() local
1486 int32_t index; OHPhotoOutputDeleteProfile() local
1502 int32_t index; OHCaptureSessionRegisterCallbackOn() local
1518 int32_t index; OHCaptureSessionUnregisterCallbackOff() local
1534 int32_t index; OHPhotoOutputRegisterPhotoAvailableCallback() local
1550 int32_t index; OHPhotoOutputUnregisterPhotoAvailableCallback() local
1566 int32_t index; OHPhotoOutputRegisterPhotoAssetAvailableCallback() local
1582 int32_t index; OHPhotoOutputUnregisterPhotoAssetAvailableCallback() local
1597 int32_t index; OHPhotoOutputIsMovingPhotoSupported() local
1623 int32_t index; OHPhotoOutputEnableMovingPhoto() local
1642 int32_t index; OHPhotoNativeGetMainImage() local
1658 int32_t index; OHPhotoNativeRelease() local
1674 int32_t index; OHCameraManagerCreatePhotoOutputWithoutSurface() local
1697 int32_t index; OHCameraManagerIsTorchSupported() local
1722 int32_t index; OHCameraManagerIsTorchSupportedByTorchMode() local
1748 int32_t index; OHCameraManagerSetTorchMode() local
1765 int32_t index; OHCaptureSessionGetExposureValue() local
1782 int32_t index; OHCaptureSessionGetFocalLength() local
1799 int32_t index; OHCaptureSessionSetSmoothZoom() local
1815 int32_t index; OHCaptureSessionGetSupportedColorSpaces() local
1840 int32_t index; OHCaptureSessionDeleteColorSpaces() local
1856 int32_t index; OHCaptureSessionGetActiveColorSpace() local
1901 int32_t index; OHCaptureSessionSetActiveColorSpace() local
1917 int32_t index; OHPreviewOutputGetSupportedFrameRates() local
1943 int32_t index; OHPreviewOutputSetFrameRate() local
1959 int32_t index; OHPreviewOutputGetActiveFrameRate() local
1986 int32_t index; OHVideoOutputGetSupportedFrameRates() local
2011 int32_t index; OHVideoOutputSetFrameRate() local
2027 int32_t index; OHVideoOutputGetActiveFrameRate() local
2055 int32_t index; OHVideoOutputDeleteFrameRates() local
2072 int32_t index; OHPreviewOutputDeleteFrameRates() local
2089 int32_t index; OHCameraManagerRegisterTorchStatusCallback() local
2106 int32_t index; OHCameraManagerUnregisterTorchStatusCallback() local
2123 int32_t index; OHCaptureSessionRegisterSmoothZoomInfoCallback() local
2140 int32_t index; OHCaptureSessionUnregisterSmoothZoomInfoCallback() local
2157 int32_t index; OHPhotoOutputRegisterCaptureStartWithInfoCallback() local
2174 int32_t index; OHPhotoOutputUnregisterCaptureStartWithInfoCallback() local
2191 int32_t index; OHPhotoOutputRegisterCaptureEndCallback() local
2208 int32_t index; OHPhotoOutputUnregisterCaptureEndCallback() local
2225 int32_t index; OHPhotoOutputRegisterFrameShutterEndCallback() local
2242 int32_t index; OHPhotoOutputUnregisterFrameShutterEndCallback() local
2259 int32_t index; OHPhotoOutputRegisterCaptureReadyCallback() local
2276 int32_t index; OHPhotoOutputUnregisterCaptureReadyCallback() local
2293 int32_t index; OHPhotoOutputRegisterEstimatedCaptureDurationCallback() local
2310 int32_t index; OHPhotoOutputUnregisterEstimatedCaptureDurationCallback() local
2327 int32_t index; OHCameraManagerTorchMode() local
[all...]
/test/ostest/wukong/input_factory/src/
H A Dappswitch_input.cpp50 uint32_t index = util->FindElement(bundleList, bundlename); in OrderInput() local
51 if (index == INVALIDVALUE) { in OrderInput()
57 ErrCode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in OrderInput()
59 PrintResultOfStartAbility(result, index); in OrderInput()
73 uint32_t index = GetAbilityIndex(bundleList); in RandomInput() local
74 if (index == INVALIDVALUE) { in RandomInput()
79 ErrCode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in RandomInput()
81 PrintResultOfStartAbility(result, index); in RandomInput()
106 PrintResultOfStartAbility(const ErrCode result, uint32_t index) PrintResultOfStartAbility() argument
126 uint32_t index = INVALIDVALUE; GetAbilityIndex() local
[all...]
/test/ostest/wukong/component_event/src/
H A Dwukong_tree.cpp37 for (uint32_t index = count; index > 0; index--) { in GetSubName()
38 if (index > nameSize) { in GetSubName()
41 subName |= name[nameSize - index]; in GetSubName()
42 if (index > 1) { in GetSubName()
47 for (uint32_t index = count; index > 0; index--) { in GetSubName()
48 if (index > nameSiz in GetSubName()
[all...]
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Dstatus_check_test.cpp92 uint32_t index; in HWTEST_F() local
95 index = aDecBufferDemo->GetInputIndex(); in HWTEST_F()
96 result0 = aDecBufferDemo->PushInputData(codec, index); in HWTEST_F()
111 uint32_t index; in HWTEST_F() local
114 index = aDecBufferDemo->GetInputIndex(); in HWTEST_F()
115 result0 = aDecBufferDemo->PushInputDataEOS(codec, index); in HWTEST_F()
248 uint32_t index; in HWTEST_F() local
255 index = aDecBufferDemo->GetInputIndex(); in HWTEST_F()
256 result0 = aDecBufferDemo->PushInputData(codec, index); in HWTEST_F()
274 uint32_t index; in HWTEST_F() local
448 uint32_t index; HWTEST_F() local
476 uint32_t index; HWTEST_F() local
607 uint32_t index; HWTEST_F() local
637 uint32_t index; HWTEST_F() local
667 uint32_t index; HWTEST_F() local
698 uint32_t index; HWTEST_F() local
730 uint32_t index; HWTEST_F() local
760 uint32_t index; HWTEST_F() local
790 uint32_t index; HWTEST_F() local
820 uint32_t index; HWTEST_F() local
849 uint32_t index; HWTEST_F() local
879 uint32_t index; HWTEST_F() local
909 uint32_t index; HWTEST_F() local
940 uint32_t index; HWTEST_F() local
972 uint32_t index; HWTEST_F() local
1002 uint32_t index; HWTEST_F() local
1032 uint32_t index; HWTEST_F() local
1062 uint32_t index; HWTEST_F() local
1148 uint32_t index; HWTEST_F() local
1178 uint32_t index; HWTEST_F() local
1375 uint32_t index; HWTEST_F() local
1405 uint32_t index; HWTEST_F() local
1584 uint32_t index; HWTEST_F() local
1605 uint32_t index; HWTEST_F() local
[all...]
H A Davcodec_audio_avbuffer_decoder_demo.cpp64 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
69 signal->inQueue_.push(index); in OnInputBufferAvailable()
74 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
79 signal->outQueue_.push(index); in OnOutputBufferAvailable()
101 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() local
103 while (index != string::npos) { in SplitStringFully()
104 substring = str.substr(start, index - start); in SplitStringFully()
106 start = str.find_first_not_of(separator, index); in SplitStringFully()
110 index = str.find_first_of(separator, start); in SplitStringFully()
475 void ADecBufferDemo::HandleInputEOS(const uint32_t index) in HandleInputEOS() argument
483 ReadBuffer(OH_AVBuffer *buffer, uint32_t index) ReadBuffer() argument
531 uint32_t index = signal_->inQueue_.front(); InputFunc() local
602 uint32_t index = signal_->outQueue_.front(); OutputFunc() local
766 FreeOutputData(OH_AVCodec *codec, uint32_t index) FreeOutputData() argument
771 PushInputData(OH_AVCodec *codec, uint32_t index) PushInputData() argument
794 uint32_t index; GetInputIndex() local
811 uint32_t index; GetOutputIndex() local
825 PushInputDataEOS(OH_AVCodec *codec, uint32_t index) PushInputDataEOS() argument
[all...]
/test/xts/hats/useriam/userauth_additional/src/
H A Duser_auth_hdi.cpp132 uint64_t index = 0; in HWTEST_F() local
139 EXPECT_EQ(g_service.AddExecutor(info, index, publicKey, templateIds), 0); in HWTEST_F()
140 EXPECT_EQ(g_service.DeleteExecutor(index), 0); in HWTEST_F()
151 uint64_t index = -1; in HWTEST_F() local
152 auto ret = g_service.DeleteExecutor(index); in HWTEST_F()
168 uint64_t index = 0; in HWTEST_F() local
171 EXPECT_EQ(g_service.AddExecutor(info, index, publicKey, templateIds), 0); in HWTEST_F()
173 auto ret = g_service.DeleteExecutor(index); in HWTEST_F()
189 uint64_t index = 0; in HWTEST_F() local
192 EXPECT_EQ(g_service.AddExecutor(info, index, publicKe in HWTEST_F()
274 uint64_t index = 0; HWTEST_F() local
330 uint64_t index = 0; HWTEST_F() local
373 uint64_t index = 0; HWTEST_F() local
470 uint64_t index = 0; HWTEST_F() local
533 uint64_t index = 0; HWTEST_F() local
575 uint64_t index = 0; HWTEST_F() local
668 uint64_t index = 0; HWTEST_F() local
703 uint64_t index = 0; HWTEST_F() local
737 uint64_t index = 0; HWTEST_F() local
766 uint64_t index = 0; HWTEST_F() local
854 uint64_t index = 0; HWTEST_F() local
893 uint64_t index = 0; HWTEST_F() local
939 uint64_t index = 0; HWTEST_F() local
986 uint64_t index = 0; HWTEST_F() local
1042 uint64_t index = 0; HWTEST_F() local
1081 uint64_t index = 0; HWTEST_F() local
[all...]
/test/testfwk/developer_test/src/core/command/
H A Ddisplay.py221 for index, element in enumerate(productform_list):
222 print("%d. %s" % (index + 1, element))
288 for index, element in enumerate(productform_list):
289 print(" %d. %s" % (index + 1, element))
299 for index, element in enumerate(testtype_list):
300 print(" %d. %s" % (index + 1, element))
314 for index, element in enumerate(subsystem_name_list):
315 print(" %d. %s" % (index + 1, element))
326 for index, element in enumerate(sub_list):
327 print(" %d. %s" % (index
[all...]
/test/xts/acts/multimedia/av_codec/audio_encoder/src/
H A Dstatus_check_test.cpp97 uint32_t index; in HWTEST_F() local
100 index = audioBufferAacEncDemo->GetInputIndex(); in HWTEST_F()
101 result0 = audioBufferAacEncDemo->PushInputData(codec, index); in HWTEST_F()
116 uint32_t index; in HWTEST_F() local
119 index = audioBufferAacEncDemo->GetInputIndex(); in HWTEST_F()
120 result0 = audioBufferAacEncDemo->PushInputDataEOS(codec, index); in HWTEST_F()
268 uint32_t index; in HWTEST_F() local
276 index = audioBufferAacEncDemo->GetInputIndex(); in HWTEST_F()
277 result0 = audioBufferAacEncDemo->PushInputData(codec, index); in HWTEST_F()
299 uint32_t index; in HWTEST_F() local
509 uint32_t index; HWTEST_F() local
542 uint32_t index; HWTEST_F() local
698 uint32_t index; HWTEST_F() local
734 uint32_t index; HWTEST_F() local
769 uint32_t index; HWTEST_F() local
805 uint32_t index; HWTEST_F() local
842 uint32_t index; HWTEST_F() local
877 uint32_t index; HWTEST_F() local
912 uint32_t index; HWTEST_F() local
947 uint32_t index; HWTEST_F() local
981 uint32_t index; HWTEST_F() local
1017 uint32_t index; HWTEST_F() local
1052 uint32_t index; HWTEST_F() local
1088 uint32_t index; HWTEST_F() local
1125 uint32_t index; HWTEST_F() local
1160 uint32_t index; HWTEST_F() local
1195 uint32_t index; HWTEST_F() local
1230 uint32_t index; HWTEST_F() local
1332 uint32_t index; HWTEST_F() local
1367 uint32_t index; HWTEST_F() local
1601 uint32_t index; HWTEST_F() local
1636 uint32_t index; HWTEST_F() local
1842 uint32_t index; HWTEST_F() local
1863 uint32_t index; HWTEST_F() local
[all...]

Completed in 25 milliseconds

12345678910>>...56