Home
last modified time | relevance | path

Searched refs:mContext (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_crpc_server_add_test.cpp54 if (mContext != nullptr) { in TearDownTestCase()
55 ReleaseContext(mContext); in TearDownTestCase()
56 mContext = nullptr; in TearDownTestCase()
62 if (mContext != nullptr) { in SetUp()
63 mContext->wBegin = mContext->wEnd = 0; in SetUp()
69 if (mContext != nullptr) { in TearDown()
70 mContext->wBegin = mContext->wEnd = 0; in TearDown()
93 mContext->oneProcess = buff;
109 mContext->oneProcess = buff;
125 mContext->oneProcess = buff;
[all …]
H A Dwifi_hal_crpc_server_test.cpp70 if (mContext != nullptr) { in TearDownTestCase()
71 ReleaseContext(mContext); in TearDownTestCase()
72 mContext = nullptr; in TearDownTestCase()
79 if (mContext != nullptr) { in SetUp()
80 mContext->wBegin = mContext->wEnd = 0; in SetUp()
87 if (mContext != nullptr) { in TearDown()
88 mContext->wBegin = mContext->wEnd = 0; in TearDown()
101 mContext->oneProcess = buff;
102 mContext->nPos = 2;
107 mContext->nPos = 2;
[all …]
H A Dwifi_hal_crpc_server_add_test.h32 static Context *mContext; variable
H A Dwifi_hal_crpc_server_test.h32 static Context *mContext; variable
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioadapter/src/
H A Dpulse_audio_service_adapter_impl.cpp136 if (mContext != nullptr) { in ConnectToPulseAudio()
142 mContext = nullptr; in ConnectToPulseAudio()
171 pa_context_unref(mContext); in ConnectToPulseAudio()
172 mContext = nullptr; in ConnectToPulseAudio()
191 if (mContext == nullptr) { in OpenAudioPort()
220 if (mContext == nullptr) { in CloseAudioPort()
239 if (mContext == nullptr) { in SuspendAudioDevice()
300 if (mContext == nullptr) { in SetDefaultSink()
319 if (mContext == nullptr) { in SetDefaultSource()
491 if (mContext == nullptr) { in MoveSourceOutputByIndexOrName()
[all …]
/ohos5.0/base/inputmethod/imf/services/dialog/entry/src/main/ets/ServiceExtAbility/
H A DServiceExtAbility.ts39 private mContext: common.ServiceExtensionContext | undefined = undefined;
45 this.mContext = this.context;
59 ctx: this.mContext
139 await this.mContext?.terminateSelf();
/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts51 …private mContext: InputMethodExtensionContext | undefined = undefined; // save the context propert…
59 this.mContext = context;
70 this.mContext.destroy();
74 if (this.mContext === undefined) {
87 …inputMethodAbility.createPanel(this.mContext, panelInfo).then(async (inputPanel: inputMethodEngine…
/ohos5.0/docs/zh-cn/application-dev/inputmethod/
H A Dinputmethod-application-guide.md71 …private mContext: InputMethodExtensionContext | undefined = undefined; // 保存InputMethodExtensionAb…
81 this.mContext = context;
92 if(this.mContext) {
93 this.mContext.destroy();
111 if(this.mContext === undefined) {
124 …inputMethodAbility.createPanel(this.mContext, panelInfo).then(async (inputPanel: inputMethodEngine…
/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/newTestIme/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts25 this.mContext = context;
60 this.mContext.destroy();
/ohos5.0/docs/zh-cn/application-dev/calendarmanager/
H A Dcalendarmanager-calendar-developer.md45 export let mContext: common.UIAbilityContext | null = null;
66 mContext = this.context;
69 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
71 calendarMgr = calendarManager.getCalendarManager(mContext);
H A Dcalendarmanager-event-developer.md43 export let mContext: common.UIAbilityContext | null = null;
64 mContext = this.context;
67 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
69 calendarMgr = calendarManager.getCalendarManager(mContext);
/ohos5.0/docs/en/application-dev/inputmethod/
H A Dinputmethod-application-guide.md71 …private mContext: InputMethodExtensionContext | undefined = undefined; // Save the context attribu…
81 this.mContext = context;
92 if(this.mContext) {
93 this.mContext.destroy();
111 if(this.mContext === undefined) {
124 …inputMethodAbility.createPanel(this.mContext, panelInfo).then(async (inputPanel: inputMethodEngine…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Djs-apis-cameraPicker.md49 let mContext = getContext(this) as common.Context;
56 let pickerResult: picker.PickerResult = await picker.pick(mContext,
/ohos5.0/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/
H A DinputDialog.ets99 private mContext?: common.UIExtensionContext;
118 this.mContext = storage.get<common.UIExtensionContext>('context');
119 …let tileTipFormat = this.mContext.resourceManager.getStringSync($r('app.string.text_inject_tip_tit…
/ohos5.0/docs/zh-cn/application-dev/task-management/
H A Dcontinuous-task.md220 let mContext: Context;
241 backgroundTaskManager.startBackgroundRunning(mContext,
251 backgroundTaskManager.stopBackgroundRunning(mContext).then(() => {
305 mContext = this.context;
/ohos5.0/docs/en/application-dev/calendarmanager/
H A Dcalendarmanager-calendar-developer.md45 export let mContext: common.UIAbilityContext | null = null;
66 mContext = this.context;
69 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
71 calendarMgr = calendarManager.getCalendarManager(mContext);
H A Dcalendarmanager-event-developer.md43 export let mContext: common.UIAbilityContext | null = null;
64 mContext = this.context;
67 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
69 calendarMgr = calendarManager.getCalendarManager(mContext);
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-cameraPicker.md49 let mContext = getContext(this) as common.Context;
56 let pickerResult: picker.PickerResult = await picker.pick(mContext,
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioadapter/include/
H A Dpulse_audio_service_adapter_impl.h83 pa_context *mContext = NULL; variable
/ohos5.0/docs/en/application-dev/task-management/
H A Dcontinuous-task.md222 let mContext: Context;
243 backgroundTaskManager.startBackgroundRunning(mContext,
253 backgroundTaskManager.stopBackgroundRunning(mContext).then(() => {
307 mContext = this.context;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-calendar-kit/
H A Djs-apis-calendarManager.md47 // 获取上下文mContext
58 export let mContext: common.UIAbilityContext | null = null;
79 mContext = this.context;
82 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
84 calendarMgr = calendarManager.getCalendarManager(mContext);
/ohos5.0/docs/en/application-dev/reference/apis-calendar-kit/
H A Djs-apis-calendarManager.md47 // Obtain an mContext object.
58 export let mContext: common.UIAbilityContext | null = null;
79 mContext = this.context;
82 …atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult)…
84 calendarMgr = calendarManager.getCalendarManager(mContext);