platform/core/uifw/multi-assistant-service.git
2 years agoChange localtime to localtime_r for thread safety 74/266174/1
wn.jang [Tue, 9 Nov 2021 02:02:05 +0000 (11:02 +0900)]
Change localtime to localtime_r for thread safety

Change-Id: I809c8460625f2a10641252b6f0f43ec3853e12e6

2 years agoBump version to 0.3.25 67/266067/1 accepted/tizen/unified/20211108.181240 submit/tizen/20211105.070710
Ji-hoon Lee [Fri, 5 Nov 2021 06:57:16 +0000 (15:57 +0900)]
Bump version to 0.3.25

Change-Id: I33c503dd82c26130c77ea8613b1f713c29ab5138

2 years agoAdd lock to avoid race condition and add more log messages 66/266066/3
Ji-hoon Lee [Fri, 5 Nov 2021 06:51:38 +0000 (15:51 +0900)]
Add lock to avoid race condition and add more log messages

Change-Id: I52f7022d9e9ec2df82b09f45e32a7fd8b63aa041

2 years agoAdd more log messages to the ERROR level group 17/265817/1 accepted/tizen/unified/20211101.140215 submit/tizen/20211029.093841
Ji-hoon Lee [Fri, 29 Oct 2021 05:35:37 +0000 (14:35 +0900)]
Add more log messages to the ERROR level group

Change-Id: Ic0cffc1ce5f0a422a8947cd50944bbfc40e90526

2 years agoSend voice key status after recording control 86/265786/1
Ji-hoon Lee [Thu, 28 Oct 2021 11:19:11 +0000 (20:19 +0900)]
Send voice key status after recording control

Change-Id: I0df6b18411a218ec5eb271fc6dba6858276db74b

2 years agoBump version to 0.3.24 76/265776/1 submit/tizen/20211028.085023
Ji-hoon Lee [Thu, 28 Oct 2021 08:07:48 +0000 (17:07 +0900)]
Bump version to 0.3.24

Change-Id: I2bfd26b2f4636651ad802374d13d96ff0879b898

2 years agoRestore background volume if last requester gets deactivated 75/265775/1
Ji-hoon Lee [Thu, 28 Oct 2021 07:53:22 +0000 (16:53 +0900)]
Restore background volume if last requester gets deactivated

Change-Id: I8e70185d093741ff87a7084a915d65453c385f0d

2 years agoBump version to 0.3.23 33/265533/1 submit/tizen/20211021.124150
Ji-hoon Lee [Thu, 21 Oct 2021 12:11:06 +0000 (21:11 +0900)]
Bump version to 0.3.23

Change-Id: I8517a5b7bb727d671fbdb9c0879977e53ea25f4d

2 years agoAdd retry logic in case open_connection fails 32/265532/1
Ji-hoon Lee [Thu, 21 Oct 2021 11:08:55 +0000 (20:08 +0900)]
Add retry logic in case open_connection fails

Change-Id: I24abf21cafcadb752f40fc4945114b3bbb2dbbe1

2 years agoFix memory leak issue found while running tests 66/264766/1
Ji-hoon Lee [Wed, 29 Sep 2021 09:17:29 +0000 (18:17 +0900)]
Fix memory leak issue found while running tests

Change-Id: Id4509ed014382aab7938d06ce7920fb9478f8ccf

2 years agoBump version to 0.3.22 26/264626/1 accepted/tizen/6.5/unified/20211028.121805 accepted/tizen/unified/20210928.125345 submit/tizen/20210927.095004 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Ji-hoon Lee [Mon, 27 Sep 2021 09:41:08 +0000 (18:41 +0900)]
Bump version to 0.3.22

Change-Id: Ibc1d76df5a8adb85f1bf0f5fbcee1806f5d7ca96

2 years agoRetry at most 3 times if aul_app_get_appid_bypid() fails 22/264622/4
Ji-hoon Lee [Mon, 27 Sep 2021 09:15:11 +0000 (18:15 +0900)]
Retry at most 3 times if aul_app_get_appid_bypid() fails

If AMD and Launchpad is busy processing other tasks,
it might not respond to aul_app_get_appid_bypid() request
in its timeout limit, which is 5 seconds.
For this reason, after discussing with AppFW team,
we decided to add a retry logic at most 3 times if
the given function unexpectedly fails.

[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from DefaultFixture
[ RUN      ] DefaultFixture.HardcodedAppIDReturnedForHardcodedPID
[       OK ] DefaultFixture.HardcodedAppIDReturnedForHardcodedPID (0 ms)
[ RUN      ] DefaultFixture.AppIDNotFoundForNonExistingPID
[       OK ] DefaultFixture.AppIDNotFoundForNonExistingPID (0 ms)
[ RUN      ] DefaultFixture.RetriesForAtLeastThreeTimes
[       OK ] DefaultFixture.RetriesForAtLeastThreeTimes (0 ms)
[ RUN      ] DefaultFixture.RetriesNoMoreThanThreeTimes
[       OK ] DefaultFixture.RetriesNoMoreThanThreeTimes (0 ms)
[----------] 4 tests from DefaultFixture (0 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (0 ms total)
[  PASSED  ] 4 tests.

Change-Id: I49d42e6d664cf1bead1a00fb088ac0c8c2933514

2 years agoAdd more tests for verifying the behavior of CAudioManager class 66/264566/1
Ji-hoon Lee [Fri, 24 Sep 2021 10:36:13 +0000 (19:36 +0900)]
Add more tests for verifying the behavior of CAudioManager class

Previously, only a single test was available for CAudioManager class,
which definitely is not an adequate number to verify its behavior.
For this reason, added more tests to verify the current implementation
of CAudioManager class and also to guarantee the future modification
will not cause any unexpected results.

[==========] Running 11 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 11 tests from DefaultFixture
[ RUN      ] DefaultFixture.StreamsAllDataFed
[       OK ] DefaultFixture.StreamsAllDataFed (1 ms)
[ RUN      ] DefaultFixture.StreamsAllDataFedAfterClear
[       OK ] DefaultFixture.StreamsAllDataFedAfterClear (0 ms)
[ RUN      ] DefaultFixture.OnRecordingAudioDataCallbackProperlyCalled
[       OK ] DefaultFixture.OnRecordingAudioDataCallbackProperlyCalled (1 ms)
[ RUN      ] DefaultFixture.OnRecordingAudioDataCallbackProperlyCalledAfterFinalizing
[       OK ] DefaultFixture.OnRecordingAudioDataCallbackProperlyCalledAfterFinalizing (0 ms)
[ RUN      ] DefaultFixture.RecordingStartsWhenRequestedWithSoundFocus
[       OK ] DefaultFixture.RecordingStartsWhenRequestedWithSoundFocus (0 ms)
[ RUN      ] DefaultFixture.RecordingDoesNotStartWhenRequestedWithSoundFocus
[       OK ] DefaultFixture.RecordingDoesNotStartWhenRequestedWithSoundFocus (0 ms)
[ RUN      ] DefaultFixture.RecordingStopsWhenRequested
[       OK ] DefaultFixture.RecordingStopsWhenRequested (0 ms)
[ RUN      ] DefaultFixture.RecordingStopsWhenSoundFocusLost
[       OK ] DefaultFixture.RecordingStopsWhenSoundFocusLost (0 ms)
[ RUN      ] DefaultFixture.RecordingStartsWhenSoundFocusAcquiredAgain
[       OK ] DefaultFixture.RecordingStartsWhenSoundFocusAcquiredAgain (0 ms)
[ RUN      ] DefaultFixture.RecordingStartsWhenSoundFocusAcquiredLater
[       OK ] DefaultFixture.RecordingStartsWhenSoundFocusAcquiredLater (0 ms)
[ RUN      ] DefaultFixture.RecordingDoesNotStartWhenSoundFocusAcquiredAgainIfStopped
[       OK ] DefaultFixture.RecordingDoesNotStartWhenSoundFocusAcquiredAgainIfStopped (0 ms)
[----------] 11 tests from DefaultFixture (2 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test suite ran. (2 ms total)
[  PASSED  ] 11 tests.

Change-Id: I50939d259e0b4f1072c6f7e1e2948ea1856eae38

2 years agoAdd tests for verifying the behavior of CWakeupManager 45/264545/1
Ji-hoon Lee [Fri, 24 Sep 2021 07:59:40 +0000 (16:59 +0900)]
Add tests for verifying the behavior of CWakeupManager

To make sure the modification made to CWakeupManager
would not cause any unexpected side-effect especially
on the observer modules, added tests for checking the
behavioral correctness of each operations.

[==========] Running 10 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 10 tests from DefaultFixture
[ RUN      ] DefaultFixture.SettingValueObserverCalledWhenLanguageChanges
[       OK ] DefaultFixture.SettingValueObserverCalledWhenLanguageChanges (2 ms)
[ RUN      ] DefaultFixture.SettingValueObserverCalledWhenAssistantAdded
[       OK ] DefaultFixture.SettingValueObserverCalledWhenAssistantAdded (2 ms)
[ RUN      ] DefaultFixture.SettingValueObserverCalledWhenAssistantDeleted
[       OK ] DefaultFixture.SettingValueObserverCalledWhenAssistantDeleted (2 ms)
[ RUN      ] DefaultFixture.WakeupEventNotTriggeredWhenInactiveMode
[       OK ] DefaultFixture.WakeupEventNotTriggeredWhenInactiveMode (1 ms)
[ RUN      ] DefaultFixture.WakeupEventTriggeredWhenVoiceKeyGetsPressed
[       OK ] DefaultFixture.WakeupEventTriggeredWhenVoiceKeyGetsPressed (1 ms)
[ RUN      ] DefaultFixture.AudioDataReceivedWhenVoiceKeyGetsPressed
[       OK ] DefaultFixture.AudioDataReceivedWhenVoiceKeyGetsPressed (12 ms)
[ RUN      ] DefaultFixture.FinishAudioDataReceivedWhenStoppedBeforeReleasingWithInterval
[       OK ] DefaultFixture.FinishAudioDataReceivedWhenStoppedBeforeReleasingWithInterval (604 ms)
[ RUN      ] DefaultFixture.FinishAudioDataReceivedWhenStoppedBeforeReleasingWithoutInterval
[       OK ] DefaultFixture.FinishAudioDataReceivedWhenStoppedBeforeReleasingWithoutInterval (303 ms)
[ RUN      ] DefaultFixture.FinishAudioDataReceivedOnResultBeforeReleasingWithInterval
[       OK ] DefaultFixture.FinishAudioDataReceivedOnResultBeforeReleasingWithInterval (607 ms)
[ RUN      ] DefaultFixture.FinishAudioDataReceivedOnResultBeforeReleasingWithoutInterval
[       OK ] DefaultFixture.FinishAudioDataReceivedOnResultBeforeReleasingWithoutInterval (303 ms)
[----------] 10 tests from DefaultFixture (1837 ms total)
[----------] Global test environment tear-down
[==========] 10 tests from 1 test suite ran. (1837 ms total)
[  PASSED  ] 10 tests.

Change-Id: I95054494410f2583874e94cd48277cc205dc1353

2 years agoBump version to 0.3.21 23/263623/2
Ji-hoon Lee [Tue, 7 Sep 2021 05:59:37 +0000 (14:59 +0900)]
Bump version to 0.3.21

Change-Id: I6865542b46dafda9670e8f6fd73ea3c52b9a56dc

2 years agoMake string members of wakeup event struct to be deep copied 21/263621/2
Ji-hoon Lee [Mon, 6 Sep 2021 12:00:04 +0000 (21:00 +0900)]
Make string members of wakeup event struct to be deep copied

This fixes the problem found when running the previously added test.

[ RUN      ] DefaultFixture.WakeupEventInfoPreservedForStringLiterals
[       OK ] DefaultFixture.WakeupEventInfoPreservedForStringLiterals (2 ms)
[ RUN      ] DefaultFixture.WakeupEventInfoPreservedForDynamicallyAllocatedStrings
[       OK ] DefaultFixture.WakeupEventInfoPreservedForDynamicallyAllocatedStrings (0 ms)
[----------] 2 tests from DefaultFixture (2 ms total)

Change-Id: I24fecd9a78767beda7fafce67f69fae6d53ebf1d

2 years agoAdd tests for wakeup-policy-default 20/263620/2
Ji-hoon Lee [Mon, 6 Sep 2021 12:04:50 +0000 (21:04 +0900)]
Add tests for wakeup-policy-default

These new tests shows that the existing WakeupPolicyDefault
store the string values using shallow copy method and thus
accessing the string value on timer expired event might cause
unexpected behavior.

[ RUN      ] DefaultFixture.WakeupEventInfoPreservedForStringLiterals
[       OK ] DefaultFixture.WakeupEventInfoPreservedForStringLiterals (1 ms)
[ RUN      ] DefaultFixture.WakeupEventInfoPreservedForDynamicallyAllocatedStrings
/home/abuild/ttpo/tests/test_main.cpp:128: Failure
Expected equality of these values:
  mWakeupAppID.compare(appid)
    Which is: -5
  0
[  FAILED  ] DefaultFixture.WakeupEventInfoPreservedForDynamicallyAllocatedStrings (1 ms)

Change-Id: I3fe82b3269cff96e74de1bbf86e0c2a9ffba2fc2

2 years agoFix build error in test code caused by a base type change 19/263619/1
Ji-hoon Lee [Mon, 6 Sep 2021 10:25:24 +0000 (19:25 +0900)]
Fix build error in test code caused by a base type change

Change-Id: Icabc735fba71657d871baaf5049cf3e063f1c33d

2 years agoBump version to 0.3.20 56/262556/1 accepted/tizen/unified/20210813.125502 submit/tizen/20210813.074603
Ji-hoon Lee [Fri, 13 Aug 2021 07:21:35 +0000 (16:21 +0900)]
Bump version to 0.3.20

Change-Id: I8a37b70f83315e382db4b7c35c8e19cffd8dfbf4

2 years agoFix defects detected by static analysis tool 55/262555/1
Ji-hoon Lee [Fri, 13 Aug 2021 07:17:20 +0000 (16:17 +0900)]
Fix defects detected by static analysis tool

Change-Id: I4a6ca3464e5a9c9c54b034fe7fa7f8a3577a7493

2 years agoFix defects detected by static analysis tool 51/262451/1 accepted/tizen/unified/20210813.005937 submit/tizen/20210811.070045
Ji-hoon Lee [Wed, 11 Aug 2021 06:20:50 +0000 (15:20 +0900)]
Fix defects detected by static analysis tool

Change-Id: I31b8d14b703b4e86693fe5dbbcae98f004380848

2 years agoBump version to 0.3.19 08/262408/1
Ji-hoon Lee [Tue, 10 Aug 2021 05:40:42 +0000 (14:40 +0900)]
Bump version to 0.3.19

Change-Id: I757f7140a29a080b71470c32087d187d5024ca0a

2 years agoRevert "Revert "Use trusted message port for secure audio transmission"" 07/262407/1
Ji-hoon Lee [Tue, 10 Aug 2021 05:26:04 +0000 (14:26 +0900)]
Revert "Revert "Use trusted message port for secure audio transmission""

This reverts commit 46fe031f38df204e591eaddb99e22d93d1d3964d.

Change-Id: I360abb42e85a73fd8bc13ac5108c323115a262fb

2 years agoMerge branch 'tizen_6.0' into tizen 06/262406/1
Ji-hoon Lee [Tue, 10 Aug 2021 05:25:55 +0000 (14:25 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: I51d38a7e2b5dd59d359cb7fd1dc99fbbc6d5aa0d

2 years agoBump version to 0.3.18 57/262357/1 accepted/tizen/unified/20210809.125005 submit/tizen/20210809.054836
Ji-hoon Lee [Mon, 9 Aug 2021 04:58:24 +0000 (13:58 +0900)]
Bump version to 0.3.18

Change-Id: I5007c7ba46627ea43fdcf205530dfb6fc9179c26

2 years agoFix crash when specified wakeup engine does not exist 56/262356/1
Ji-hoon Lee [Mon, 9 Aug 2021 04:57:27 +0000 (13:57 +0900)]
Fix crash when specified wakeup engine does not exist

Change-Id: I6e26ba9dc10031c45886491e9e1235602ebfca0b

2 years agoFix build break in 64bit profile 80/262180/1 accepted/tizen/unified/20210804.120436 submit/tizen/20210803.113947 submit/tizen/20210804.013324
Ji-hoon Lee [Tue, 3 Aug 2021 11:30:55 +0000 (20:30 +0900)]
Fix build break in 64bit profile

Change-Id: I2e525632de5565d824ac7c6e19002f78054f2715

2 years agoBump version to 0.3.17 62/262162/1 submit/tizen/20210803.074409
Ji-hoon Lee [Tue, 3 Aug 2021 07:11:25 +0000 (16:11 +0900)]
Bump version to 0.3.17

Change-Id: I2af56339b0b723a74af66ec4e1b57a361c4acfad

2 years agoFix log not printed bug and add more log messages 87/262087/1
Ji-hoon Lee [Mon, 2 Aug 2021 13:33:16 +0000 (22:33 +0900)]
Fix log not printed bug and add more log messages

Change-Id: I922eeb94469d52a8b47882a3f51412687e6877e2

2 years agoPrevent buffer overflow in case the audio data size is too large 86/262086/1
Ji-hoon Lee [Tue, 27 Jul 2021 05:27:43 +0000 (14:27 +0900)]
Prevent buffer overflow in case the audio data size is too large

Change-Id: Ibfe33f6baec68667fe5f82371d5374a9889b36e1

2 years agoAdd minimum flush time constraint 85/262085/1
Ji-hoon Lee [Fri, 23 Jul 2021 03:18:21 +0000 (12:18 +0900)]
Add minimum flush time constraint

Change-Id: If353d23ae3995f7e9e945053da82debc4b6672fe

2 years agoSupport multiple wakeup engines for single assistant 84/262084/1
Ji-hoon Lee [Thu, 29 Apr 2021 08:19:04 +0000 (17:19 +0900)]
Support multiple wakeup engines for single assistant

Change-Id: I417c1692707274eb2a727151f446fa6f170475e7

2 years agoFix errors found while adding tests for CPackageUpdateMonitor 03/260603/3
Ji-hoon Lee [Tue, 24 May 2016 23:09:33 +0000 (08:09 +0900)]
Fix errors found while adding tests for CPackageUpdateMonitor

While adding new tests for CPackageUpdateMonitor,
unexpected errors were found and fixed the main cause
that the 'ret' variable was used for both application
filter result and the function invocation result.

Since all the errors found while adding new tests are fixed,
the existing package related code is now replaced with the
CPackageUpdateMonitor class implementation.

Change-Id: Ia3af5644ac41aaae26248456103d042a76031fe2

2 years agoExtract package update monitor class and add test cases 02/260602/2
Ji-hoon Lee [Fri, 25 Jun 2021 10:48:34 +0000 (19:48 +0900)]
Extract package update monitor class and add test cases

Since the Package Update Monitor feature can be isolated
in a separate class, first copied the existing code
into a new class and added tests for verifying the
behavior of the new class.

While extracting, it was required to extract client info
struct into a new class also to avoid circular dependency.
At the moment, the newly extracted CClientInfo is not
well-organized, merely a struct revealing internal member
variable. This should be refactored in the future also.

Change-Id: I179540b5ba2890d40d4e1440a8e88861863dc416

2 years agoFix build break 33/259633/1 accepted/tizen/unified/20210611.014107 submit/tizen/20210610.090552
Ji-hoon Lee [Tue, 8 Jun 2021 07:45:51 +0000 (16:45 +0900)]
Fix build break

Change-Id: Ie8824f8d6377d8299bcd7319e1d568833884b226

2 years agoAccess audio buffer mutually exclusive using state variable 48/258848/1 tizen_6.0
Ji-hoon Lee [Wed, 26 May 2021 12:53:39 +0000 (21:53 +0900)]
Access audio buffer mutually exclusive using state variable

The previous implementation replies on the thread's
joinable value, which is not set back to false
if the thread exits but no join() gets called.
For this reason, use a dedicated state variable
instead of joinable state, which correctly reflects
the active state of the streaming thread.

Change-Id: I1596a4649109011f8acb412896bfe9fdbefb7e05

2 years agoFix bug detected from static analysis tool 97/258597/1 submit/tizen/20210521.041733 submit/tizen/20210610.085603
wn.jang [Fri, 21 May 2021 02:05:26 +0000 (11:05 +0900)]
Fix bug detected from static analysis tool

Change-Id: I044c80d5d5f291adaed1b49d21a06da621907341

3 years agoDisable popping from audio buffer when streaming is activated 99/258199/1
Ji-hoon Lee [Tue, 11 May 2021 07:42:21 +0000 (16:42 +0900)]
Disable popping from audio buffer when streaming is activated

Streaming thread reads content of audio buffer, so when the
streaming thread is joinable, modifying the buffer itself
can invalidate iterators associated with the buffer container,
which might cause an undefined behavior. For this reason,
limiting the maximum size of the buffer by popping from it
should be disabled when streaming thread is joinable.

Change-Id: I7cea5460cda6abdbee770c6b2818861a35f0080b

3 years agoBump version to 0.3.18 39/257239/1 accepted/tizen_6.0_unified accepted/tizen/6.0/unified/20210422.124636 submit/tizen_6.0/20210421.115053
Ji-hoon Lee [Wed, 21 Apr 2021 11:39:20 +0000 (20:39 +0900)]
Bump version to 0.3.18

Change-Id: I4b4c94013988f12449e48df5fd689e471238e392

3 years agoAdd display privilege 38/257238/1
Ji-hoon Lee [Thu, 18 Feb 2021 02:25:21 +0000 (11:25 +0900)]
Add display privilege

Change-Id: I3704b99abb51bab2c658316785a74e42439ae5d8

3 years agoFix defects detected by static analysis tool 44/256044/2 accepted/tizen/unified/20210330.111233 submit/tizen/20210330.042720
Ji-hoon Lee [Mon, 29 Mar 2021 02:02:10 +0000 (11:02 +0900)]
Fix defects detected by static analysis tool

Change-Id: I63d6070426e1782484ba683979e16e3eff4d06fe

3 years agoAdd display privilege 77/253777/1 accepted/tizen/unified/20210224.131644 submit/tizen/20210224.083921
Ji-hoon Lee [Thu, 18 Feb 2021 02:25:21 +0000 (11:25 +0900)]
Add display privilege

Change-Id: I3704b99abb51bab2c658316785a74e42439ae5d8

3 years agoBump version to 0.3.17 47/252947/3
Ji-hoon Lee [Wed, 3 Feb 2021 08:28:22 +0000 (17:28 +0900)]
Bump version to 0.3.17

Change-Id: Ie431ca79ce640d483822e5693fb5b876d4928dc8

3 years agoAdd mutex lock for protecting observer member variable 46/252946/3
Ji-hoon Lee [Wed, 3 Feb 2021 08:24:33 +0000 (17:24 +0900)]
Add mutex lock for protecting observer member variable

Change-Id: I10bc01dc248fea90086240a62eeff70bf66f46bc

3 years agoRevert "Use trusted message port for secure audio transmission" 45/252945/1
Ji-hoon Lee [Thu, 21 Jan 2021 06:11:43 +0000 (15:11 +0900)]
Revert "Use trusted message port for secure audio transmission"

This reverts commit 43a2ecd35ac827f3fd6161aff3828730ddbbee7e.

Change-Id: I4d94895dce5240e7babcc050ae600ca36bc8c90b

3 years agoAdd more logs for streaming events 44/252944/1
Ji-hoon Lee [Thu, 21 Jan 2021 06:11:20 +0000 (15:11 +0900)]
Add more logs for streaming events

Change-Id: I4bbbeed3a2d357cc491e985301060806bc89dd69

3 years agoMerge branch 'tizen_6.0' into tizen 98/250998/1
Ji-hoon Lee [Wed, 6 Jan 2021 10:54:29 +0000 (19:54 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: Ieece6cc281336b9f7e4a134ad0ff9707d425d585

3 years agoBump version to 0.3.16 97/250997/1
Ji-hoon Lee [Wed, 6 Jan 2021 10:54:00 +0000 (19:54 +0900)]
Bump version to 0.3.16

Change-Id: Ic800c4d903a227b1221bc31f2e203cd641c3ec47

3 years agoAdd streaming request related log messages 96/250996/1
Ji-hoon Lee [Wed, 6 Jan 2021 10:53:36 +0000 (19:53 +0900)]
Add streaming request related log messages

Change-Id: Ie560cc01c3a1276d05aefe0527a035163f54a5a3

3 years agoMerge branch 'tizen_6.0' into tizen 30/250830/1
Ji-hoon Lee [Tue, 5 Jan 2021 04:44:30 +0000 (13:44 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: I5f32aa519fd786829f48123a0f4933e53d893529

3 years agoBump version to 0.3.15 28/250828/1
Ji-hoon Lee [Mon, 4 Jan 2021 09:04:48 +0000 (18:04 +0900)]
Bump version to 0.3.15

Change-Id: I28d526a0cd1ea33d301b6d3ae5df7b8f8d7c37e2

3 years agoUse trusted message port for secure audio transmission 27/250827/1
Ji-hoon Lee [Thu, 24 Dec 2020 10:43:17 +0000 (19:43 +0900)]
Use trusted message port for secure audio transmission

Change-Id: I48971865acb4750f52c83bebbb46797d859901f2

3 years agoBump version to 0.3.14 68/250568/1
Ji-hoon Lee [Tue, 29 Dec 2020 13:02:36 +0000 (22:02 +0900)]
Bump version to 0.3.14

Change-Id: I9a513c5c9a0349f2883a1f57724e3133098eef4d

3 years agoAdd NULL check before calling dbus_bus_release_name() 67/250567/1
Ji-hoon Lee [Tue, 29 Dec 2020 13:02:01 +0000 (22:02 +0900)]
Add NULL check before calling dbus_bus_release_name()

Change-Id: I8ffc6bb4b4cf1eed1604a8a26067a733c5601843

3 years agoBump version to 0.3.13 72/249772/1 accepted/tizen/6.0/unified/20201224.083855 submit/tizen_6.0/20201216.123300
Ji-hoon Lee [Wed, 16 Dec 2020 11:47:40 +0000 (20:47 +0900)]
Bump version to 0.3.13

Change-Id: Ic189cf89b28f9d80e91d18daa3fe45d30060a8a7

3 years agoMerge changes I7bf30d43,I1e4a4f23 into tizen accepted/tizen/unified/20201223.125017 submit/tizen/20201216.114616
Ji-hoon Lee [Wed, 16 Dec 2020 11:40:31 +0000 (11:40 +0000)]
Merge changes I7bf30d43,I1e4a4f23 into tizen

* changes:
  Merge branch 'tizen_6.0' into tizen
  Print error log only when apply_device_for_stream_routing fails

3 years agoMerge "Bump version to 0.3.13" into tizen
Ji-hoon Lee [Wed, 16 Dec 2020 11:40:27 +0000 (11:40 +0000)]
Merge "Bump version to 0.3.13" into tizen

3 years agoMerge branch 'tizen_6.0' into tizen 00/249700/1
Ji-hoon Lee [Wed, 16 Dec 2020 07:40:30 +0000 (16:40 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: I7bf30d43b8a3cddc7a3d348949b4c23ff710d5e0

3 years agoBump version to 0.3.13 99/249699/1
Ji-hoon Lee [Wed, 16 Dec 2020 07:40:09 +0000 (16:40 +0900)]
Bump version to 0.3.13

Change-Id: Icb84f7ffbbef101818f76fa6ab9465f9768deee5

3 years agoFix bug the first item in the list gets omitted when resuming 68/249668/1
Ji-hoon Lee [Wed, 16 Dec 2020 06:09:06 +0000 (15:09 +0900)]
Fix bug the first item in the list gets omitted when resuming

Change-Id: If77c9727f70f370ad776c8bf673dea4f9a8262f4

3 years agoPrint error log only when apply_device_for_stream_routing fails 98/249698/1
Ji-hoon Lee [Tue, 8 Dec 2020 03:10:05 +0000 (12:10 +0900)]
Print error log only when apply_device_for_stream_routing fails

Change-Id: I1e4a4f235cc16bdd363a9557449575f3535d4089

3 years agoAdd more logs that can help analyzing various issues 17/249017/1
Ji-hoon Lee [Fri, 4 Dec 2020 08:13:45 +0000 (17:13 +0900)]
Add more logs that can help analyzing various issues

Change-Id: Ic69134d9673f15aa01b7f9ac71cbad37cafbf301

3 years agoAdd periodic log for audio feeding events 56/248956/1
Ji-hoon Lee [Thu, 3 Dec 2020 13:00:57 +0000 (22:00 +0900)]
Add periodic log for audio feeding events

Change-Id: I1e1b8d22a4a71b2175ba79f04c40b0991f6a4e70

3 years agoMerge branch 'tizen_6.0' into tizen 21/248821/1 accepted/tizen/unified/20201207.123257 submit/tizen/20201202.120024
Ji-hoon Lee [Wed, 2 Dec 2020 10:49:44 +0000 (19:49 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: I9cced2d8ff0ce6de8e661a1d80e498497b5781c3

3 years agoBump version to 0.3.12 20/248820/1 accepted/tizen/6.0/unified/20201204.221249 submit/tizen_6.0/20201202.120038
Ji-hoon Lee [Wed, 2 Dec 2020 10:27:57 +0000 (19:27 +0900)]
Bump version to 0.3.12

Change-Id: Ie0a617563a3e7bc93f7a5c807349b129c1c209f9

3 years agoEnable heap tracer and disallow free'ing unmanaged chunks 19/248819/1
Ji-hoon Lee [Wed, 2 Dec 2020 10:27:32 +0000 (19:27 +0900)]
Enable heap tracer and disallow free'ing unmanaged chunks

Change-Id: If153dcbe74fc218c1c06228e14a10019dbaaf9b3

3 years agoRemove unnecessary log messages from INFO tag 18/248818/1
Ji-hoon Lee [Wed, 2 Dec 2020 09:11:27 +0000 (18:11 +0900)]
Remove unnecessary log messages from INFO tag

Change-Id: I53375ef3e1f4f1bebe19b70bc6a43b3a71235fde

3 years agoRemove unnecessary FINISH event emission on timeout 17/248817/1
Ji-hoon Lee [Wed, 2 Dec 2020 07:49:37 +0000 (16:49 +0900)]
Remove unnecessary FINISH event emission on timeout

Change-Id: I2ee7f8157aa5115f50653fadef27b23d127888cd

3 years agoAdd try-catch statements for handling exceptions 16/248816/1
Ji-hoon Lee [Tue, 1 Dec 2020 04:48:37 +0000 (13:48 +0900)]
Add try-catch statements for handling exceptions

Change-Id: Ib7309102e3e7a533bc532ff7f20ac75452ac2af9

3 years agoMerge branch 'tizen_6.0' into tizen 48/246948/1 accepted/tizen/unified/20201111.124810 submit/tizen/20201110.025458
Ji-hoon Lee [Thu, 5 Nov 2020 08:48:58 +0000 (17:48 +0900)]
Merge branch 'tizen_6.0' into tizen

Change-Id: Ibc697adaa9722897ad88ec8409b5257e26ab1dde

3 years agoBump version to 0.3.11 45/246945/1 accepted/tizen/6.0/unified/20201109.024725 submit/tizen_6.0/20201105.085039
Ji-hoon Lee [Thu, 5 Nov 2020 08:22:25 +0000 (17:22 +0900)]
Bump version to 0.3.11

Change-Id: I08800124b2e073c817b5c03ba6dea759f451bf12

3 years agoPrevent audio streaming when there is no data available 44/246944/1
Ji-hoon Lee [Thu, 5 Nov 2020 08:22:17 +0000 (17:22 +0900)]
Prevent audio streaming when there is no data available

Change-Id: I2f01e72f0c636b951bab414b99c2f0e0469faaec

3 years agoChange log level of some messages for better trackability 17/245317/1
Ji-hoon Lee [Wed, 7 Oct 2020 05:05:26 +0000 (14:05 +0900)]
Change log level of some messages for better trackability

Change-Id: Iee9c8cbe63735f2003e415689016dd312b78268b

3 years agoBump version to 0.3.10 66/243166/1
Ji-hoon Lee [Thu, 3 Sep 2020 12:33:53 +0000 (21:33 +0900)]
Bump version to 0.3.10

Change-Id: I492c2c5f92d7312b7401bfe0204c4a36ff0ed607

3 years agoUse appropriate pid when handling streaming failure event 65/243165/1
Ji-hoon Lee [Thu, 3 Sep 2020 12:00:38 +0000 (21:00 +0900)]
Use appropriate pid when handling streaming failure event

Change-Id: I6b2eda900ec9d17c6e37b36f046a8c9bcc0975a4

3 years agoBump version to 0.3.9 14/242514/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113711 accepted/tizen/6.0/unified/hotfix/20201102.235942 accepted/tizen/unified/20200903.151735 submit/tizen/20200903.015307 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
Ji-hoon Lee [Thu, 27 Aug 2020 09:32:15 +0000 (18:32 +0900)]
Bump version to 0.3.9

Change-Id: I64e064c0ed61e3faa6e71ad3d82604abb2ec69ce

3 years agoUpdate selected wakeup info based on wakeup engine name 79/242379/2
Ji-hoon Lee [Wed, 26 Aug 2020 02:27:14 +0000 (11:27 +0900)]
Update selected wakeup info based on wakeup engine name

Change-Id: Ib9098fd831797fbd1e6c0509438e090f5593a47f

3 years agoBump version to 0.3.8 17/241317/1 accepted/tizen/unified/20200824.134455 submit/tizen/20200821.114909
Ji-hoon Lee [Wed, 19 Aug 2020 06:25:56 +0000 (15:25 +0900)]
Bump version to 0.3.8

Change-Id: I768c61e5d71633032fb2f4e6c222429b39aa1db1

3 years agoCheck sender validity on streaming related requests 16/241316/1
Ji-hoon Lee [Wed, 19 Aug 2020 06:23:34 +0000 (15:23 +0900)]
Check sender validity on streaming related requests

Change-Id: I648536f129462e4980a8b31e11e10d9dac996aac

3 years agoBump version to 0.3.7 49/240949/1
Ji-hoon Lee [Thu, 13 Aug 2020 05:34:31 +0000 (14:34 +0900)]
Bump version to 0.3.7

Change-Id: I7d91386600cd93aab861f3b68644a607c0c978d5

3 years agoAdd more logs for tracking detailed streaming process 48/240948/1
Ji-hoon Lee [Thu, 13 Aug 2020 05:32:28 +0000 (14:32 +0900)]
Add more logs for tracking detailed streaming process

Change-Id: Ic252bfc9af80f8fb49a882d49cc34f94e409d016

3 years agoIgnore streaming requests from clients not currently woken up 47/240947/1
Ji-hoon Lee [Thu, 13 Aug 2020 05:14:36 +0000 (14:14 +0900)]
Ignore streaming requests from clients not currently woken up

Change-Id: I875b53caf10a110c967f6039604fbd4761ea47b7

3 years agoBump version to 0.3.6 44/240544/1
Ji-hoon Lee [Fri, 7 Aug 2020 06:26:03 +0000 (15:26 +0900)]
Bump version to 0.3.6

Change-Id: Ibe2072f0b0d6b81c8d110d45ec41e25a3e456cc2

3 years agoFix bug NULL is passed on streaming failure event 28/240528/2
Ji-hoon Lee [Fri, 7 Aug 2020 06:25:06 +0000 (15:25 +0900)]
Fix bug NULL is passed on streaming failure event

Change-Id: I5b2900a9110d10051bfa028deb0ab5adf5f24a4e

3 years agoBump version to 0.3.5 89/240089/1 accepted/tizen/unified/20200803.122241 submit/tizen/20200803.085719
Ji-hoon Lee [Mon, 3 Aug 2020 07:37:48 +0000 (16:37 +0900)]
Bump version to 0.3.5

Change-Id: Ic80e59952a36c16b2f0f0508d880a83de78419d0

3 years agoFix bug assigning a newly created variable's value to itself 88/240088/1
Ji-hoon Lee [Mon, 3 Aug 2020 07:36:48 +0000 (16:36 +0900)]
Fix bug assigning a newly created variable's value to itself

Change-Id: I4ed18c047de2d7747193bf7296984eb2d782f70b

3 years agoMerge branch 'tizen_5.5' into tizen 94/239194/1 submit/tizen/20200803.021302
Ji-hoon Lee [Wed, 22 Jul 2020 08:30:36 +0000 (17:30 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: Ic72a69de8f20bd7ea433173f7c831aafcd9b25d9

3 years agoBump version to 0.2.36 81/239181/1
Ji-hoon Lee [Wed, 22 Jul 2020 08:21:24 +0000 (17:21 +0900)]
Bump version to 0.2.36

Change-Id: Idf77f083e501e14f1c5b00f802cc01c60a929754

3 years agoBump version to 0.3.4 58/239158/1 accepted/tizen/unified/20200727.132116 submit/tizen/20200722.082804
Ji-hoon Lee [Wed, 22 Jul 2020 07:49:01 +0000 (16:49 +0900)]
Bump version to 0.3.4

Change-Id: I07a09e3abf3283bd5e737bbb7682b689c6a6d204

3 years agoMerge branch 'tizen_5.5' into tizen 57/239157/1
Ji-hoon Lee [Wed, 22 Jul 2020 07:47:22 +0000 (16:47 +0900)]
Merge branch 'tizen_5.5' into tizen

Change-Id: If37f3299bee58ac0bfc4562761c4fa56238ab013

3 years agoReplace ecore_thread_main_loop_* functions with alternatives 80/239180/1
Ji-hoon Lee [Fri, 17 Jul 2020 12:29:55 +0000 (21:29 +0900)]
Replace ecore_thread_main_loop_* functions with alternatives

Change-Id: Ied3b35f41bb7c9f8bc74bc24d42e5a92e3b4b551

3 years agoBump version to 0.2.35 56/239156/1
Ji-hoon Lee [Fri, 17 Jul 2020 02:42:04 +0000 (11:42 +0900)]
Bump version to 0.2.35

Change-Id: Ib8b1ca66b5e49ef6266973cb960092c7839473a3

3 years agoAdd logs for checking wakeup_engine_command delivery 79/239179/1
Ji-hoon Lee [Thu, 16 Jul 2020 11:09:12 +0000 (20:09 +0900)]
Add logs for checking wakeup_engine_command delivery

Change-Id: Ib114ff5f46c96850d344eb26c43135f371222b74

3 years agoUse async version of aul_launch_app for avoiding deadlock 55/239155/1
Ji-hoon Lee [Fri, 17 Jul 2020 05:30:26 +0000 (14:30 +0900)]
Use async version of aul_launch_app for avoiding deadlock

Change-Id: I484ced8492df92262ee34e19b687ae62d4cba76f

3 years agoIgnore outdated wakeup timer events 78/239178/1
Ji-hoon Lee [Thu, 16 Jul 2020 11:12:54 +0000 (20:12 +0900)]
Ignore outdated wakeup timer events

Change-Id: I0493c55d587c8d244a2db3f204592e259512172f

3 years agoFix streaming START/FINISH event pair mismatch 77/239177/1
Ji-hoon Lee [Wed, 8 Jul 2020 12:27:34 +0000 (21:27 +0900)]
Fix streaming START/FINISH event pair mismatch

Change-Id: I03680aa7848579ac5fd1235f264d5c74d7bc3876

3 years agoBump version to 0.3.3 09/236109/2 accepted/tizen/unified/20200615.135343 submit/tizen/20200615.031607 submit/tizen/20200615.081710
Ji-hoon Lee [Mon, 15 Jun 2020 02:53:18 +0000 (11:53 +0900)]
Bump version to 0.3.3

Change-Id: Idf3fcc0402c1f5979071c8859c8c842fc2b450f6

3 years agoFix utc failure : test-preference-manager-vconf 08/236108/2
Ji-hoon Lee [Mon, 15 Jun 2020 02:49:08 +0000 (11:49 +0900)]
Fix utc failure : test-preference-manager-vconf

1. Make unregister_changed_callback to return true
   only when a certain item was removed from list.
2. Fix crash caused by removing an element inside a
   range-based for loop. (Now using remove_if instead)

Change-Id: I9c676b52c2e63c4f69db35169a4bf967e1d1bf64

3 years agoAdd utc for preference-manager-vconf 07/236107/1
Ji-hoon Lee [Mon, 15 Jun 2020 01:38:50 +0000 (10:38 +0900)]
Add utc for preference-manager-vconf

Change-Id: Idac4acc21d911a0d08f1322eefb2ecadfd3f8b13

3 years agoAdd missing ret value assignment 86/235486/1
Ji-hoon Lee [Fri, 5 Jun 2020 02:26:54 +0000 (11:26 +0900)]
Add missing ret value assignment

Change-Id: I2adf76992cabce3cb987af655d2dd3cdf03561be