Vyacheslav Cherkashin [Thu, 21 Aug 2014 14:06:18 +0000 (18:06 +0400)]
[FIX] preventing sockets inheritance on exec
Change-Id: Ie63d09ff5ffcead950d9f26711fdfa19791d330a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Wed, 20 Aug 2014 16:49:16 +0000 (20:49 +0400)]
[FIX] feature value transition to ld preloaded lib
Change-Id: Ic5b075cf2948d2eafda5bb8cedcb5b561dacad00
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 20 Aug 2014 08:35:09 +0000 (12:35 +0400)]
[FIX] network permission
add debugging_network rw rule (smack permissions)
Change-Id: Idd6ca95d25e7485ad7e54053c29f4d6e03f14790
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
woojin [Sat, 9 Aug 2014 10:56:53 +0000 (19:56 +0900)]
add readlink command : to get value of symbolic link or canonical file name
Change-Id: I026ff0ab08c8efbd56d9095d162ea2b8a96054c5
Signed-off-by: woojin <woojin2.jung@samsung.com>
Alexander Aksenov [Wed, 6 Aug 2014 16:23:12 +0000 (20:23 +0400)]
[FIX] generate_maps_inst_msg() mem size eval
Change-Id: Id4618d475eb22816e62e293615ea87f1949d4c16
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 31 Jul 2014 12:35:55 +0000 (16:35 +0400)]
[FIX] msg mapping list
fix problem with ld probes missing
probes called before mapping message were not collected
Change-Id: Iaecf08fb52b253c51506796ad66c614ea4f5d88a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 21 Jul 2014 16:44:24 +0000 (20:44 +0400)]
[PROTO] add MSG_GET_PROCESS_ADD_INFO
currently to get cmd_line
Change-Id: I8dcd0ac89ce45b7d8540533f384e5547f77990e8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 21 Jul 2014 09:18:45 +0000 (13:18 +0400)]
[FIX] include paths (capi-system-*)
Change-Id: I094281dacc37b1956c8386136372dd6b9c20e969
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Dmitry Kovalenko [Mon, 21 Jul 2014 07:39:03 +0000 (00:39 -0700)]
Merge "[REFACTOR] Move start.sh/stop.sh from swap-modules" into prod_rel
Vasiliy Ulyanov [Mon, 21 Jul 2014 07:24:57 +0000 (11:24 +0400)]
[REFACTOR] Move start.sh/stop.sh from swap-modules
swap-modules commit:
beb4f68781174b046bd650311318369a9717ec8e
Change-Id: I9abff1126e84cd0bf126d6485bcd3667248f1e95
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Dmitry Kovalenko [Mon, 21 Jul 2014 06:17:12 +0000 (10:17 +0400)]
[FIX] Remove swap-module dependency for Kiran
Change-Id: I4ba1062195bf8a7767072a9feb7609cbb0e23db3
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Fri, 18 Jul 2014 12:41:48 +0000 (16:41 +0400)]
[FIX] binary message daemon fault
Change-Id: Iaef56f9e2d3829277b44e3fe67b902ed54027a5e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 14 Jul 2014 11:48:53 +0000 (15:48 +0400)]
[FIX] Increase buffer size
Change-Id: Ib1551a36f41e57d2c2eba03eb0160ef76d0aecf3
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Tue, 15 Jul 2014 05:55:16 +0000 (09:55 +0400)]
[FEATURE] internal external call instrumentation
if the library is instrumented all ld probes for this lib will be packed
if regular feture is enabled but always feature is not.
Change-Id: I27225519ec5aaa222d021835eab516d4d72910e7
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 10 Jul 2014 09:12:41 +0000 (13:12 +0400)]
[PROTO] add MSG_WARNING support
MSG_WARNING support between daemon and LD_PRELOADed application
log output format changed
Change-Id: I80c08e2412daea29b51df4897530f32787a0280a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 10 Jul 2014 09:09:44 +0000 (13:09 +0400)]
[PROTO] MSG_SYSTEM: disk rw sectors changed to rw bytes
Change-Id: Ie36ddd41560034174f08dde5cf683af6aa1afc72
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 4 Jul 2014 11:47:39 +0000 (15:47 +0400)]
[FIX] MSG_BINARY_INFO message
pack binary type 0xffffffff if file does not exist
Change-Id: I176315a6b5022b35bfd3d4a548d0938aa173f714
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Fri, 11 Jul 2014 06:36:33 +0000 (10:36 +0400)]
[CLEAN] Remove capi-telephony-* build dependency
Change-Id: I0905dd79ce24a53e84b87482fffc391463c605af
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Fri, 27 Jun 2014 11:13:07 +0000 (15:13 +0400)]
[FIX] da_manager smack permitions
add network permition to manifest
Change-Id: I9677adbdd54c2a5e79736946e893790bbc68685a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Thu, 26 Jun 2014 14:14:42 +0000 (18:14 +0400)]
[IMPROVE] Implement find_pid_from_path without pidof
Change-Id: I8ef8f6c86be5fd0aec7156ad91d54e8b486b0ed4
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Thu, 26 Jun 2014 08:34:49 +0000 (12:34 +0400)]
[IMPROVE] increase max libs count to instrument
Change-Id: Idbda8df05b9ab89dd55c4f1207786eec88b66d71
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 23 Jun 2014 12:39:04 +0000 (16:39 +0400)]
[FIX] Reduce buffer size for low-mem devices (Kiran)
Change-Id: I251aa2a136b25045bca5d0daa620de453b50b335
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Mon, 23 Jun 2014 12:36:42 +0000 (16:36 +0400)]
[FEATURE] Add Kiran input devices support
- keys: sci-keypad, ist30xx_ts_tinput
- touchscreen:: ist30xx_ts_input
Change-Id: I24d102d597fa232b4693b9649b11a831f7b8bfb5
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Tue, 17 Jun 2014 14:38:03 +0000 (18:38 +0400)]
[FIX] unload modules on EFL instrumentation
add O_CLOEXEC param on open tasks dev (fopen(..., "e"))
Change-Id: I113e8a8cde4f9ba2d32e279aeddc3d97d84c60e8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 23 May 2014 11:26:16 +0000 (15:26 +0400)]
[PROTO] new MSG_SYSTEM format message
Change-Id: Iea6b8ec87dc072cbbdbbf81bc2174a3b79dec9c8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 30 Apr 2014 08:45:58 +0000 (12:45 +0400)]
[IMPROVE] Build: add modules and probe to requires
Change-Id: I357903e4394941a18eadd63f872dbf3a37816e91
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Tue, 20 May 2014 17:00:46 +0000 (21:00 +0400)]
[FIX] daemon fail on host disconnection while instrumentation
splice fails to disconnected socket
Change-Id: Ie8a44a52c81253c80708e1a639c2cdc0a723eb31
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 19 May 2014 15:28:23 +0000 (19:28 +0400)]
[FIX] add da_manager CPU load info to MSG_SYSTEM
Change-Id: I75d23f4b508f1af04190d4368f40cc02631d090c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Wed, 14 May 2014 05:16:31 +0000 (22:16 -0700)]
Merge "[FIX] inherited fds leaking" into prod_rel
Vitaliy Cherepanov [Tue, 13 May 2014 13:44:06 +0000 (17:44 +0400)]
[FIX] inherited fds leaking
Add O_CLOEXEC flag on open
Change-Id: I492228f2efd2a66b4d42d5923f0b40b198d398db
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 13 May 2014 13:24:03 +0000 (17:24 +0400)]
[FIX] LD_PRELOAD for 3 app type (common app)
Change-Id: I09138e7792ee0deec8f302301041b0bad92f4ac9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 24 Apr 2014 08:52:16 +0000 (12:52 +0400)]
[FIX] start profiling time value in MSG_START_ACK
Change-Id: I7b9d07d514ca79c175261d5e5c3b9f9e0a8acc55
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 23 Apr 2014 08:52:45 +0000 (12:52 +0400)]
[FIX] build. (remove memory leaks)
fix for:
5450910a130e257ba698906eec12abd73bcc9090
Idfe22b4ac76a8a1c23101361d6ce2a1758e1c05c
Change-Id: Ib8074401dd39b47f922d70b77f50f2e60aef70c6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 16 Apr 2014 16:07:55 +0000 (20:07 +0400)]
[FIX] remove memory leaks
add memory debug system and fix old memory leak
Change-Id: Idfe22b4ac76a8a1c23101361d6ce2a1758e1c05c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 2 Apr 2014 11:03:36 +0000 (15:03 +0400)]
Revert "[FEATURE] Implement kernel -> user connection"
This reverts commit
bf21f0426fe844a434b929c90929052fef518052.
Change-Id: I0412d700df197fcd6bb5c2d4a868080ffa92d67c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 2 Apr 2014 11:03:26 +0000 (15:03 +0400)]
Revert "[IMPROVE] Implement freezing/unfreezing apps"
This reverts commit
12530133d6e0236630a10c8db36f4f0ea40cfdfc.
Change-Id: I0f04f8f49eed51fc8ddcb83dc0152811a0f20a22
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 2 Apr 2014 11:02:47 +0000 (15:02 +0400)]
Revert "[FIX] Working w/o netlink"
This reverts commit
f00d555b1a09da91926c4cf32cb498a2a12b5e4c.
Change-Id: I32b6f6868712456fa6b1138df1cbbcdf9b26ee76
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 2 Apr 2014 11:02:12 +0000 (15:02 +0400)]
Revert "[FIX] Working w/o freezer subgroup"
This reverts commit
9e2cd58931d6e70c3c58ad0336c6f7595301be87.
Change-Id: I74774ac6c8b650660fad9fc4f4b02bd38fb3db26
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Mon, 27 Jan 2014 13:11:43 +0000 (17:11 +0400)]
[FIX] MSG_TERMINATE
move MSG_TERMINATE generate to kernel
Change-Id: I683777c5fce0db90658b0335d0f9aee3b9fcf991
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 7 Mar 2014 09:02:39 +0000 (13:02 +0400)]
[IMPROVE] improve debug. add line number to debug message
Change-Id: Id7b6c32888336abf304db8c30454c42d767ce353
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 7 Mar 2014 08:51:27 +0000 (12:51 +0400)]
[IMPROVE] improve write_to_buf error message
print additional parmeters in LOGE message
Change-Id: I47add597227e4f044ec659cc482238585d090346
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 7 Mar 2014 08:43:21 +0000 (12:43 +0400)]
[IMPROVE] add write_to_buf check result
for all write_to_buf calls add LOGE messages on fail
Change-Id: Iafeafa6411f149da7b79a1859f948928404e6f76
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Bogatov [Fri, 31 Jan 2014 08:08:14 +0000 (12:08 +0400)]
[FIX] Remove no-op assignments
Change-Id: I20cb99efb31c4e2903239a5ec9a65cc3061f6429
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Fri, 31 Jan 2014 07:52:20 +0000 (11:52 +0400)]
Remove redundant NULL check
Change-Id: I7b2d69650bb1f2d7bcf90e3cb409e54493403e46
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Fri, 31 Jan 2014 07:33:21 +0000 (11:33 +0400)]
Mismatched resource deallocation
Change-Id: I104a8c1cbbfe583969db1a5321654de77150997a
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Fri, 31 Jan 2014 07:32:42 +0000 (11:32 +0400)]
Memory leak in error branch
Change-Id: I9df22010dc8498fa522a2b6b32a61fdf40117b8e
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Alexander Aksenov [Tue, 18 Mar 2014 12:00:00 +0000 (16:00 +0400)]
[FIX] Working w/o freezer subgroup
Change-Id: I31dc64a889453eae654cbe0979c6f5760ffe0f46
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 24 Feb 2014 12:33:24 +0000 (16:33 +0400)]
[IMPROVE] Implement system-wide instrumentation
Now when we set app type to APP_RUNNING, empty path can be passed
Change-Id: I82f076662597dbfa5481bb85b90398b4d6ebcf98
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 6 Mar 2014 15:35:23 +0000 (19:35 +0400)]
[FIX] Working w/o netlink
Change-Id: I40278c470d68fc4fd30267cb21a63af81a5c36df
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Thu, 27 Feb 2014 13:16:48 +0000 (05:16 -0800)]
Merge "[IMPROVE] Implement freezing/unfreezing apps"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:55:12 +0000 (04:55 -0800)]
Merge "[FEATURE] Implement kernel -> user connection"
Alexander Aksenov [Tue, 28 Jan 2014 12:19:32 +0000 (16:19 +0400)]
[IMPROVE] Implement freezing/unfreezing apps
Change-Id: I84628cab91cae8c5f65b274e910e017f751ff72d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 23 Jan 2014 12:04:02 +0000 (16:04 +0400)]
[FEATURE] Implement kernel -> user connection
Based on netlink
Change-Id: If2de08afc34d01c1616155770e3236d9adc3fefd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Nikita Kalyazin [Thu, 23 Jan 2014 15:01:06 +0000 (19:01 +0400)]
[IMPROVE] increase max number of functions in lib
Change-Id: I3d711038ce883effdf30135af9ccf94e710f7168
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Thu, 23 Jan 2014 11:49:20 +0000 (15:49 +0400)]
[PROTO] add handling of emtpy PID string
Empty PID string means no filtering by PID is needed.
Change-Id: Id593504d59db4a3fe53c4d3d8aa62be235027219
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Wed, 22 Jan 2014 14:16:41 +0000 (18:16 +0400)]
[FEATURE] web app support
Naive implementation of launch/kill web app (type 4).
Change-Id: Id047a329199b15a7992b94e59d0cbcbc3d7c4e0b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Wed, 8 Jan 2014 17:25:59 +0000 (21:25 +0400)]
[REFACTOR] split system info to separate files
Put the following to new files:
- vconf related stuff;
- system_info related stuff;
- camera count obtaining;
- smack stuff.
Change-Id: I9811d66404d068e2495253a0f6f73a3938aefe2a
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:19:29 +0000 (23:19 +0400)]
[CLEAN] remove unused variables
Change-Id: Iab39490f352c0596167f1a1786a29b47fdd00769
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:19:13 +0000 (23:19 +0400)]
[CLEAN] remove unused code
Change-Id: Iee93b03dd870ba4ecb9fe78ca7998650e094efc1
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:16:56 +0000 (23:16 +0400)]
[FIX] empty string in sprintf
Change-Id: I040875d53be7414cde44cac913e0610547827313
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:16:09 +0000 (23:16 +0400)]
[FIX] missing prototype: include necessary header
Change-Id: I6d0e1c558cddef2d7a72b3ff8f7abea5310ad369
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:14:17 +0000 (23:14 +0400)]
[FIX] missing prototypes: add "static"
Change-Id: I40858b95d6b499e63cb6d77765b7a462cac6febe
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Fri, 3 Jan 2014 18:32:37 +0000 (22:32 +0400)]
[FIX] missing prototype: wrong arguments
Change-Id: Ieab7d12b9520cdd4c5ebfe15d33626c810142f67
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Wed, 1 Jan 2014 19:12:21 +0000 (23:12 +0400)]
[FIX] missing prototypes: add missing "void"
Change-Id: I08a7becd2d467ae42538380787dd9daa57c840ad
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
Nikita Kalyazin [Tue, 31 Dec 2013 09:13:20 +0000 (13:13 +0400)]
[REFACTOR] replace epoll with ecore
also extracted input events code to a separate file.
Change-Id: If6ad2be1a305add9988287447547565a9d6e3d23
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Anastasia Lyupa [Tue, 14 Jan 2014 13:05:09 +0000 (17:05 +0400)]
[FIX] system sampling
fix to
c35167e1a4955aef3fdf14dc862e68a25b655a50
Change-Id: Ide56fd3f296ca5284d695916bdf4ac905b366bf4
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Vitaliy Cherepanov [Mon, 30 Dec 2013 17:49:04 +0000 (21:49 +0400)]
[FIX] Unknown socket fd
message after "Unknown socket fd" stop
Change-Id: I9ba3ec18efb19773e8c139604d24688cfb4c3eac
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Nikita Kalyazin [Thu, 26 Dec 2013 08:49:34 +0000 (12:49 +0400)]
[IMPROVE] input devices for M0 3.10 support
Change-Id: I0b990345f0a8e874a301c774746fe06e924e987d
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Thu, 19 Dec 2013 04:28:03 +0000 (08:28 +0400)]
[PROTO] sampling: range change 10-1000 ms -> 1-100 ms
Change-Id: I9a9f6aef0b9be6c91088698925e0e254b734c65e
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Wed, 18 Dec 2013 13:53:42 +0000 (17:53 +0400)]
[PROTO] system info: send load for all processes
Not only for those that belong to target app.
Manager's load is excluded.
Change-Id: If296e4a4c40cde3f6520f7796c8e33ea5515c0af
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vitaliy Cherepanov [Mon, 23 Dec 2013 16:18:33 +0000 (20:18 +0400)]
[FIX] duplicated events on replay
Change-Id: Iff55f811589449b9803ae5a6778cc2461b67d679
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Anastasia Lyupa [Tue, 17 Dec 2013 08:45:24 +0000 (12:45 +0400)]
[FIX] negative values in system feature variables
send new value instead of difference if
the difference is negative
Change-Id: I28d28a1a5c87035dfb09551428a95c32b1f14fce
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Mon, 16 Dec 2013 15:18:43 +0000 (19:18 +0400)]
[CLEAN] utils.c
remove unused get_appid(), get_app_name()
Change-Id: I5def2d6b2f8774660b5d802b748a6368c14bb085
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Thu, 12 Dec 2013 13:48:04 +0000 (17:48 +0400)]
[IMPROVE] kill_app
check additional paths (/opt/apps, /opt/usr/apps)
Change-Id: Ia76da200dd2ecca77fb40aa6525410cc4efb19a2
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Bogatov [Mon, 9 Dec 2013 11:54:55 +0000 (15:54 +0400)]
[PROTO] Make LCD per app energy same as global
Change-Id: I2be98467fbb1406c32c1b0aa8e91ca8261e7f713
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Nikita Kalyazin [Sat, 30 Nov 2013 12:37:37 +0000 (16:37 +0400)]
[PROTO] system info: total alloc size 32b -> 64b
Change-Id: Id24495813fdf87b0a00c01178e6e4937e9475f27
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Mon, 2 Dec 2013 09:48:54 +0000 (13:48 +0400)]
[FIX] add waitpid for launch_app process
This prevents such processes from being zombie
Change-Id: Ie9fe745e7009a865703f2fb2961c3b51ab966ed7
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vitaliy Cherepanov [Mon, 2 Dec 2013 09:50:31 +0000 (13:50 +0400)]
[PROTO] audio status value
0 - not in use
1 - in use
Change-Id: I389999813aedd2f13e78e2d3e4cd9261785327f9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Bogatov [Tue, 26 Nov 2013 13:50:34 +0000 (17:50 +0400)]
[REFACTOR] Refactor semi-pure calculation of msg_data payload length
Change-Id: I25d46ab034e85055e8e7945984c2b72462031bca
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Mon, 25 Nov 2013 13:37:49 +0000 (17:37 +0400)]
[REFACTOR] recvThread: Eliminate reference to global variable
Change-Id: Ic6dbff9b33c40303e2b4d8f39fc21566a3655eea
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Mon, 25 Nov 2013 12:28:02 +0000 (16:28 +0400)]
[REFACTOR] Refactor big switch from `sendACKToHost`
Change-Id: I7a24af7e84ecbec778fd85f39e102c5e9cf88bdb
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Mon, 25 Nov 2013 10:37:36 +0000 (14:37 +0400)]
[FIX] Fix warnings
Fixed missing headers, consts and unused variable.
Fixed checkpatch warnings
Change-Id: Ica91fc8f50ece997a1752265a5a3e07bf919ac0a
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Alexander Aksenov [Thu, 28 Nov 2013 13:05:23 +0000 (17:05 +0400)]
[STYLE] Daemon code style fix
Change-Id: I1c76f33bb4c4c7f45ba62eacaf9f4a5421f56d09
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 28 Nov 2013 13:03:38 +0000 (17:03 +0400)]
[FIX] apps_count cannot be lower than 0
Change-Id: I43d6bf0569147ffbd653b424b3367c252b31d76f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Nikita Kalyazin [Thu, 28 Nov 2013 05:51:44 +0000 (09:51 +0400)]
[FIX] app launch timer if attaching to running app
Apps count _may_ be equal to 0 (if we are attaching to an app, not
launching one).
Also assert for apps count >= 0 added.
Change-Id: Ia24f2856e4240b5e827026713f613238b36a870a
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vitaliy Cherepanov [Wed, 27 Nov 2013 09:22:19 +0000 (13:22 +0400)]
[FIX] MSG_SYSTEM audio and camera fields
Change-Id: Iad5b5b74e360a25dbd40bfa0e6b342bce761762b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 25 Nov 2013 09:30:38 +0000 (13:30 +0400)]
[IMPROVE] add MSG_ERR support
Change-Id: I88500c79ec2101722f1bb740a64d0e1ab767f541
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Mon, 25 Nov 2013 14:29:52 +0000 (18:29 +0400)]
[IMPROVE] Launch timer support several apps
Timer time = apps count * per-app launch time.
Timer is stopped after last app starts.
Change-Id: Ib4326d4c9b4edc39c21c33f6fead4f854a51bc67
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 20 Nov 2013 11:26:51 +0000 (15:26 +0400)]
[FIX] Daemon terminates all remaining processes
Change-Id: Ia1b3d037531f7319a4ac84fd0491917b1c4f95f9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 19 Nov 2013 11:16:56 +0000 (15:16 +0400)]
[FIX] Daemon starts all apps instead of the only first
Change-Id: Iedae806a9ae0f7d3772e50adadfc90702779bf5d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Tue, 26 Nov 2013 11:01:56 +0000 (15:01 +0400)]
[FIX] rssi status in MSG_SYSTEM
Change-Id: Ib1b54ce31c6ff31fba330dbd9ad75a29c8364eb6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 Nov 2013 09:52:48 +0000 (13:52 +0400)]
[IMPROVE] add sys_stat debug
Change-Id: I2b5cd4b7fc75f9ff678a9bed941a5c8b92bbd67d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Bogatov [Mon, 18 Nov 2013 07:16:40 +0000 (11:16 +0400)]
[CLEAN] Remove all dead code related to LOCALTEST
Also fix style according to checkpatch and remove redundant
comments.
Change-Id: I0e8737fc3ad454750d0143e7ffed2dfc529de408
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Dmitry Bogatov [Mon, 11 Nov 2013 13:18:44 +0000 (17:18 +0400)]
[REFACTOR] Move all logging to parent process in exec_*
Remove unused (commented out) code
Change-Id: I26bcc5cf564d7096d34fc2af461120d21175a76d
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Mon, 11 Nov 2013 14:34:15 +0000 (18:34 +0400)]
[REFACTOR] Move most of logging logic to `do_log`.
Reduce code duplication (LOGI, LOGW, LOGE) differs only in
prefix. Add uptime logging for debugging with dmesg.
Move all mess with debugging macroses to Makefile.
Change-Id: Iab6e342c113f0fe571609d29a7b19615c9ff6d05
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Anastasia Lyupa [Tue, 19 Nov 2013 07:17:41 +0000 (11:17 +0400)]
[PROTO] update feature list, enable 64bit features
add new features for no filtering
fix feature size (uint32->uint64) in
sending config and feature_code_str
Change-Id: I30f6c7e0818da9ce9344d0bf3ec5ff072e94d6ee
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Bogatov [Wed, 20 Nov 2013 06:48:52 +0000 (10:48 +0400)]
[IMPROVE] Generalize lcd energy receiving
Instead of hardcoding `lcd/energy/maru/system`
perform globbing by `lcd/energy/*/system`.
Change-Id: I536a18021fb14ef8a995a9282d43c69d666474a1
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Anastasia Lyupa [Mon, 18 Nov 2013 14:41:01 +0000 (18:41 +0400)]
[CLEAN] remove unused enum DaOptions
Change-Id: Ia994f50af79accf62e634657553de87b5748c70f
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Bogatov [Mon, 18 Nov 2013 12:00:06 +0000 (16:00 +0400)]
[IMPROVE] Add support for LCD energy information
Change-Id: Id0dcae7978f0d392f91b947356af63dcba6d56b4
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Dmitry Bogatov [Thu, 14 Nov 2013 12:31:18 +0000 (16:31 +0400)]
[STYLE] Remove unused #ifdef
Change-Id: Ia06c9e1c2577a05dea6bf4d578e89d7b17080d54
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>