summaryrefslogtreecommitdiffstats
path: root/core/jni/android_database_CursorWindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bug:3467948 if byteArray couldn't be allocated for blob, throw exceptionVasu Nori2011-02-251-1/+4
| | | | Change-Id: I73e36c10f31086ea567debad536350316b2df67f
* when cursorwindow allocation fails, print the number of cursors left openVasu Nori2011-01-041-19/+13
| | | | | | | | | | | the reason for bug:3281533, bug:3127159 is probably too many cursors are left un-closed in the process. print the info on the number of cursors left open when the exception "cursorwindow allocation failed" occurs. This should help us figure out if that indeed is the reason and which process is leaving the cursors open. Change-Id: I4b46be63f5dfbe9b102ad7a9cf9dd21e70f71e14
* resubmitting Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9Vasu Nori2010-12-211-3/+4
| | | | | Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9 was reverted due to a bug. fixed the bug and resubmitting it here
* Revert "bug:2448371 cursorwindow size moved to resource xml file."Vasu Nori2010-12-201-4/+3
| | | | This reverts commit 2594bae1f551d758c5c88771310d1ee3dc2c71ac.
* bug:2448371 cursorwindow size moved to resource xml file.Vasu Nori2010-12-201-3/+4
| | | | | | | | | | let cursor window size be set per device in device resources file. default is 1MB. for SR, it is 2MB. it can be set to any value (in kB) in the device resource strings.xml file Change-Id: I67b1d04a5c9fc18b0cd4da6184d0b814b64d89e9
* fix messages from sqlite layer in c++ code to be useful.Vasu Nori2010-11-291-5/+9
| | | | Change-Id: Ib13f86f3481aae391f5e887bb14877f12bf48034
* fix bugs introduced by I3ef1bcdb2eb1c45f68e829ccb6e3ecde28076591Vasu Nori2010-06-141-72/+6
| | | | | | | | | | | two bugs were introduced by the above CL 1. to test if the column value is NULL, getType_native() should check if the columnindiex is valid. (it seems sometimes callers could ask if a given non-existent column is null - and the answer should be true.) 2. if a column is null and isBlob_native, isString_native methods should return true - not false. Change-Id: I64df75d0a3840a4502c00db8759c66ba4b268a26
* add API to Cursor to get column value typeVasu Nori2010-06-021-0/+17
| | | | Change-Id: I3ef1bcdb2eb1c45f68e829ccb6e3ecde28076591
* Move CursorWindow class from core/jni to libbinderMike Lockwood2010-05-281-1/+1
| | | | | | | To allow use of the native CursorWindow class outside of the core framework jni Change-Id: I72e8dcb91a2c691130c33cdfd9a25d343da1c592 Signed-off-by: Mike Lockwood <lockwood@android.com>
* - create a new generic ISyncAdapter implementation, SyncAdapterNewFred Quintana2009-06-011-7/+58
| | | | | | - change the applyBatch to take an ArrayList rather than an [] - change Entity to be a final flass that contains ContentValues - remove the ability to update/insert Entities by a ContentProviderOperation
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+674
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-674/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+674