platform/core/ml/aitt.git
16 months agorevise DiscoveryBlob
Hansol Lee [Thu, 16 Feb 2023 10:26:07 +0000 (19:26 +0900)]
revise DiscoveryBlob

I added deleter to completely delete data

16 months agoclear all connection in abnormal cases
Youngjae Shin [Wed, 15 Feb 2023 01:20:58 +0000 (10:20 +0900)]
clear all connection in abnormal cases

- when connection is failed, discovery connection can be remained.

16 months agoUse native discovery for webrtc signaling
Kartik Anand [Wed, 1 Feb 2023 11:56:02 +0000 (17:26 +0530)]
Use native discovery for webrtc signaling

16 months agoAdd Android instrumented test cases for TCP_SECURE protocol
Chanhee Lee [Mon, 30 Jan 2023 01:12:03 +0000 (10:12 +0900)]
Add Android instrumented test cases for TCP_SECURE protocol

[Problem] Test cases for TCP_SECURE protocol do not exist.
[Solution] Add test cases for TCP_SECURE protocol.

16 months agoimplement request/response pattern on TCP
Youngjae Shin [Thu, 19 Jan 2023 08:17:10 +0000 (17:17 +0900)]
implement request/response pattern on TCP

- revise AittMsg also

16 months agointegrate subscribe callbacks
Youngjae Shin [Thu, 19 Jan 2023 05:14:26 +0000 (14:14 +0900)]
integrate subscribe callbacks

- revise AittMsg also

16 months agochange MSG name to AittMsg
Youngjae Shin [Fri, 13 Jan 2023 03:00:45 +0000 (12:00 +0900)]
change MSG name to AittMsg

- The name MSG is too generic

16 months agoResolve tapo camera display
Praveen Naik S [Wed, 11 Jan 2023 09:30:50 +0000 (15:00 +0530)]
Resolve tapo camera display

16 months agoSet id and password correctly to Android RTSP module
Chanhee Lee [Wed, 11 Jan 2023 04:19:13 +0000 (13:19 +0900)]
Set id and password correctly to Android RTSP module

[Problem] Credential information is not set properly in an Android
          RTSP module.
[Solution] Set id and password obtained from MQTT discovery to
           the module.

16 months agoRtsp frames asynchronous decoding changes
CHANDRASHEKHAR S BYADGI [Tue, 10 Jan 2023 06:45:37 +0000 (12:15 +0530)]
Rtsp frames asynchronous decoding changes

16 months agoAdd decode pipeline and connect ouput to stream receive callback
Jiung Yu [Tue, 3 Jan 2023 01:24:14 +0000 (10:24 +0900)]
Add decode pipeline and connect ouput to stream receive callback

16 months agorevise PosixMainLoop
Hansol Lee [Mon, 2 Jan 2023 07:59:58 +0000 (16:59 +0900)]
revise PosixMainLoop

- added timer remove logic

16 months agoUpdate discovery message with input resolution
Praveen Naik S [Fri, 30 Dec 2022 09:42:45 +0000 (15:12 +0530)]
Update discovery message with input resolution

16 months agoApply compression for partial inference data
CHANDRASHEKHAR S BYADGI [Thu, 22 Dec 2022 09:39:34 +0000 (15:09 +0530)]
Apply compression for partial inference data

16 months agofix typo from clear_session to clean_session
Youngjae Shin [Fri, 16 Dec 2022 07:49:01 +0000 (16:49 +0900)]
fix typo from clear_session to clean_session

16 months agoRefactor Android Aitt class and test cases
Chanhee Lee [Fri, 16 Dec 2022 07:29:09 +0000 (16:29 +0900)]
Refactor Android Aitt class and test cases

[Problem] There are some code/comments which need to be simplified.
[Solution] Do refactoring by drawing common code as functions,
           correcting comments and so on.

16 months agorevise AittOption
Youngjae Shin [Fri, 16 Dec 2022 03:08:56 +0000 (12:08 +0900)]
revise AittOption

- separate constructor behavior into constructing and applying option
- revise option usage on Aitt C API
- add test case

16 months agoApply C Mock which is Google Mock's extension
Youngjae Shin [Thu, 15 Dec 2022 01:31:38 +0000 (10:31 +0900)]
Apply C Mock which is Google Mock's extension

16 months agoAdd tests for RTSPStream and AittStreamConfig
Kartik Anand [Tue, 13 Dec 2022 13:13:40 +0000 (18:43 +0530)]
Add tests for RTSPStream and AittStreamConfig

19 months agofix build warning(invalid reference type)
Youngjae Shin [Tue, 13 Dec 2022 01:54:15 +0000 (10:54 +0900)]
fix build warning(invalid reference type)

19 months agorevise Posix Mainloop
Youngjae Shin [Mon, 12 Dec 2022 05:17:26 +0000 (14:17 +0900)]
revise Posix Mainloop

[Problem] cb data is double freed
[Solution] use shared_ptr
- revise TCP test and lock

19 months agorevise AESEncryptor class
Youngjae Shin [Mon, 12 Dec 2022 04:42:10 +0000 (13:42 +0900)]
revise AESEncryptor class

- separate class into two different class(openssl and mbedtls)
- add compatibility test between openssl and mbedtls

19 months agoAdd h264 decoder support to RTSP client
Praveen Naik S [Thu, 8 Dec 2022 06:33:24 +0000 (12:03 +0530)]
Add h264 decoder support to RTSP client

Resolve potential defects
Rename decoder file
Replace AsyncTask with thread

19 months agoadded implementation of mbedTLS apis
Hansol Lee [Thu, 8 Dec 2022 01:32:37 +0000 (10:32 +0900)]
added implementation of mbedTLS apis

19 months agorevise build scripts for Mbed TLS
Youngjae Shin [Wed, 7 Dec 2022 05:38:51 +0000 (14:38 +0900)]
revise build scripts for Mbed TLS

19 months agoadd test for Secure TCP with various message size
Youngjae Shin [Wed, 7 Dec 2022 05:38:39 +0000 (14:38 +0900)]
add test for Secure TCP with various message size

19 months agoAdd Android AITT APIs to align with native AITT APIs
Chanhee Lee [Tue, 6 Dec 2022 07:34:14 +0000 (16:34 +0900)]
Add Android AITT APIs to align with native AITT APIs

[Problem] Some Android AITT APIs do not cover the default parameters
          of native AITT APIs.
[Solution] Add Android AITT APIs to cover the all default parameters.

19 months agoAdd instrumented TCs to improve the code coverage of Android WebRTC
Chanhee Lee [Tue, 6 Dec 2022 07:33:59 +0000 (16:33 +0900)]
Add instrumented TCs to improve the code coverage of Android WebRTC

[Problem] The code coverage of Android WebRTC module is not so high.
[Solution] Add intrumented test cases to improve the code coverage.

19 months agoApply native discovery to android RTSP
Kartik Anand [Mon, 5 Dec 2022 10:10:07 +0000 (15:40 +0530)]
Apply native discovery to android RTSP

19 months agorevise build options
Youngjae Shin [Mon, 5 Dec 2022 02:27:24 +0000 (11:27 +0900)]
revise build options

19 months agoRevise android code
Kartik Anand [Mon, 28 Nov 2022 14:43:37 +0000 (20:13 +0530)]
Revise android code

19 months agoAdd RTSP client support to AITT android
Praveen Naik S [Mon, 28 Nov 2022 14:21:40 +0000 (19:51 +0530)]
Add RTSP client support to AITT android

19 months agoaitt.so is not built for 32bit arm CPU's
CHANDRASHEKHAR S BYADGI [Mon, 28 Nov 2022 07:30:03 +0000 (13:00 +0530)]
aitt.so is not built for 32bit arm CPU's

19 months agoAdd unit test cases for Android WebRTC module
Chanhee Lee [Mon, 28 Nov 2022 00:45:23 +0000 (09:45 +0900)]
Add unit test cases for Android WebRTC module

[Problem] There are not enough various test cases to verify Android
          WebRTC APIs.
[Solution] Add unit and instrumented test cases for Android WebRTC.

19 months agoRevise discovery message callback
Kartik Anand [Wed, 23 Nov 2022 14:41:40 +0000 (20:11 +0530)]
Revise discovery message callback

19 months agoApply subscriber stream interface to Android WebRTC
Chanhee Lee [Wed, 23 Nov 2022 00:33:42 +0000 (09:33 +0900)]
Apply subscriber stream interface to Android WebRTC

[Problem] Initial Android stream interfaces are added but Android
          WebRTC is still using transport interfaces.
[Solution] Update Android WebRTC first with the subscriber stream
           interface.

19 months agoAllocate only one stream for an aitt handle
Jiung Yu [Thu, 17 Nov 2022 07:45:00 +0000 (16:45 +0900)]
Allocate only one stream for an aitt handle

19 months agorefactoring MainLoop
Youngjae Shin [Thu, 17 Nov 2022 06:44:20 +0000 (15:44 +0900)]
refactoring MainLoop

- apply Callback return value for general usages
- apply MainLoopHandler architecture
- revise test code

19 months agoUse native discovery for android (#502)
Kartik Anand [Wed, 16 Nov 2022 06:09:16 +0000 (11:39 +0530)]
Use native discovery for android (#502)

20 months agoStreamManager refactoring accepted/tizen/unified/20221115.172906
Jiung Yu [Thu, 10 Nov 2022 01:56:48 +0000 (10:56 +0900)]
StreamManager refactoring

20 months agoAdd WebRTC Discovery using AITT Discovery
Jiung Yu [Tue, 8 Nov 2022 00:50:10 +0000 (09:50 +0900)]
Add WebRTC Discovery using AITT Discovery

20 months agoAdd initial Android RTSP interfaces with test cases
Chanhee Lee [Mon, 7 Nov 2022 00:53:57 +0000 (09:53 +0900)]
Add initial Android RTSP interfaces with test cases

[Problem] There's no RTSP support in Android AITT.
[Solution] Add basic interfaces for Android RTSP.

20 months agoClean glib dependencies in Android Aitt
Chanhee Lee [Thu, 3 Nov 2022 08:40:27 +0000 (17:40 +0900)]
Clean glib dependencies in Android Aitt

[Problem] glib is needed no more in Android if posix
          MainLoopHandler is introduced.
[Solution] Remove glib-related code used in Android Aitt.

20 months agoRemove warnings of JNI code
Chanhee Lee [Thu, 3 Nov 2022 07:30:57 +0000 (16:30 +0900)]
Remove warnings of JNI code

[Problem] Several warnings are reported for JNI code in Android Studio.
[Solution] Clear warnings by updating code.

20 months agoAdded posix MainLoopHandler to support multiple os
Hansol Lee [Thu, 3 Nov 2022 04:01:51 +0000 (13:01 +0900)]
Added posix MainLoopHandler to support multiple os

- some OS doesn't support glib library
- so I added posix MainLoopHandler to support multiple os
- I removed posix dpkg build script to add it to another PR
- I will make new PR for this script

20 months agoRemove warnings in Android Studio to increase code quality.
Chanhee Lee [Thu, 27 Oct 2022 01:26:40 +0000 (10:26 +0900)]
Remove warnings in Android Studio to increase code quality.

[Problem] A few warnings which include unchecked null references
          are reported in Android Studio.
[Solution] Clean the warnings so that code quality is increased.

20 months agoSend large messages over WebRTC data channel
Kartik Anand [Wed, 26 Oct 2022 05:59:40 +0000 (11:29 +0530)]
Send large messages over WebRTC data channel

20 months agorevise connection callback
Youngjae Shin [Wed, 26 Oct 2022 01:04:20 +0000 (10:04 +0900)]
revise connection callback

- add C API for setting connection callback
- support calling mosquitto APIs in callback

20 months agoenable basic unittests
Youngjae Shin [Mon, 24 Oct 2022 08:16:32 +0000 (17:16 +0900)]
enable basic unittests

20 months agoAdd WebRTC Signaling via AITTDiscovery
Jiung Yu [Sun, 23 Oct 2022 21:31:44 +0000 (06:31 +0900)]
Add WebRTC Signaling via AITTDiscovery

20 months agoChange RTSPClient Class for rendering and capture media packet
Jihoon Jung [Fri, 21 Oct 2022 05:27:38 +0000 (14:27 +0900)]
Change RTSPClient Class for rendering and capture media packet

20 months agoAdd IPC protocol support to aitt android
Praveen Naik S [Wed, 19 Oct 2022 13:41:06 +0000 (19:11 +0530)]
Add IPC protocol support to aitt android

20 months agocqm score is less because of un used variable
CHANDRASHEKHAR S BYADGI [Tue, 18 Oct 2022 14:12:23 +0000 (19:42 +0530)]
cqm score is less because of un used variable

20 months agoAdd discovery message logic in RTSP
Jihoon Jung [Mon, 17 Oct 2022 07:39:34 +0000 (16:39 +0900)]
Add discovery message logic in RTSP

20 months agofix test failure due to timeout
Youngjae Shin [Thu, 13 Oct 2022 23:58:58 +0000 (08:58 +0900)]
fix test failure due to timeout

20 months agocheck negative sized message
Youngjae Shin [Thu, 13 Oct 2022 05:56:41 +0000 (14:56 +0900)]
check negative sized message

20 months agochange message size type from size_t to int
Youngjae Shin [Wed, 12 Oct 2022 11:35:06 +0000 (20:35 +0900)]
change message size type from size_t to int

- For compatibility between heterogeneous devices

20 months agoAdd negative test cases to android AITT
Praveen Naik S [Fri, 7 Oct 2022 09:27:20 +0000 (14:57 +0530)]
Add negative test cases to android AITT

20 months agoAdd rtsp module
Jihoon Jung [Wed, 5 Oct 2022 00:59:11 +0000 (09:59 +0900)]
Add rtsp module

20 months agoChange webrtc module from transport to stream
Jiung Yu [Mon, 3 Oct 2022 21:59:26 +0000 (06:59 +0900)]
Change webrtc module from transport to stream

20 months agopropose revised stream API
Youngjae Shin [Thu, 29 Sep 2022 22:56:37 +0000 (07:56 +0900)]
propose revised stream API

20 months agoforce to release MQ instance
Youngjae Shin [Tue, 27 Sep 2022 01:55:29 +0000 (10:55 +0900)]
force to release MQ instance

20 months agoremove mosquitto dependency in common library
Youngjae Shin [Thu, 29 Sep 2022 08:25:26 +0000 (17:25 +0900)]
remove mosquitto dependency in common library

20 months agorevise test name with typo
Youngjae Shin [Tue, 27 Sep 2022 23:18:10 +0000 (08:18 +0900)]
revise test name with typo

20 months agoCreate JNI callbacks map at JniInterface
Praveen Naik S [Tue, 27 Sep 2022 14:14:20 +0000 (19:44 +0530)]
Create JNI callbacks map at JniInterface

20 months agoRevise TCP build
Kartik Anand [Tue, 27 Sep 2022 06:41:28 +0000 (12:11 +0530)]
Revise TCP build

20 months agoAdd methods for stream transport
Jiung Yu [Mon, 26 Sep 2022 07:05:55 +0000 (16:05 +0900)]
Add methods for stream transport

22 months agorevise test case name accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060112 accepted/tizen/7.0/unified/hotfix/20221116.105337 accepted/tizen/unified/20220926.025514 tizen_7.0_m2_release
Youngjae Shin [Fri, 23 Sep 2022 07:12:56 +0000 (16:12 +0900)]
revise test case name

22 months agoincrease code quality
Youngjae Shin [Fri, 23 Sep 2022 05:31:18 +0000 (14:31 +0900)]
increase code quality

- Initiailize member variables
- increase robustness (discovery, descructor exception, etc)

22 months agoEnable instrumentation TCs to test Android TCP Protocol
Chanhee Lee [Fri, 23 Sep 2022 00:54:54 +0000 (09:54 +0900)]
Enable instrumentation TCs to test Android TCP Protocol

[Problem] Current instrumentation TCs are not complete.
[Solution] Implement the TCs completely.

22 months agoApply the default formatter of Android Studio to Java code
Chanhee Lee [Thu, 22 Sep 2022 00:48:44 +0000 (09:48 +0900)]
Apply the default formatter of Android Studio to Java code

[Problem] Code formats are different among Java source files.
[Solution] Apply IDE formatter (Ctrl+Alt+L) to all Java code.

22 months agoCreate common JNI module for android
Praveen Naik S [Wed, 21 Sep 2022 07:16:02 +0000 (12:46 +0530)]
Create common JNI module for android

22 months agorevise test program release accepted/tizen/unified/20220921.091818
Youngjae Shin [Tue, 20 Sep 2022 07:54:00 +0000 (16:54 +0900)]
revise test program release

- add position independent option
- separte test programs from main package

22 months ago[refactoring] revise architecture of TCP module
Youngjae Shin [Tue, 20 Sep 2022 01:13:30 +0000 (10:13 +0900)]
[refactoring] revise architecture of TCP module

 - revise module manager
 - revise encryption module

22 months agoTransfer a random cipher key for each TCP subscription
Chanhee Lee [Fri, 16 Sep 2022 02:18:04 +0000 (11:18 +0900)]
Transfer a random cipher key for each TCP subscription

[Problem] A fixed test key is used for AES encryption and decryption
          in TCP protocol.
[Solution] Generate a random key whenever a client connects to a
           TCP server.

22 months agoadd initialization of members
Youngjae Shin [Thu, 15 Sep 2022 02:23:02 +0000 (11:23 +0900)]
add initialization of members

22 months agoRename native methods in JNI
CHANDRASHEKHAR S BYADGI [Wed, 7 Sep 2022 05:10:45 +0000 (10:40 +0530)]
Rename native methods in JNI

* JNI API's rename
* JNI_load restructure

22 months agoAdd android platform logs
Kartik Anand [Mon, 5 Sep 2022 09:02:28 +0000 (14:32 +0530)]
Add android platform logs

22 months agoandroid build fail issue
CHANDRASHEKHAR S BYADGI [Mon, 5 Sep 2022 06:44:51 +0000 (12:14 +0530)]
android build fail issue

22 months agoFix incorrect parameter in method
Kartik Anand [Fri, 2 Sep 2022 12:19:03 +0000 (17:49 +0530)]
Fix incorrect parameter in method

22 months agoApply AES encryption/decryption to TCP packets
Chanhee Lee [Fri, 2 Sep 2022 00:14:18 +0000 (09:14 +0900)]
Apply AES encryption/decryption to TCP packets

[Problem] There's no way to send packets securely through TCP.
[Solution] Encrypt/Decrypt TCP packets with AES algorithm.

22 months agoapply option where it is missed
Youngjae Shin [Thu, 1 Sep 2022 10:26:10 +0000 (19:26 +0900)]
apply option where it is missed

 For appling custom mqtt client

22 months agoAdd initial instrumentation tests for Android TCP.
Chanhee Lee [Thu, 1 Sep 2022 08:25:49 +0000 (17:25 +0900)]
Add initial instrumentation tests for Android TCP.

[Problem] There's no implementation for Android TCP.
[Solution] At first, add basic and empty instrumentation test cases
           to describe expected Android TCP functionalities.

22 months agoReduce complexity of the code
Praveen Naik S [Mon, 29 Aug 2022 14:00:17 +0000 (19:30 +0530)]
Reduce complexity of the code

22 months agoAdd comments for JNI API's
CHANDRASHEKHAR S BYADGI [Mon, 29 Aug 2022 07:55:03 +0000 (13:25 +0530)]
Add comments for JNI API's

22 months agoUse Definitions class in tests
Kartik Anand [Mon, 29 Aug 2022 06:53:38 +0000 (12:23 +0530)]
Use Definitions class in tests

22 months agoalign with custom mqtt client
Youngjae Shin [Sun, 28 Aug 2022 22:55:25 +0000 (07:55 +0900)]
align with custom mqtt client

 - add AITT_CONNET_FAILED
 - allow non IP string for connecting broker

22 months agoMQTT connect fail handling at android
CHANDRASHEKHAR S BYADGI [Fri, 26 Aug 2022 06:34:26 +0000 (12:04 +0530)]
MQTT connect fail handling at android

22 months agoRemove UnUsed variable "dataType" from Aitt Module
Vanamala Narasimha Bhargav [Fri, 26 Aug 2022 06:15:09 +0000 (11:45 +0530)]
Remove UnUsed variable "dataType" from Aitt Module

22 months agoapply option on MQProxy
Youngjae Shin [Fri, 26 Aug 2022 01:33:24 +0000 (10:33 +0900)]
apply option on MQProxy

 - For passing configures to custom mqtt client

22 months agoRemove dataType-Unused
Vanamala Narasimha Bhargav [Thu, 25 Aug 2022 09:20:04 +0000 (14:50 +0530)]
Remove dataType-Unused

22 months agorevise header file name
Youngjae Shin [Wed, 24 Aug 2022 23:30:23 +0000 (08:30 +0900)]
revise header file name

 - align with class name

22 months agochange c++ standard version for supporting TizenRT
Youngjae Shin [Wed, 24 Aug 2022 10:12:19 +0000 (19:12 +0900)]
change c++ standard version for supporting TizenRT

- replace make_unique
- replace getrandom which is Linux-specific.

22 months agoTransfer exact sizes of topics through TCP protocol.
Chanhee Lee [Tue, 23 Aug 2022 04:47:09 +0000 (13:47 +0900)]
Transfer exact sizes of topics through TCP protocol.

[Problem] Topic data are now sent or received only once without
          considerations to the sizes actually transferred.
[Solution] Iteratively send or receive the topic until the exact
           sizes are transferred.

22 months agorevise memory management of module
Youngjae Shin [Tue, 23 Aug 2022 02:32:19 +0000 (11:32 +0900)]
revise memory management of module

* revise memory management of module
* change shared_ptr to unique_ptr

22 months agoapply MQ modularization
Youngjae Shin [Mon, 22 Aug 2022 01:29:53 +0000 (10:29 +0900)]
apply MQ modularization

- apply MQProxy

22 months agoMake classes package-private and add Definitions class
Kartik Anand [Fri, 19 Aug 2022 08:00:42 +0000 (13:30 +0530)]
Make classes package-private and add Definitions class

* Make classes package-private and add Definitions class

* Use Map interface

22 months agoapply AittOption
Youngjae Shin [Thu, 18 Aug 2022 10:47:54 +0000 (19:47 +0900)]
apply AittOption

- For applying global option in AITT instance.

22 months agoRedesign aitt android code
Praveen Naik S [Thu, 18 Aug 2022 06:43:25 +0000 (12:13 +0530)]
Redesign aitt android code

22 months agoadd AittUtil for separating CompareTopic()
Youngjae Shin [Thu, 18 Aug 2022 05:51:47 +0000 (14:51 +0900)]
add AittUtil for separating CompareTopic()