/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_global.cpp | 114 auto result = new Global<JSValueRef>(vm, handle); in ARKTS_CreateGlobal() local 116 return P_CAST(result, ARKTS_Global); in ARKTS_CreateGlobal() 128 auto result = *P_CAST(global, Local<JSValueRef>*); in ARKTS_GetGlobalValue() local 130 return ARKTS_FromHandle(result); in ARKTS_GetGlobalValue()
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_ble_central_manager_callback_proxy.cpp | 29 void BluetoothBleCentralManagerCallBackProxy::OnScanCallback(const BluetoothBleScanResult &result, in OnScanCallback() argument 38 if (!data.WriteParcelable(&result)) { in OnScanCallback() 39 HILOGE("[OnStartResultEvent] fail: write result failed"); in OnScanCallback() 69 for (auto &result : results) { in OnBleBatchScanResultsEvent() 70 if (!data.WriteParcelable(&result)) { in OnBleBatchScanResultsEvent()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_opp.h | 317 * @return Return operate result to confirm whether the file is successfully sent. 320 std::vector<std::string> mimeTypes, bool& result); 325 * @return Return operate result to confirm whether the setting is successful. 332 * @return Return operate result to getCurrentTransferInformation. 339 * @return Return operate result to confirm whether the cancellation is set successfully. 341 int32_t CancelTransfer(bool& result); 347 * @param result the list of devices 348 * @return Returns operate result. 350 int32_t GetDevicesByStates(const std::vector<int32_t> &states, std::vector<BluetoothRemoteDevice> &result) const; 356 * @param result th [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_manager_rdb.cpp | 93 bool result = rdbDataManager_->QueryAllData(values); in GetAllDataFromDb() local 94 if (!result) { in GetAllDataFromDb() 119 bool result = rdbDataManager_->QueryData(bundleName, value); in GetDataFromDb() local 120 if (!result) { in GetDataFromDb()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
H A D | bundle_sandbox_manager_rdb.cpp | 92 bool result = rdbDataManager_->QueryAllData(values); in GetAllDataFromDb() local 93 if (!result) { in GetAllDataFromDb() 122 bool result = rdbDataManager_->QueryData(bundleName, value); in GetDataFromDb() local 123 if (!result) { in GetDataFromDb()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_hap_verify_test/ |
H A D | bms_bundle_hap_verify_test.cpp | 167 Security::Verify::HapVerifyResult result; in HWTEST_F() local 168 auto res = BundleVerifyMgr::ParseHapProfile(INSTALL_PATH, result); in HWTEST_F() 180 Security::Verify::HapVerifyResult result; in HWTEST_F() local 181 auto res = BundleVerifyMgr::HapVerify(INSTALL_PATH, result); in HWTEST_F()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/common/ |
H A D | napi_audio_error.cpp | 24 napi_value result = nullptr; in ThrowError() local 26 napi_create_error(env, nullptr, message, &result); in ThrowError() 28 napi_set_named_property(env, result, "code", code); in ThrowError() 29 napi_throw(env, result); in ThrowError()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_light_up_effect_filter.cpp | 63 std::shared_ptr<RSLightUpEffectFilter> result = std::make_shared<RSLightUpEffectFilter>(lightUpDegree_); in Compose() local 64 result->imageFilter_ = Drawing::ImageFilter::CreateComposeImageFilter(imageFilter_, other->GetImageFilter()); in Compose() 66 result->hash_ = SkOpts::hash(&otherHash, sizeof(otherHash), hash_); in Compose() 67 return result; in Compose()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_glFramebufferTexture3DOES/entry/src/main/cpp/ |
H A D | test_glFramebufferTexture3DOES.cpp | 43 napi_value result = nullptr;
in GetError() local 45 napi_create_int32(env, SUCCESS, &result);
in GetError() 47 napi_create_int32(env, FAILED, &result);
in GetError() 49 return result;
in GetError()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/ |
H A D | dispatcher_task_queue.cpp | 129 vector<uint64_t> result; in CollectFinishedTasks() local 130 result.reserve(finishedTasks_.size()); in CollectFinishedTasks() 132 result.emplace_back(entry.identifier); in CollectFinishedTasks() 137 return result; in CollectFinishedTasks()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_format_convert_mdk_kits.cpp | 105 if (args == nullptr || args->destPixelMap == nullptr || args->result == nullptr) { in ImageConvertCToJsPixelMap() 110 napi_get_undefined(args->env, args->result); in ImageConvertCToJsPixelMap() 111 *(args->result) = PixelMapNapi::CreatePixelMap(args->env, args->destPixelMap); in ImageConvertCToJsPixelMap() 113 napi_typeof(args->env, *(args->result), &valueType); in ImageConvertCToJsPixelMap()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_receiver_manager_test.cpp | 86 bool result = (surface == nullptr); in HWTEST_F() local 87 ASSERT_EQ(result, true); in HWTEST_F() 104 bool result = (surface != nullptr); in HWTEST_F() local 105 ASSERT_EQ(result, true); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | camera_privacy.cpp | 26 void PermissionStatusChangeCb::PermStateChangeCallback(Security::AccessToken::PermStateChangeInfo& result) in PermStateChangeCallback() argument 29 " permissionName:%{public}s", result.permStateChangeType, result.permissionName.c_str()); in PermStateChangeCallback() 31 if ((result.permStateChangeType == 0) && (device != nullptr)) { in PermStateChangeCallback()
|
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | napi_err_convertor.cpp | 77 napi_value result = nullptr; in ThrowError() local 79 napi_create_error(env, nullptr, message, &result); in ThrowError() 81 napi_set_named_property(env, result, "code", code); in ThrowError() 82 napi_throw(env, result); in ThrowError()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/operation/ |
H A D | photo_burst_operation.cpp | 86 std::vector<std::string> result;
in ToString() local 90 result.emplace_back(str + ", ");
in ToString() 92 return std::accumulate(result.begin(), result.end(), std::string());
in ToString()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | delete_callback.cpp | 46 void DeleteCallback::OnResult(int32_t resultCode, const OHOS::AAFwk::Want &result) in OnResult() argument 106 napi_value result = 0; in SendMessageBack() local 107 CHECK_ARGS_RET_VOID(this->env_, napi_create_int32(this->env_, this->resultCode_, &result), in SendMessageBack() 109 CHECK_ARGS_RET_VOID(this->env_, napi_set_named_property(this->env_, results[PARAM0], RESULT.c_str(), result), in SendMessageBack()
|
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | recorder_capability_napi.h | 33 napi_status GetJsResult(napi_env env, napi_value &result) override; 46 napi_status GetJsResult(napi_env env, napi_value &result) override; 59 napi_status GetJsResult(napi_env env, napi_value &result) override; 74 static bool ExtractAudioRecorderProfile(napi_env env, napi_value profile, AudioRecorderProfile &result);
|
/foundation/multimedia/player_framework/frameworks/native/video_editor/ |
H A D | video_editor_impl.cpp | 101 auto resultListener = [this] (VEFResult result) { in StartComposite() 102 this->OnCompositeResult(result); in StartComposite() 134 void VideoEditorImpl::OnCompositeResult(VEFResult result) in OnCompositeResult() argument 136 MEDIA_LOGI("[%{public}s] composite result: %{public}d.", logTag_.c_str(), result); in OnCompositeResult()
|
/foundation/multimodalinput/input/frameworks/napi/input_device/include/ |
H A D | js_util.h | 80 static bool ParseDouble(napi_env env, napi_value value, double& result); 82 static bool ParseInt32(napi_env env, napi_value value, int32_t& result); 83 static bool ParseString(napi_env env, napi_value value, char* result); 84 static bool ParseBool(napi_env env, napi_value value, bool& result);
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | permission_utils.cpp | 75 auto result = bundleManager_->GetBundleNameForUid(uid, bundleName); in GetClientBundle() local 76 if (!result) { in GetClientBundle() 88 int result = AccessTokenKit::VerifyAccessToken(tokenCaller, permission); in CheckCallerPermission() local 89 if (result != PermissionState::PERMISSION_GRANTED) { in CheckCallerPermission()
|
/foundation/multimodalinput/input/intention/stationary/data/src/ |
H A D | stationary_params.cpp | 44 bool result = parcel.ReadInt32(type) && in Unmarshalling() local 47 if (!result) { in Unmarshalling() 101 bool result = parcel.ReadInt32(type) && in Unmarshalling() local 106 if (!result) { in Unmarshalling()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | i_anco_consumer.cpp | 110 bool result = ( in UnmarshalWindowInfo() local 121 return result; in UnmarshalWindowInfo() 137 bool result = ( in Unmarshalling() local 143 return result; in Unmarshalling()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/src/ |
H A D | js_systemload_napi_init.cpp | 82 napi_value result = nullptr; in InitSystemloadLevelType() local 85 nullptr, sizeof(desc) / sizeof(*desc), desc, &result); in InitSystemloadLevelType() 86 napi_create_reference(env, result, refCount, &g_systemloadLevelTypeConstructor); in InitSystemloadLevelType() 87 napi_set_named_property(env, exports, "SystemLoadLevel", result); in InitSystemloadLevelType()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | screen_group_test.cpp | 113 auto result = screenGroup->GetChildIds(); in HWTEST_F() local 114 ASSERT_TRUE(result.empty()); in HWTEST_F() 117 result = screenGroup->GetChildIds(); in HWTEST_F() 118 ASSERT_EQ(result.size(), 1); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/ |
H A D | p2p_available_state.cpp | 55 P2pOperationResult result {}; in CreateGroup() 60 result.errorCode_ = SOFTBUS_OK; in CreateGroup() 61 operation->promise_.set_value(result); in CreateGroup() 64 result.errorCode_ = SOFTBUS_CONN_CREATE_GROUP_FAILED; in CreateGroup()
|