/foundation/multimedia/player_framework/frameworks/native/video_editor/data_center/impl/ |
H A D | data_center_impl.cpp | 67 std::vector<const std::shared_ptr<Asset>> result; in GetAssetList() local 68 std::copy(assetList_.begin(), assetList_.end(), std::back_inserter(result)); in GetAssetList() 69 return result; in GetAssetList()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | photo_proxy_napi.cpp | 46 napi_value result = nullptr; in PhotoProxyNapiConstructor() local 48 napi_get_undefined(env, &result); in PhotoProxyNapiConstructor() 64 return result; in PhotoProxyNapiConstructor()
|
/foundation/multimodalinput/input/frameworks/napi/intention_code/src/ |
H A D | js_intention_code.cpp | 68 napi_value result = nullptr; in Export() local 70 sizeof(desc) / sizeof(*desc), desc, &result), DEFINE_CLASS); in Export() 71 CHKRP(napi_set_named_property(env, exports, "IntentionCode", result), SET_NAMED_PROPERTY); in Export()
|
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/ |
H A D | battery_level_listener.cpp | 84 bool result = EventFwk::CommonEventManager::UnSubscribeCommonEvent(this->commonEventSubscriber); in Stop() local 85 if (result) { in Stop() 88 return result; in Stop()
|
H A D | battery_status_listener.cpp | 77 bool result = EventFwk::CommonEventManager::UnSubscribeCommonEvent(this->commonEventSubscriber); in Stop() local 78 if (result) { in Stop() 81 return result; in Stop()
|
H A D | storage_listener.cpp | 76 bool result = EventFwk::CommonEventManager::UnSubscribeCommonEvent(this->commonEventSubscriber); in Stop() local 77 if (result) { in Stop() 80 return result; in Stop()
|
/foundation/resourceschedule/work_scheduler/services/native/src/policy/ |
H A D | app_data_clear_listener.cpp | 85 bool result = CommonEventManager::UnSubscribeCommonEvent(this->commonEventSubscriber); in Stop() local 86 if (result) { in Stop() 89 return result; in Stop()
|
/foundation/communication/netstack/frameworks/js/napi/net_ssl/net_ssl_exec/src/ |
H A D | net_ssl_exec.cpp | 84 napi_value result; in VerifyCallback() local 85 napi_create_int32(context->GetEnv(), static_cast<int32_t>(context->GetErrorCode()), &result); in VerifyCallback() 86 return result; in VerifyCallback()
|
/foundation/communication/nfc/frameworks/js/napi/controller/ |
H A D | nfc_napi_controller.cpp | 55 napi_value result = nullptr;
in CreateEnumNfcState() local 57 sizeof(desc) / sizeof(*desc), desc, &result);
in CreateEnumNfcState() 58 napi_set_named_property(env, exports, "NfcState", result);
in CreateEnumNfcState()
|
H A D | nfc_napi_ctrl_utils.cpp | 28 napi_value result = nullptr; in CreateUndefined() local 29 NAPI_CALL(env, napi_get_undefined(env, &result)); in CreateUndefined() 30 return result; in CreateUndefined()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_code_convert.cpp | 77 std::string result = Convert(strGbk, "gb2312", "utf-8");
in GbkToUtf8() local 78 if (result.length() == 0) {
in GbkToUtf8() 81 return result;
in GbkToUtf8()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/test/unittest/ |
H A D | distributeddata_dfx_mst_test.cpp | 76 std::vector<uint8_t> result; in HWTEST_F() member 88 result.resize(SHA256_DIGEST_LENGTH); in HWTEST_F() 89 SHA256_Final(result.data(), context); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/ |
H A D | load_config_common_strategy.cpp | 47 auto result = Security::AccessToken::AccessTokenKit::GetHapTokenInfo(context->callerTokenId, tokenInfo);
in operator ()() local 48 if (result != Security::AccessToken::RET_SUCCESS) {
in operator ()() 49 ZLOGE("token:0x%{public}x, result:%{public}d", context->callerTokenId, result);
in operator ()()
|
/foundation/distributeddatamgr/pasteboard/services/zidl/src/ |
H A D | pasteboard_entry_getter_stub.cpp | 77 auto result = GetRecordValueByType(recordId, entryValue); in OnGetRecordValueByType() local 78 if (!reply.WriteInt32(result)) { in OnGetRecordValueByType() 79 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "Failed to write result:%{public}d", result); in OnGetRecordValueByType()
|
/foundation/distributedhardware/device_manager/test/commonfuzztest/pinholder_fuzzer/ |
H A D | pinholder_fuzzer.cpp | 36 void OnCreateResult(int32_t result) override {} 37 void OnDestroyResult(int32_t result) override {} 38 void OnPinHolderEvent(DmPinHolderEvent event, int32_t result, const std::string &content) override {}
|
/foundation/distributedhardware/device_manager/services/implementation/src/ability/standard/ |
H A D | dm_ability_manager.cpp | 75 ErrCode result = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want); in StartAbility() local 76 if (result != 0) { in StartAbility() 77 LOGE("Start Ability failed, error value = %{public}d", (int32_t)result); in StartAbility()
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | modify_time_cursor.cpp | 50 errno_t result = strcpy_s(value, length, val->data()); in GetText() local 51 if (result != EOK) { in GetText() 52 LOG_ERROR("strcpy_s failed, result is %{public}d", result); in GetText()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/ |
H A D | dm_native_util.h | 54 napi_value &result); 56 napi_value &result); 68 void DmDeviceBasicToJsObject(napi_env env, const DmDeviceBasicInfo &vecDevInfo, napi_value &result);
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_backup_context_js.cpp | 56 napi_value result = nullptr; in OnGetBackupDir() local 63 napi_create_string_utf8(env, backupDir.c_str(), backupDir.size(), &result); in OnGetBackupDir() 64 return result; in OnGetBackupDir()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/n_async/ |
H A D | n_async_work_promise.cpp | 74 napi_value result = nullptr; in Schedule() local 75 status = napi_create_promise(env_, &ctx_->deferred_, &result); in Schedule() 95 return { env_, result }; in Schedule()
|
/foundation/filemanagement/dfs_service/frameworks/native/distributed_file_inner/src/asset/ |
H A D | asset_recv_callback_stub.cpp | 95 int32_t result; in HandleOnFinished() local 96 if (!data.ReadInt32(result)) { in HandleOnFinished() 97 LOGE("read result failed"); in HandleOnFinished() 100 int32_t res = OnFinished(srcNetworkId, assetObj, result); in HandleOnFinished()
|
/foundation/communication/dhcp/frameworks/native/include/ |
H A D | dhcp_event.h | 37 void OnIpSuccessChanged(int status, const std::string& ifname, OHOS::DHCP::DhcpResult& result) override; 40 void OnDhcpOfferReport(int status, const std::string& ifname, OHOS::DHCP::DhcpResult& result) override; 46 void ResultInfoCopy(DhcpResult &dhcpResult, OHOS::DHCP::DhcpResult& result);
|
/foundation/filemanagement/storage_service/services/storage_manager/disk/src/ |
H A D | disk_manager_service.cpp | 70 std::vector<Disk> result; in GetAllDisks() local 73 result.push_back(disk); in GetAllDisks() 75 return result; in GetAllDisks()
|
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/ |
H A D | picker_napi_utils.cpp | 61 napi_value result = nullptr; in NapiCreateAsyncWork() local 63 napi_create_promise(env, &(asyncContext->deferred), &(result)); in NapiCreateAsyncWork() 70 return result; in NapiCreateAsyncWork()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/session_manager_service/napi/ |
H A D | js_session_manager_service.cpp | 31 napi_value result = nullptr; in NapiGetUndefined() local 32 napi_get_undefined(env, &result); in NapiGetUndefined() 33 return result; in NapiGetUndefined()
|