Home
last modified time | relevance | path

Searched refs:Constant (Results 1 – 25 of 37) sorted by relevance

12

/test/xts/tools/sample/AppSampleD/entry/src/main/ets/controller/
DUploadController.ts17 import Constant from '../utils/Constant';
30 url: `${Constant.UPLOAD_URL}/${fileName}`
33 this.networkModel.uploadFile(Constant.ACTION_UPLOAD, fileName, (res) => {
38 …this.networkModel.request(Constant.ACTION_ADD_FILE, http.RequestMethod.POST, extraData, data?.toke…
DLoginController.ets17 import Constant from '../utils/Constant';
34 …let response = await this.networkModel.request(Constant.ACTION_LOGIN, http.RequestMethod.POST, ext…
DChatController.ts17 import Constant from '../utils/Constant';
44 …let response = await this.networkModel.request(Constant.ACTION_SEND_MESSAGE, http.RequestMethod.PO…
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/model/
DNetworkModel.ts19 import Constant from '../utils/Constant';
34 Constant.URL + action,
54 Logger.info(TAG, `upload url = ${Constant.URL + action}`)
58 url: Constant.URL + action,
67 name: 'biz', value: Constant.UPLOAD_URL
90 Logger.info(TAG, `onMessage on connect begin: URL= ${Constant.ACTION_ON_MESSAGE_URL + id}`);
93 this.mWebSocket.connect(Constant.ACTION_ON_MESSAGE_URL + id, (err, value) => {
/test/xts/tools/sample/AppSampleE/entry/src/main/ets/model/
DNetworkModel.ts19 import Constant from '../utils/Constant';
35 Constant.URL + action,
54 Logger.info(TAG, `upload url = ${Constant.URL + action}`);
59 url: Constant.URL + action,
68 name: 'biz', value: Constant.UPLOAD_URL
91 Logger.info(TAG, `onMessage on connect begin: URL= ${Constant.ACTION_ON_MESSAGE_URL + id}`);
94 this.mWebSocket.connect(Constant.ACTION_ON_MESSAGE_URL + id, (err, value) => {
/test/testfwk/xdevice/plugins/ohos/src/ohos/
Dutils.py19 from ohos.constants import Constant
38 if Constant.PRODUCT_PARAM_START in line:
40 elif Constant.PRODUCT_PARAM_END in line:
/test/xts/tools/sample/AppSampleE/entry/src/main/ets/controller/
DBusinessController.ts17 import Constant from '../utils/Constant';
34 …let response = await this.networkModel.request(Constant.ACTION_BUSINESS_LIST, http.RequestMethod.G…
57 …let response = await this.networkModel.request(Constant.ACTION_GET_Comment_LIST, http.RequestMetho…
DCommodityController.ts17 import Constant from '../utils/Constant';
33 …let response = await this.networkModel.request(Constant.ACTION_GET_COMMODITY_LIST, http.RequestMet…
57 …let response = await this.networkModel.request(Constant.ACTION_GET_COMMODITY_DETAIL, http.RequestM…
DGroupBuyController.ts17 import Constant from '../utils/Constant';
34 …let response = await this.networkModel.request(Constant.ACTION_GROUP_BUY, http.RequestMethod.GET, …
DLoginController.ts17 import Constant from '../utils/Constant';
34 …let response = await this.networkModel.request(Constant.ACTION_LOGIN, http.RequestMethod.POST, ext…
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/pages/
DIndex.ets20 import Constant from '../utils/Constant';
97 emitter.emit({ eventId: Constant.EVENT_PAUSED_INDEX });
116 emitter.emit({ eventId: Constant.EVENT_PAUSED_INDEX });
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/component/
DSearchPlayMusicComponent.ets20 import Constant from '../utils/Constant';
34 emitter.on({ eventId: Constant.EVENT_PAUSED_AUDIO }, data => {
77 emitter.emit({ eventId: Constant.EVENT_PAUSED_AUDIO }, {
DVideoComponent.ets19 import Constant from '../utils/Constant';
36 emitter.on({ eventId: Constant.EVENT_PAUSED_INDEX }, data => {
60 this.avPlayerModel.avPlayerFdSrcDemo(Constant.TEST_NAME_DEMO_VIDEO, this.surfaceId)
123 emitter.emit({ eventId: Constant.EVENT_PAUSED_INDEX });
/test/xts/tools/sample/AppSampleE/
DREADME_zh.md57 | |---Constant.ts // 常量定义帮助类
89 4.局域网发生变化,需要修改Constant里的ip地址。
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility3/
DMainAbility3.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_300, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility5/
DMainAbility5.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_500, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility2/
DMainAbility2.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_200, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility7/
DMainAbility7.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_700, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility1/
DMainAbility1.ets20 import { Constant } from '../Common';
30 displayId: abilityWant.parameters[Constant.displayId]
34 commonEvent.publish(Constant.event_100, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility4/
DMainAbility4.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_400, commonEventPublishData, () => {
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility6/
DMainAbility6.ets20 import { Constant } from '../Common';
29 displayId: abilityWant.parameters[Constant.displayId]
33 commonEvent.publish(Constant.event_600, commonEventPublishData, () => {
/test/xts/acts/distributeddatamgr/crossplatform/preferencesetstest/src/main/ets/test/
DPreferencesHelper.test.ets318 * @tc.type : Constant
330 * @tc.type : Constant
342 * @tc.type : Constant
366 * @tc.type : Constant
389 * @tc.type : Constant
412 * @tc.type : Constant
435 * @tc.type : Constant
463 * @tc.type : Constant
491 * @tc.type : Constant
516 * @tc.type : Constant
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/test/
DStartAbilityGetDisplayId.test.ets18 import { Constant } from '../Common';
88 events: [Constant.event_500]
129 events: [Constant.event_600]
168 events: [Constant.event_700]
209 events: [Constant.event_300]
249 events: [Constant.event_200]
288 events: [Constant.event_100]
329 events: [Constant.event_400]
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/utils/
DConstant.ts16 export default class Constant { class
/test/xts/tools/sample/AppSampleE/entry/src/main/ets/utils/
DConstant.ts16 export default class Constant { class

12