platform/core/system/batterymonitor.git
4 years agoFix Memory Leak 44/229144/3
Dewal Agarwal [Mon, 30 Mar 2020 05:09:41 +0000 (10:39 +0530)]
Fix Memory Leak

Change-Id: Iba2001aa96ed199131cb1b29110cac65d8be42a4
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoChange power profile parameters to double 16/228816/2
Kichan Kwon [Thu, 26 Mar 2020 01:33:46 +0000 (10:33 +0900)]
Change power profile parameters to double

- Because real parameters are floating point

Change-Id: Id49cfa3b5601bad8d26287ac842b85c0d89c56e4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge "Revert "Revert "[Non-ACR] Fixing memory issues""" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 05:04:21 +0000 (05:04 +0000)]
Merge "Revert "Revert "[Non-ACR] Fixing memory issues""" into tizen_5.5

4 years agoRevert "Revert "[Non-ACR] Fixing memory issues"" 03/229303/1
Randeep Singh [Tue, 31 Mar 2020 05:04:05 +0000 (05:04 +0000)]
Revert "Revert "[Non-ACR] Fixing memory issues""

This reverts commit 392d624ddab8000e85754ba034db5a09d6148001.

Change-Id: Ib15d08db1ccdb93f0f6757b07d094e358a5150d8

4 years agoMerge "Revert "[Non-ACR] Fixing memory issues"" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 04:55:24 +0000 (04:55 +0000)]
Merge "Revert "[Non-ACR] Fixing memory issues"" into tizen_5.5

4 years agoRevert "[Non-ACR] Fixing memory issues" 00/229300/1
Randeep Singh [Tue, 31 Mar 2020 04:55:07 +0000 (04:55 +0000)]
Revert "[Non-ACR] Fixing memory issues"

This reverts commit f23e878c8f287ccc7deb738e0ecd7e9dad4c6d84.

Change-Id: I12833216f68deafbb9f9c485f8ce41b48a3e6f8e

4 years agoMerge "[Non-ACR] Fixing memory issues" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 04:29:33 +0000 (04:29 +0000)]
Merge "[Non-ACR] Fixing memory issues" into tizen_5.5

4 years agoMerge "Modify BT Power Model" into tizen_5.5 accepted/tizen/5.5/unified/20200331.180155 submit/tizen_5.5/20200331.041315 submit/tizen_5.5/20200331.041325
Randeep Singh [Tue, 31 Mar 2020 04:10:31 +0000 (04:10 +0000)]
Merge "Modify BT Power Model" into tizen_5.5

4 years ago[Non-ACR] Fixing memory issues 48/229148/3
Abhishek Vijay [Mon, 30 Mar 2020 05:27:00 +0000 (10:57 +0530)]
[Non-ACR] Fixing memory issues

Change-Id: Id05f44d81b41e68cb3043235106b990e08bc005f
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoModify BT Power Model 14/228514/2
Dewal Agarwal [Mon, 23 Mar 2020 10:54:15 +0000 (16:24 +0530)]
Modify BT Power Model

Change-Id: I26180b4f100fc5e979f60c104a148503ed1e9587

4 years ago[Non-ACR] add service restart params 41/228641/1 accepted/tizen/5.5/unified/20200325.144903 submit/tizen_5.5/20200324.113101
Amogh Gaur [Thu, 12 Mar 2020 12:18:03 +0000 (17:48 +0530)]
[Non-ACR] add service restart params

Change-Id: I4ce6003d765aad4c1ac507a69b2d7dc895af0b23
Signed-off-by: Amogh Gaur <amogh.gaur@samsung.com>
4 years ago[Non-ACR] Fixing build error for x86_64 & aarch64 38/228638/2
Abhishek Vijay [Tue, 24 Mar 2020 09:08:09 +0000 (14:38 +0530)]
[Non-ACR] Fixing build error for x86_64 & aarch64

Change-Id: I965863040393a0271dd8507e290dedf21c37f39a
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoAdd Battery Capacity in Dump 48/227548/2 submit/tizen_5.5/20200324.065222
Dewal Agarwal [Thu, 12 Mar 2020 12:46:39 +0000 (18:16 +0530)]
Add Battery Capacity in Dump

Change-Id: I8b7038d2a35c106ec04378f15a5cefc6ca0124e6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoAdd CPU stats for Battery Dump 48/227948/2
Dewal Agarwal [Tue, 17 Mar 2020 10:00:06 +0000 (15:30 +0530)]
Add CPU stats for Battery Dump

Change-Id: Iaaf36bea45b830c4876892e948a859b8c76e0518

4 years agoAdd Battery Monitor Server Implememtation for New APIs 47/227947/1
Dewal Agarwal [Mon, 9 Mar 2020 08:15:20 +0000 (13:45 +0530)]
Add Battery Monitor Server Implememtation for New APIs

- Add start and stop time for queries
- Add Dbus interface for New APIs

Change-Id: I2b0df540811493ee7b45e5cbdda0493b5da43934

4 years agoMerge "Set the base error code as Tizen official value" into tizen_5.5 accepted/tizen/5.5/unified/20200312.234547 submit/tizen_5.5/20200311.114948
Randeep Singh [Wed, 11 Mar 2020 11:46:10 +0000 (11:46 +0000)]
Merge "Set the base error code as Tizen official value" into tizen_5.5

4 years agoMerge "Separate system Bluetooth usage from app usage" into tizen_5.5
Randeep Singh [Wed, 11 Mar 2020 11:45:59 +0000 (11:45 +0000)]
Merge "Separate system Bluetooth usage from app usage" into tizen_5.5

4 years agoMerge "Initialize optind before getopt" into tizen_5.5
Randeep Singh [Wed, 11 Mar 2020 11:45:50 +0000 (11:45 +0000)]
Merge "Initialize optind before getopt" into tizen_5.5

4 years agoSet the base error code as Tizen official value 70/227370/1
Kichan Kwon [Tue, 10 Mar 2020 01:37:27 +0000 (10:37 +0900)]
Set the base error code as Tizen official value

Change-Id: Ie7b2c9e6c1ae9e24451006e37c65519e35b967d0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit 756843935a647998f6cd7e03872ce02e008730dd)

4 years agoSeparate system Bluetooth usage from app usage 69/227369/1
Kichan Kwon [Mon, 9 Mar 2020 01:40:26 +0000 (10:40 +0900)]
Separate system Bluetooth usage from app usage

- To prevent including system usage into the app power consumption

Change-Id: I9c95df2ead983bf999a3818c600869abdba25631
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit ba6acbceb3414be72b4525d96bf149af66982303)

4 years agoInitialize optind before getopt 68/227368/1
Kichan Kwon [Fri, 6 Mar 2020 03:02:04 +0000 (12:02 +0900)]
Initialize optind before getopt

- getopt doesn't initialize optind
- So, we must reset it on each subsequent call

Change-Id: I4f5bd874a8daeef12d7234a21e6975e9cbe7c846
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit 27f62eeb0271c97ebcbf0cf2e347ac727a6c20d5)

4 years agoBattery listeners for GPS, Charging, capacity,signal strenght added 67/227367/1
kamaljeet chauhan [Wed, 4 Mar 2020 06:46:50 +0000 (12:16 +0530)]
Battery listeners for GPS, Charging, capacity,signal strenght added

Change-Id: I7736712af3d4a237acb2f9f803901dfb24d6578f
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
(cherry picked from commit f86d41b5fac20d6bff030debd039f18d532cbf2b)

4 years agoModify usage output and overflow check 38/227038/1 submit/tizen_5.5/20200311.113804
Dewal Agarwal [Wed, 26 Feb 2020 11:12:58 +0000 (16:42 +0530)]
Modify usage output and overflow check

Change-Id: Iecffd54045b3d51e53e5a93d177d675f68f90555
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
(cherry picked from commit 527fe3a86d95c18de6a8dde826001842f26c37b9)

4 years agoMerge "svace issue fixed for battery listener" into tizen_5.5
Randeep Singh [Mon, 9 Mar 2020 07:44:46 +0000 (07:44 +0000)]
Merge "svace issue fixed for battery listener" into tizen_5.5

4 years agoReplace CPU power consumption parameters 28/226928/1
Kichan Kwon [Mon, 17 Feb 2020 11:01:34 +0000 (20:01 +0900)]
Replace CPU power consumption parameters

- Use utime and stime instead of fg and bg time

Change-Id: I6ada2765f0884d41397480f6cc28e89343d0ffeb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit cc7c48251a5913124103f9718ff6e89eef5b3f58)

4 years agosvace issue fixed for battery listener 27/226927/1
kamaljeet chauhan [Mon, 2 Mar 2020 13:00:05 +0000 (18:30 +0530)]
svace issue fixed for battery listener

Change-Id: I542b758f5c75f6699c497d16bf4d455f6f8df45a
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
(cherry picked from commit 65872abcc7b01820df2b42b24c2f944e352c8c76)

4 years agoAdd Battery Dump and Database changes 40/225940/2
Dewal Agarwal [Tue, 25 Feb 2020 12:54:53 +0000 (18:24 +0530)]
Add Battery Dump and Database changes

Merge remote-tracking branch 'origin/tizen' into tizen_5.5

Squashed commit of the following:

commit 0658a3d5d90cc0905334c52e5571640294f7762d
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Feb 24 17:09:15 2020 +0530

    Add first entry for TIME

    - Update base_time for first entry
    - Make first node record conditional

    Change-Id: Ib93042a7df321267f8280b535cbf4166ca511adb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 51140ad7327f43fdd7f08abaa2edf73a1a31ee26
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Feb 20 12:33:02 2020 +0530

    Free stored history data upon deinit

    - Add history data dump free & reset
    - Handle case of invalid events

    Change-Id: I83ff741c9cd4573d0bdbef689646202aebb2bedb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit fb355090d2a0d92330e8bda737206ff88e4dc7b2
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Feb 19 16:52:28 2020 +0530

    Change the method to create dump buffers

    - Remove unnecessary assignments operation
    - Add memory free before return statements

    Change-Id: I3e2a4f29982d8e0295ad94791aa818f2e7e7a629
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit fbefbe27a5a666919b8fd1df0c4a943f956f9fef
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Feb 19 14:23:10 2020 +0530

    Enhance the Plugin data handle free operation

    - Correct the data handle free functions.
    - Correct the order of module deinit.

    Change-Id: I71d1456789520bb13f7b83e6c4a059dec4c0a433
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 964a9df2641237a5f3471aae40b539a600bd87ae
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Fri Jan 31 18:18:13 2020 +0530

    Fix: SVACE Issues in Source Code

    Change-Id: I77d41645a46f7bcb768d6b3e87e04b5918ba5be5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit f27c122bbef5d675b97a6641c34ef16b0a98f12b
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Thu Jan 30 18:56:09 2020 +0900

    Make new states about resource usage

    - Bu(BLE usage) and Wu(Wi-Fi usage)
    - To store usage, add a new field in the history item

    Change-Id: I72f0c7bed623df53806b8238377166317fce9009
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 289a951c3bc4897b8004fdad585b13353ce995e7
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Wed Jan 29 10:59:43 2020 +0900

    Dump the elapsed time from last event

    - To show how long the last status is lasted

    Change-Id: I2068cd897cd3baa90aebb4f6d60a9bbcf0a7dd0e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit aac5bb2d03dc2561b7d1c550a85e75ee8e7e40a1
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Tue Jan 28 13:36:14 2020 +0900

    Make DUMP_DUMMY build flag

    - To watch dump string, set DUMP_DUMMY as "ON"
    - In addition, remove deprecated test function

    Change-Id: I0e9a1e58f7bb75ecc442a0a2a2bd7c6d5877392e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 381480c191514529d971d37e2ec46cf6ea29c4f9
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Tue Jan 28 13:26:07 2020 +0900

    Store time as millisecond which Historian wants

    Change-Id: Ia397f689d54d80cd7ee5026c3e6bb7ca481caaf8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 611ca150b8ad9f09eea82b6f1e3ece0cc465cc54
Merge: e74cb70 98f8a05
Author: Abhishek Vijay <abhishek.v@samsung.com>
Date:   Tue Feb 11 04:28:23 2020 +0000

    Merge "Battery Monitor Listeners BT,Wifi,Display,Brightness" into
tizen

commit e74cb70ec00c89e10c811d669a229fc93a061205
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Feb 6 17:54:41 2020 +0530

    Fix: Invalid Memory Access issues

    Change-Id: Id591606bf573c113695097636648cf95e8df37b1
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
    (cherry picked from commit 6c89017897d35124ee4886998d4dd7e31fb59a6d)

commit 98f8a05f23ff953db887e69ec8b556f9ac36b159
Author: kamaljeet chauhan <kamal.jc@samsung.com>
Date:   Thu Jan 23 17:04:32 2020 +0530

    Battery Monitor Listeners BT,Wifi,Display,Brightness

    Change-Id: If491cebc5a3573aa32258696acdf1991ce58c6e9
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
commit cb0e87cb1b89bc1676cd831b5c3ada67c701712f
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Jan 27 18:21:46 2020 +0530

    Fix: Case of improper handle in fail case

    Change-Id: Icd4ab121ae8bfcb1e0debda044e5d52d8f0ab625
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 042b4a3fb572a4bad071d513f9322d332ad406b8
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 22 17:38:07 2020 +0530

    Modify UID in Dump

    Change-Id: I67130ca5aabdf5f54ef3644d0398d546ceee0b31
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 2552175d3f8a059a59af805739b36f69b69516d1
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 22 11:50:24 2020 +0530

    Add Test Function

    Change-Id: I1b08995199e419eededf7d4ce2f446ef649c81e5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit ba9a6f6e3704a2bfb77ece51492224652f66873c
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 21 19:42:47 2020 +0530

    Add Signal Strength & Screen Brightness

    Change-Id: I99be2da604fb8afca391a7e33c62cb52eb8ecd14
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit bbde1976423cdae4c75384a961e22dc58e9e1533
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 21 19:41:07 2020 +0530

    Enhance Db information

    Change-Id: I2abd8fe86ba5f521e75d6f2517a4f66dc944f9a8
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit a7195780b8a4eb5085164b87ceaaeb23847d6624
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Mon Jan 20 19:10:42 2020 +0900

    Dump each line instead of whole string

    - Pass fd to each print function
    - It reverts "Adding String for Dump Sys"
      - This reverts commit 00a8c7c425c3c5b6df4a1bf920c0aaba43a5de35.

    Change-Id: Icb72edc7f68ccf6c53b50502d3488d6357c688a4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 8d7404c770838a4831b4be7ffa711f2a1d38f3db
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Thu Dec 26 12:47:37 2019 +0900

    Add dumpsys callback

    Change-Id: I2250a41b2e5658846ce31355ead449f038b22347
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 00a8c7c425c3c5b6df4a1bf920c0aaba43a5de35
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Jan 16 16:48:49 2020 +0530

    Adding String for Dump Sys

    Change-Id: I872d42d91fd71191023470c9af5e66453c090b5a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 215116e9ca43a19c7ed4970057f27ad6a54faf83
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Jan 16 15:40:05 2020 +0530

    Battery information in Battery Dump

    Change-Id: Icc29202348efe4f1c291c765d2e9e67a713cb1fc
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 922e7217de480ab76652e3c1b2b05ce5881ed4a0
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 14 16:51:05 2020 +0530

    Battery Dump for Plugin Data

    Change-Id: I509b256585218049cf57dc30b07010bed017216a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 16cdf1c06c636104daab30b78cc9c29f00a09ae2
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Fri Jan 10 18:10:57 2020 +0530

    Query Functions to Get Data(Plugin) from DB

    Change-Id: I1c574a7c091c59e12de5dd55a551cb1e45f0e7d7
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit b226992ed075ce0de97f66c9c45b4ca26ffd374e
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 8 16:30:21 2020 +0530

    Storing Data from Plugins

    Change-Id: Icd7892b79bbf04cfd02beed4461a3a4d89251add
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit e4507676b491d61b5a90ad0f60b1a30581f9c3d1
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Jan 6 10:34:48 2020 +0530

    Battery Dump: Correcting Base Time Difference

    Change-Id: Ie2baf958fd17afe799c084221fab252418714407
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 3e017d569a2109801d82b86d30e8618c401eb9fd
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Dec 24 15:54:35 2019 +0530

    [ADDING]Battery Dump: UID support

    Change-Id: Id904cde9d6f79adb8525411988a7422daa816f1d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 641d514fdacc7aea4ab93dd0b90ad5fbb96d8733
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Dec 23 19:01:49 2019 +0530

    [ADDING]Battery Dump: Str Pool Support

    Change-Id: Idfacad52ba1bf6f47189759fbc88fe26bba1d083
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 28efe1b20e0dc1427ef775bdccd99cb11ff0db00
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Dec 19 16:41:16 2019 +0800

    Battery Monitor Dump Implementation: Initial Commit

    Change-Id: I61d97f80d0302c8506b1e08ce4edf1dfabbe7478
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 6e3d6411beee3768b9600c79b7047702d50a1f95
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Nov 7 13:28:20 2019 +0530

    Adding: Mapping of AppId to numerical value

    Change-Id: I54e7b89849c15160e36ab6686ca5a2977da9b171
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 02e5a0060c17d03447d009693fe6d63cf8fb3313
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Nov 6 15:49:02 2019 +0530

    Modifying to give percentage values

    Change-Id: I67f2c7152d93a445fefc8de0238d29327abc95c6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Change-Id: I386a135d11013766c86e1bb6960b47750d9b839c

4 years agoAdd first entry for TIME 03/225803/1 accepted/tizen/unified/20200226.124247 submit/tizen/20200226.045722
Dewal Agarwal [Mon, 24 Feb 2020 11:39:15 +0000 (17:09 +0530)]
Add first entry for TIME

- Update base_time for first entry
- Make first node record conditional

Change-Id: Ib93042a7df321267f8280b535cbf4166ca511adb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFree stored history data upon deinit 82/225482/2
Dewal Agarwal [Thu, 20 Feb 2020 07:03:02 +0000 (12:33 +0530)]
Free stored history data upon deinit

- Add history data dump free & reset
- Handle case of invalid events

Change-Id: I83ff741c9cd4573d0bdbef689646202aebb2bedb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoChange the method to create dump buffers 90/225390/2
Dewal Agarwal [Wed, 19 Feb 2020 11:22:28 +0000 (16:52 +0530)]
Change the method to create dump buffers

- Remove unnecessary assignments operation
- Add memory free before return statements

Change-Id: I3e2a4f29982d8e0295ad94791aa818f2e7e7a629
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoEnhance the Plugin data handle free operation 72/225372/4
Dewal Agarwal [Wed, 19 Feb 2020 08:53:10 +0000 (14:23 +0530)]
Enhance the Plugin data handle free operation

- Correct the data handle free functions.
- Correct the order of module deinit.

Change-Id: I71d1456789520bb13f7b83e6c4a059dec4c0a433
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFix: SVACE Issues in Source Code 50/223650/3 accepted/tizen/unified/20200219.130122 submit/tizen/20200219.053054
Dewal Agarwal [Fri, 31 Jan 2020 12:48:13 +0000 (18:18 +0530)]
Fix: SVACE Issues in Source Code

Change-Id: I77d41645a46f7bcb768d6b3e87e04b5918ba5be5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMake new states about resource usage 27/223627/4
Kichan Kwon [Thu, 30 Jan 2020 09:56:09 +0000 (18:56 +0900)]
Make new states about resource usage

- Bu(BLE usage) and Wu(Wi-Fi usage)
- To store usage, add a new field in the history item

Change-Id: I72f0c7bed623df53806b8238377166317fce9009
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoDump the elapsed time from last event 55/223355/4
Kichan Kwon [Wed, 29 Jan 2020 01:59:43 +0000 (10:59 +0900)]
Dump the elapsed time from last event

- To show how long the last status is lasted

Change-Id: I2068cd897cd3baa90aebb4f6d60a9bbcf0a7dd0e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMake DUMP_DUMMY build flag 54/223254/6
Kichan Kwon [Tue, 28 Jan 2020 04:36:14 +0000 (13:36 +0900)]
Make DUMP_DUMMY build flag

- To watch dump string, set DUMP_DUMMY as "ON"
- In addition, remove deprecated test function

Change-Id: I0e9a1e58f7bb75ecc442a0a2a2bd7c6d5877392e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoStore time as millisecond which Historian wants 73/223273/5
Kichan Kwon [Tue, 28 Jan 2020 04:26:07 +0000 (13:26 +0900)]
Store time as millisecond which Historian wants

Change-Id: Ia397f689d54d80cd7ee5026c3e6bb7ca481caaf8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoCorrect Memory Leaks in Data Handle Free Operation 37/224537/2
Dewal Agarwal [Tue, 11 Feb 2020 09:07:46 +0000 (14:37 +0530)]
Correct Memory Leaks in Data Handle Free Operation

Change-Id: Ia2161c0cbd9613193a3374b517d3cbfc23488e0d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Battery Monitor Listeners BT,Wifi,Display,Brightness" into tizen
Abhishek Vijay [Tue, 11 Feb 2020 04:28:23 +0000 (04:28 +0000)]
Merge "Battery Monitor Listeners BT,Wifi,Display,Brightness" into tizen

4 years agoFix: Invalid Memory Access issues 54/224354/1
Dewal Agarwal [Thu, 6 Feb 2020 12:24:41 +0000 (17:54 +0530)]
Fix: Invalid Memory Access issues

Change-Id: Id591606bf573c113695097636648cf95e8df37b1
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
(cherry picked from commit 6c89017897d35124ee4886998d4dd7e31fb59a6d)

4 years agoFix: Invalid Memory Access issues 39/224139/1
Dewal Agarwal [Thu, 6 Feb 2020 12:24:41 +0000 (17:54 +0530)]
Fix: Invalid Memory Access issues

Change-Id: Id591606bf573c113695097636648cf95e8df37b1
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery Monitor Listeners BT,Wifi,Display,Brightness 57/223157/8
kamaljeet chauhan [Thu, 23 Jan 2020 11:34:32 +0000 (17:04 +0530)]
Battery Monitor Listeners BT,Wifi,Display,Brightness

Change-Id: If491cebc5a3573aa32258696acdf1991ce58c6e9
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
4 years agoFix: Case of improper handle in fail case 16/223216/3 accepted/tizen/unified/20200203.125806 submit/tizen/20200131.044212
Dewal Agarwal [Mon, 27 Jan 2020 12:51:46 +0000 (18:21 +0530)]
Fix: Case of improper handle in fail case

Change-Id: Icd4ab121ae8bfcb1e0debda044e5d52d8f0ab625
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFix: Case of improper handle in fail case 82/223482/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200131.115212 submit/tizen_5.5/20200130.070347
Dewal Agarwal [Mon, 27 Jan 2020 12:51:46 +0000 (18:21 +0530)]
Fix: Case of improper handle in fail case

Change-Id: Icd4ab121ae8bfcb1e0debda044e5d52d8f0ab625
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoModify UID in Dump 57/223057/2
Dewal Agarwal [Wed, 22 Jan 2020 12:08:07 +0000 (17:38 +0530)]
Modify UID in Dump

Change-Id: I67130ca5aabdf5f54ef3644d0398d546ceee0b31
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoAdd Test Function 11/223011/2
Dewal Agarwal [Wed, 22 Jan 2020 06:20:24 +0000 (11:50 +0530)]
Add Test Function

Change-Id: I1b08995199e419eededf7d4ce2f446ef649c81e5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoAdd Signal Strength & Screen Brightness 61/222961/1
Dewal Agarwal [Tue, 21 Jan 2020 14:12:47 +0000 (19:42 +0530)]
Add Signal Strength & Screen Brightness

Change-Id: I99be2da604fb8afca391a7e33c62cb52eb8ecd14
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoEnhance Db information 60/222960/1
Dewal Agarwal [Tue, 21 Jan 2020 14:11:07 +0000 (19:41 +0530)]
Enhance Db information

Change-Id: I2abd8fe86ba5f521e75d6f2517a4f66dc944f9a8
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoDump each line instead of whole string 28/222828/1
Kichan Kwon [Mon, 20 Jan 2020 10:10:42 +0000 (19:10 +0900)]
Dump each line instead of whole string

- Pass fd to each print function
- It reverts "Adding String for Dump Sys"
  - This reverts commit 00a8c7c425c3c5b6df4a1bf920c0aaba43a5de35.

Change-Id: Icb72edc7f68ccf6c53b50502d3488d6357c688a4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoAdd dumpsys callback 71/220971/3
Kichan Kwon [Thu, 26 Dec 2019 03:47:37 +0000 (12:47 +0900)]
Add dumpsys callback

Change-Id: I2250a41b2e5658846ce31355ead449f038b22347
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoAdding String for Dump Sys 01/222601/1 accepted/tizen/unified/20200120.133125 submit/tizen/20200117.162935
Dewal Agarwal [Thu, 16 Jan 2020 11:18:49 +0000 (16:48 +0530)]
Adding String for Dump Sys

Change-Id: I872d42d91fd71191023470c9af5e66453c090b5a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery information in Battery Dump 95/222595/1
Dewal Agarwal [Thu, 16 Jan 2020 10:10:05 +0000 (15:40 +0530)]
Battery information in Battery Dump

Change-Id: Icc29202348efe4f1c291c765d2e9e67a713cb1fc
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery Dump for Plugin Data 02/222402/5
Dewal Agarwal [Tue, 14 Jan 2020 11:21:05 +0000 (16:51 +0530)]
Battery Dump for Plugin Data

Change-Id: I509b256585218049cf57dc30b07010bed017216a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoQuery Functions to Get Data(Plugin) from DB 20/222220/4
Dewal Agarwal [Fri, 10 Jan 2020 12:40:57 +0000 (18:10 +0530)]
Query Functions to Get Data(Plugin) from DB

Change-Id: I1c574a7c091c59e12de5dd55a551cb1e45f0e7d7
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoStoring Data from Plugins 58/221958/3
Dewal Agarwal [Wed, 8 Jan 2020 11:00:21 +0000 (16:30 +0530)]
Storing Data from Plugins

Change-Id: Icd7892b79bbf04cfd02beed4461a3a4d89251add
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery Dump: Correcting Base Time Difference 91/221591/3
Dewal Agarwal [Mon, 6 Jan 2020 05:04:48 +0000 (10:34 +0530)]
Battery Dump: Correcting Base Time Difference

Change-Id: Ie2baf958fd17afe799c084221fab252418714407
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years ago[ADDING]Battery Dump: UID support 03/220903/2
Dewal Agarwal [Tue, 24 Dec 2019 10:24:35 +0000 (15:54 +0530)]
[ADDING]Battery Dump: UID support

Change-Id: Id904cde9d6f79adb8525411988a7422daa816f1d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years ago[ADDING]Battery Dump: Str Pool Support 29/220829/2
Dewal Agarwal [Mon, 23 Dec 2019 13:31:49 +0000 (19:01 +0530)]
[ADDING]Battery Dump: Str Pool Support

Change-Id: Idfacad52ba1bf6f47189759fbc88fe26bba1d083
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery Monitor Dump Implementation: Initial Commit 45/220545/3
Dewal Agarwal [Thu, 19 Dec 2019 08:41:16 +0000 (16:41 +0800)]
Battery Monitor Dump Implementation: Initial Commit

Change-Id: I61d97f80d0302c8506b1e08ce4edf1dfabbe7478
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoAdding: Mapping of AppId to numerical value 76/217176/2 accepted/tizen/unified/20191108.065932 submit/tizen/20191107.135014
Dewal Agarwal [Thu, 7 Nov 2019 07:58:20 +0000 (13:28 +0530)]
Adding: Mapping of AppId to numerical value

Change-Id: I54e7b89849c15160e36ab6686ca5a2977da9b171
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoModifying to give percentage values 75/217175/1
Dewal Agarwal [Wed, 6 Nov 2019 10:19:02 +0000 (15:49 +0530)]
Modifying to give percentage values

Change-Id: I67f2c7152d93a445fefc8de0238d29327abc95c6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoMerge "Source Code fix for ASAN Build" into tizen accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023027 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090645 accepted/tizen/unified/20191018.055452 submit/tizen/20191016.083452 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Abhishek Vijay [Wed, 16 Oct 2019 08:31:07 +0000 (08:31 +0000)]
Merge "Source Code fix for ASAN Build" into tizen

5 years agoSource Code fix for ASAN Build 25/215225/2
Dewal Agarwal [Thu, 3 Oct 2019 10:18:10 +0000 (15:48 +0530)]
Source Code fix for ASAN Build

Change-Id: I7003994824d5c1855e6b052c277e732a97f691a6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agofixing recursive inclusion of header 38/215338/1 accepted/tizen/unified/20191008.101546 submit/tizen/20191007.125302
Abhishek Vijay [Mon, 7 Oct 2019 05:48:09 +0000 (11:18 +0530)]
fixing recursive inclusion of header

Change-Id: Ibe2cf4114ab29b300876f9bcf789da726e1698f8
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
5 years agoMacro mapping fix 03/215103/1 accepted/tizen/unified/20191006.223604 submit/tizen/20191001.115706
Dewal Agarwal [Tue, 1 Oct 2019 11:42:26 +0000 (17:12 +0530)]
Macro mapping fix

Change-Id: Ic2a6225e39cc162b283776be050196c576456df8
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoDB Cleanup Handling 99/215099/1
Dewal Agarwal [Tue, 1 Oct 2019 10:59:33 +0000 (16:29 +0530)]
DB Cleanup Handling

Change-Id: I74e30c0600d795b17f9b581d20afa146950dc8ac
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoSVACE fixes 17/214917/1 submit/tizen/20191001.082622
Abhishek Vijay [Fri, 27 Sep 2019 12:58:44 +0000 (18:28 +0530)]
SVACE fixes

Change-Id: Idedc4f2cecd041e3ff4e6e4bcfc4d89072d2720d
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
5 years agocoverity fixes 99/214899/1
Abhishek Vijay [Fri, 27 Sep 2019 09:45:41 +0000 (15:15 +0530)]
coverity fixes

Change-Id: Ie3d014cf8a204e4bd818df790066d982064f23d7
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
5 years agoFix DB column name 89/214189/1 accepted/tizen/unified/20190919.065303 submit/tizen/20190919.020747
Kichan Kwon [Thu, 19 Sep 2019 01:39:28 +0000 (10:39 +0900)]
Fix DB column name

Change-Id: Ia5c2d445bf873565d40207a4048a5dbad278b15e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
5 years agoadding cynara init & deinit 64/214164/1
Abhishek Vijay [Wed, 18 Sep 2019 12:12:40 +0000 (17:42 +0530)]
adding cynara init & deinit

Change-Id: I5ec84994db7006684f3af7787f8c56005482e139
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
5 years agoInitial code corrections 10/214110/1
Dewal Agarwal [Wed, 18 Sep 2019 06:53:06 +0000 (12:23 +0530)]
Initial code corrections

Change-Id: Ie0208059bb6e824132fe576673d5e36a89b547b6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
5 years agoInitial source code 76/214076/3
Kichan Kwon [Wed, 18 Sep 2019 00:51:21 +0000 (09:51 +0900)]
Initial source code

- Bring from devel repo : PR #76

Change-Id: Ie9a7218ab1b21338fd600a6f5f8e5dd88d315183
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Sun, 11 Aug 2019 23:21:15 +0000 (23:21 +0000)]
Initial empty repository