Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 89) sorted by relevance

1234

/interface/sdk-js/api/
D@ohos.multimedia.systemSoundManager.d.ts145 …setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType, callback: AsyncCallback<vo…
159 setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise<void>;
174 setRingtoneUri(context: BaseContext, uri: string, type: RingtoneType): Promise<void>;
187 … getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback<string>): void;
200 getSystemRingtoneUri(context: Context, type: RingtoneType): Promise<string>;
214 getRingtoneUri(context: BaseContext, type: RingtoneType): Promise<string>;
227 …getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback<RingtonePlay…
240 getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise<RingtonePlayer>;
253 getRingtonePlayer(context: BaseContext, type: RingtoneType): Promise<RingtonePlayer>;
268 setSystemToneUri(context: BaseContext, uri: string, type: SystemToneType): Promise<void>;
[all …]
D@ohos.data.preferences.d.ts220 …function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): voi…
257 …function getPreferences(context: Context, options: Options, callback: AsyncCallback<Preferences>):…
298 function getPreferences(context: Context, name: string): Promise<Preferences>;
333 function getPreferences(context: Context, options: Options): Promise<Preferences>;
370 function getPreferencesSync(context: Context, options: Options): Preferences;
423 function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void;
466 …function deletePreferences(context: Context, options: Options, callback: AsyncCallback<void>): voi…
519 function deletePreferences(context: Context, name: string): Promise<void>;
562 function deletePreferences(context: Context, options: Options): Promise<void>;
609 …function removePreferencesFromCache(context: Context, name: string, callback: AsyncCallback<void>)…
[all …]
D@ohos.contact.d.ts71 function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void;
100 function addContact(context: Context, contact: Contact): Promise<number>;
237 function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void;
264 function deleteContact(context: Context, key: string): Promise<void>;
291 function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void;
322 …function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Conta…
353 …function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCall…
386 …function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, cal…
419 …function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): …
444 function queryContacts(context: Context, callback: AsyncCallback<Array<Contact>>): void;
[all …]
D@ohos.telephony.vcard.d.ts57 …function importVCard(context: Context, filePath: string, accountId: number, callback: AsyncCallbac…
82 function importVCard(context: Context, filePath: string, accountId?: number): Promise<void>;
103 function importVCard(context: Context, filePath: string, callback: AsyncCallback<void>): void;
123 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates,
144 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates,
164 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates,
D@ohos.settings.d.ts1054 function getValue(context: Context, name: string, callback: AsyncCallback<string>): void;
1067 function getValue(context: Context, name: string): Promise<string>;
1081 function getValue(context: Context, name: string, domainName: string): Promise<string>;
1129 …function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>)…
1143 function setValue(context: Context, name: string, value: string): Promise<boolean>;
1158 …function setValue(context: Context, name: string, value: string, domainName: string): Promise<bool…
1237 function getValueSync(context: Context, name: string, defValue: string): string;
1251 …function getValueSync(context: Context, name: string, defValue: string, domainName: string): strin…
1281 function setValueSync(context: Context, name: string, value: string): boolean;
1296 function setValueSync(context: Context, name: string, value: string, domainName: string): boolean;
[all …]
D@ohos.net.mdns.d.ts75 function addLocalService(context: Context, serviceInfo: LocalServiceInfo,
107 …function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInf…
138 function removeLocalService(context: Context, serviceInfo: LocalServiceInfo,
170 …function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalService…
191 function createDiscoveryService(context: Context, serviceType: string): DiscoveryService;
222 function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo,
254 …function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServic…
D@ohos.backgroundTaskManager.d.ts126 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
141 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
153 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
164 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.ai.mindSporeLite.d.ts41 context?: Context): Promise<Model>;
65 context: Context, callback: Callback<Model>): void;
78 context?: Context): Promise<Model>;
102 context: Context, callback: Callback<Model>): void;
115 context?: Context): Promise<Model>;
139 context: Context, callback: Callback<Model>): void;
D@ohos.resourceschedule.backgroundTaskManager.d.ts146 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
170 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
189 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
208 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.arkui.observer.d.ts175 context: UIAbilityContext | UIContext; property in uiObserver.RouterPageInfo
276 …export function on(type: 'routerPageUpdate', context: UIAbilityContext | UIContext, callback: Call…
289 …export function off(type: 'routerPageUpdate', context: UIAbilityContext | UIContext, callback?: Ca…
D@ohos.data.dataShare.d.ts73 …function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHel…
89 context: Context,
123 context: Context,
141 function enableSilentProxy(context: Context, uri?: string): Promise<void>;
156 function disableSilentProxy(context: Context, uri?: string): Promise<void>;
D@ohos.advertising.d.ts278 …function showAd(ad: Advertisement, options: AdDisplayOptions, context?: common.UIAbilityContext): …
292 constructor(context: common.Context);
D@ohos.file.photoAccessHelper.d.ts63 function getPhotoAccessHelper(context: Context): PhotoAccessHelper;
451 context: Context,
474 context: Context,
3329 static createImageAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest;
3344 static createVideoAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest;
3362 …static createAssetRequest(context: Context, displayName: string, options?: PhotoCreateOptions): Me…
3379 …static createAssetRequest(context: Context, photoType: PhotoType, extension: string, options?: Cre…
3395 static deleteAssets(context: Context, assets: Array<PhotoAsset>): Promise<void>;
3412 static deleteAssets(context: Context, uriList: Array<string>): Promise<void>;
3656 static createAlbumRequest(context: Context, name: string): MediaAlbumChangeRequest;
[all …]
D@ohos.application.StaticSubscriberExtensionAbility.d.ts42 context: StaticSubscriberExtensionContext; property in StaticSubscriberExtensionAbility
D@ohos.app.ability.VpnExtensionAbility.d.ts41 context: VpnExtensionContext; property in VpnExtensionAbility
/interface/sdk_c/third_party/mindspore/kits/
Dcontext.h63 OH_AI_API void OH_AI_ContextDestroy(OH_AI_ContextHandle *context);
71 OH_AI_API void OH_AI_ContextSetThreadNum(OH_AI_ContextHandle context, int32_t thread_num);
79 OH_AI_API int32_t OH_AI_ContextGetThreadNum(const OH_AI_ContextHandle context);
87 OH_AI_API void OH_AI_ContextSetThreadAffinityMode(OH_AI_ContextHandle context, int mode);
95 OH_AI_API int OH_AI_ContextGetThreadAffinityMode(const OH_AI_ContextHandle context);
108 OH_AI_API void OH_AI_ContextSetThreadAffinityCoreList(OH_AI_ContextHandle context, const int32_t *c…
118 OH_AI_API const int32_t *OH_AI_ContextGetThreadAffinityCoreList(const OH_AI_ContextHandle context, …
126 OH_AI_API void OH_AI_ContextSetEnableParallel(OH_AI_ContextHandle context, bool is_parallel);
134 OH_AI_API bool OH_AI_ContextGetEnableParallel(const OH_AI_ContextHandle context);
142 OH_AI_API void OH_AI_ContextAddDeviceInfo(OH_AI_ContextHandle context, OH_AI_DeviceInfoHandle devic…
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
Dentry.ts74 abstract process(context: Context, code: string): Promise<ProcessResult>;
88 async process(context: Context, content: string): Promise<ProcessResult> {
89 const inputFilePath = context.getInputFile();
108 const newContext = this.buildProcessorContext(context, context.getInputFile());
109 const logReporter: LogReporter = context.getLogReporter();
119 await context.getLogReporter().writeAllResults(reportFilePath);
120 if (context.getOptions().isTest) {
136 async process(context: Context, content: string): Promise<ProcessResult> {
137 const intpuDir = context.getInputFile();
148 const logReporter: LogReporter = context.getLogReporter();
[all …]
DoutputProcessor.ts26 async process(context: Context, content: string): Promise<ProcessResult> {
30 outputContent = formater.format(context);
33 outputContent = prettier.format(outputContent, context.getOptions().formaterOption);
35 …const numberLiteralCaseRule = new NumberLiteralCaseRule(true, context.getSourceParser(outputConten…
38 FileUtils.writeStringToFile(outputContent, context.getOutputFile());
41 LogUtil.e('OutputProcessor', `error: ${context.getInputFile()}, ${error}`);
60 format(context: Context): string {
61 const sourceParser = context.getSourceParser(this.source);
DmodificationProcessor.ts32 context?: Context;
35 async process(context: Context, content: string): Promise<ProcessResult> {
36 this.context = context;
37 const newParser = context.getSourceParser(content);
38 this.logReporter = context.getLogReporter();
39 this.rawSourceCodeInfo = context.getRawSourceCodeInfo();
40 await apiChecker.initEnv(context.getOptions().workingBranch);
52 …= apiChecker.checkJSDoc(node.astNode, node.astNode?.getSourceFile(), this.context?.getInputFile());
83 … JSDocModificationManager.createErrorInfo(ErrorInfo.JSDOC_FORMAT_ERROR, []), this.context, apiName,
97 this.context);
[all …]
DasynchronousFunctionProcessor.ts28 context?: Context;
30 async process(context: Context, content: string): Promise<ProcessResult> {
31 const sourceParser = context.getSourceParser(content);
32 this.context = context;
50 …ogResult: ModifyLogResult = LogResult.createModifyResult(node, comments, description, this.context,
52 this.context?.getLogReporter().addModifyResult(modifyLogResult);
DapiSplitProcessor.ts28 context?: Context;
30 async process(context: Context, content: string): Promise<ProcessResult> {
31 if (!context.getOptions().splitUnionTypeApi) {
34 this.context = context;
35 const sourceParser = context.getSourceParser(content);
48 return nodeProcessor ? nodeProcessor(node.astNode, this.context) : undefined;
86 static logReportProcess(node: MethodNodeType, context?: Context): void {
90 …difyLogResult: ModifyLogResult = LogResult.createModifyResult(node, comments, description, context,
92 context?.getLogReporter().addModifyResult(modifyLogResult);
180 static processSourceFile(node: ts.Node, context: Context | undefined): ts.Node | undefined {
[all …]
DrawCodeProcessor.ts24 async process(context: Context, content: string): Promise<ProcessResult> {
25 const sourceParser: sourceParser.SourceCodeParser = context.getSourceParser(content);
28 context.setRawSourceInfo(this.rawSourceCodeInfo);
/interface/sdk_c/distributeddatamgr/relational_store/include/
Drelational_store.h567 typedef void (*Rdb_BriefObserver)(void *context, const char *values[], uint32_t count);
578 typedef void (*Rdb_DetailsObserver)(void *context, const Rdb_ChangeInfo **changeInfo, uint32_t coun…
606 void *context; member
830 typedef void (*Rdb_ProgressCallback)(void *context, Rdb_ProgressDetails *progressDetails);
850 void *context; member
/interface/sdk_c/graphic/graphic_2d/native_image/
Dnative_image.h57 typedef void (*OH_OnFrameAvailable)(void *context);
68 void *context; member
/interface/sdk-js/build-tools/dts_parser/test/ut/apiDiff/old/
Dut_extend_syscap.d.ts30 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…

1234