Home
last modified time | relevance | path

Searched refs:DATA (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java222 final byte[] DATA = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in testStartEditingChunkSize1()
226 buffer.writeRawBuffer(DATA); in testStartEditingChunkSize1()
229 assertEquals(DATA.length, buffer.getWritePos()); in testStartEditingChunkSize1()
230 assertEquals(DATA.length-1, buffer.getWriteBufIndex()); in testStartEditingChunkSize1()
232 assertEquals(DATA.length, buffer.getChunkCount()); in testStartEditingChunkSize1()
243 assertEquals(DATA.length, buffer.getChunkCount()); in testStartEditingChunkSize1()
244 assertEquals(DATA.length, buffer.getReadableSize()); in testStartEditingChunkSize1()
254 final byte[] DATA = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in testStartEditingChunkSize100()
258 buffer.writeRawBuffer(DATA); in testStartEditingChunkSize100()
261 assertEquals(DATA.length, buffer.getWritePos()); in testStartEditingChunkSize100()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java63 contentResolver.delete(dirUri, MediaStore.Audio.Media.DATA + "=?", new String[] { in insert()
64 values.getAsString(MediaStore.Audio.Media.DATA) in insert()
115 values.put(Media.DATA, data.getAbsolutePath()); in getContentValues()
177 values.put(Media.DATA, data.getAbsolutePath()); in getContentValues()
213 values.put(Media.DATA, values.getAsString(Media.DATA) + "_3"); in getContentValues()
231 values.put(Media.DATA, values.getAsString(Media.DATA) + "_4"); in getContentValues()
249 values.put(Media.DATA, values.getAsString(Media.DATA) + "_5"); in getContentValues()
DMediaStore_FilesTest.java95 values.put(MediaColumns.DATA, dataPath); in testGetContentUri()
108 assertStringColumn(fileUri, MediaColumns.DATA, dataPath); in testGetContentUri()
113 values.put(MediaColumns.DATA, updatedPath); in testGetContentUri()
115 assertStringColumn(fileUri, MediaColumns.DATA, updatedPath); in testGetContentUri()
140 values.put(MediaColumns.DATA, b + "/testing" + System.nanoTime()); in testGetContentUri()
151 new String[] { MediaColumns.DATA }, null, null, null); in testGetContentUri()
175 values.put(MediaColumns.DATA, fileLower.getAbsolutePath()); in testCaseSensitivity()
193 values.put(MediaColumns.DATA, valid); in testAccessInternal()
208 values.put(MediaColumns.DATA, invalid); in testAccessInternal()
225 values.put(MediaColumns.DATA, valid); in testAccess()
[all …]
DMediaStore_VideoTest.java80 values.put(VideoColumns.DATA, valueOfData); in testQuery()
85 Cursor c = Video.query(mResolver, newUri, new String[] { VideoColumns.DATA }); in testQuery()
88 assertEquals(valueOfData, c.getString(c.getColumnIndex(VideoColumns.DATA))); in testQuery()
DMediaStore_Images_ThumbnailsTest.java153 values.put(Thumbnails.DATA, path); in testQueryExternalThumbnails()
165 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryExternalThumbnails()
178 assertEquals(path, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testQueryExternalThumbnails()
204 new String[]{ Media._ID, Media.DATA }, null, null, null); in testQueryExternalMiniThumbnails()
207 String imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails()
229 new String[]{ Media._ID, Media.DATA}, null, null, null); in testQueryExternalMiniThumbnails()
232 imagePath = c.getString(c.getColumnIndex(Media.DATA)); in testQueryExternalMiniThumbnails()
265 values.put(Thumbnails.DATA, externalImgPath); in testStoreImagesMediaExternal()
281 assertEquals(externalImgPath, c.getString(c.getColumnIndex(Thumbnails.DATA))); in testStoreImagesMediaExternal()
290 values.put(Thumbnails.DATA, externalImgPath2); in testStoreImagesMediaExternal()
DMediaStore_Audio_Playlists_MembersTest.java67 Members.DATA,
96 Members.DATA,
221 values.put(Playlists.DATA, ""); in testStoreAudioPlaylistsMembersExternal()
253 .getAsString(Members.DATA); in testStoreAudioPlaylistsMembersExternal()
254 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
298 .getAsString(Members.DATA); in testStoreAudioPlaylistsMembersExternal()
299 assertEquals(expected2, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
388 values.put(Playlists.DATA, ""); in testStoreAudioPlaylistsMembersExternal()
DMediaStore_Audio_PlaylistsTest.java84 values.put(Playlists.DATA, externalPlaylistPath); in testStoreAudioPlaylistsExternal()
99 c.getString(c.getColumnIndex(Playlists.DATA))); in testStoreAudioPlaylistsExternal()
DMediaStore_Images_MediaTest.java193 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA }, in testInsertImageWithBitmap()
198 Uri.fromFile(new File(c.getString(c.getColumnIndex(Media.DATA))))); in testInsertImageWithBitmap()
242 values.put(Media.DATA, externalPath); in testStoreImagesMediaExternal()
270 assertEquals(externalPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreImagesMediaExternal()
DMediaStore_Audio_MediaTest.java116 String expected = audio1.getContentValues(mVolumeName).getAsString(Media.DATA); in testStoreAudioMedia()
117 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); in testStoreAudioMedia()
DMediaStore_Video_MediaTest.java138 values.put(Media.DATA, externalVideoPath); in testStoreVideoMediaExternal()
171 assertEquals(externalVideoPath, c.getString(c.getColumnIndex(Media.DATA))); in testStoreVideoMediaExternal()
204 values.put(VideoColumns.DATA, file.getAbsolutePath()); in insertVideo()
DMediaStore_Audio_Genres_MembersTest.java143 .getAsString(Members.DATA); in testStoreAudioGenresMembersExternal()
144 assertEquals(expected1, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioGenresMembersExternal()
DMediaStore_Audio_AlbumsTest.java172 v.put(Media.DATA, path.getAbsolutePath()); in testAlbumArt()
DMediaStore_Video_ThumbnailsTest.java208 values.put(VideoColumns.DATA, file.getAbsolutePath()); in insertVideo()
DCalendarTest.java234 SyncState.DATA
248 values.put(SyncState.DATA, SAMPLE_SYNC_DATA); in getNewSyncStateValues()
658 Colors.DATA, // 3
704 colorValues.put(Colors.DATA, data); in addColor()
1532 colorValues.put(Colors.DATA, "0"); in testColorWriteRequirements()
1552 if (!TextUtils.equals(key, Colors.DATA)) { in testColorWriteRequirements()
1558 if (TextUtils.equals(key, Colors.DATA)) { in testColorWriteRequirements()
3754 if (key.equals(SyncState.DATA)) { in verifySyncState()
DMediaStore_DownloadsTest.java348 values.put(Images.Media.DATA, file.getAbsolutePath()); in insertImage()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_DataTest.java144 cv1.put(Email.DATA, "tamale@acme.com"); in cv1.put() argument
151 cv2.put(Phone.DATA, "510-123-5769"); in cv2.put() argument
158 cv3.put(Email.DATA, "hot@google.com"); in cv3.put() argument
165 cv4.put(Email.DATA, "eggs@farmers.org"); in cv4.put() argument
172 cv5.put(Email.DATA, "doeassociates@deer.com"); in cv5.put() argument
179 cv6.put(Phone.DATA, "518-354-1111"); in cv6.put() argument
186 cv7.put(SipAddress.DATA, "mysip@sipaddress.com"); in cv7.put() argument
434 .with(Email.DATA, "test@test.com") in testContactablesUri()
438 cv.put(Email.DATA, "test@test.com"); in testContactablesUri()
450 .with(Phone.DATA, "123456789") in testContactablesUri()
[all …]
DContactsContract_SearchSnippetsTest.java337 .with(Phone.DATA, "510-123-5769") in setupTestData()
351 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
355 .with(Phone.DATA, "123-456-7890") in setupTestData()
370 .with(StructuredPostal.DATA, "123 Main Street Unit 3113") in setupTestData()
DContactsContract_FrequentsStrequentsTest.java432 .with(Phone.DATA, "510-123-5769") in setupTestData()
446 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
460 .with(Phone.DATA, "518-354-1111") in setupTestData()
DContactsContract_PhoneLookup.java82 .with(Phone.DATA, "1111222333444") in setupTestData()
96 .with(Phone.DATA, "2111222333444") in setupTestData()
DContactsTest.java209 Photos.LOCAL_VERSION, Photos.DATA, in testPhotosTable()
233 value.put(Photos.DATA, data); in testPhotosTable()
553 ContactMethods.DATA, ContactMethods.AUX_DATA, ContactMethods.TYPE,
581 value.put(ContactMethods.DATA, insertData);
604 value.put(ContactMethods.DATA, updateData);
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java186 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()
197 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()
210 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()
223 MediaStore.Files.FileColumns.DATA + "=?", in testMediaScanner()
226 MediaStore.Files.FileColumns.DATA + "=?", in testMediaScanner()
567 MediaStore.Audio.Media.DATA + "=?", new String[] {path}, null); in testEncodingDetection()
588 MediaStore.Audio.Media.DATA + "=?", new String[] {path}); in testEncodingDetection()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java102 final int DATA = 1; in testFromSocket() local
114 out.write(DATA); in testFromSocket()
130 assertEquals(DATA, in.read()); in testFromSocket()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DChangeDefaultUris.java45 values.put(MediaStore.MediaColumns.DATA, mediaFile.getPath()); in testChangeDefaultUris()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java383 values.put(Images.Media.DATA, in assertMediaNoAccess()
402 values.put(Images.Media.DATA, in assertMediaReadWriteAccess()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java1159 builder.withValue(Email.DATA, email); in insertSingleContact()

12