Home
last modified time | relevance | path

Searched refs:publishCommonEvent (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts97 publishCommonEvent(event: string, codeNumber: number): void {
189 this.publishCommonEvent('getBackwardSyncResult', TEST_RESULT_CODE.SUCCESS);
191 this.publishCommonEvent('getBackwardSyncResult', TEST_RESULT_CODE.FAILED);
198 this.publishCommonEvent('getForwardSyncResult', TEST_RESULT_CODE.SUCCESS);
200 this.publishCommonEvent('getForwardSyncResult', TEST_RESULT_CODE.FAILED);
212 this.publishCommonEvent('getEditorAttributeSyncResult', TEST_RESULT_CODE.FAILED);
215 this.publishCommonEvent('getEditorAttributeSyncResult', TEST_RESULT_CODE.FAILED);
225 this.publishCommonEvent('getTextIndexAtCursorSyncResult', TEST_RESULT_CODE.FAILED);
234 this.publishCommonEvent('changeFlag', TEST_RESULT_CODE.FAILED);
240 this.publishCommonEvent('changeFlag', TEST_RESULT_CODE.SUCCESS);
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/core/test/unittest/
H A Dcommon_event_test.cpp89 bool publishCommonEvent = commonEvent.PublishCommonEvent(data, publishInfo, subscriber); variable
90 EXPECT_EQ(true, publishCommonEvent);
121 …bool publishCommonEvent = commonEvent.PublishCommonEvent(data, publishInfo, subscriber, SYSTEM_UID… variable
122 EXPECT_EQ(false, publishCommonEvent);
220 …int32_t publishCommonEvent = commonEventStub.PublishCommonEvent(data, publishInfo, nullptr, userId… variable
221 EXPECT_EQ(ERR_OK, publishCommonEvent);
250 …bool publishCommonEvent = commonEventStub.PublishCommonEvent(data, publishInfo, nullptr, SYSTEM_UI… variable
251 EXPECT_EQ(true, publishCommonEvent);
/ohos5.0/base/inputmethod/imf/test/unittest/napi_test/src/
H A DInputMethodWithAttachTest.js86 function publishCommonEvent(codeNumber) { function
106 publishCommonEvent(functionCode);
618 publishCommonEvent(TEST_FUNCTION.INSERT_TEXT_SYNC);
642 publishCommonEvent(TEST_FUNCTION.MOVE_CURSOR_SYNC);
688 publishCommonEvent(TEST_FUNCTION.SELECT_BY_RANGE_SYNC);
712 publishCommonEvent(TEST_FUNCTION.SELECT_BY_MOVEMENT_SYNC);
762 publishCommonEvent(TEST_FUNCTION.DELETE_FORWARD_SYNC);
786 publishCommonEvent(TEST_FUNCTION.DELETE_BACKWARD_SYNC);