Home
last modified time | relevance | path

Searched defs:ret (Results 13751 - 13775 of 17175) sorted by relevance

1...<<551552553554555556557558559560>>...687

/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_proxy.cpp644 int32_t ret = remote->SendRequest(static_cast<uint32_t>(IDSchedInterfaceCode::GET_MISSION_INFOS), data, reply, in GetMissionInfos() local
H A Ddistributed_sched_permission.cpp184 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in GetOsAccountData() local
686 int32_t ret = memcpy_s(devIdentify.identity, DEVICE_ID_MAX_LEN, udid.c_str(), udid.length()); in GetDeviceSecurityLevel() local
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v2_1.cpp132 auto ret = m_iDevice->GetDeviceName(name); in GetDeviceName() local
141 auto ret = m_iDevice->GetVendorName(name); in GetVendorName() local
150 auto ret = m_iDevice->GetVersion(m_hdiVersion.first, m_hdiVersion.second); in GetVersion() local
161 auto ret in GetDeviceType() local
173 auto ret = m_iDevice->GetDeviceStatus(iDeviceStatus); GetDeviceStatus() local
236 auto ret = m_iDevice->IsFloat16PrecisionSupported(isSupported); IsFloat16PrecisionSupported() local
245 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); IsPerformanceModeSupported() local
254 auto ret = m_iDevice->IsPrioritySupported(isSupported); IsPrioritySupported() local
263 auto ret = m_iDevice->IsDynamicInputSupported(isSupported); IsDynamicInputSupported() local
272 auto ret = m_iDevice->IsModelCacheSupported(isSupported); IsModelCacheSupported() local
344 OH_NN_ReturnCode ret; PrepareModelFromModelCache() local
382 auto ret = m_iDevice->AllocateBuffer(length, buffer); AllocateBuffer() local
404 auto ret = m_iDevice->AllocateBuffer(length, buffer); AllocateBuffer() local
442 auto ret = memManager->GetMemory(buffer, memory); ReleaseBuffer() local
470 auto ret = m_iDevice->ReleaseBuffer(buffer); ReleaseSharedBuffer() local
583 OH_NN_ReturnCode ret; PrepareOfflineModel() local
[all...]
H A Dhdi_device_v2_0.cpp137 auto ret = m_iDevice->GetDeviceName(name); in GetDeviceName() local
146 auto ret = m_iDevice->GetVendorName(name); in GetVendorName() local
155 auto ret = m_iDevice->GetVersion(m_hdiVersion.first, m_hdiVersion.second); in GetVersion() local
166 auto ret in GetDeviceType() local
178 auto ret = m_iDevice->GetDeviceStatus(iDeviceStatus); GetDeviceStatus() local
241 auto ret = m_iDevice->IsFloat16PrecisionSupported(isSupported); IsFloat16PrecisionSupported() local
250 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); IsPerformanceModeSupported() local
259 auto ret = m_iDevice->IsPrioritySupported(isSupported); IsPrioritySupported() local
268 auto ret = m_iDevice->IsDynamicInputSupported(isSupported); IsDynamicInputSupported() local
277 auto ret = m_iDevice->IsModelCacheSupported(isSupported); IsModelCacheSupported() local
349 OH_NN_ReturnCode ret; PrepareModelFromModelCache() local
387 auto ret = m_iDevice->AllocateBuffer(length, buffer); AllocateBuffer() local
409 auto ret = m_iDevice->AllocateBuffer(length, buffer); AllocateBuffer() local
447 auto ret = memManager->GetMemory(buffer, memory); ReleaseBuffer() local
475 auto ret = m_iDevice->ReleaseBuffer(buffer); ReleaseSharedBuffer() local
588 OH_NN_ReturnCode ret; PrepareOfflineModel() local
[all...]
H A Dnnexecutor.cpp88 OH_NN_ReturnCode ret = GetInputDimVec(); in GetInputDimRange() local
124 auto ret = tensorDesc->GetShape(shape, &shapeNumTmp); in GetOutputShape() local
327 OH_NN_ReturnCode ret = m_preparedModel->GetModelID(modelId); GetModelID() local
387 auto ret = tensorDesc.first->GetDataType(&dataType); CompareAttribute() local
441 auto ret = inputTensor->BuildFromOHNNTensor(nnTensor); BuildInputTensor() local
527 auto ret = m_preparedModel->GetInputDimRanges(minInputDims, maxInputDims); CheckInputDimRanges() local
587 auto ret = BuildInputTensor(index, nnTensor, inputTensor); SetInput() local
661 auto ret = BuildInputTensor(index, nnTensor, inputTensor); SetInputFromMemory() local
691 auto ret = tensor->BuildFromTensorDesc(tensorDescCast); BuildNNTensorFromDesc() local
738 auto ret = m_outputTensorDescs[index].first->GetByteSize(&dataLength); SetOutput() local
805 auto ret = m_outputTensorDescs[index].first->GetByteSize(&dataLength); SetOutputFromMemory() local
892 auto ret = m_device->ReleaseBuffer((*memory)->data); DestroyInputMemory() local
957 auto ret = m_device->ReleaseBuffer((*memory)->data); DestroyOutputMemory() local
1045 auto ret = Run(inputTensors, outputTensors); Run() local
[all...]
H A Dnncompiler.cpp50 OH_NN_ReturnCode ret = tensorDesc.first->GetDataType(&m_dataType); in CopyFromTensorDesc() local
81 OH_NN_ReturnCode ret = tensorDesc.SetDataType(m_dataType); CopyToTensorDesc() local
160 OH_NN_ReturnCode ret = m_device->IsModelCacheSupported(isSupportedCache); SetCacheDir() local
185 OH_NN_ReturnCode ret = m_device->IsPerformanceModeSupported(isSupportedPerformance); SetPerformance() local
213 OH_NN_ReturnCode ret = m_device->IsPrioritySupported(isSupportedPriority); SetPriority() local
241 OH_NN_ReturnCode ret = m_device->IsFloat16PrecisionSupported(isSupportedFp16); SetEnableFp16() local
265 OH_NN_ReturnCode ret = m_device->GetSupportedOperation(liteGraph, supportedList); IsSupportedModel() local
348 OH_NN_ReturnCode ret = m_device->PrepareOfflineModel(m_liteGraph, config, m_preparedModel); BuildOfflineModel() local
371 OH_NN_ReturnCode ret = IsSupportedModel(m_liteGraph, isSupportedModel); NormalBuild() local
418 OH_NN_ReturnCode ret = CheckModelParameter(); Build() local
455 OH_NN_ReturnCode ret = RestoreFromCacheFile(); OnlineBuild() local
528 OH_NN_ReturnCode ret = m_preparedModel->ExportModelCache(caches); SaveToCacheFile() local
591 OH_NN_ReturnCode ret = compiledCache.SetBackend(m_backendID); RestoreFromCacheFile() local
779 OH_NN_ReturnCode ret = OH_NN_SUCCESS; SerializeTensorsToBuffer() local
[all...]
H A Dinner_model.cpp64 OH_NN_ReturnCode ret = nnTensor->Build(dataType, msDims, nnQuantParams, OH_NN_TENSOR); in ConstructNNTensorFromLiteGraphTensor() local
132 OH_NN_ReturnCode ret = ConstructNNTensorsFromLiteGraph(liteGraph, liteGraph->input_indices_, m_inputTensors); in BuildFromLiteGraph() local
189 OH_NN_ReturnCode ret = tensor->BuildFromOHNNTensor(nnTensor); in AddTensor() local
313 errno_t ret = memcpy_s(data, length, buffer, length); SetTensorValue() local
327 OH_NN_ReturnCode ret = ValidateTensorArray(inputIndices); ValidateInputAndOutput() local
384 OH_NN_ReturnCode ret = Validation::ValidateArray(indices.data, indices.size); ValidateTensorArray() local
409 OH_NN_ReturnCode ret = ValidateInputAndOutput(inputIndices, outputIndices); AddOperation() local
454 OH_NN_ReturnCode ret = ValidateInputAndOutput(inputIndices, outputIndices); SpecifyInputsAndOutputs() local
509 OH_NN_ReturnCode ret = CheckParameters(); SetInputsAndOutputsInfo() local
590 OH_NN_ReturnCode ret = AddNodesToLiteGraph(modelIDToGraphID); Build() local
693 OH_NN_ReturnCode ret = nnBackend->GetSupportedOperation(m_liteGraph, supportedOperations); GetSupportedOperations() local
[all...]
H A Dneural_network_runtime.cpp471 OH_NN_ReturnCode ret = CheckExtensionConfigs(extensionMap, extensionConfig); in ParseExtensionConfigs() local
724 int ret = GetParameter(HARDWARE_NAME.c_str(), NULL_HARDWARE_NAME.c_str(), cName, HARDWARE_NAME_MAX_LENGTH); in OH_NN_GetDeviceID() local
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/
H A Dhdi_device_test.cpp1451 OH_NN_ReturnCode ret = hdiDevice->ReleaseBuffer(fd, length); in HWTEST_F() local
1472 OH_NN_ReturnCode ret = hdiDevice->ReleaseBuffer(fd, length); in HWTEST_F() local
1490 void* ret = hdiDevice->AllocateTensorBuffer(length, tensor); in HWTEST_F() local
1508 void* ret = hdiDevice->AllocateTensorBuffer(length, tensor); in HWTEST_F() local
1526 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(nullptr, config, preparedModel); in HWTEST_F() local
1548 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
1575 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
1619 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
2823 OH_NN_ReturnCode ret = hdiDevice->ReleaseBuffer(fd, length); HWTEST_F() local
2844 OH_NN_ReturnCode ret = hdiDevice->ReleaseBuffer(fd, length); HWTEST_F() local
2862 void* ret = hdiDevice->AllocateTensorBuffer(length, tensor); HWTEST_F() local
2880 void* ret = hdiDevice->AllocateTensorBuffer(length, tensor); HWTEST_F() local
2898 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(nullptr, config, preparedModel); HWTEST_F() local
2920 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
2947 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
2991 OH_NN_ReturnCode ret = hdiDevice->PrepareOfflineModel(model, config, preparedModel); HWTEST_F() local
[all...]
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/
H A Dintell_voice_service_manager.cpp134 auto ret = ReleaseEngineInner(type); in ReleaseEngine() local
552 auto ret = deathRecipientObj_[type]->RemoveDeathRecipient(proxyDeathRecipient_[type]); in DeregisterProxyDeathRecipient() local
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_bm_storage.cpp98 bool ret = bundleMgr->GetBundleInfo(bundleName, FLAGS, bundleInfo, AppExecFwk::Constants::ALL_USERID); in SaveStorageDistributeInfo() local
219 bool ret = bundleMgr->GetBundleInfo(bundleName, FLAGS, bundleInfo, AppExecFwk::Constants::ALL_USERID); in DeleteStorageDistributeInfo() local
396 bool ret = DealGetBundleName(networkId, bundleNameId, bundleName); in GetDistributedBundleName() local
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_stub_test.cpp239 int32_t ret = DistributedSchedService::GetInstance().OnRemoteRequest(code, data, reply, option); in HWTEST_F() local
H A Ddistributed_sched_service_second_test.cpp374 int ret = DistributedSchedService::GetInstance().NotifyStateChangedFromRemote(0, 0, element); in HWTEST_F() local
394 int ret = DistributedSchedService::GetInstance().NotifyStateChangedFromRemote(0, 0, element); in HWTEST_F() local
413 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChangedFromRemote(abilityState, 0, element); in HWTEST_F() local
435 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChangedFromRemote(abilityState, 0, element); in HWTEST_F() local
458 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChangedFromRemote(abilityState, 3, element); HWTEST_F() local
503 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChanged(abilityState, element3, nullptr); HWTEST_F() local
526 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChanged(abilityState, element, nullptr); HWTEST_F() local
550 int32_t ret = DistributedSchedService::GetInstance().NotifyStateChanged(abilityState, element, nullptr); HWTEST_F() local
747 int ret = DistributedSchedService::GetInstance().StopExtensionAbilityFromRemote(want, callerInfo, HWTEST_F() local
765 int32_t ret = DistributedSchedService::GetInstance().CheckDistributedConnectLocked(callerInfo); HWTEST_F() local
782 int32_t ret = DistributedSchedService::GetInstance().CheckDistributedConnectLocked(callerInfo); HWTEST_F() local
801 int32_t ret = DistributedSchedService::GetInstance().TryConnectRemoteAbility(want, connect, callerInfo); HWTEST_F() local
820 int32_t ret = DistributedSchedService::GetInstance().TryConnectRemoteAbility(want, connect, callerInfo); HWTEST_F() local
1089 int ret = DistributedSchedService::GetInstance().StartLocalAbility(info, 0, 0); HWTEST_F() local
1284 bool ret = DistributedSchedService::GetInstance().RegisterAppStateObserver(want, callerInfo, nullptr, connect); HWTEST_F() local
1325 bool ret = DistributedSchedService::GetInstance().RegisterAppStateObserver(want, callerInfo, nullptr, connect); HWTEST_F() local
1343 auto ret = DistributedSchedService::GetInstance().GetAppManager(); HWTEST_F() local
1452 bool ret = DistributedSchedService::GetInstance().GetIsFreeInstall(0); HWTEST_F() local
1467 int32_t ret = DistributedSchedService::GetInstance().StartAbility(want, requestCode); HWTEST_F() local
1484 int32_t ret = DistributedSchedService::GetInstance().CheckTargetPermission4DiffBundle(want, HWTEST_F() local
1503 int32_t ret = DistributedSchedService::GetInstance().StartRemoteAbilityAdapter(want, HWTEST_F() local
1522 int32_t ret = DistributedSchedService::GetInstance().ConnectRemoteAbilityAdapter(want, connect, HWTEST_F() local
1538 int32_t ret = DistributedSchedService::GetInstance().StartAbilityFromRemoteAdapter(data, reply); HWTEST_F() local
1553 int32_t ret = DistributedSchedService::GetInstance().StopAbilityFromRemoteAdapter(data, reply); HWTEST_F() local
1568 int32_t ret = DistributedSchedService::GetInstance().ConnectAbilityFromRemoteAdapter(data, reply); HWTEST_F() local
1583 int32_t ret = DistributedSchedService::GetInstance().DisconnectAbilityFromRemoteAdapter(data, reply); HWTEST_F() local
1599 int32_t ret = DistributedSchedService::GetInstance().NotifyAbilityLifecycleChangedFromRemoteAdapter(data, reply); HWTEST_F() local
1616 int32_t ret = DistributedSchedService::GetInstance().NotifyDSchedEventResultFromRemote(type, dSchedEventResult); HWTEST_F() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp2345 auto ret = formMgrAdapter.RequestPublishForm(want, withFormBindingData, formBindingData, formId1, formDataProxies); in HWTEST_F() local
2416 auto ret = formMgrAdapter.RequestPublishForm(want, withFormBindingData, formBindingData, formId1, formDataProxies); in HWTEST_F() local
2527 auto ret = formMgrAdapter.RequestPublishForm(want, withFormBindingData, formBindingData, formId1, formDataProxies); in HWTEST_F() local
2558 bool ret = formMgrAdapter.CheckSnapshotWant(want); in HWTEST_F() local
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue_manager.cpp211 int32_t ret = DMSContinueSendMgr::GetInstance().GetMissionIdByBundleName( in ContinueMission() local
284 int32_t ret = CheckContinuationLimit(info.sourceDeviceId_, info.sinkDeviceId_, direction); in HandleContinueMissionWithBundleName() local
518 int32_t ret = DMSContinueSendMgr::GetInstance().GetContinueLaunchMissionInfo(missionId, missionInfo); in NotifyTerminateContinuation() local
662 int32_t ret = startCmd->Unmarshal(jsonStr); NotifyContinueDataRecv() local
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_render_mgr_inner.cpp94 ErrCode ret = ConnectRenderService(connection, formRecord.privacyLevel); in RenderForm() local
155 auto ret = GetRenderObject(remoteObject); in GetConnectionAndRenderForm() local
214 auto ret in ReloadForm() local
243 auto ret = GetRenderObject(remoteObject); PostOnUnlockTask() local
255 auto ret = GetRenderObject(remoteObject); NotifyScreenOn() local
302 auto ret = GetRenderObject(remoteObject); StopRenderingForm() local
373 auto ret = GetRenderObject(remoteObject); ReleaseRenderer() local
665 auto ret = GetRenderObject(remoteObject); RecycleForms() local
692 auto ret = GetRenderObject(remoteObject); RecoverForms() local
[all...]
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/
H A Dtrigger_helper.cpp167 int32_t ret = InitRecognition(modelData, unload); in StartGenericRecognition() local
200 int32_t ret = StopRecognition(modelData); in StopGenericRecognition() local
247 auto ret in GetParameter() local
284 int32_t ret = StopRecognition(modelData); InitRecognition() local
320 auto ret = module_->Start(modelData->GetModelHandle()); StartRecognition() local
343 auto ret = module_->Stop(modelData->GetModelHandle()); StopRecognition() local
371 auto ret = module_->LoadModel(modelData->GetModel(), handle); LoadModel() local
396 auto ret = module_->UnloadModel(modelData->GetModelHandle()); UnloadModel() local
746 int32_t ret = audioStreamManager->RegisterAudioRendererEventListener(getpid(), AttachAudioRendererEventListener() local
769 int32_t ret = audioStreamManager->UnregisterAudioRendererEventListener(getpid()); DetachAudioRendererEventListener() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp109 OH_NN_ReturnCode ret = model.AddTensor(input1); in BuildModel() local
254 OH_NNModel* ret = OH_NNModel_Construct(); HWTEST_F() local
268 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, &tensor); HWTEST_F() local
283 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, tensor); HWTEST_F() local
299 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, &tensor); HWTEST_F() local
322 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, &m_outputIndices); HWTEST_F() local
349 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, nullptr, &m_inputIndices, &m_outputIndices); HWTEST_F() local
376 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, nullptr, &m_outputIndices); HWTEST_F() local
403 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, nullptr); HWTEST_F() local
426 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, &m_outputIndices); HWTEST_F() local
444 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), HWTEST_F() local
462 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, nullptr, sizeof(int8_t)); HWTEST_F() local
480 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), 0); HWTEST_F() local
498 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), HWTEST_F() local
516 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, &m_outputIndices); HWTEST_F() local
533 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, nullptr, &m_outputIndices); HWTEST_F() local
550 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, nullptr); HWTEST_F() local
567 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, &m_outputIndices); HWTEST_F() local
594 OH_NN_ReturnCode ret = OH_NNModel_Finish(model); HWTEST_F() local
621 OH_NN_ReturnCode ret = OH_NNModel_Finish(model); HWTEST_F() local
684 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
704 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, nullptr, &opCount); HWTEST_F() local
727 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
749 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, opCount); HWTEST_F() local
771 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
785 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
798 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
812 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
825 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(compilation, deviceId); HWTEST_F() local
842 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(nnCompilation, deviceId); HWTEST_F() local
858 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
876 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
894 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
910 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
928 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
944 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
962 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
978 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
996 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
1011 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
1028 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
1223 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length); HWTEST_F() local
1451 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1472 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1493 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1514 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1529 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1550 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1571 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1592 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1824 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, &memory); HWTEST_F() local
1849 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, operand, &memory); HWTEST_F() local
1871 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, memory); HWTEST_F() local
1897 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, &memory); HWTEST_F() local
1914 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, &memory); HWTEST_F() local
1934 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, memory); HWTEST_F() local
1956 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, &memory); HWTEST_F() local
1995 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(allDevicesId, pDeviceCount); HWTEST_F() local
2011 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2025 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2041 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2056 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2069 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, name); HWTEST_F() local
2083 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2097 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2111 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2125 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2138 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2152 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2166 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/test/unittest/continuation_manager/
H A Dcontinuation_manager_test.cpp1685 int32_t ret = appDeviceCallbackStub.OnRemoteRequest(1, data, reply, option); in HWTEST_F() local
1734 int32_t ret = appDeviceCallbackStub.OnRemoteRequest( in HWTEST_F() local
1755 int32_t ret = appDeviceCallbackStub.OnRemoteRequest( in HWTEST_F() local
1775 int32_t ret = appDeviceCallbackStub.OnRemoteRequest( in HWTEST_F() local
1796 int32_t ret = appDeviceCallbackStub.OnRemoteRequest( in HWTEST_F() local
1815 int32_t ret = appDeviceCallbackStub.OnRemoteRequest( HWTEST_F() local
1833 int32_t ret = appDeviceCallbackStub.OnRemoteRequest(INVALID_EVENT_DEVICE_CODE, data, reply, option); HWTEST_F() local
1850 int32_t ret = appDeviceCallbackStub.OnDeviceConnect(TEST_TOKEN, continuationResults); HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp110 OH_NN_ReturnCode ret = model.AddTensor(input1); in BuildModel() local
307 OH_NNModel* ret = OH_NNModel_Construct(); HWTEST_F() local
321 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, &tensor); HWTEST_F() local
336 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, tensor); HWTEST_F() local
352 OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, &tensor); HWTEST_F() local
375 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, &m_outputIndices); HWTEST_F() local
402 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, nullptr, &m_inputIndices, &m_outputIndices); HWTEST_F() local
429 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, nullptr, &m_outputIndices); HWTEST_F() local
456 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, nullptr); HWTEST_F() local
479 OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, &m_outputIndices); HWTEST_F() local
497 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), HWTEST_F() local
515 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, nullptr, sizeof(int8_t)); HWTEST_F() local
533 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), 0); HWTEST_F() local
551 OH_NN_ReturnCode ret = OH_NNModel_SetTensorData(model, index, static_cast<const void *>(&activation), HWTEST_F() local
569 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, &m_outputIndices); HWTEST_F() local
586 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, nullptr, &m_outputIndices); HWTEST_F() local
603 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, nullptr); HWTEST_F() local
620 OH_NN_ReturnCode ret = OH_NNModel_SpecifyInputsAndOutputs(model, &m_inputIndices, &m_outputIndices); HWTEST_F() local
647 OH_NN_ReturnCode ret = OH_NNModel_Finish(model); HWTEST_F() local
674 OH_NN_ReturnCode ret = OH_NNModel_Finish(model); HWTEST_F() local
737 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
757 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, nullptr, &opCount); HWTEST_F() local
780 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
802 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, opCount); HWTEST_F() local
824 OH_NN_ReturnCode ret = OH_NNModel_GetAvailableOperations(model, deviceID, &pIsAvailable, &opCount); HWTEST_F() local
838 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
851 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
865 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
878 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(compilation, deviceId); HWTEST_F() local
895 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(nnCompilation, deviceId); HWTEST_F() local
911 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
929 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
947 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
963 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
981 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
997 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
1015 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
1031 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
1049 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
1064 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
1081 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
1276 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length); HWTEST_F() local
1306 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length); HWTEST_F() local
1336 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, nullptr, buffer, length); HWTEST_F() local
1366 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, nullptr, length); HWTEST_F() local
1398 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length); HWTEST_F() local
1715 OH_NN_ReturnCode ret = OH_NNExecutor_Run(nnExecutor); HWTEST_F() local
1732 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1753 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1774 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1795 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1821 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1867 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1895 OH_NN_Memory* ret = OH_NNExecutor_AllocateInputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1912 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1933 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1954 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
1975 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
2001 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
2047 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
2075 OH_NN_Memory* ret = OH_NNExecutor_AllocateOutputMemory(nnExecutor, outputIndex, length); HWTEST_F() local
2334 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, &memory); HWTEST_F() local
2364 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, operand, &memory); HWTEST_F() local
2393 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, memory); HWTEST_F() local
2426 OH_NN_ReturnCode ret = OH_NNExecutor_SetInputWithMemory(nnExecutor, inputIndex, &m_tensor, &memory); HWTEST_F() local
2445 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, &memory); HWTEST_F() local
2470 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, memory); HWTEST_F() local
2499 OH_NN_ReturnCode ret = OH_NNExecutor_SetOutputWithMemory(nnExecutor, outputIndex, &memory); HWTEST_F() local
2540 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(allDevicesId, pDeviceCount); HWTEST_F() local
2556 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2570 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2586 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2601 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(pAllDevicesId, pDeviceCount); HWTEST_F() local
2614 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, name); HWTEST_F() local
2628 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2642 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2656 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceID, pName); HWTEST_F() local
2670 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2683 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2697 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2711 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
2723 NN_QuantParam* ret = OH_NNQuantParam_Create(); HWTEST_F() local
2736 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(nullptr, nullptr, quantNum); HWTEST_F() local
2750 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(quantParams, nullptr, quantNum); HWTEST_F() local
2765 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(quantParams, &scale, quantNum); HWTEST_F() local
2780 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(quantParams, &scale, quantNum); HWTEST_F() local
2793 OH_NN_ReturnCode ret = OH_NNQuantParam_SetZeroPoints(nullptr, nullptr, quantNum); HWTEST_F() local
2807 OH_NN_ReturnCode ret = OH_NNQuantParam_SetZeroPoints(quantParams, nullptr, quantNum); HWTEST_F() local
2822 OH_NN_ReturnCode ret = OH_NNQuantParam_SetZeroPoints(quantParams, &zeroPoints, quantNum); HWTEST_F() local
2837 OH_NN_ReturnCode ret = OH_NNQuantParam_SetZeroPoints(quantParams, &zeroPoints, quantNum); HWTEST_F() local
2850 OH_NN_ReturnCode ret = OH_NNQuantParam_SetNumBits(nullptr, nullptr, quantNum); HWTEST_F() local
2864 OH_NN_ReturnCode ret = OH_NNQuantParam_SetNumBits(quantParams, nullptr, quantNum); HWTEST_F() local
2879 OH_NN_ReturnCode ret = OH_NNQuantParam_SetNumBits(quantParams, &zeroPoints, quantNum); HWTEST_F() local
2894 OH_NN_ReturnCode ret = OH_NNQuantParam_SetNumBits(quantParams, &zeroPoints, quantNum); HWTEST_F() local
2906 OH_NN_ReturnCode ret = OH_NNQuantParam_Destroy(nullptr); HWTEST_F() local
2921 OH_NN_ReturnCode ret = OH_NNQuantParam_Destroy(quantParamsDex); HWTEST_F() local
2935 OH_NN_ReturnCode ret = OH_NNQuantParam_Destroy(quantParamsDex); HWTEST_F() local
2949 OH_NN_ReturnCode ret = OH_NNModel_AddTensorToModel(nullptr, tensor); HWTEST_F() local
2962 OH_NN_ReturnCode ret = OH_NNModel_AddTensorToModel(model, nullptr); HWTEST_F() local
2977 OH_NN_ReturnCode ret = OH_NNModel_AddTensorToModel(model, tensor); HWTEST_F() local
2991 OH_NN_ReturnCode ret = OH_NNModel_SetTensorQuantParams(nullptr, index, quantParams); HWTEST_F() local
3005 OH_NN_ReturnCode ret = OH_NNModel_SetTensorQuantParams(model, index, nullptr); HWTEST_F() local
3020 OH_NN_ReturnCode ret = OH_NNModel_SetTensorQuantParams(model, index, quantParams); HWTEST_F() local
3034 OH_NN_ReturnCode ret = OH_NNModel_SetTensorType(nullptr, index, tensorType); HWTEST_F() local
3049 OH_NN_ReturnCode ret = OH_NNModel_SetTensorType(model, index, tensorType); HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
H A Dneural_network_core_test.cpp39 OH_NN_ReturnCode ret = model.AddTensor(input1); in BuildModel() local
199 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&allDeviceIds, &count); HWTEST_F() local
211 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(nullptr, &count); HWTEST_F() local
223 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&allDeviceIds, nullptr); HWTEST_F() local
238 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&pAllDeviceIds, &count); HWTEST_F() local
251 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceId, &name); HWTEST_F() local
264 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceId, &name); HWTEST_F() local
276 OH_NN_ReturnCode ret = OH_NNDevice_GetName(deviceId, nullptr); HWTEST_F() local
290 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
308 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
327 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
341 OH_NN_ReturnCode ret = OH_NNDevice_GetType(deviceID, pDeviceType); HWTEST_F() local
353 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
365 OH_NNCompilation* ret = OH_NNCompilation_Construct(model); HWTEST_F() local
377 OH_NNCompilation* ret = OH_NNCompilation_ConstructWithOfflineModelFile(modelpath); HWTEST_F() local
389 OH_NNCompilation* ret = OH_NNCompilation_ConstructWithOfflineModelFile(modelpath); HWTEST_F() local
402 OH_NNCompilation* ret = OH_NNCompilation_ConstructWithOfflineModelBuffer(modelbuffer, modelsize); HWTEST_F() local
415 OH_NNCompilation* ret = OH_NNCompilation_ConstructWithOfflineModelBuffer(modelbuffer, modelsize); HWTEST_F() local
428 OH_NNCompilation* ret = OH_NNCompilation_ConstructWithOfflineModelBuffer(modelbuffer, modelsize); HWTEST_F() local
439 OH_NNCompilation* ret = OH_NNCompilation_ConstructForCache(); HWTEST_F() local
457 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(compilation, buffer, length, modelSize); HWTEST_F() local
473 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); HWTEST_F() local
490 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); HWTEST_F() local
507 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); HWTEST_F() local
523 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, SIZE_ONE, modelSize); HWTEST_F() local
539 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, SIZE_ONE, &modelSize); HWTEST_F() local
560 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, SIZE_ONE, &modelSize); HWTEST_F() local
576 OH_NN_ReturnCode ret = OH_NNCompilation_ImportCacheFromBuffer(compilation, buffer, modelsize); HWTEST_F() local
591 OH_NN_ReturnCode ret = OH_NNCompilation_ImportCacheFromBuffer(nnCompilation, buffer, modelsize); HWTEST_F() local
607 OH_NN_ReturnCode ret = OH_NNCompilation_ImportCacheFromBuffer(nnCompilation, buffer, modelsize); HWTEST_F() local
622 OH_NN_ReturnCode ret = OH_NNCompilation_ImportCacheFromBuffer(nnCompilation, buffer, SIZE_ONE); HWTEST_F() local
638 OH_NN_ReturnCode ret = OH_NNCompilation_AddExtensionConfig(compilation, configname, configvalue, configvaluesize); HWTEST_F() local
654 OH_NN_ReturnCode ret = OH_NNCompilation_AddExtensionConfig(nnCompilation, configname, cofigvalue, configvaluesize); HWTEST_F() local
671 OH_NN_ReturnCode ret = OH_NNCompilation_AddExtensionConfig(nnCompilation, configname, cofigvalue, configvaluesize); HWTEST_F() local
688 OH_NN_ReturnCode ret = OH_NNCompilation_AddExtensionConfig(nnCompilation, configname, cofigvalue, configvaluesize); HWTEST_F() local
704 OH_NN_ReturnCode ret = OH_NNCompilation_AddExtensionConfig(nnCompilation, configname, cofigvalue, SIZE_ONE); HWTEST_F() local
718 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(compilation, deviceId); HWTEST_F() local
732 OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(nnCompilation, deviceId); HWTEST_F() local
747 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
762 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
778 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); HWTEST_F() local
795 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
809 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); HWTEST_F() local
823 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
837 OH_NN_ReturnCode ret = OH_NNCompilation_SetPriority(nnCompilation, priority); HWTEST_F() local
851 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
865 OH_NN_ReturnCode ret = OH_NNCompilation_EnableFloat16(nnCompilation, enableFloat16); HWTEST_F() local
878 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nncompilation); HWTEST_F() local
891 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
909 OH_NN_ReturnCode ret = OH_NNCompilation_Build(nnCompilation); HWTEST_F() local
921 OH_NN_ReturnCode ret = OH_NNTensorDesc_Destroy(&tensorDesc); HWTEST_F() local
933 OH_NN_ReturnCode ret = OH_NNTensorDesc_Destroy(&tensorDesc); HWTEST_F() local
946 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetName(tensorDesc, name); HWTEST_F() local
959 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetName(tensorDesc, name); HWTEST_F() local
972 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetName(tensorDesc, name); HWTEST_F() local
985 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetName(tensorDesc, &name); HWTEST_F() local
998 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetName(tensorDesc, &name); HWTEST_F() local
1011 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetName(tensorDesc, &name); HWTEST_F() local
1024 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDesc, datatype); HWTEST_F() local
1037 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDesc, datatype); HWTEST_F() local
1050 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetDataType(tensorDesc, datatype); HWTEST_F() local
1063 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetDataType(tensorDesc, &datatype); HWTEST_F() local
1076 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetDataType(tensorDesc, datatype); HWTEST_F() local
1090 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, shape, shapeLength); HWTEST_F() local
1104 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, shape, shapeLength); HWTEST_F() local
1118 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, inputDims, shapeLength); HWTEST_F() local
1132 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetShape(tensorDesc, inputDims, shapeLength); HWTEST_F() local
1146 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetShape(tensorDesc, &shape, shapeLength); HWTEST_F() local
1160 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetShape(tensorDesc, &shape, shapeLength); HWTEST_F() local
1175 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetShape(tensorDesc, &shape, shapeLength); HWTEST_F() local
1189 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetFormat(tensorDesc, format); HWTEST_F() local
1202 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetFormat(tensorDesc, format); HWTEST_F() local
1215 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, format); HWTEST_F() local
1228 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, format); HWTEST_F() local
1241 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, &format); HWTEST_F() local
1254 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetElementCount(tensorDesc, elementCount); HWTEST_F() local
1267 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetElementCount(tensorDesc, elementCount); HWTEST_F() local
1280 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetElementCount(tensorDesc, &elementCount); HWTEST_F() local
1293 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetByteSize(tensorDesc, byteSize); HWTEST_F() local
1306 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetByteSize(tensorDesc, byteSize); HWTEST_F() local
1319 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetByteSize(tensorDesc, &byteSize); HWTEST_F() local
1332 NN_Tensor* ret = OH_NNTensor_Create(deviceid, tensorDesc); HWTEST_F() local
1345 NN_Tensor* ret = OH_NNTensor_Create(deviceid, tensorDesc); HWTEST_F() local
1363 NN_Tensor* ret = OH_NNTensor_Create(deviceid, tensorDesc); HWTEST_F() local
1377 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); HWTEST_F() local
1391 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); HWTEST_F() local
1410 NN_Tensor* ret = OH_NNTensor_CreateWithSize(deviceid, tensorDesc, size); HWTEST_F() local
1426 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1442 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1458 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1474 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1490 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1506 NN_Tensor* ret = OH_NNTensor_CreateWithFd(deviceid, tensorDesc, fd, size, offset); HWTEST_F() local
1518 OH_NN_ReturnCode ret = OH_NNTensor_Destroy(&tensor); HWTEST_F() local
1532 OH_NN_ReturnCode ret = OH_NNTensor_Destroy(&tensor); HWTEST_F() local
1545 NN_TensorDesc* ret = OH_NNTensor_GetTensorDesc(tensor); HWTEST_F() local
1559 NN_TensorDesc* ret = OH_NNTensor_GetTensorDesc(tensor); HWTEST_F() local
1572 void* ret = OH_NNTensor_GetDataBuffer(tensor); HWTEST_F() local
1586 void* ret = OH_NNTensor_GetDataBuffer(tensor); HWTEST_F() local
1600 OH_NN_ReturnCode ret = OH_NNTensor_GetSize(tensor, size); HWTEST_F() local
1615 OH_NN_ReturnCode ret = OH_NNTensor_GetSize(tensor, size); HWTEST_F() local
1631 OH_NN_ReturnCode ret = OH_NNTensor_GetSize(tensor, &size); HWTEST_F() local
1645 OH_NN_ReturnCode ret = OH_NNTensor_GetFd(tensor, fd); HWTEST_F() local
1660 OH_NN_ReturnCode ret = OH_NNTensor_GetFd(tensor, fd); HWTEST_F() local
1676 OH_NN_ReturnCode ret = OH_NNTensor_GetFd(tensor, &fd); HWTEST_F() local
1690 OH_NN_ReturnCode ret = OH_NNTensor_GetOffset(tensor, offset); HWTEST_F() local
1705 OH_NN_ReturnCode ret = OH_NNTensor_GetOffset(tensor, offset); HWTEST_F() local
1721 OH_NN_ReturnCode ret = OH_NNTensor_GetOffset(tensor, &offset); HWTEST_F() local
1737 OH_NN_ReturnCode ret = OH_NNExecutor_GetOutputShape(executor, outputIndex, &shape, shapeLength); HWTEST_F() local
1760 OH_NN_ReturnCode ret = OH_NNExecutor_GetOutputShape(nnExecutor, outputIndex, &shape, shapeLength); HWTEST_F() local
1775 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputCount(executor, inputCount); HWTEST_F() local
1796 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputCount(nnExecutor, inputCount); HWTEST_F() local
1811 OH_NN_ReturnCode ret = OH_NNExecutor_GetOutputCount(executor, outputCount); HWTEST_F() local
1832 OH_NN_ReturnCode ret = OH_NNExecutor_GetOutputCount(nnExecutor, outputCount); HWTEST_F() local
1847 NN_TensorDesc* ret = OH_NNExecutor_CreateInputTensorDesc(executor, index); HWTEST_F() local
1860 NN_TensorDesc* ret = OH_NNExecutor_CreateOutputTensorDesc(executor, index); HWTEST_F() local
1876 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputDimRange(executor, index, &minInputDims, &maxInputDims, shapeLength); HWTEST_F() local
1900 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputDimRange(nnExecutor, index, HWTEST_F() local
1928 OH_NN_ReturnCode ret = OH_NNExecutor_GetInputDimRange(nnExecutor, index, HWTEST_F() local
1944 OH_NN_ReturnCode ret = OH_NNExecutor_SetOnRunDone(executor, rundone); HWTEST_F() local
1965 OH_NN_ReturnCode ret = OH_NNExecutor_SetOnRunDone(nnExecutor, rundone); HWTEST_F() local
1979 OH_NN_ReturnCode ret = OH_NNExecutor_SetOnServiceDied(executor, servicedied); HWTEST_F() local
2000 OH_NN_ReturnCode ret = OH_NNExecutor_SetOnServiceDied(nnExecutor, servicedied); HWTEST_F() local
2017 OH_NN_ReturnCode ret = OH_NNExecutor_RunSync(executor, inputTensor, inputCount, outputTensor, outputcount); HWTEST_F() local
2041 OH_NN_ReturnCode ret = OH_NNExecutor_RunSync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount); HWTEST_F() local
2066 OH_NN_ReturnCode ret = OH_NNExecutor_RunSync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount); HWTEST_F() local
2091 OH_NN_ReturnCode ret = OH_NNExecutor_RunSync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount); HWTEST_F() local
2116 OH_NN_ReturnCode ret = OH_NNExecutor_RunSync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount); HWTEST_F() local
2135 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(executor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2162 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2190 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2218 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2246 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2274 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2302 OH_NN_ReturnCode ret = OH_NNExecutor_RunAsync(nnExecutor, inputTensor, inputCount, outputTensor, outputcount, HWTEST_F() local
2316 OH_NNExecutor* ret = OH_NNExecutor_Construct(nnCompilation); HWTEST_F() local
2337 OH_NNExecutor* ret = OH_NNExecutor_Construct(nnCompilation); HWTEST_F() local
2362 OH_NNExecutor* ret = OH_NNExecutor_Construct(nnCompilation); HWTEST_F() local
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Dskills_test.cpp1033 std::string ret = PatternsMatcherIn_->GetPattern(); in HWTEST_F() local
1075 std::string ret = PatternsMatcherIn_->GetPattern(); in HWTEST_F() local
1099 std::string ret = PatternsMatcherIn_->GetPattern(); in HWTEST_F() local
1175 std::string ret = ""; in HWTEST_F() local
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/
H A Djs_ui_service_extension.cpp280 bool ret = ConnectionManager::GetInstance().DisconnectCaller(GetContext()->GetToken()); in OnStop() local
338 bool ret = CreateWindowIfNeeded(); in OnConnect() local
633 auto ret = abilityManager->SubscribeSystemAbility(WINDOW_MANAGER_SERVICE_ID, saStatusChangeListener_); in ListenWMS() local
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dability_util.h219 int ret = IN_PROCESS_CALL(appControlMgr->ConfirmAppJumpControlRule(callerPkg, targetPkg, userId)); in AddAbilityJumpRuleToBms() local
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/
H A Dstream_player_impl_stub.cpp297 int32_t ret = GetPlayerStatus(playerStatus); in DoGetPlayerStatusTask() local
315 int32_t ret = GetPosition(position); in DoGetPositionTask() local
332 int32_t ret = GetDuration(duration); in DoGetDurationTask() local
350 int32_t ret = GetVolume(volume, maxVolume); DoGetVolumeTask() local
371 int32_t ret = GetMute(mute); DoGetMuteTask() local
388 int32_t ret = GetPlaySpeed(speedMode); DoGetPlaySpeedTask() local
406 int32_t ret = GetLoopMode(mode); DoGetLoopModeTask() local
424 int32_t ret = GetMediaInfoHolder(mediaInfoHolder); DoGetMediaInfoHolderTask() local
721 int ret = streamPlayerImpl->Release(); Release() local
[all...]

Completed in 52 milliseconds

1...<<551552553554555556557558559560>>...687