Add Battery Dump and Database changes 40/225940/2
authorDewal Agarwal <d1.agarwal@samsung.com>
Tue, 25 Feb 2020 12:54:53 +0000 (18:24 +0530)
committerDewal Agarwal <d1.agarwal@samsung.com>
Tue, 25 Feb 2020 13:21:35 +0000 (18:51 +0530)
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

1  2 
src/bm_server.c

diff --cc src/bm_server.c
Simple merge