platform/core/ml/aitt.git
17 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.

17 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.

17 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

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

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

17 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

17 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

17 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.

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

17 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.

17 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

17 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

17 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)

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

19 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

19 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.

19 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.

19 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.

19 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

19 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.

19 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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

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

19 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

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

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

19 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

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

19 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

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

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

20 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

20 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)

20 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.

20 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.

20 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

20 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

20 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

20 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.

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

20 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

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

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

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

20 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.

20 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

20 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.

20 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

20 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

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

20 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

20 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

20 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

20 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

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

20 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

20 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.

20 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.

20 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

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

- apply MQProxy

20 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

20 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.

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

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

20 months agorevise name and location
Youngjae Shin [Thu, 18 Aug 2022 00:21:04 +0000 (09:21 +0900)]
revise name and location

- from AITTEx to AittException like AittTypes
- cleanup names
- revise location for adding custom_broker option

20 months agoFix a faulty socket option.
Chanhee Lee [Wed, 17 Aug 2022 10:10:14 +0000 (19:10 +0900)]
Fix a faulty socket option.

[Problem] TCP_NODELAY is used with IPPROTO_IP instead of IPPROTO_TCP.
[Solution] Fix the option value correctly.

20 months agorefactoring of Module Loader
Youngjae Shin [Fri, 12 Aug 2022 06:58:02 +0000 (15:58 +0900)]
refactoring of Module Loader

- remove composition of module loader
- Add NullTranport for robustness

20 months agorevise android build
Youngjae Shin [Fri, 12 Aug 2022 05:13:21 +0000 (14:13 +0900)]
revise android build

- add gradlew files

20 months agoremove unnatural thread usage
Youngjae Shin [Wed, 10 Aug 2022 05:48:48 +0000 (14:48 +0900)]
remove unnatural thread usage

- Additonally, cleanup header files

22 months agoInitial commit 00/279400/1 master accepted/tizen/unified/20220809.022038 accepted/tizen/unified/20220809.093639 submit/tizen/20220809.012345
Jihoon Jung [Tue, 9 Aug 2022 00:07:09 +0000 (09:07 +0900)]
Initial commit

Change-Id: I7e19c06adf39f36e326f32e11ef00932a3dbfaa5

22 months agoInitial empty repository
Tizen Infrastructure [Wed, 3 Aug 2022 01:03:47 +0000 (01:03 +0000)]
Initial empty repository