5c74bb313fbe3fb479f9dc4296e46e9586faf946 |
|
14-Jan-2016 |
Lianwei Wang <lianwei.wang@gmail.com> |
close file in PersistentDataBlockService jni The opened file should be closed. Change-Id: I8a43b338c5c9eb0a5b1b5329eec767c6395bc7eb Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
/frameworks/base/services/core/jni/com_android_server_PersistentDataBlockService.cpp
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/services/core/jni/com_android_server_PersistentDataBlockService.cpp
|
c90ca48a7c5981f1ebcb40ccab6e2ebbafe4c669 |
|
23-Jun-2015 |
Henrik Baard <henrik.baard@sonymobile.com> |
Remove memory leak in PersistentDataBlockService jni When calling the methods com_android_server_PersistentDataBlockService_getBlockDeviceSize() com_android_server_PersistentDataBlockService_wipe() memory is leaked because string created by GetStringUTFChars() is not released. Use ScopedUtfChars instead to ensure that memory is released. Change-Id: I880a6d66a4824778b411b858774b8ffa009c1e17
/frameworks/base/services/core/jni/com_android_server_PersistentDataBlockService.cpp
|
963295ea105314e28e4ca9563aa09cb7440de4c3 |
|
11-Jul-2014 |
Andres Morales <anmorales@google.com> |
Permit settings to "wipe" the persistent partition One of the requirements is that when the user does a factory reset through settings, all data on the persistent partition should be cleared. This adds one last API method that allows settings to wipe the partition. Bug: 14288780 Change-Id: Ib87ee741d1e5195814516ae1d66eb7c4cf754dcf
/frameworks/base/services/core/jni/com_android_server_PersistentDataBlockService.cpp
|
68d4acd205e8c2da524e62734ca42847306cc029 |
|
02-Jul-2014 |
Andres Morales <anmorales@google.com> |
Service for reading and writing blocks to PST partition Permits apps with permission android.permission.ACCESS_PERSISTENT_PARTITION to obtain a read and write data blocks to the PST partition. Only one block ever exists at one time in PST. When a client writes another block, the previous one is overwritten. This permits storing a block of data that will live across factory resets. Change-Id: I8f23df3531f3c0512118eb4b7530eff8a8e81c83
/frameworks/base/services/core/jni/com_android_server_PersistentDataBlockService.cpp
|