/test/xts/tools/sample/AppSampleD/entry/src/main/ets/controller/ |
D | UploadController.ts | 17 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…
|
D | LoginController.ets | 17 import Constant from '../utils/Constant'; 34 …let response = await this.networkModel.request(Constant.ACTION_LOGIN, http.RequestMethod.POST, ext…
|
D | ChatController.ts | 17 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/ |
D | NetworkModel.ts | 19 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/ |
D | NetworkModel.ts | 19 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/ |
D | utils.py | 19 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/ |
D | BusinessController.ts | 17 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…
|
D | CommodityController.ts | 17 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…
|
D | GroupBuyController.ts | 17 import Constant from '../utils/Constant'; 34 …let response = await this.networkModel.request(Constant.ACTION_GROUP_BUY, http.RequestMethod.GET, …
|
D | LoginController.ts | 17 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/ |
D | Index.ets | 20 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/ |
D | SearchPlayMusicComponent.ets | 20 import Constant from '../utils/Constant'; 34 emitter.on({ eventId: Constant.EVENT_PAUSED_AUDIO }, data => { 77 emitter.emit({ eventId: Constant.EVENT_PAUSED_AUDIO }, {
|
D | VideoComponent.ets | 19 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/ |
D | README_zh.md | 57 | |---Constant.ts // 常量定义帮助类 89 4.局域网发生变化,需要修改Constant里的ip地址。
|
/test/xts/acts/ability/ability_runtime/actsstartabilitygetdisplayidtest/entry/src/main/ets/mainAbility3/ |
D | MainAbility3.ets | 20 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/ |
D | MainAbility5.ets | 20 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/ |
D | MainAbility2.ets | 20 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/ |
D | MainAbility7.ets | 20 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/ |
D | MainAbility1.ets | 20 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/ |
D | MainAbility4.ets | 20 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/ |
D | MainAbility6.ets | 20 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/ |
D | PreferencesHelper.test.ets | 318 * @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/ |
D | StartAbilityGetDisplayId.test.ets | 18 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/ |
D | Constant.ts | 16 export default class Constant { class
|
/test/xts/tools/sample/AppSampleE/entry/src/main/ets/utils/ |
D | Constant.ts | 16 export default class Constant { class
|