Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 95) sorted by relevance

1234

/test/xts/acts/multimedia/drm/drm_ndk_test/src/main/cpp/types/libentry/
Dindex.d.ts25 export const Test_CreateMediaKeySession: (system:string,value:number,session:string) => number;
34 export const Test_MediaKeySession_GenerateMediaKeyRequest: (session:string,info:string,request:stri…
35 export const Test_MediaKeySession_ProcessMediaKeyResponse: (session:string,response: string,respons…
36 export const Test_MediaKeySession_CheckMediaKeyStatus: (session:string,status:string, licenseNum:nu…
37 export const Test_MediaKeySession_ClearMediaKeys: (session:string) => number;
38 export const Test_MediaKeySession_GenerateOfflineReleaseRequest: (session:string,keyIdIn:string,key…
39 export const Test_MediaKeySession_ProcessOfflineReleaseResponse: (session:string,keyIdIn:string,key…
40 export const Test_MediaKeySession_RestoreOfflineMediaKeys: (session:string,keyIdIn:string,keyIdLen:…
41 export const Test_MediaKeySession_GetContentProtectionLevel: (session:string,levelPtr: string,) => …
42 export const Test_MediaKeySession_RequireSecureDecoderModule: (session:string,mineType:string,statu…
[all …]
/test/xts/acts/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/
DAVSessionJSTest.js24 let session = null;
46session = await avSession.createAVSession(featureAbility.getContext(), "AVSessionDemo", 'audio').c…
50 session.activate();
51 controller = await session.getController();
56 await session.destroy();
105 session.dispatchSessionEvent(UPDATE_LYRICS_EVENT, UPDATE_LYRICS_WANT_PARAMS, (err) => {
126 …await session.dispatchSessionEvent(UPDATE_LYRICS_EVENT, UPDATE_LYRICS_WANT_PARAMS).catch((err) => {
144 session.setExtras(CUSTOM_EXTRAS, (err) => {
165 await session.setExtras(CUSTOM_EXTRAS).catch((err) => {
183 session.on('commonCommand', commonCommandCallback1);
[all …]
DAVSession.test.js27 let session;
49 session = data;
50 session.sessionType = 'audio';
56 await session.activate().then(() => {
63 controller = await session.getController();
67 await session.destroy().then(() => {
117 if (session.sessionId.length === 64 && controller.sessionId.length === 64) {
139 await session.setAVMetadata(metadata0).then(() => {
175 await session.setAVMetadata(metadata1).then(() => {
209 await session.setAVMetadata(metadata2).then(() => {
[all …]
DAVSessionErrorCode.test.js25 let session;
90 await session.destroy().then(async () => {
93 session = null;
105 session.off(eventName, callback1, callback2);
115 session.off(eventName)
125 session.on(eventName);
135 session.on(eventName, callback1);
149 if (!session) {
151 session = data;
160 await session.activate().then(() => {
[all …]
DAVSessionManagerCallback.test.js57 let session;
63 session = value;
64 console.info(`TestLog: AVSession :${session.sessionId}created successfully`);
72 await session.destroy().then(() => {
74 console.info(`TestLog: AVSession :${session.sessionId}destroyed successfully`);
133 let session;
139 session = value;
140 console.info(`TestLog: AVSession :${session.sessionId}created successfully`);
148 await session.destroy().then(() => {
150 console.info(`TestLog: AVSession :${session.sessionId}destroyed successfully`);
DAVSessionControllerJSTest.js26 let session = null;
109 session.destroy();
123 session = data;
128 session.activate();
132 await session.getController().then(data => {
270 await session.destroy();
272 session.on(eventName, callback1)
291 …await session.dispatchSessionEvent(UPDATE_LYRICS_EVENT, UPDATE_LYRICS_WANT_PARAMS).catch((err) => {
323 …await session.dispatchSessionEvent(UPDATE_LYRICS_EVENT, UPDATE_LYRICS_WANT_PARAMS).catch((err) => {
361 …await session.dispatchSessionEvent(UPDATE_LYRICS_EVENT, UPDATE_LYRICS_WANT_PARAMS).catch((err) => {
[all …]
DAVSessionCallback.test.js27 let session;
37 session = data;
38 session.sessionType = 'audio';
44 await session.activate().then(() => {
51 controller = await session.getController();
55 await session.destroy().then(() => {
109 session.setAVMetadata(metadata0, (err) => {
145 session.setAVMetadata(metadata1, (err) => {
181 session.setAVMetadata(metadata2, (err) => {
217 session.setAVMetadata(metadata3, (err) => {
[all …]
/test/xts/acts/ability/ability_runtime/actsactionextensionability/actsactionextensionabilityself/entry/src/main/ets/actionextensionability/
DActsActionExtensionAbility.ts47 globalThis.session.terminateSelf();
60 globalThis.session.terminateSelf();
64 onSessionCreate(want, session) {
70 'session': session,
73 session.loadContent('pages/PageThree', this.storage);
74 globalThis.session = session;
88 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/actsactionextensionability/actsactionextensionabilityotherrely/entry/src/main/ets/actionextensionability/
DActsActionExtensionAbility.ts47 globalThis.session.terminateSelf();
60 globalThis.session.terminateSelf();
64 onSessionCreate(want, session) {
70 'session': session,
73 session.loadContent('pages/PageThree', this.storage);
74 globalThis.session = session;
88 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/shareextensionability/actsshareextensionabilityotherrely/entry/src/main/ets/shareextensionability/
DActsShareExtensionAbility.ts48 globalThis.session.terminateSelf();
62 globalThis.session.terminateSelf();
66 onSessionCreate(want, session) {
72 'session': session,
75 session.loadContent('pages/PageThree', this.storage);
76 globalThis.session = session;
91 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/shareextensionability/actsshareextensionabilityself/entry/src/main/ets/shareextensionability/
DActsShareExtensionAbility.ts48 globalThis.session.terminateSelf();
62 globalThis.session.terminateSelf();
66 onSessionCreate(want, session) {
72 'session': session,
75 session.loadContent('pages/PageThree', this.storage);
76 globalThis.session = session;
91 onSessionDestroy(session) {
/test/xts/device_attest_lite/test/tdd/gtest/
Dattest_tdd_mock_net.c64 int32_t TLSConnect(TLSSession* session) in TLSConnect() argument
67 if (session == NULL) { in TLSConnect()
73 int32_t TLSWrite(const TLSSession* session, const uint8_t* buf, size_t len) in TLSWrite() argument
75 (void)session; in TLSWrite()
81 int32_t TLSRead(const TLSSession* session, uint8_t* buf, size_t len) in TLSRead() argument
83 (void)session; in TLSRead()
97 int32_t TLSClose(TLSSession* session) in TLSClose() argument
99 (void)session; in TLSClose()
/test/xts/device_attest_lite/services/core/network/
Dattest_channel.c159 static int32_t TLSSetupConfig(TLSSession* session) in TLSSetupConfig() argument
161 if (session == NULL) { in TLSSetupConfig()
165 TLSConfig* tlsConfig = &(session->tlsConfig); in TLSSetupConfig()
190 ret = mbedtls_ssl_set_hostname(&(tlsConfig->sslCtx), session->serverInfo.hostName); in TLSSetupConfig()
201 int32_t TLSConnect(TLSSession* session) in TLSConnect() argument
204 if (session == NULL) { in TLSConnect()
207 TLSConfig* tlsConfig = &(session->tlsConfig); in TLSConnect()
215 … &(tlsConfig->entropyCtx), (const uint8_t *)session->entropySeed, strlen(session->entropySeed)); in TLSConnect()
226 session->serverInfo.hostName, session->serverInfo.port, MBEDTLS_NET_PROTO_TCP); in TLSConnect()
236 ret = TLSSetupConfig(session); in TLSConnect()
[all …]
/test/testfwk/xdevice/docs/
DCommand_Run.md46 重新运行上一次的任务或者指定session的失败用例,重新生成测试报告。
48 如下所示,实例输入了一个session id,那么框架将在报告路径下找到这个包含这个session id的目录,从smmary_report.html中解析出失败用例,重新运行。
52 …| run --retry [--session session路径] | 如不指定session则重新运行上次失败的用例。否则,执行session中的失败用例 | run --retry <br…
155 - --session
157 指定运行session id下的内容。约束选项,需配合--retry使用。
159 如下所示,示例中指定了session id。框架在执行retry操作时,会在报告路径下寻找对应的文件进行解析,获取到失败的测试用例列表,然后重新执行。
163 | --session sessionID | 重新执行指定sessionid中的失败用例 | run --retry --session 2022-12-11-12-11-22 |
/test/xts/acts/ability/ability_runtime/actsactionextensionability/actsactionextensionabilityotherrely/entry/src/main/ets/UIExtensionAbility/
DUIExtAbility.ts22 onSessionCreate(want, session) {
25 'session': session
27 session.loadContent('pages/Page', storage);
31 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider3/entry/src/main/ets/UIExtensionAbility/
DUIExtAbility.ts39 onSessionCreate(want, session) {
42 'session': session
44 session.loadContent('pages/index', storage);
47 onSessionDestroy(session) {
DUIExtAbility2.ts39 onSessionCreate(want, session) {
42 'session': session
44 session.loadContent('pages/index', storage);
47 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider/entry/src/main/ets/UIExtensionAbility/
DUIExtAbility2.ts39 onSessionCreate(want, session) {
42 'session': session
44 session.loadContent('pages/index', storage);
47 onSessionDestroy(session) {
DUIExtAbility.ts40 onSessionCreate(want, session) {
43 'session': session
45 session.loadContent('pages/index', storage);
48 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider2/entry/src/main/ets/UIExtensionAbility/
DUIExtAbility2.ts39 onSessionCreate(want, session) {
42 'session': session
44 session.loadContent('pages/index', storage);
47 onSessionDestroy(session) {
DUIExtAbility.ts39 onSessionCreate(want, session) {
42 'session': session
44 session.loadContent('pages/index', storage);
47 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/shareextensionability/actsshareextensionabilityself/feature/src/main/ets/shareextensionability/
DFeatureShareExtensionAbility.ts33 onSessionCreate(want, session) {
47 'session': session,
50 session.loadContent('pages/Index2', this.storage);
57 onSessionDestroy(session) {
/test/xts/acts/ability/ability_runtime/actsactionextensionability/actsactionextensionabilityself/feature/src/main/ets/actionextensionability/
DFeatureActionExtensionAbility.ts32 onSessionCreate(want, session) {
45 'session': session,
48 session.loadContent('pages/Index2', this.storage);
55 onSessionDestroy(session) {
/test/xts/device_attest_lite/services/core/include/network/
Dattest_channel.h60 int32_t TLSConnect(TLSSession* session);
62 int32_t TLSWrite(const TLSSession* session, const uint8_t* buf, size_t len);
64 int32_t TLSRead(const TLSSession* session, uint8_t* buf, size_t len);
66 int32_t TLSClose(TLSSession* session);
/test/xts/acts/advertising/ads/abilitydemo/entry/src/main/ets/ability/
DAdsUIExtensionAbility.ts31 onSessionCreate(want: Want, session: UIExtensionContentSession) {
34 storage.setOrCreate('session', session);
41 session.loadContent("pages/AutoRefreshPage", storage);
43 session.loadContent("pages/UIExtensionAbilityPage", storage);

1234