/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardTestsBase.java | 18 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 …]
|
D | ContactEntry.java | 18 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()
|
D | ImportTestProvider.java | 20 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 …]
|
D | PropertyNodesVerifierElem.java | 18 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 …]
|
D | ContentValuesBuilder.java | 18 import android.content.ContentValues; 25 private final ContentValues mContentValues; 27 public ContentValuesBuilder(final ContentValues contentValues) { in ContentValuesBuilder()
|
/frameworks/base/media/java/android/media/ |
D | MediaInserter.java | 21 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>>(); 49 public void insert(Uri tableUri, ContentValues values) throws RemoteException { in insert() 53 public void insertwithPriority(Uri tableUri, ContentValues values) throws RemoteException { in insertwithPriority() 57 … private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { in insert() 58 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert() 59 List<ContentValues> list = rowmap.get(tableUri); in insert() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | Mapper.java | 20 import android.content.ContentValues; 65 final ContentValues[] valuesList = new ContentValues[1]; in putDeviceDocument() 66 final ContentValues[] extraValuesList = new ContentValues[1]; in putDeviceDocument() 67 valuesList[0] = new ContentValues(); in putDeviceDocument() 68 extraValuesList[0] = new ContentValues(); in putDeviceDocument() 98 final ContentValues[] valuesList = new ContentValues[roots.length]; in putStorageDocuments() 99 final ContentValues[] extraValuesList = new ContentValues[roots.length]; in putStorageDocuments() 101 valuesList[i] = new ContentValues(); in putStorageDocuments() 102 extraValuesList[i] = new ContentValues(); in putStorageDocuments() 142 final ContentValues[] valuesList = new ContentValues[documents.length]; in putChildDocuments() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | RcsMessageStoreControllerTest.java | 29 import android.content.ContentValues; 112 ContentValues expectedRcsValues = new ContentValues(1); in testCreateRcsParticipant() 128 ContentValues contentValues = new ContentValues(1); in testUpdateRcsParticipantAlias() 142 ContentValues contentValues = new ContentValues(1); in testSet1To1ThreadFallbackThreadId() 155 ContentValues contentValues = new ContentValues(1); in testSetGroupThreadName() 169 ContentValues contentValues = new ContentValues(1); in testSetGroupThreadIcon() 184 ContentValues contentValues = new ContentValues(1); in testSetGroupThreadOwner()
|
D | FakeProviderWithAsserts.java | 21 import android.content.ContentValues; 61 private ContentValues mContentValues; 64 ExpectedInsert(Uri uri, ContentValues contentValues, Uri returnValue) { in ExpectedInsert() 75 private ContentValues mContentValues; 79 ContentValues contentValues, int returnValue) { in ExpectedUpdate() 114 public Uri insert(Uri uri, ContentValues contentValues) { in insert() 122 public int update(Uri uri, ContentValues contentValues, String whereClause, in update() 133 ContentValues actual, ContentValues expected) { in assertThatContentValuesAreEquivalent()
|
/frameworks/base/core/java/android/provider/ |
D | SyncStateContract.java | 21 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 28 import android.content.ContentValues; 98 private ContentValues createFileContent() { in createFileContent() 99 ContentValues values = new ContentValues(); in createFileContent() 104 private ContentValues createAudioContent() { in createAudioContent() 105 ContentValues values = new ContentValues(); in createAudioContent() 110 private ContentValues createVideoContent() { in createVideoContent() 111 ContentValues values = new ContentValues(); in createVideoContent() 116 private ContentValues createImageContent() { in createImageContent() 117 ContentValues values = new ContentValues(); in createImageContent() 122 private ContentValues createContent(Uri uri) { in createContent() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsMessageStoreUtil.java | 22 import android.content.ContentValues; 107 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() 114 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() 121 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() 128 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() 135 ContentValues contentValues = new ContentValues(1); in updateValueOfProviderUri() 140 private void performUpdate(Uri uri, ContentValues contentValues, String errorMessage) in performUpdate()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 40 private final static ContentValues sTestValues1; 48 sTestValues1 = new ContentValues(); 58 public Uri insert(Uri uri, ContentValues values) { in testInsert() 71 public Uri insert(Uri uri, ContentValues values) { in testInsertNoValues() 86 public Uri insert(Uri uri, ContentValues values) { in testInsertFailed() 110 public Uri insert(Uri uri, ContentValues values) { in testInsertWithBackRefs() 112 ContentValues expected = new ContentValues(sTestValues1); in testInsertWithBackRefs() 128 public Uri insert(Uri uri, ContentValues values) { in testUpdate() 211 private Cursor getCursor(ContentValues contentValues, int numRows) { in getCursor() 231 ContentValues values = new ContentValues(); in testValueBackRefs() [all …]
|
/frameworks/base/core/java/android/content/ |
D | Entity.java | 34 final private ContentValues mValues; 38 public Entity(ContentValues values) { in Entity() 43 public ContentValues getEntityValues() { in getEntityValues() 51 public void addSubValue(Uri uri, ContentValues values) { in addSubValue() 57 public final ContentValues values; 59 public NamedContentValues(Uri uri, ContentValues values) { in NamedContentValues()
|
D | ContentValues.java | 37 public final class ContentValues implements Parcelable { class 53 public ContentValues() { in ContentValues() method in ContentValues 62 public ContentValues(int size) { in ContentValues() method in ContentValues 72 public ContentValues(ContentValues from) { in ContentValues() method in ContentValues 83 private ContentValues(HashMap<String, Object> from) { in ContentValues() method in ContentValues 89 private ContentValues(Parcel in) { in ContentValues() method in ContentValues 96 if (!(object instanceof ContentValues)) { in equals() 99 return mMap.equals(((ContentValues) object).mMap); in equals() 127 public void putAll(ContentValues other) { in putAll() 500 public static final @android.annotation.NonNull Parcelable.Creator<ContentValues> CREATOR = [all …]
|
D | ContentQueryMap.java | 43 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()
|
D | ContentProviderOperation.java | 56 private final ContentValues mValues; 58 private final ContentValues mValuesBackReferences; 85 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; in ContentProviderOperation() 90 ? ContentValues.CREATOR.createFromParcel(source) in ContentProviderOperation() 316 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs); in applyInternal() 391 public ContentValues resolveValueBackReferences( in resolveValueBackReferences() 396 final ContentValues values; in resolveValueBackReferences() 398 values = new ContentValues(); in resolveValueBackReferences() 400 values = new ContentValues(mValues); in resolveValueBackReferences() 512 private ContentValues mValues; [all …]
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceSetTest.java | 22 import android.content.ContentValues; 43 final ContentValues values = verifyPopulateContentValues(recurrence, in testRecurrenceSet0() 56 final ContentValues values = verifyPopulateContentValues(recurrence, in testRecurrenceSet1() 67 final ContentValues values = verifyPopulateContentValues(recurrence, in testRecurrenceSet2() 80 final ContentValues values = verifyPopulateContentValues(recurrence, in testRecurrenceSet3() 95 final ContentValues values = verifyPopulateContentValues(recurrence, null, in testRecurrenceSet4() 110 final ContentValues values = verifyPopulateContentValues(recurrence, "FREQ=YEARLY", null, in testRecurrenceSet5() 120 final ContentValues values2 = verifyPopulateContentValues(recurrence2, "FREQ=YEARLY", null, in testRecurrenceSet5() 138 final ContentValues values = verifyPopulateContentValues(recurrence, in testRecurrenceSet6() 237 private ContentValues verifyPopulateContentValues(String recurrence, String rrule, String rdate, in verifyPopulateContentValues() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | ApnService.java | 24 import android.content.ContentValues; 53 public ContentValues[] getApns(int subId) { 55 List<ContentValues> apns = ApnService.this.onRestoreApns(subId); 56 return apns.toArray(new ContentValues[apns.size()]); 80 public abstract List<ContentValues> onRestoreApns(int subId); in onRestoreApns()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardBuilderTest.java | 19 import android.content.ContentValues; 36 final ArrayList<ContentValues> contentList = Lists.newArrayList(); in testVCardNameFieldFromDisplayName() 38 final ContentValues values = new ContentValues(); in testVCardNameFieldFromDisplayName()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbHelperTest.java | 21 import android.content.ContentValues; 162 ContentValues values = new ContentValues(); in isRootOfTrustTableAvailable() 174 ContentValues values = new ContentValues(); in checkAllColumns_v4() 187 values = new ContentValues(); in checkAllColumns_v4() 196 values = new ContentValues(); in checkAllColumns_v4() 223 ContentValues values = new ContentValues(); in checkAllColumns_latest() 240 values = new ContentValues(); in checkAllColumns_latest()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 21 import android.content.ContentValues; 99 ContentValues values = new ContentValues(); in insertKey() 244 ContentValues values = new ContentValues(); in setRecoveryStatus() 329 ContentValues values = new ContentValues(); in setPlatformKeyGenerationId() 384 ContentValues values = new ContentValues(); in setUserSerialNumber() 400 ContentValues values = new ContentValues(); in invalidateKeysForUser() 412 ContentValues values = new ContentValues(); in invalidateKeysForUserIdOnCustomScreenLock() 622 ContentValues values = new ContentValues(); in setRecoverySecretTypes() 713 ContentValues values = new ContentValues(); in setActiveRootOfTrust() 979 ContentValues values = new ContentValues(); in setLong() [all …]
|
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
D | DisabledProvider.java | 20 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()
|
D | EnabledProvider.java | 20 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/base/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabaseIoPerfTest.java | 22 import android.content.ContentValues; 81 ContentValues cv = new ContentValues(); in testDatabaseModifications() 90 cv = new ContentValues(); in testDatabaseModifications() 111 ContentValues cv = new ContentValues(); in testInsertsWithTransactions()
|