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

22 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

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

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

22 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

22 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

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

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

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

22 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

22 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

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

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

2 years 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

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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

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

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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

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

2 years 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

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

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

2 years 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

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

2 years 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

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

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

2 years 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

2 years 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)

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

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

2 years 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

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

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

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

2 years 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.

2 years 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

2 years 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.

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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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.

2 years 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.

2 years 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

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

- apply MQProxy

2 years 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

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

- For applying global option in AITT instance.

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

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

2 years 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

2 years 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.

2 years 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

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

- add gradlew files

2 years 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

2 years 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

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