/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/ |
H A D | mian.cpp | 52 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/security_lite/huks/liteos_a_adapter/ |
H A D | hks_generate_key_test.cpp | 82 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 D | hks_derive_test.cpp | 147 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 D | hks_mac_test.cpp | 131 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/telephony/networkmanager/ndk/networkndk/entry/src/main/cpp/ |
H A D | net_connection_ndk_test.cpp | 65 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 D | net_stack_ndk_test.cpp | 97 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/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/ |
H A D | Execute.test.js | 129 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/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/ |
H A D | main.cpp | 31 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/multimedia/av_codec/demuxer/src/ |
H A D | func_test.cpp | 243 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 D | proc_test.cpp | 167 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/security_lite/huks/liteos_m_adapter/ |
H A D | hks_generate_key_test.c | 107 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 D | hks_hash_test.c | 111 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...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 52 size_t index, err = 0; in set_attr_from_string() local 55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string() 85 set_attr_fn(array, index, new_size); in set_attr_from_string() 93 size_t index; in kbase_debugfs_string_validator() local 97 for (index = 0; *ptr; ++index) { in kbase_debugfs_string_validator() 174 size_t index; in kbase_debugfs_helper_get_attr_to_string() local 176 for (index in kbase_debugfs_helper_get_attr_to_string() 235 size_t index; kbase_debugfs_helper_seq_read() local [all...] |
H A D | mali_kbase_mem_pool_debugfs.c | 28 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, in kbase_mem_pool_debugfs_trim() argument 34 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_trim() 37 kbase_mem_pool_trim(&mem_pools[index], value); in kbase_mem_pool_debugfs_trim() 41 size_t const index, size_t const value) in kbase_mem_pool_debugfs_set_max_size() 46 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_set_max_size() 49 kbase_mem_pool_set_max_size(&mem_pools[index], value); in kbase_mem_pool_debugfs_set_max_size() 52 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument 57 WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) in kbase_mem_pool_debugfs_size() 60 return kbase_mem_pool_size(&mem_pools[index]); in kbase_mem_pool_debugfs_size() 63 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument 40 kbase_mem_pool_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_debugfs_set_max_size() argument 74 kbase_mem_pool_config_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_config_debugfs_set_max_size() argument 86 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument [all...] |
/test/xts/acts/security_lite/huks/common/ |
H A D | hks_test_cipher.c | 633 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...] |
/device/qemu/riscv32_virt/liteos_m/board/fs/ |
H A D | ff_gen_drv.c | 41 so we must assign index=1 when use -drive if=pflash in qemu_run.sh
43 int SetupVolToPartTable(int index, PARTITION vptable, DiskioDrvTypeDef *dskDrv)
in SetupVolToPartTable() argument 45 if (index < 0 || index >= FF_VOLUMES) {
in SetupVolToPartTable() 46 PRINT_ERR("[%s]the volum index is out of range\n", __func__);
in SetupVolToPartTable() 49 VolToPart[index].di = vptable.di; /* Physics disk id */
in SetupVolToPartTable() 50 VolToPart[index].pd = vptable.pd; /* Physical drive number */
in SetupVolToPartTable() 51 VolToPart[index].pt = vptable.pt; /* Partition: 0:Auto detect, 1-4:Forced partition) */
in SetupVolToPartTable() 52 VolToPart[index].ps = vptable.ps; /* Partition start sector */
in SetupVolToPartTable() 53 VolToPart[index] in SetupVolToPartTable() [all...] |
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/ |
H A D | effect_filter_test.cpp | 71 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 D | imageEffect.cpp | 127 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...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 52 size_t index, err = 0; in set_attr_from_string() local 55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string() 88 set_attr_fn(array, index, new_size); in set_attr_from_string() 114 size_t index; in kbase_debugfs_helper_get_attr_to_string() local 116 for (index = 0; index < nelems; ++index) { in kbase_debugfs_helper_get_attr_to_string() 119 if (index in kbase_debugfs_helper_get_attr_to_string() 166 size_t index; kbase_debugfs_helper_seq_read() local [all...] |
H A D | mali_kbase_mem_pool_debugfs.c | 29 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_trim() argument 33 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_trim() 37 kbase_mem_pool_trim(&mem_pools[index], value); in kbase_mem_pool_debugfs_trim() 40 void kbase_mem_pool_debugfs_set_max_size(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_set_max_size() argument 44 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_set_max_size() 48 kbase_mem_pool_set_max_size(&mem_pools[index], value); in kbase_mem_pool_debugfs_set_max_size() 51 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument 55 if (WARN_ON(!mem_pools) || WARN_ON(index >= MEMORY_GROUP_MANAGER_NR_GROUPS)) { in kbase_mem_pool_debugfs_size() 59 return kbase_mem_pool_size(&mem_pools[index]); in kbase_mem_pool_debugfs_size() 62 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument 73 kbase_mem_pool_config_debugfs_set_max_size(void *const array, size_t const index, size_t const value) kbase_mem_pool_config_debugfs_set_max_size() argument 84 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument [all...] |
/test/ostest/wukong/input_factory/src/ |
H A D | appswitch_input.cpp | 50 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/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/ |
H A D | main.cpp | 986 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/component_event/src/ |
H A D | wukong_tree.cpp | 37 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...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_proc.c | 503 hi_u32 index;
in proc_app_attr_info() local 514 index = min((hi_s32)app_attr->hdmi_action, HDMI_DEFAULT_ACTION_BUTT);
in proc_app_attr_info() 515 osal_seq_printf(file, "%-15s: %-20s \n", "DefaultAction", g_default_action_str[index]);
in proc_app_attr_info() 529 index = min((hi_s32)app_attr->deep_color_mode, HDMI_DEEP_COLOR_48BIT + 1);
in proc_app_attr_info() 530 osal_seq_printf(file, "%-15s: %-20s ", "DeepColorMode", g_deep_color[index]);
in proc_app_attr_info() 534 index = min((hi_s32)app_attr->out_color_space, HDMI_COLORSPACE_BUTT);
in proc_app_attr_info() 535 osal_seq_printf(file, "%-15s: %-20s ", "OutColorSpace", g_color_space_str[index]);
in proc_app_attr_info() 585 hi_u32 index;
in proc_sw_status() local 606 index = (frl->mode == HDMI_FRL_MODE_FRL) ? HDMI_TMDS_MODE_HDMI_2_1 : hdmi_dev->tmds_mode;
in proc_sw_status() 607 index in proc_sw_status() 632 hi_u32 index; proc_hdr_status() local 655 hi_u32 index; proc_frl_status() local 721 hi_u32 index; proc_hw_status() local 768 proc_if_raw_data(hdmi_proc_entry *file, hi_u32 *index, hi_u32 *line, hi_u8 *data) proc_if_raw_data() argument 789 hi_u32 i, index; proc_vic_timing() local 846 hi_u32 index; proc_video_attr() local 908 hi_u32 i, index, line; proc_video_path() local 1014 hi_u8 index; proc_hdr_info() local 1077 hi_u32 index; porc_auido_attr() local 1115 hi_u32 index; proc_audio_path() local 1731 hi_u32 index; proc_sink_frl_caps() local [all...] |
/device/soc/hisilicon/common/platform/pin/ |
H A D | pin_hi35xx.c | 32 uint32_t index; member 79 static void PinDumperDump(struct Hi35xxPinCntlr *hi35xx, uint32_t index) in PinDumperDump() argument 83 {"PIN_REGISTER", PLATFORM_DUMPER_REGISTERL, (void *)(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE)}, in PinDumperDump() 104 static int32_t Hi35xxPinSetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType pullType) in Hi35xxPinSetPull() argument 110 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull() 112 OSAL_WRITEL(value, hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinSetPull() 117 static int32_t Hi35xxPinGetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType *pullType) in Hi35xxPinGetPull() argument 123 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZE); in Hi35xxPinGetPull() 129 static int32_t Hi35xxPinSetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t strength) in Hi35xxPinSetStrength() argument 135 value = OSAL_READL(hi35xx->regBase + index * HI35XX_PIN_REG_SIZ in Hi35xxPinSetStrength() 142 Hi35xxPinGetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t *strength) Hi35xxPinGetStrength() argument 154 Hi35xxPinSetFunc(struct PinCntlr *cntlr, uint32_t index, const char *funcName) Hi35xxPinSetFunc() argument 178 Hi35xxPinGetFunc(struct PinCntlr *cntlr, uint32_t index, const char **funcName) Hi35xxPinGetFunc() argument 251 Hi35xxPinParsePinNode(const struct DeviceResourceNode *node, struct Hi35xxPinCntlr *hi35xx, int32_t index) Hi35xxPinParsePinNode() argument 349 int32_t index; Hi35xxPinInit() local [all...] |