Home
last modified time | relevance | path

Searched refs:ContentValues (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardTestsBase.java18 import android.content.ContentValues;
34 protected final ContentValues mContentValuesForQP;
35 protected final ContentValues mContentValuesForSJis;
36 protected final ContentValues mContentValuesForUtf8;
37 protected final ContentValues mContentValuesForQPAndSJis;
38 protected final ContentValues mContentValuesForQPAndUtf8;
39 protected final ContentValues mContentValuesForBase64V21;
40 protected final ContentValues mContentValuesForBase64V30;
51 mContentValuesForQP = new ContentValues(); in VCardTestsBase()
53 mContentValuesForSJis = new ContentValues(); in VCardTestsBase()
[all …]
DContactEntry.java18 import android.content.ContentValues;
31 private final List<ContentValues> mContentValuesList = new ArrayList<ContentValues>();
34 ContentValues contentValues = new ContentValues(); in addContentValues()
40 public List<ContentValues> getList() { in getList()
DImportTestProvider.java20 import android.content.ContentValues;
41 private final Map<String, Collection<ContentValues>>
42 mMimeTypeToExpectedContentValues = new HashMap<String, Collection<ContentValues>>();
44 public void addExpectedContentValues(ContentValues expectedContentValues) { in addExpectedContentValues()
47 final Collection<ContentValues> contentValuesCollection; in addExpectedContentValues()
51 contentValuesCollection = new ArrayList<ContentValues>(); in addExpectedContentValues()
74 ContentValues contentValues = operation.resolveValueBackReferences( in applyBatch()
79 ContentValues actualContentValues = operation.resolveValueBackReferences( in applyBatch()
115 final Collection<ContentValues> contentValuesCollection = in applyBatch()
122 for (ContentValues expectedContentValues : contentValuesCollection) { in applyBatch()
[all …]
DPropertyNodesVerifierElem.java18 import android.content.ContentValues;
67 String propName, String propValue, ContentValues contentValues) { in addExpectedNodeWithOrder()
73 String propName, List<String> propValueList, ContentValues contentValues) { in addExpectedNodeWithOrder()
104 List<String> propValueList, ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder()
110 ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder()
122 List<String> propValueList, ContentValues paramMap) { in addExpectedNodeWithOrder()
129 ContentValues paramMap, TypeSet paramMap_TYPE, GroupSet propGroupSet) { in addExpectedNodeWithOrder()
152 ContentValues contentValues) { in addExpectedNode()
157 List<String> propValueList, ContentValues contentValues) { in addExpectedNode()
192 ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNode()
[all …]
DContentValuesBuilder.java18 import android.content.ContentValues;
25 private final ContentValues mContentValues;
27 public ContentValuesBuilder(final ContentValues contentValues) { in ContentValuesBuilder()
DPropertyNode.java18 import android.content.ContentValues;
59 public ContentValues paramMap;
71 paramMap = new ContentValues(); in PropertyNode()
78 byte[] propValue_bytes, ContentValues paramMap, Set<String> paramMap_TYPE, in PropertyNode()
99 this.paramMap = new ContentValues(); in PropertyNode()
DContentValuesVerifierElem.java18 import android.content.ContentValues;
36 ContentValues contentValues = new ContentValues(); in addExpected()
/frameworks/base/media/java/android/media/
DMediaInserter.java19 import android.content.ContentValues;
35 private final HashMap<Uri, List<ContentValues>> mRowMap =
36 new HashMap<Uri, List<ContentValues>>();
37 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
38 new HashMap<Uri, List<ContentValues>>();
48 public void insert(Uri tableUri, ContentValues values) throws RemoteException { in insert()
52 public void insertwithPriority(Uri tableUri, ContentValues values) throws RemoteException { in insertwithPriority()
56 … private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { in insert()
57 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert()
58 List<ContentValues> list = rowmap.get(tableUri); in insert()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java19 import android.content.ContentValues;
93 private ContentValues createFileContent() { in createFileContent()
94 ContentValues values = new ContentValues(); in createFileContent()
99 private ContentValues createAudioContent() { in createAudioContent()
100 ContentValues values = new ContentValues(); in createAudioContent()
105 private ContentValues createVideoContent() { in createVideoContent()
106 ContentValues values = new ContentValues(); in createVideoContent()
111 private ContentValues createImageContent() { in createImageContent()
112 ContentValues values = new ContentValues(); in createImageContent()
117 private ContentValues createContent(Uri uri) { in createContent()
[all …]
/frameworks/base/core/java/android/provider/
DSyncStateContract.java21 import android.content.ContentValues;
105 ContentValues values = new ContentValues(); in set()
114 ContentValues values = new ContentValues(); in insert()
123 ContentValues values = new ContentValues(); in update()
160 ContentValues values = new ContentValues(); in newSetOperation()
179 ContentValues values = new ContentValues(); in newUpdateOperation()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java19 import android.content.ContentValues;
39 private final static ContentValues sTestValues1;
47 sTestValues1 = new ContentValues();
57 public Uri insert(Uri uri, ContentValues values) { in testInsert()
70 public Uri insert(Uri uri, ContentValues values) { in testInsertNoValues()
85 public Uri insert(Uri uri, ContentValues values) { in testInsertFailed()
109 public Uri insert(Uri uri, ContentValues values) { in testInsertWithBackRefs()
111 ContentValues expected = new ContentValues(sTestValues1); in testInsertWithBackRefs()
127 public Uri insert(Uri uri, ContentValues values) { in testUpdate()
210 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor()
[all …]
/frameworks/base/core/java/android/content/
DEntity.java34 final private ContentValues mValues;
37 public Entity(ContentValues values) { in Entity()
42 public ContentValues getEntityValues() { in getEntityValues()
50 public void addSubValue(Uri uri, ContentValues values) { in addSubValue()
56 public final ContentValues values;
58 public NamedContentValues(Uri uri, ContentValues values) { in NamedContentValues()
DContentValues.java32 public final class ContentValues implements Parcelable { class
41 public ContentValues() { in ContentValues() method in ContentValues
52 public ContentValues(int size) { in ContentValues() method in ContentValues
61 public ContentValues(ContentValues from) { in ContentValues() method in ContentValues
72 private ContentValues(HashMap<String, Object> values) { in ContentValues() method in ContentValues
78 if (!(object instanceof ContentValues)) { in equals()
81 return mValues.equals(((ContentValues) object).mValues); in equals()
104 public void putAll(ContentValues other) { in putAll()
460 public static final Parcelable.Creator<ContentValues> CREATOR =
461 new Parcelable.Creator<ContentValues>() {
[all …]
DContentQueryMap.java43 private Map<String, ContentValues> mValues = null;
124 public synchronized ContentValues getValues(String rowName) { in getValues()
151 mValues = new HashMap<String, ContentValues>(capacity); in readCursorIntoCache()
153 ContentValues values = new ContentValues(); in readCursorIntoCache()
163 public synchronized Map<String, ContentValues> getRows() { in getRows()
DContentProviderOperation.java44 private final ContentValues mValues;
46 private final ContentValues mValuesBackReferences;
71 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; in ContentProviderOperation()
76 ? ContentValues.CREATOR.createFromParcel(source) in ContentProviderOperation()
209 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs); in apply()
284 public ContentValues resolveValueBackReferences( in resolveValueBackReferences()
289 final ContentValues values; in resolveValueBackReferences()
291 values = new ContentValues(); in resolveValueBackReferences()
293 values = new ContentValues(mValues); in resolveValueBackReferences()
406 private ContentValues mValues;
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java19 import android.content.ContentValues;
794 ContentValues[] mValues = new ContentValues[SIZE];
816 ContentValues b = new ContentValues(1); in setUp()
837 ContentValues[] mValues = new ContentValues[SIZE];
858 ContentValues b = new ContentValues(1); in setUp()
877 ContentValues[] mValues = new ContentValues[SIZE];
889 ContentValues b = new ContentValues(1); in setUp()
908 ContentValues[] mValues = new ContentValues[SIZE];
921 ContentValues b = new ContentValues(1); in setUp()
940 ContentValues[] mValues = new ContentValues[SIZE];
[all …]
DDatabasePerformanceTests.java21 import android.content.ContentValues;
910 ContentValues[] mValues = new ContentValues[SIZE];
932 ContentValues b = new ContentValues(1); in setUp()
954 ContentValues[] mValues = new ContentValues[SIZE];
975 ContentValues b = new ContentValues(1); in setUp()
995 ContentValues[] mValues = new ContentValues[SIZE];
1007 ContentValues b = new ContentValues(1); in setUp()
1027 ContentValues[] mValues = new ContentValues[SIZE];
1040 ContentValues b = new ContentValues(1); in setUp()
1060 ContentValues[] mValues = new ContentValues[SIZE];
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java22 import android.content.ContentValues;
62 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert()
78 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert()
102 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) in update()
182 public Uri insert(Uri uri, ContentValues values) { in insert()
198 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
206 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
DMockIContentProvider.java21 import android.content.ContentValues;
44 public int bulkInsert(Uri url, ContentValues[] initialValues) { in bulkInsert()
59 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert()
85 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) in update()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java22 import android.content.ContentValues;
71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); in insertInTransaction()
76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction()
95 public Uri insert(Uri uri, ContentValues values) { in insert()
122 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
DSyncStateContentProviderHelper.java20 import android.content.ContentValues;
67 ContentValues values = new ContentValues(); in createDatabase()
87 public long insert(SQLiteDatabase db, ContentValues values) { in insert()
95 public int update(SQLiteDatabase db, ContentValues values, in update()
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DEnabledProvider.java20 import android.content.ContentValues;
43 public Uri insert(Uri uri, ContentValues values) { in insert()
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
DDisabledProvider.java20 import android.content.ContentValues;
43 public Uri insert(Uri uri, ContentValues values) { in insert()
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java20 import android.content.ContentValues;
239 private boolean containsNonEmptyName(final ContentValues contentValues) { in containsNonEmptyName()
259 private ContentValues getPrimaryContentValueWithStructuredName( in getPrimaryContentValueWithStructuredName()
260 final List<ContentValues> contentValuesList) { in getPrimaryContentValueWithStructuredName()
261 ContentValues primaryContentValues = null; in getPrimaryContentValueWithStructuredName()
262 ContentValues subprimaryContentValues = null; in getPrimaryContentValueWithStructuredName()
263 for (ContentValues contentValues : contentValuesList) { in getPrimaryContentValueWithStructuredName()
294 primaryContentValues = new ContentValues(); in getPrimaryContentValueWithStructuredName()
305 private VCardBuilder appendNamePropertiesV40(final List<ContentValues> contentValuesList) { in appendNamePropertiesV40()
324 final ContentValues contentValues = in appendNamePropertiesV40()
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewDatabaseClassic.java26 import android.content.ContentValues;
194 ContentValues cv = new ContentValues(1); in upgradeDatabaseFromV10ToV11()
325 final ContentValues c = new ContentValues(); in setUsernamePassword()
418 final ContentValues c = new ContentValues(); in setHttpAuthUsernamePassword()
521 ContentValues c = new ContentValues(); in setFormData()
534 ContentValues map = new ContentValues(); in setFormData()

12345