History log of /frameworks/base/core/java/android/content/ContentValues.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c74ee2f8d3a9f4ebd502c037623cdbaf664c28a9 24-Mar-2017 Mike Tsao <miket@google.com> Replace possibly-expensive size() == 0 with isEmpty()

Bug: 36596458
Change-Id: Ieb0ea65be056bb8ce0613280e6213c330fbf783c
Test: added ContentValuesTest
/frameworks/base/core/java/android/content/ContentValues.java
794cf190aa38dffdad9e82fc86dbd94940b175b1 18-Jan-2017 Michael Wright <michaelwr@google.com> Also parse "1" as true for ContentValues#getAsBoolean

SQLite's internal representation for booleans is an integer with a value
of 0 or 1, so without this check, boolean values obtained via
DatabaseUtils#cursorRowToContentValues will always return false.

Bug: 34365384
Test: demo app, cts
Change-Id: I6c0829c992252ca5ee16bd5eac48668507fd4089
/frameworks/base/core/java/android/content/ContentValues.java
1276b5f29ed6f889e9691cf296fd9911958895c1 09-Oct-2012 Steve Pomeroy <steve@staticfree.info> ContentValues: improve documentation

Correct and clarify the documentation for ContentValues.

Change-Id: Iddf54da093e97c32da2568eab8802b1b2715303b
Signed-off-by: Steve Pomeroy <steve@staticfree.info>
/frameworks/base/core/java/android/content/ContentValues.java
d208c3a68b96cf0c1dde5cdeab0e8464b9e52018 17-Sep-2010 Jeff Hamilton <jham@android.com> Convert Numbers to Booleans when calling getAsBoolean().

Change-Id: I31ad0bccd422f8e76cf37d500a93744cc23d4859
/frameworks/base/core/java/android/content/ContentValues.java
f924a513da2ec1989a06dc16d007c0eca422ea67 25-Aug-2010 Jeff Hamilton <jham@android.com> Fix the documentation of ContentValues.

Bug: 2172562
Change-Id: If7752b937dabc7238723787bb0aa5c348406e28b
/frameworks/base/core/java/android/content/ContentValues.java
532abb65308725c649fe94ba485abc24ece05b2e 03-Aug-2010 Vasu Nori <vnori@google.com> add public method in ContentValues to return set of all keys

why not this method? it is useful and cheap.

Change-Id: I5db96d149b13d26b5359b52515a8eabf033eb000
/frameworks/base/core/java/android/content/ContentValues.java
1c4027b68d5938795cc536c1d45e8d942ea537a4 23-Mar-2010 Daniel Lehmann <lehmannd@google.com> Small speedup in getAsString and comment fix

Change-Id: I19744983bbc0f4b9060de326bd539137e373415b
/frameworks/base/core/java/android/content/ContentValues.java
bda8874a2990a864f32f8d2d916f7a05f33f797b 19-Feb-2010 Fred Quintana <fredq@google.com> improve logging of errors when trying to resolve backrefs http://b/2371475
/frameworks/base/core/java/android/content/ContentValues.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/ContentValues.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/ContentValues.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/content/ContentValues.java