Home
last modified time | relevance | path

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

12345678910>>...30

/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardTestsBase.java18 import android.content.ContentValues;
34 protected final ContentValues mContentValuesForQP;
35 protected final ContentValues mContentValuesForSJis;
36 protected final ContentValues mContentValuesForUtf8;
51 mContentValuesForQP = new ContentValues(); in VCardTestsBase()
53 mContentValuesForSJis = new ContentValues(); in VCardTestsBase()
55 mContentValuesForUtf8 = new ContentValues(); in VCardTestsBase()
57 mContentValuesForQPAndSJis = new ContentValues(); in VCardTestsBase()
60 mContentValuesForQPAndUtf8 = new ContentValues(); in VCardTestsBase()
63 mContentValuesForBase64V21 = new ContentValues(); in VCardTestsBase()
[all …]
H A DImportTestProvider.java20 import android.content.ContentValues;
41 private final Map<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()
115 final Collection<ContentValues> contentValuesCollection = in applyBatch()
159 for (Collection<ContentValues> contentValuesCollection : in verify()
161 for (ContentValues expectedContentValues: contentValuesCollection) { in verify()
177 private String convertToEasilyReadableString(ContentValues contentValues) { in convertToEasilyReadableString()
[all …]
H A 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()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaInserter.java21 import android.content.ContentValues;
36 private final HashMap<Uri, List<ContentValues>> mRowMap =
37 new HashMap<Uri, List<ContentValues>>();
38 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
39 new HashMap<Uri, List<ContentValues>>();
59 List<ContentValues> list = rowmap.get(tableUri); in insert()
61 list = new ArrayList<ContentValues>(); in insert()
64 list.add(new ContentValues(values)); in insert()
75 List<ContentValues> list = mRowMap.get(tableUri); in flushAll()
83 List<ContentValues> list = mPriorityRowMap.get(tableUri); in flushAllPriority()
[all …]
/aosp12/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
H A DEabProviderTest.java66 ContentValues data = new ContentValues(); in testQueryContactInfo()
83 ContentValues data = new ContentValues(); in testContactIsUnique()
103 ContentValues data = new ContentValues(); in testQueryCommonInfo()
121 ContentValues data = new ContentValues(); in testCommonIsNotUnique()
147 ContentValues data = new ContentValues(); in testQueryPresentInfo()
165 ContentValues data = new ContentValues(); in testPresentTupleIsNotUnique()
189 ContentValues data = new ContentValues(); in testQueryOptionInfo()
206 ContentValues data = new ContentValues(); in testOptionIsNotUnique()
230 ContentValues data = new ContentValues(); in testQueryByAllDataURI()
264 ContentValues data = new ContentValues(); in testQueryBySubIdAndPhoneNumber()
[all …]
/aosp12/packages/services/Mtp/src/com/android/mtp/
H A DMapper.java20 import android.content.ContentValues;
65 final ContentValues[] valuesList = new ContentValues[1]; in putDeviceDocument()
66 final ContentValues[] extraValuesList = new ContentValues[1]; in putDeviceDocument()
98 final ContentValues[] valuesList = new ContentValues[roots.length]; in putStorageDocuments()
99 final ContentValues[] extraValuesList = new ContentValues[roots.length]; in putStorageDocuments()
142 final ContentValues[] valuesList = new ContentValues[documents.length]; in putChildDocuments()
207 final ContentValues values = new ContentValues(); in startAddingDocuments()
240 ContentValues[] valuesList, in putDocuments()
251 final ContentValues oldRowSnapshot = new ContentValues(); in putDocuments()
252 final ContentValues newRowSnapshot = new ContentValues(); in putDocuments()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DRawContactTest.java19 import android.content.ContentValues;
34 final ContentValues values = new ContentValues(); in buildRawContact()
38 final ContentValues dataItem = new ContentValues(); in buildRawContact()
49 final ContentValues values = new ContentValues(); in buildRawContact2()
53 final ContentValues dataItem = new ContentValues(); in buildRawContact2()
78 final ContentValues values = new ContentValues(); in buildNamedDataItem()
87 final ContentValues values = new ContentValues(); in buildNamedDataItem2()
H A DRawContactDeltaListTests.java22 import android.content.ContentValues;
106 final ContentValues after = new ContentValues(); in getInsert()
121 ContentValues... entries) { in buildBeforeEntity()
123 final ContentValues contact = new ContentValues(); in buildBeforeEntity()
127 for (ContentValues entry : entries) { in buildBeforeEntity()
135 final ContentValues contact = new ContentValues(); in buildAfterEntity()
149 final ContentValues values = new ContentValues(); in buildPhone()
158 final ContentValues values = new ContentValues(); in buildEmail()
238 final ContentValues values = new ContentValues(); in buildAssertVersion()
244 final ContentValues values = new ContentValues(); in buildAggregationModeUpdate()
[all …]
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DVoicemailProviderTest.java176 ContentValues values = new ContentValues(); in testUpdate()
216 ContentValues values = new ContentValues(); in testUpdateOtherPackageCallLog_NotDirty()
248 ContentValues retainDirty = new ContentValues(); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty()
343 ContentValues values = new ContentValues(); in testUpdateAfterDelete_lastModifiedNotChanged()
745 ContentValues values2 = new ContentValues(); in testStatusUpsert()
762 ContentValues values = new ContentValues(); in testStatusQuotaInsert()
773 ContentValues values = new ContentValues(); in testStatusQuotaUpdate()
788 ContentValues values = new ContentValues(); in testStatusQuotaUpsert()
793 ContentValues values2 = new ContentValues(); in testStatusQuotaUpsert()
890 ContentValues values = new ContentValues(); in getTestVoicemailValues()
[all …]
H A DLegacyContactsProviderTest.java71 final ContentValues ret = new ContentValues(v); in noStats()
78 ContentValues values = new ContentValues(); in testPeopleInsert()
91 ContentValues values = new ContentValues(); in testPeopleUpdate()
114 ContentValues values = new ContentValues(); in testPeopleDelete()
131 ContentValues values = new ContentValues(); in testPeopleFilter()
150 ContentValues values = new ContentValues(); in testDefaultDisplayName()
157 ContentValues values = new ContentValues(); in testPrimaryOrganization()
199 ContentValues values = new ContentValues(); in testPrimaryPhone()
249 ContentValues values = new ContentValues(); in testEmailCrud()
271 ContentValues values = new ContentValues(); in testPrimaryEmail()
[all …]
H A DBaseContactsProvider2Test.java192 ContentValues values = new ContentValues(); in updateItem()
212 ContentValues values = new ContentValues(); in createGroup()
229 ContentValues values = new ContentValues(); in createSettings()
284 ContentValues values = new ContentValues(); in insertPhoneNumber()
320 ContentValues values = new ContentValues(); in insertEmail()
342 ContentValues values = new ContentValues(); in insertSipAddress()
355 ContentValues values = new ContentValues(); in insertNickname()
366 ContentValues values = new ContentValues(); in insertPostalAddress()
383 ContentValues values = new ContentValues(); in insertPhoto()
392 ContentValues values = new ContentValues(); in insertPhoto()
[all …]
H A DContactsProvider2Test.java2634 ContentValues v1 = new ContentValues(); in testEmailFilterDefaultSortOrder()
2636 ContentValues v2 = new ContentValues(); in testEmailFilterDefaultSortOrder()
2638 ContentValues v3 = new ContentValues(); in testEmailFilterDefaultSortOrder()
2652 ContentValues v1 = new ContentValues(); in testEmailFilterPrimaryAddress()
2654 ContentValues v2 = new ContentValues(); in testEmailFilterPrimaryAddress()
2670 ContentValues v1 = new ContentValues(); in testEmailFilterPrimaryAccount()
2672 ContentValues v2 = new ContentValues(); in testEmailFilterPrimaryAccount()
2773 ContentValues v1 = new ContentValues(); in testEmailFilterSortOrderWithFeedback()
2775 ContentValues v2 = new ContentValues(); in testEmailFilterSortOrderWithFeedback()
2777 ContentValues v3 = new ContentValues(); in testEmailFilterSortOrderWithFeedback()
[all …]
/aosp12/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
H A DTelephonyProviderTest.java386 ContentValues contentValues = new ContentValues(); in testBulkInsertCarriers()
1502 ContentValues values = new ContentValues(); in preserveEditedValueInMerge()
1548 ContentValues values = new ContentValues(); in preserveDeletedValueInMerge()
1630 ContentValues values1 = new ContentValues(); in testApnSetId()
1637 ContentValues values2 = new ContentValues(); in testApnSetId()
1677 ContentValues values1 = new ContentValues(); in testPreferApnSetUrl()
1684 ContentValues values2 = new ContentValues(); in testPreferApnSetUrl()
1692 ContentValues values3 = new ContentValues(); in testPreferApnSetUrl()
1701 ContentValues values4 = new ContentValues(); in testPreferApnSetUrl()
1733 ContentValues prefer = new ContentValues(); in testPreferApnSetUrl()
[all …]
H A DTelephonyBackupAgentTest.java346 ContentValues smsRow = new ContentValues(); in createSmsRow()
376 ContentValues mmsRow = new ContentValues(); in createMmsRow()
423 final ContentValues smilPart = new ContentValues(); in createBodyCursor()
433 final ContentValues bodyPart = new ContentValues(); in createBodyCursor()
449 final ContentValues attachmentPart = new ContentValues(); in createBodyCursor()
467 ContentValues addr = new ContentValues(); in createAddrCursor()
957 ContentValues expected = new ContentValues(); in update()
1029 ContentValues row = new ContentValues(); in query()
1039 ContentValues row = new ContentValues(); in query()
1048 ContentValues row = new ContentValues(); in query()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java35 private final static ContentValues sTestValues1;
38 sTestValues1 = new ContentValues();
48 public Uri insert(Uri uri, ContentValues values) { in testInsert()
61 public Uri insert(Uri uri, ContentValues values) { in testInsertNoValues()
100 public Uri insert(Uri uri, ContentValues values) { in testInsertWithBackRefs()
102 ContentValues expected = new ContentValues(sTestValues1); in testInsertWithBackRefs()
118 public Uri insert(Uri uri, ContentValues values) { in testUpdate()
221 ContentValues values = new ContentValues(); in testValueBackRefs()
233 ContentValues expectedValues = new ContentValues(values); in testValueBackRefs()
257 final ContentValues values = new ContentValues(); in testSelectionBackRefs()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
H A DCardContentProviderTest.java26 import android.content.ContentValues;
126 final ContentValues values = new ContentValues(); in cardData_update()
189 private ContentValues generateOneRow() { in generateOneRow()
190 final ContentValues values = new ContentValues(); in generateOneRow()
203 private ContentValues[] generateTwoRows() { in generateTwoRows()
204 final ContentValues[] twoRows = new ContentValues[2]; in generateTwoRows()
207 final ContentValues values = new ContentValues(); in generateTwoRows()
221 private ContentValues[] generateTwoRowsWithDismissTimestamp() { in generateTwoRowsWithDismissTimestamp()
222 final ContentValues[] twoRows = new ContentValues[2]; in generateTwoRowsWithDismissTimestamp()
225 final ContentValues values = new ContentValues(); in generateTwoRowsWithDismissTimestamp()
/aosp12/frameworks/base/core/java/android/provider/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/
H A DCallLogMutations.java19 import android.content.ContentValues;
27 private final ArrayMap<Long, ContentValues> inserts = new ArrayMap<>();
28 private final ArrayMap<Long, ContentValues> updates = new ArrayMap<>();
36 public void insert(long id, ContentValues contentValues) { in insert()
54 public void update(long id, ContentValues contentValues) { in update()
58 ContentValues existingContentValues = updates.get(id); in update()
88 public ArrayMap<Long, ContentValues> getInserts() { in getInserts()
98 public ArrayMap<Long, ContentValues> getUpdates() { in getUpdates()
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DHbpcdLookupDatabaseHelper.java57 import android.content.ContentValues;
202 ContentValues row = null; in loadTable()
229 private ContentValues getTableMccIddRow(XmlPullParser parser) in getTableMccIddRow()
233 ContentValues row = new ContentValues(); in getTableMccIddRow()
254 ContentValues row = new ContentValues(); in getTableMccLookupTableRow()
289 ContentValues row = new ContentValues(); in getTableMccSidConflictRow()
306 private ContentValues getTableMccSidRangeRow(XmlPullParser parser) in getTableMccSidRangeRow()
310 ContentValues row = new ContentValues(); in getTableMccSidRangeRow()
329 private ContentValues getTableNanpAreaCodeRow(XmlPullParser parser) in getTableNanpAreaCodeRow()
333 ContentValues row = new ContentValues(); in getTableNanpAreaCodeRow()
[all …]
/aosp12/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
H A DPlaylistPerformanceTest.java27 import android.content.ContentValues;
91 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testBulkInsertPlaylistMembers()
112 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testDeletePlaylistMembers()
130 final ContentValues values = new ContentValues(); in createPlaylist()
141 final ContentValues values = new ContentValues(); in createAudio()
153 private @NonNull ContentValues[] createValuesForMembers(@NonNull long[] memberIds) { in createValuesForMembers()
154 final ContentValues[] valuesArray = new ContentValues[memberIds.length]; in createValuesForMembers()
156 final ContentValues values = new ContentValues(); in createValuesForMembers()
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaInserterTest.java29 import android.content.ContentValues;
105 private ContentValues createFileContent() { in createFileContent()
106 ContentValues values = new ContentValues(); in createFileContent()
111 private ContentValues createAudioContent() { in createAudioContent()
112 ContentValues values = new ContentValues(); in createAudioContent()
117 private ContentValues createVideoContent() { in createVideoContent()
118 ContentValues values = new ContentValues(); in createVideoContent()
123 private ContentValues createImageContent() { in createImageContent()
124 ContentValues values = new ContentValues(); in createImageContent()
129 private ContentValues createContent(Uri uri) { in createContent()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContact.java19 import android.content.ContentValues;
53 private final ContentValues mValues;
70 public final ContentValues mContentValues;
72 public NamedDataItem(Uri uri, ContentValues values) { in NamedDataItem()
124 final ContentValues values = entity.getEntityValues(); in createFrom()
138 this(new ContentValues()); in RawContact()
141 public RawContact(ContentValues values) { in RawContact()
192 public ContentValues getValues() { in getValues()
272 final ContentValues values = getValues(); in setAccount()
314 public void addDataItemValues(ContentValues values) { in addDataItemValues()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DRawContact.java19 import android.content.ContentValues;
61 private final ContentValues mValues;
67 this(new ContentValues()); in RawContact()
70 public RawContact(ContentValues values) { in RawContact()
87 final ContentValues values = entity.getEntityValues(); in createFrom()
115 public ContentValues getValues() { in getValues()
185 final ContentValues values = getValues(); in setAccount()
224 public void addDataItemValues(ContentValues values) { in addDataItemValues()
234 public ArrayList<ContentValues> getContentValues() { in getContentValues()
309 public final ContentValues mContentValues;
[all …]
/aosp12/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
H A DPublicApiAccessTest.java25 import android.content.ContentValues;
91 ContentValues values = buildValidValues(); in testMaximalValidWrite()
102 private ContentValues buildValidValues() { in buildValidValues()
103 ContentValues values = new ContentValues(); in buildValidValues()
114 ContentValues values = buildValidValues(); in testNoPublicApi()
121 ContentValues values = buildValidValues(); in testInvalidDestination()
131 ContentValues values = buildValidValues(); in testInvalidVisibility()
146 ContentValues values = buildValidValues(); in testDisallowedColumns()
154 ContentValues values = buildValidValues(); in testFileUriWithoutExternalPermission()
160 private void testInvalidValues(ContentValues values) { in testInvalidValues()
[all …]
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/
H A DMediaProviderTest.java313 final ContentValues values = new ContentValues(); in testCheckUriPermission()
361 final ContentValues values = new ContentValues(); in testActionLongFileNameItemHasTrimmedFileName()
384 final ContentValues values1 = new ContentValues(); in testBulkInsert()
388 final ContentValues values2 = new ContentValues(); in testBulkInsert()
521 final ContentValues values = new ContentValues(); in testBuildData_withUserId()
632 final ContentValues values = new ContentValues(); in testEnsureFileColumns_InvalidMimeType_targetSdkQ()
694 final ContentValues forward = new ContentValues(); in testBuildData_Pending_FromValues()
726 final ContentValues reverse = new ContentValues(); in testBuildData_Pending_FromData()
742 final ContentValues forward = new ContentValues(); in testBuildData_Trashed_FromValues()
1039 final ContentValues values = new ContentValues(); in testEnsureFileColumns_resolvesMimeType()
[all …]

12345678910>>...30