platform/core/system/libstorage.git
8 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>
8 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

8 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

8 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>
8 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