platform/core/system/libstorage.git
9 years agoringtones: change the path for the ringtones files 21/48021/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091813 accepted/tizen/tv/20150911.091826 accepted/tizen/wearable/20150911.091843 submit/tizen/20150911.075222 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
taeyoung [Fri, 11 Sep 2015 07:26:20 +0000 (16:26 +0900)]
ringtones: change the path for the ringtones files

Change-Id: I3b4d9d40bcf1fb86dd9db64c7b62034ad44293dd
Signed-off-by: taeyoung <ty317.kim@samsung.com>
9 years agosdcard: change root path of sdcard 55/47955/1 submit/tizen/20150911.041040
taeyoung [Thu, 10 Sep 2015 09:00:44 +0000 (18:00 +0900)]
sdcard: change root path of sdcard

- Previously, the sdcard root path is hard-coded to /opt/storage/sdcard
  But the directory policy is changed and the policy can be obtained
  by libtzplatform-config. Thus the path is changed

Change-Id: Id1808bc6c67e0f54d272c332d27351ca81fec842
Signed-off-by: taeyoung <ty317.kim@samsung.com>
9 years agostorage: change directory name "DCIM" to "Camera" 74/46974/1 accepted/tizen/mobile/20150828.082826 accepted/tizen/tv/20150828.082838 accepted/tizen/wearable/20150828.082856 submit/tizen/20150828.013903
Taeyoung Kim [Thu, 27 Aug 2015 12:40:40 +0000 (21:40 +0900)]
storage: change directory name "DCIM" to "Camera"

- The policy for directory name of camera is changed from "DCIM" to "Camera"

Change-Id: I0f7e42a6ffbfe5045447d69a8f61edcff749fb05
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
9 years agolibstorage: Fixed wrong space value 16/44816/2 accepted/tizen/mobile/20150729.011140 accepted/tizen/tv/20150729.011305 accepted/tizen/wearable/20150729.011359 submit/tizen/20150728.111713
Jiyoung Yun [Tue, 28 Jul 2015 07:03:59 +0000 (16:03 +0900)]
libstorage: Fixed wrong space value

The size of unsigned long long is not the same with int's size.
But it has copied int value to unsigned long long value.
It makes wrong copy operation.

Change-Id: Ief253146585ffc7474f9bd623c4680c8d516ede5
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agolibstorage: Do not use thread-unsafe function and code clearance 15/44815/2
Jiyoung Yun [Tue, 28 Jul 2015 06:57:42 +0000 (15:57 +0900)]
libstorage: Do not use thread-unsafe function and code clearance

strerror() is not safety on multi thread environment.
Add initialize input buffer.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I159b6a2162ef73e1dd337910a5b2e9a80e1354bd

9 years agolibstorage: Support multi user by using tzplatform library 59/40359/1 accepted/tizen/common/20150605.124100 accepted/tizen/mobile/20150606.052849 accepted/tizen/tv/20150606.053608 accepted/tizen/wearable/20150606.054418 submit/tizen/20150604.062454
Jiyoung Yun [Wed, 3 Jun 2015 02:47:20 +0000 (11:47 +0900)]
libstorage: Support multi user by using tzplatform library

Storeage apis will return the proper directory path as per user accoount.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I35e249a9396f52de0c09191e88f3cac89f758f92

9 years agolibstorage: Add memory size check routine 86/39886/1 accepted/tizen/common/20150526.081221 accepted/tizen/mobile/20150526.094906 accepted/tizen/tv/20150526.094350 accepted/tizen/wearable/20150526.094645 submit/tizen/20150526.043931
Jiyoung Yun [Thu, 21 May 2015 08:03:05 +0000 (17:03 +0900)]
libstorage: Add memory size check routine

If a memory size is zero, it does not try to divide by zero.

Change-Id: Ieeff37b0d527f0edba7d06f54f4f31081632f9b9
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agolibstorage: Change the since_tizen string for wearable 85/39885/1
Jiyoung Yun [Thu, 16 Apr 2015 03:50:30 +0000 (12:50 +0900)]
libstorage: Change the since_tizen string for wearable

Change-Id: I2400fef8924b6a6a5af6f5a3b5c82328d81bc37b
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agolibstorage: Add initial libstorage code accepted/tizen/common/20150209.121040 accepted/tizen/mobile/20150210.015306 accepted/tizen/tv/20150210.013020 accepted/tizen/wearable/20150210.014905 submit/tizen/20150206.062707
Jiyoung Yun [Fri, 6 Feb 2015 06:16:10 +0000 (15:16 +0900)]
libstorage: Add initial libstorage code

This library provides functions to get storage information.

The type of stroage information includes:
    * root directory
    * storage type(internal or external)
    * storage status
    * total and available space size
      (without minimum memory to launch application)

The type of directory information includes:
    * Images
    * Sounds
    * Videos
    * Camera
    * Downloads
    * Music
    * Documents
    * Others
    * System ringtones

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agoInitial empty repository master tizen_3.0.2015.q2_common
Jeonghoon Jeon [Thu, 27 Nov 2014 04:47:13 +0000 (20:47 -0800)]
Initial empty repository