Mu-Woong Lee [Mon, 7 Aug 2017 02:30:32 +0000 (11:30 +0900)]
Fix memory leaks in OnDemandJob & ActionState
- OnDemandJob::~OnDemandJob() deletes its JobTrigger objects.
- ActionState::__callDBusMethod() frees the GVariant parameter object.
Change-Id: I778199214222dfceb250226c2896155d36d451bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Sun, 6 Aug 2017 06:32:20 +0000 (15:32 +0900)]
Code cleanup: JobAction::build() uses Json::Value::isMember() instead of getMemberNames()
Change-Id: I8b31aff20ab99f880984001e511496f907a0a3c9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 4 Aug 2017 07:51:02 +0000 (16:51 +0900)]
Version 4.0.2
Change-Id: I849e1110d52d6e130eac2f2682f245eaacedfdaf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 4 Aug 2017 05:50:04 +0000 (14:50 +0900)]
add_eq/ne API functions return E_INV_RULE if the same values are added
Change-Id: Iab9d4a5bd278807e7d85a828260246c25a56b536
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 4 Aug 2017 01:05:39 +0000 (10:05 +0900)]
Add an API function to serialize a context handle
Change-Id: I11f1554fe663ff96bd17756d662c69a072f83bb9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 3 Aug 2017 11:35:33 +0000 (20:35 +0900)]
Version 4.0.1
Change-Id: I8edbec275e2fb5cf7276d8e42d83b06c652ba16a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 13:59:15 +0000 (22:59 +0900)]
Add AlarmEvent publisher to support the time event of context-trigger
Change-Id: I89ff1d2be18be227d07c5977090385c30bb12285
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 3 Aug 2017 08:37:58 +0000 (17:37 +0900)]
Set the disjunction flag to false, if it has no effect
Change-Id: I4594ecb69c620bfa3b45b6e906fdea75dccf38c2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 3 Aug 2017 07:03:27 +0000 (16:03 +0900)]
Add an API function to duplicate job context handle
Change-Id: If538c2fb6746f5811e393ae7fa837e92186f5a28
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Thu, 3 Aug 2017 05:11:38 +0000 (14:11 +0900)]
Modified API descriptions(powersave, battery)
Change-Id: I99b47881f992e7f3b552274a8a1c29ce282830c7
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Thu, 3 Aug 2017 05:05:31 +0000 (14:05 +0900)]
Add Battery state publisher
Change-Id: Iee31042c13f9310ba998c05ec358d24002fe46d9
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Thu, 3 Aug 2017 02:57:43 +0000 (11:57 +0900)]
Add privilege information to the API descriptions
Change-Id: I886f5e6a1b2f2df3e49d7ebe22fe527b06da9d3f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Wed, 2 Aug 2017 06:13:49 +0000 (15:13 +0900)]
Add Display state publisher
Change-Id: I5de790fa0101c2ff48a56d209449be7629c5256b
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Somin Kim [Wed, 2 Aug 2017 03:06:16 +0000 (12:06 +0900)]
Add PowerSave state publisher
Change-Id: Iabbde1586659f653a7bc53db15a768ae03f00c6d
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 13:15:10 +0000 (22:15 +0900)]
Add input param checkers to JobManagerProxy & JobAction
Change-Id: Id0be6f13b0ba213236c8228f0f099b58e710c28a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 07:35:01 +0000 (16:35 +0900)]
API descriptions of the URIs
Change-Id: Ia6ee02c61b1873796b1aed71e29dd1b09b669e5b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 05:19:11 +0000 (14:19 +0900)]
Remove virtual packages provided by this package
Change-Id: I76e73c744bb25e0f5acd6f7899ef670e1dcf4d96
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 03:49:47 +0000 (12:49 +0900)]
Version 4.0.0
Change-Id: I3d0d8ccadcd74a8a8689c0e9eba80621266fc323
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 03:16:51 +0000 (12:16 +0900)]
Cleanup the publisher privileges
Change-Id: I6dc56068c6fe592e6f5695ccc0d51f55921ef2dd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 2 Aug 2017 02:27:36 +0000 (11:27 +0900)]
Add event publisher function to the geofence agent
Change-Id: I461aa59ddb1aacead54a96075f8f0d05cc655597
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 1 Aug 2017 10:33:08 +0000 (19:33 +0900)]
Implement isIdle() function of agent plugins
Change-Id: I34634c5c5f03f60d05b0ef3e19401088291ef96c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Tue, 1 Aug 2017 10:33:06 +0000 (10:33 +0000)]
Merge "Add USB state publisher" into devel/tizen
Mu-Woong Lee [Sun, 30 Jul 2017 09:01:34 +0000 (18:01 +0900)]
Add skeletons of the user-session agents
Change-Id: I35f70eedb4845cd8645bff4dceeabde93ae2b5ea
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Somin Kim [Tue, 1 Aug 2017 02:18:03 +0000 (11:18 +0900)]
Add USB state publisher
Change-Id: If94e569afb6f561a775130b1a67435168cb68547
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
Mu-Woong Lee [Sun, 30 Jul 2017 02:46:30 +0000 (11:46 +0900)]
Remove the IPC helper class
Change-Id: I17c64867b550c4a26c3bc847ca8a3321d2a608ff
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 14:14:10 +0000 (23:14 +0900)]
Add custom context registration functions to support legacy context-trigger API
Change-Id: Ie74076eec0f6a457125d5c6a385bf657303aa004
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 11:47:52 +0000 (20:47 +0900)]
Add TemporalState publisher (not observable)
Change-Id: Ib65124268bbab3f51aca021ba0b9c27e1bbce8eb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 13:45:05 +0000 (22:45 +0900)]
Add ContextPublisher::isObservable()
Change-Id: I032fca150218b09f8d8f01992fa196598fcab004
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 09:29:58 +0000 (18:29 +0900)]
Add WiFi state publisher
Change-Id: If74a6eb1d32817f6586becc96c6950ed8384c757
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 07:52:09 +0000 (16:52 +0900)]
Add user activity publishers
Change-Id: I194f221f0b4f82d3728d0eeff4f68516472e1cee
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 06:56:40 +0000 (15:56 +0900)]
Define attribute names and values for several system contexts
Change-Id: Ibe463f2a9f57a637e121f46061fa29acfac3143b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 06:20:02 +0000 (15:20 +0900)]
Reorganize source directory: concrete state class files are moved to 'state' subdirectory
Change-Id: I09853d9be3aec9ef2f14d3c93cf7d66fa0bf2324
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 04:55:09 +0000 (13:55 +0900)]
Add CustomPublisher
Change-Id: I8a100d8298bef247e56b66c2768b83e621abb46b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 28 Jul 2017 01:17:31 +0000 (10:17 +0900)]
DBusAction only supports system bus
Change-Id: I7afb14e8d7700a54c0b84faf72df8b2da5f6a8b9
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 27 Jul 2017 11:44:05 +0000 (20:44 +0900)]
Remove unsupported trigger URIs
Change-Id: I8d67aa349a274ee7442e857531446a5b9993fc92
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 27 Jul 2017 11:34:31 +0000 (20:34 +0900)]
Add privilege checkers for actions
Change-Id: I98ac6db8874f655517bf21fa814ccc0fefaae759
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 27 Jul 2017 11:23:35 +0000 (20:23 +0900)]
Change the cleanup order to avoid crashes
Change-Id: Ide05404079204694c6ed1bacd1a71a497f3d4c32
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 27 Jul 2017 07:33:19 +0000 (16:33 +0900)]
Implement app-control & notification actions
Change-Id: I182952d9b2f857480cdadc53e09196aff34d8c93
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 12:11:03 +0000 (21:11 +0900)]
Version 0.0.6
Change-Id: I3c528bb12b289d9a45cf89bbd0956881b6934da1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 11:32:46 +0000 (20:32 +0900)]
Fix mismatched pointer types in JobManagerProxy
Change-Id: Id2decfb4d30a8742105ed13bcd3c92eacbb18828
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 11:17:54 +0000 (20:17 +0900)]
Add more logs showing state transitions
Change-Id: I2599737123d936d3c085f2ae2bcefe7181fa8b36
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 10:35:37 +0000 (19:35 +0900)]
ContextPublisher copies the observer list before iterating it
Change-Id: I32c4ea2c9bc2d372b5fe8f07d3f522c780dd54c1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 08:29:46 +0000 (17:29 +0900)]
Apply base64 encoding to the DBus call parameters
A DBus call parameter may contain SQL-unfriendly characters, it thus needs to be encoded into a safe form.
Change-Id: Iff7f21ec2692b5cf89641811d24b20e6cca6ba16
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 26 Jul 2017 07:27:05 +0000 (16:27 +0900)]
Free the string allocated by g_variant_print() in JobDBusCall
Change-Id: I48079de1bf06fa765955180184e483ad31b98100
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 25 Jul 2017 12:11:19 +0000 (21:11 +0900)]
Add an internal API function ctx_sched_job_serialize()
This function is for testing purpose.
Change-Id: I296ff90fc926d7a544f5ef85291bf4df205d107d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 25 Jul 2017 11:41:15 +0000 (20:41 +0900)]
Add ChargerState & EarJackState context publishers
Change-Id: Ief68b30961e0d378393ad67e869dd7606625a235
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 25 Jul 2017 10:02:59 +0000 (19:02 +0900)]
Implement ActionState and ClosingState
Change-Id: I5275369bde6068d285314e17f77003cdd1263d70
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 25 Jul 2017 05:18:35 +0000 (14:18 +0900)]
Implement ReqVerificationState
Change-Id: I05058aa4aad1e3122774381eb48daad39838bb0b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 25 Jul 2017 02:24:05 +0000 (11:24 +0900)]
Implement TriggerStandbyState
Change-Id: Iaabcffd256bdabeb84172b7202c66e5d19df833c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 12:28:35 +0000 (21:28 +0900)]
Remove an unused member variable
Change-Id: I4be201f0fdd12a41d54fc9e8ef72409464e22618
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 11:56:48 +0000 (20:56 +0900)]
Add sufficiency checking operators to the JobContext and Attribute classes
The operator <= is used to define sufficiency checkers
as "S => N" ("N <= S" in reverse) usually denotes "if S, then N".
Change-Id: I26cefe67a69d569373b3ceb5bd9328c14c336ac2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 08:50:16 +0000 (17:50 +0900)]
Split the implementations of JobRunner & JobState child classes
Change-Id: I5363406ecf1d00f0b2e185c257895028e548d994
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 07:25:25 +0000 (16:25 +0900)]
Add ContextManager and integrate it with JobManager
Change-Id: I0a6c929cc77abf93cc5320ec476b8ddcf9bd4e3f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 06:41:46 +0000 (15:41 +0900)]
Add the GpsState context publisher
Change-Id: Ib3f066bb496b07be13f0c342f463d45e06660d7e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 05:41:03 +0000 (14:41 +0900)]
Make some getters of ContextPublisher const
Change-Id: I48a14bc45f883acfb5a93bad19c31ea12d5ddcd5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 24 Jul 2017 02:26:00 +0000 (11:26 +0900)]
Define ContextPublisher and IContextObserver
Change-Id: I0a1aa5c59daab5c12c56c97f24099a834aa1fc5b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 21 Jul 2017 10:25:34 +0000 (19:25 +0900)]
Monitor PM state to be reactive to the device wakeups
Change-Id: I71a9fcc8a9faaa0649b3c2197f413917a91cae0d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 21 Jul 2017 06:32:12 +0000 (15:32 +0900)]
Implement TimerStandbyState
Change-Id: I1f3c30054ac644ab2fcf2c7e0c38750d3c1adc14
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 21 Jul 2017 03:13:20 +0000 (12:13 +0900)]
Some states acquire a wakelock to be sure that the system is kept awake
Change-Id: I02184f3ebd46ed8a7fded5b72575fdc425016660
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 21 Jul 2017 01:54:40 +0000 (10:54 +0900)]
Integrate ctx_sched_set_job_cb() with the server-side functionalities
Change-Id: Idc084b09c8f2e9a3f8155720c522212c26ed2ff5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 18 Jul 2017 01:58:42 +0000 (10:58 +0900)]
A job's user data accepts a byte string with its length.
It does not need to be a NULL-terminate string anymore.
Change-Id: I52f99a2fbe025fd7af2dbc3c2fba7985c6984a82
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 18 Jul 2017 01:21:27 +0000 (10:21 +0900)]
JobManager::removeJob() returns an error if the job is not stopped
Change-Id: Ie5589733472d0215b5b5a9a20e807d2013e3642a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 14 Jul 2017 04:29:15 +0000 (13:29 +0900)]
Version 0.0.5
Change-Id: I0a8cc78603acc5aeeac8e7b2a9b61fae6a0d51d1
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 14 Jul 2017 04:26:28 +0000 (13:26 +0900)]
Test parameter validity when adding a job
Change-Id: Id0fd45e091dc8342b8b6bbd6326d1f1dfee274c6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 14 Jul 2017 02:01:05 +0000 (11:01 +0900)]
Add an API function ctx_sched_job_finished() and a callback ctx_sched_start_job_cb
Change-Id: Ia6e6ebec8b1d3ed6d3d56bd17d1251331ff10ca3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 13 Jul 2017 08:14:50 +0000 (17:14 +0900)]
Modify the jobId generation logic to produce unique IDs across all users
If a jobId has been returned by removing a job, the same ID can be used later.
Change-Id: Ib2d36d03c5bbc78eedbce28e60f227310cd1fc2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 12 Jul 2017 10:31:05 +0000 (19:31 +0900)]
Skeleton of job lifecycle handling state machine
Change-Id: Iae69eae781684ce3794048b4747c03f6c1d734db
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 12 Jul 2017 10:06:18 +0000 (19:06 +0900)]
Apply the changed function names in context-common & rename non-class functions
Change-Id: Iea7aea26b677645b29580fb6e2bd07f29e120f76
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 11 Jul 2017 11:18:02 +0000 (20:18 +0900)]
Add SchedTimer
SchedTimer summarizes the periodic intervals of all periodic jobs and sets a single alarm.
When the alarm expires (or the device wake-ups by any reasons),
SchedTimer notifies the corresponding periodic job runners.
Change-Id: Ib791c3a90e57d3600c04ad45967908749c69d8db
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 11 Jul 2017 06:36:33 +0000 (15:36 +0900)]
Create a job info table per user, instead of one big table
Change-Id: Ie6d56d6923668f824ef583ca9bd5435113b90b8e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 11 Jul 2017 05:29:57 +0000 (14:29 +0900)]
JobManager prevents the same client to register the same job twice
If a client tries to register the same job, the existing job's ID is returned.
Change-Id: Iaf223ff12b3ece29c7afb31e1f01d5b9a748a4e0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 11 Jul 2017 04:54:28 +0000 (13:54 +0900)]
Make the getter functions of job information classes const
Change-Id: I3edc085cce5ddc447c9d81af1d24522aa2fdd263
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 10 Jul 2017 12:06:31 +0000 (21:06 +0900)]
Version 0.0.4
Change-Id: Ic59d3ac34a47d218dee86241154ba2c760714b91
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 7 Jul 2017 10:57:56 +0000 (19:57 +0900)]
Implement JobInfoDatabase and integrate it with JobManager
Change-Id: Ia10fbfb7baaa284f45af65d199b7bd48a7b0b344
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 5 Jul 2017 11:06:27 +0000 (20:06 +0900)]
Implement JobManager
DB operations are not yet implemented.
Change-Id: I6a776ca0da572cbbb3e8be71095b32f1cb4cc31c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 3 Jul 2017 11:33:34 +0000 (20:33 +0900)]
Implement MethodCallHandler
Change-Id: I0d8780047a66d415ed72cbce4558529497651e63
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 3 Jul 2017 05:33:55 +0000 (14:33 +0900)]
Omit the last \n from the serialized json strings
Change-Id: I2c9def181b3fb41cf3c616eedd76b42e410e4a30
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 30 Jun 2017 02:28:32 +0000 (11:28 +0900)]
Version 0.0.3 release 1
(in dev stage)
Change-Id: I9ff37749c18b7566975129fcfa749899582c734f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 29 Jun 2017 06:55:13 +0000 (15:55 +0900)]
JobSchedulerService realizes ISystemService instead of IService
Change-Id: Ie5e39b57c47604611b8c6df271cdbde26b149e31
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 29 Jun 2017 01:54:26 +0000 (10:54 +0900)]
Replace MethodCallHandler::setCaller() with a parameterized constructor
Change-Id: Ie0ef9856666df4006c0e7b10189b8b33662e3981
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 16 Jun 2017 07:06:30 +0000 (16:06 +0900)]
Enable a compile warning: -Wformat=2
Change-Id: If7d8654a851f2736bb9aed86d612acecd6b6ac6e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 15 Jun 2017 02:13:12 +0000 (11:13 +0900)]
Fix a possible memory leak in job_scheduler.cpp
Change-Id: I01eafcb6a075abc97cbe2bf71b2f9fba75e013f6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 06:36:51 +0000 (15:36 +0900)]
Implement API functions that communicate with the server
Change-Id: I15c603c11b05b449f9e1af16465ed8443eb0effb
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 11:43:19 +0000 (20:43 +0900)]
Bug fixes: API function name typos & mis-implemented JobSchedulerService class
Change-Id: I2a36762f3307200e72c8e88565c838a81f93a8c5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 10:26:52 +0000 (19:26 +0900)]
The parameterized constructor of JobInfo initializes all member variables
Change-Id: Ieb12fd46fdd9d47607dbd8c2dc8f3bb9553bf7d6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 08:14:08 +0000 (08:14 +0000)]
Merge "Add JobInfo::deserialize(), which replaces two sub-class deserialize() functions" into devel/tizen
Mu-Woong Lee [Wed, 14 Jun 2017 07:48:01 +0000 (16:48 +0900)]
Cleanup build dependencies
Change-Id: I36c2bdc36da8186181be377d52f5e91e61403928
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 06:50:59 +0000 (15:50 +0900)]
Implement dummy API functions
Change-Id: I3f9a21c91e63edcd286edafe00883fbcef32d8a3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 14 Jun 2017 06:06:26 +0000 (15:06 +0900)]
Add JobInfo::deserialize(), which replaces two sub-class deserialize() functions
Change-Id: I6b2a905e3baed0e067cc60ff87aebcd9694c9d84
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 13 Jun 2017 09:48:47 +0000 (18:48 +0900)]
Add the skeleton of JobManagerProxy, which is used to implement the API
Change-Id: I6ba2218ec0259b35ebcc689de58c9f83f7a53965
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 13 Jun 2017 06:57:26 +0000 (15:57 +0900)]
Partial implementation of API: functions requiring no IPC
Change-Id: Ic217d22b8020affc56b44ef0dd36457555fd567e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 13 Jun 2017 06:54:25 +0000 (15:54 +0900)]
Add getType() functions to JobInfo & JobContext
Change-Id: I652fe6eff5cb48221a381bb17e78df5533926f92
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Tue, 13 Jun 2017 04:14:41 +0000 (13:14 +0900)]
Add -Wall compile option
Change-Id: I70c3fd11e9c7d5f39a41eb567704ad1897fc502a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 12 Jun 2017 11:14:57 +0000 (20:14 +0900)]
Add job information class deserializer
Change-Id: Ic80fc4ba2a247f536b942a51f5ce04a0f4f1cd93
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 12 Jun 2017 06:27:54 +0000 (15:27 +0900)]
Add the 'notification' type action
Change-Id: I00b5d4c507e1c8cf4ce2c339e24f1705321b80db
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Mon, 12 Jun 2017 04:59:15 +0000 (13:59 +0900)]
Add job information class serializer
Change-Id: I941116c863e8d4ac908a77c6657cdef6d9428967
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 9 Jun 2017 11:17:57 +0000 (20:17 +0900)]
Dependency cleanup: apply the modified service & client interfaces
Change-Id: I75efce7c6c54255e3beb088a873f56cc578e6395
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Thu, 8 Jun 2017 08:06:53 +0000 (17:06 +0900)]
Job information classes (w/o serialization functions)
Change-Id: I037b781839800d24e5ea2687330a48252eb90389
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Wed, 7 Jun 2017 09:53:56 +0000 (18:53 +0900)]
Add API descriptions
Change-Id: Ie4d1329ac4631e6ed54d7027519c689085378137
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 14 Apr 2017 08:52:36 +0000 (17:52 +0900)]
Add compile options to suppress verbose messages and enable colored diagnostics
Change-Id: I7e62291e6f51c68f99f1f8c6d72c773a961151fc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>