/ohos5.0/commonlibrary/ets_utils/js_util_module/util/src/ |
H A D | util_js.ts | 1805 private static checkParameters(targetClass: Object, methodName: string, isStatic: boolean): void { 1806 if (typeof (targetClass as Object) === 'undefined') { 1807 let error = new BusinessError(`Parameter error. The type of ${targetClass} must be Object`); 1820 …static addBefore(targetClass: Object, methodName: string, isStatic: boolean, before: Function): vo… 1821 Aspect.checkParameters(targetClass, methodName, isStatic); 1826 let obj = isStatic ? targetClass : Reflect.get(targetClass, 'prototype'); 1848 …static addAfter(targetClass: Object, methodName: string, isStatic: boolean, after: Function): void… 1849 Aspect.checkParameters(targetClass, methodName, isStatic); 1854 let obj = isStatic ? targetClass : Reflect.get(targetClass, 'prototype'); 1877 Aspect.checkParameters(targetClass, methodName, isStatic); [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | shortcut_info.cpp | 78 shortcutIntent.targetClass = Str16ToStr8(parcel.ReadString16()); // target class name in ReadFromParcel() 125 … WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(intents[i].targetClass)); in Marshalling() 142 {JSON_KEY_BUNDLE_TARGET_CLASS, shortcutIntent.targetClass}, in to_json() 191 shortcutIntent.targetClass, in from_json()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-bundle-ShortcutInfo-sys.md | 22 | targetClass | string | 是 | 否 | 快捷方式所需的目标类 |
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/ |
H A D | audio_renderer.cpp | 1416 void AudioRendererPrivate::InitSwitchInfo(IAudioStream::StreamClass targetClass, IAudioStream::Swit… in InitSwitchInfo() argument 1419 if (targetClass == IAudioStream::VOIP_STREAM) { in InitSwitchInfo() 1435 bool AudioRendererPrivate::SwitchToTargetStream(IAudioStream::StreamClass targetClass, uint32_t &ne… in SwitchToTargetStream() argument 1450 InitSwitchInfo(targetClass, info); in SwitchToTargetStream() 1503 IAudioStream::StreamClass targetClass = IAudioStream::PA_STREAM; in SwitchStream() local 1507 targetClass = IAudioStream::PA_STREAM; in SwitchStream() 1511 targetClass = IAudioStream::FAST_STREAM; in SwitchStream() 1515 targetClass = IAudioStream::VOIP_STREAM; in SwitchStream() 1520 targetClass = IAudioStream::PA_STREAM; in SwitchStream() 1528 targetClass = IAudioStream::PA_STREAM; in SwitchStream() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | implementation_macros.h | 239 #define META_FORWARD_EVENT_CLASS(type, name, targetClass) \ argument 242 return targetClass::Event##name(); \ 246 return targetClass::Event##name(); \
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/ |
H A D | audio_capturer.cpp | 1127 bool AudioCapturerPrivate::SwitchToTargetStream(IAudioStream::StreamClass targetClass, uint32_t &ne… in SwitchToTargetStream() argument 1150 if (targetClass == IAudioStream::VOIP_STREAM) { in SwitchToTargetStream() 1153 …std::shared_ptr<IAudioStream> newAudioStream = IAudioStream::GetRecordStream(targetClass, info.par… in SwitchToTargetStream() 1182 IAudioStream::StreamClass targetClass = IAudioStream::PA_STREAM; in SwitchStream() local 1186 targetClass = IAudioStream::PA_STREAM; in SwitchStream() 1190 targetClass = IAudioStream::FAST_STREAM; in SwitchStream() 1194 targetClass = IAudioStream::VOIP_STREAM; in SwitchStream() 1199 if (!SwitchToTargetStream(targetClass, newSessionId)) { in SwitchStream()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | shortcut_info.h | 49 std::string targetClass; member
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-bundle-ShortcutInfo-sys.md | 22 | targetClass | string | Yes | No | Target class required by the shortcut.|
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_parser_test/ |
H A D | bms_bundle_parser_test.cpp | 108 "targetClass": "com.demo.hiworld.himusic.entry.MainAbility"
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | module-structure.md | 495 | intents | 标识快捷方式内定义的目标intent信息集合,每个intent可配置两个子标签,targetClass, targetBundle。 | 对象数组 | 可缺省,缺省… 503 | targetClass | 标识快捷方式目标类名。 | 字符串 | 可缺省,缺省值为空。 | 518 "targetClass": "com.example.world.test.entry.EntryAbility"
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/ |
H A D | audio_renderer_private.h | 189 void InitSwitchInfo(IAudioStream::StreamClass targetClass, IAudioStream::SwitchInfo &info); 190 bool SwitchToTargetStream(IAudioStream::StreamClass targetClass, uint32_t &newSessionId,
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | unpacking-tool.md | 323 | intents | List\<IntentInfo> | 标识快捷方式内定义的目标intent信息集合,每个intent可配置两个子标签,targetClass,targetB… 330 | targetClass | String | 快捷方式目标类型 | NA |
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_napi.cpp | 338 auto targetClass = BIT_CAST(clazz, Local<FunctionRef>); in ARKTS_InstanceOf() local 340 return targetObject->InstanceOf(vm, targetClass); in ARKTS_InstanceOf()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/ |
H A D | audio_capturer_private.h | 131 bool SwitchToTargetStream(IAudioStream::StreamClass targetClass, uint32_t &newSessionId);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-util.md | 571 static addBefore(targetClass: Object, methodName: string, isStatic: boolean, before: Function): void 583 | targetClass | Object | 是 | 指定的类对象。 | 586 | before | Function | 是 | 要插入的函数对象。函数有参数,则第一个参数是this对象(若isStatic为true,则为类对象即targetClass;若is… 663 static addAfter(targetClass: Object, methodName: string, isStatic: boolean, after: Function): void 675 | targetClass | Object | 是 | 指定的类对象。 | 678 | after | Function | 是 | 要插入的函数。函数有参数时,则第一个参数是this对象(若isStatic为true,则为类对象即targetClass;若isS… 746 static replace(targetClass: Object, methodName: string, isStatic: boolean, instead: Function) : void 758 | targetClass | Object | 是 | 指定的类对象。 | 761 | instead | Function | 是 | 要用来替换原方法的函数。函数有参数时,则第一个参数是this对象(若isStatic为true,则为类对象即targetClass…
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_profile.cpp | 301 std::string targetClass; member 1559 intents.targetClass, in from_json() 2492 shortcutIntent.targetClass = intent.targetClass; in ToInnerBundleInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/ |
H A D | launcher_bundle_manager.cpp | 412 element.SetAbilityName(shortcutInfo.intents[0].targetClass); in InnerStartShortcut()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/ |
H A D | bms_launcher_service_system_test.cpp | 286 EXPECT_EQ(want.targetClass, "com.example.third1.MainAbility"); in CheckShortcutInfos()
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | unpacking-tool.md | 323 … Intents to which the shortcut points. The attribute consists of the **targetClass** and **targetB… 330 | targetClass | String | Class name for the target ability of the shortcut.| NA |
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-util.md | 571 static addBefore(targetClass: Object, methodName: string, isStatic: boolean, before: Function): void 583 | targetClass | Object | Yes | Target class object. | 586 … the **this** object, which is the target class object (specified by **targetClass**) if **isStati… 663 static addAfter(targetClass: Object, methodName: string, isStatic: boolean, after: Function): void 675 | targetClass | Object | Yes | Target class object. | 678 … the **this** object, which is the target class object (specified by **targetClass**) if **isStati… 746 static replace(targetClass: Object, methodName: string, isStatic: boolean, instead: Function) : void 758 | targetClass | Object | Yes | Target class object. | 761 … the **this** object, which is the target class object (specified by **targetClass**) if **isStati…
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | module-structure.md | 495 | intents | Wants to which the shortcut points. The attribute consists of the **targetClass** and *… 503 | targetClass | Target class of the shortcut.| String| Yes (initial value: left empty)| 518 "targetClass": "com.example.world.test.entry.EntryAbility"
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/ |
H A D | js_launcher.cpp | 369 …env, napi_create_string_utf8(env, shortcutIntent.targetClass.c_str(), NAPI_AUTO_LENGTH, &nTargetCl… in ConvertShortcutIntent()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/ |
H A D | changelog-bundlemanager.md | 519 | targetClass | targetAbility | string |
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.cpp | 2056 …env, napi_create_string_utf8(env, shortcutIntent.targetClass.c_str(), NAPI_AUTO_LENGTH, &nTargetCl… in ConvertShortcutIntent() 2403 shortcutIntent.targetClass = targetAbility; in ParseShortcutWant()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-bundle.md | 210 …|类名:ShortcutWant;<br>方法or属性:readonly targetClass: string;<br>旧版本信息:|类名:ShortcutWant;<br>方法or属性:rea…
|