/test/xts/acts/multimedia/avsession/avsession_ndk_standard/avsession_ndk_stage/entry/src/main/cpp/ |
H A D | AvsessionTest.cpp | 313 static OH_AVSessionCallback_OnCommand cmd_callback = [](OH_AVSession* session, 320 static OH_AVSessionCallback_OnFastForward forward_callback = [](OH_AVSession* session, 327 static OH_AVSessionCallback_OnRewind rewind_callback = [](OH_AVSession* session, 334 static OH_AVSessionCallback_OnSeek seek_callback = [](OH_AVSession* session, uint64_t seekTime, 341 static OH_AVSessionCallback_OnSetLoopMode loop_callback = [](OH_AVSession* session, AVSession_LoopMode curLoopMode, 348 static OH_AVSessionCallback_OnToggleFavorite favorite_callback = [](OH_AVSession* session, const char* assetId, 355 static AVSessionError RegisterCommandCallback(OH_AVSession* session) in RegisterCommandCallback() argument 359 AVSession_ErrCode ret = OH_AVSession_RegisterCommandCallback(session, command, cmd_callback, in RegisterCommandCallback() 369 static AVSessionError UnregisterCommandCallback(OH_AVSession* session) in UnregisterCommandCallback() argument 372 AVSession_ErrCode ret = OH_AVSession_UnregisterCommandCallback(session, comman in UnregisterCommandCallback() 381 RegisterForwardCallback(OH_AVSession* session) RegisterForwardCallback() argument 392 UnregisterForwardCallback(OH_AVSession* session) UnregisterForwardCallback() argument 402 RegisterRewindCallback(OH_AVSession* session) RegisterRewindCallback() argument 414 UnregisterRewindCallback(OH_AVSession* session) UnregisterRewindCallback() argument 424 RegisterSeekCallback(OH_AVSession* session) RegisterSeekCallback() argument 437 UnregisterSeekCallback(OH_AVSession* session) UnregisterSeekCallback() argument 449 RegisterSetLoopModeCallback(OH_AVSession* session) RegisterSetLoopModeCallback() argument 462 UnregisterSetLoopModeCallback(OH_AVSession* session) UnregisterSetLoopModeCallback() argument 473 RegisterToggleFavoriteCallback(OH_AVSession* session) RegisterToggleFavoriteCallback() argument 486 UnregisterToggleFavoriteCallback(OH_AVSession* session) UnregisterToggleFavoriteCallback() argument 498 RegisterAllCallback(OH_AVSession* session) RegisterAllCallback() argument 523 UnregisterAllCallback(OH_AVSession* session) UnregisterAllCallback() argument 579 OH_AVSession* session = nullptr; TestAVSessionTestAll() local 640 OH_AVSession* session; TestAVSessionCreate() local 664 OH_AVSession* session; TestAVSessionSetPlaybackState() local 685 OH_AVSession* session; TestAVSessionSetFavorite() local 705 OH_AVSession* session; TestAVSessionSetLoopMode() local 727 OH_AVSession* session; TestAVSessionSetPlaybackPosition() local 760 OH_AVSession* session; TestAVSessionSetAVMetaData() local [all...] |
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_channel.c | 159 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 in TLSConnect() 253 TLSWrite(const TLSSession* session, const uint8_t* buf, size_t len) TLSWrite() argument 274 TLSRead(const TLSSession* session, uint8_t* buf, size_t len) TLSRead() argument 294 TLSClose(TLSSession* session) TLSClose() argument [all...] |
H A D | attest_network.c | 173 TLSSession* session = (TLSSession*)ATTEST_MEM_MALLOC(sizeof(TLSSession)); in CustomConfig() local 174 if (session == NULL) { in CustomConfig() 175 ATTEST_LOG_ERROR("[CustomConfig] session malloc failed"); in CustomConfig() 179 if (memcpy_s(session->entropySeed, MAX_SEED_LEN, seed, strlen(seed)) != 0 || in CustomConfig() 180 memcpy_s(session->serverInfo.hostName, MAX_HOST_NAME_LEN, networkInfo->hostName, in CustomConfig() 182 memcpy_s(session->serverInfo.port, MAX_PORT_LEN, networkInfo->port, in CustomConfig() 185 ATTEST_MEM_FREE(session); in CustomConfig() 189 return session; in CustomConfig() 192 static int32_t CloseNetwork(TLSSession* session) in CloseNetwork() argument 194 if (session in CloseNetwork() 205 ConnectNetWork(TLSSession **session, void* reserved) ConnectNetWork() argument 735 TransOptions(const TLSSession* session, const DevicePacket *devPacket, ATTEST_ACTION_TYPE actionType, List* optionList) TransOptions() argument 770 SendTLSMsg(const TLSSession* session, char *coapMessage, size_t coapMessageLen) SendTLSMsg() argument 791 SendCoapMsg(const TLSSession* session, const DevicePacket* devPacket, const ATTEST_ACTION_TYPE actionType, CoapBuffer* payload) SendCoapMsg() argument 851 DecodeExtendedLength(const TLSSession* session, size_t messageLen, size_t extendedLen, size_t *extendedLength) DecodeExtendedLength() argument 883 DecodeLenTkl(const TLSSession* session, CoapPacket* coapPkt) DecodeLenTkl() argument 911 RecvCoapMsg(const TLSSession* session, char **respData, size_t *respDataLen) RecvCoapMsg() argument [all...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | center.py | 41 session = None 46 session = CompatibleSession() 47 session.upload_address = param.upload_address 48 session.task_type = param.task_type 49 session.task_name = param.task_name 50 session.mode = param.mode 51 session.proxy = param.proxy 52 session.device_labels = param.device_labels 54 return session 61 def session() member in Context [all...] |
H A D | proxy.py | 65 def session(): member in Binder 67 return Context.session()
|
H A D | upload.py | 46 if Context.session().upload_address: 52 return Context.session()
|
H A D | impl.py | 200 if Context.session().mode != ModeType.decc:
|
/test/xts/device_attest_lite/test/tdd/gtest/src/ |
H A D | attest_tdd_mock_net.c | 66 int32_t TLSConnect(TLSSession* session) in TLSConnect() argument 69 if (session == NULL) { in TLSConnect() 75 int32_t TLSWrite(const TLSSession* session, const uint8_t* buf, size_t len) in TLSWrite() argument 77 (void)session; in TLSWrite() 83 int32_t TLSRead(const TLSSession* session, uint8_t* buf, size_t len) in TLSRead() argument 85 (void)session; in TLSRead() 100 int32_t TLSClose(TLSSession* session) in TLSClose() argument 102 (void)session; in TLSClose()
|
/test/xts/device_attest_lite/services/core/include/network/ |
H A D | attest_channel.h | 60 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/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 291 parser.add_argument("--session", 295 dest=ConfigConst.session, 296 help="retry task by session id") 512 Context.session().mode != ModeType.decc: 685 if Context.session().mode == ModeType.decc: 733 def _find_history_path(cls, session): 734 if os.path.isdir(session): 735 return session 738 Variables.exec_dir, Variables.report_vars.report_dir, session) 740 raise ParamError(ErrorMessage.Common.Code_0101008.format(session)) [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | suite_reporter.py | 67 if not check_pub_key_exist() and Context.session().mode != ModeType.decc: 98 if Context.session().mode == ModeType.decc: 108 if Context.session().mode != ModeType.decc: 313 if Context.session().mode != ModeType.decc: 327 if Context.session().mode == ModeType.decc:
|
H A D | result_reporter.py | 681 return Context.session().mode == mode 711 if Context.session().mode == ModeType.decc: 739 if Context.session().mode == ModeType.decc:
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | source.py | 363 if Context.session().device_labels: 365 Context.session().device_labels, 401 if Context.session().mode != ModeType.decc: 427 if Context.session().mode == ModeType.decc and error_message:
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | constants.py | 287 session = "session" variable in ConfigConst
|
H A D | utils.py | 661 return Context.session().mode == mode
|
/test/testfwk/xdevice/plugins/devicetest/driver/ |
H A D | windows.py | 180 if Binder.session().mode != ModeType.decc:
|
H A D | device_test.py | 257 if Binder.session().mode != ModeType.decc:
|
/test/xts/acts/communication_lite/dsoftbus_hal/src/ |
H A D | session_test.c | 20 #include "session.h" 120 LITE_TEST_SUIT(dsoftbus, session, SessionTestSuite);
|
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | camera_manager.cpp | 1275 void CaptureSessionOnFocusStateChange(Camera_CaptureSession* session, Camera_FocusState focusState) in CaptureSessionOnFocusStateChange() argument 1281 void CaptureSessionOnError(Camera_CaptureSession* session, Camera_ErrorCode errorCode) in CaptureSessionOnError() argument
|
/test/testfwk/developer_test/src/core/command/ |
H A D | console.py | 484 session = "session"
variable in ConfigConst
|
/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/ |
H A D | camera_manager.cpp | 454 void CaptureSessionOnFocusStateChange(Camera_CaptureSession *session, Camera_FocusState focusState) in CaptureSessionOnFocusStateChange() argument 460 void CaptureSessionOnError(Camera_CaptureSession *session, Camera_ErrorCode errorCode) in CaptureSessionOnError() argument
|
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/ |
H A D | camera_manager.cpp | 1430 void CaptureSessionOnFocusStateChange(Camera_CaptureSession* session, Camera_FocusState focusState) in CaptureSessionOnFocusStateChange() argument 1436 void CaptureSessionOnError(Camera_CaptureSession* session, Camera_ErrorCode errorCode) in CaptureSessionOnError() argument 2520 void CaptureSessionSmoothZoomInfoCallback(Camera_CaptureSession *session, Camera_SmoothZoomInfo *smoothZoomInfo) in CaptureSessionSmoothZoomInfoCallback() argument
|
/test/xts/acts/multimedia/drm/drm_ndk_test/entry/src/main/cpp/ |
H A D | hello.cpp | 1344 } else{ // wiseplay手动删除证书,创建session失败,触发回调
in Test_MediaKeySystem_SetMediaKeySystemCallback() 1370 // session
1686 MediaKeySession *session = nullptr;
in Test_MediaKeySession_GetContentProtectionLevel() local 1688 session = drmKeySession;
in Test_MediaKeySession_GetContentProtectionLevel() 1695 Drm_ErrCode ret3 = OH_MediaKeySession_GetContentProtectionLevel(session, contentProtectionLevel);
in Test_MediaKeySession_GetContentProtectionLevel() 1753 OH_LOG_DEBUG(LOG_APP, "testCL_RequireSecureDecoderModule session level = %{public}d", sessionLevel);
in Test_MediaKeySession_RequireSecureDecoderModule() 2209 } else{ // wiseplay手动删除证书,创建session失败,触发回调
in Test_MediaKeySystem_SetCallback() 2234 // session callBack
|