/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingAppTest.java | 61 ContentValues cv = new ContentValues(); in verifyInsertBlockedNumberSucceeds() local 62 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, mBlockedPhoneNumber); in verifyInsertBlockedNumberSucceeds() 64 BlockedNumberContract.BlockedNumbers.CONTENT_URI, cv); in verifyInsertBlockedNumberSucceeds()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 246 ContentValues cv = new ContentValues(); in testEquals() local 247 cv.put("Boolean", false); in testEquals() 248 cv.put("String", "string"); in testEquals() 250 assertTrue(mContentValues.equals(cv)); in testEquals() 262 ContentValues cv = new ContentValues(); in testEqualsFailure() local 263 cv.put("Boolean", true); in testEqualsFailure() 264 cv.put("String", "111"); in testEqualsFailure() 266 assertFalse(mContentValues.equals(cv)); in testEqualsFailure() 538 ContentValues cv = new ContentValues(); in testPutAll() local 539 cv.put("String", "cts"); in testPutAll() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberContractTest.java | 243 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 244 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1234"); in testInsert_failsWithInvalidInputs() 262 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 263 cv.put(BlockedNumbers.COLUMN_E164_NUMBER, "+1234"); in testInsert_failsWithInvalidInputs() 264 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 271 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 272 cv.put(BlockedNumbers.COLUMN_ID, "1"); in testInsert_failsWithInvalidInputs() 273 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 606 ContentValues cv = new ContentValues(); in assertInsertBlockedNumberSucceeds() local 607 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, originalNumber); in assertInsertBlockedNumberSucceeds() [all …]
|
D | BlockedNumberBackupRestoreTest.java | 142 ContentValues cv = new ContentValues(); in insertBlockedNumber() local 143 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber() 144 mContentResolver.insert(BlockedNumberContract.BlockedNumbers.CONTENT_URI, cv); in insertBlockedNumber()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverLegacyPathTest.java | 76 ContentValues cv = new ContentValues(); in testCreateFile() local 77 cv.put(MediaStore.Files.FileColumns.DISPLAY_NAME, imageName); in testCreateFile() 78 cv.put(MediaStore.Files.FileColumns.RELATIVE_PATH, "DCIM/testdir"); in testCreateFile() 79 cv.put(MediaStore.Files.FileColumns.MIME_TYPE, "image/jpg"); in testCreateFile() 83 Uri fileUri = mContext.getContentResolver().insert(imageUri, cv); in testCreateFile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | PreviewRecorder.java | 176 ConditionVariable cv = new ConditionVariable(); in PreviewRecorder() local 177 cv.close(); in PreviewRecorder() 187 cv.open(); in PreviewRecorder() 191 if (!cv.block(1000)) { in PreviewRecorder() 555 ConditionVariable cv = new ConditionVariable(); in getFrame() local 556 cv.close(); in getFrame() 584 cv.open(); in getFrame() 589 if (!cv.block(FRAME_CAPTURE_TIMEOUT_MS)) { in getFrame() 679 ConditionVariable cv = new ConditionVariable(); in close() local 680 cv.close(); in close() [all …]
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_AllUriTest.java | 646 final ContentValues cv = new ContentValues(); in testAllOperations() local 651 cv.clear(); in testAllOperations() 653 cv.putAll(URI_INSERT_VALUES.get(path[0])); in testAllOperations() 655 cv.put(getColumns(uri)[0], 1); in testAllOperations() 657 cv.put("_id", 1); in testAllOperations() 661 final Uri newUri = mResolver.insert(uri, cv); in testAllOperations() 670 mResolver.update(newUri, cv, null, null); in testAllOperations() 679 mResolver.update(uri, cv, "1=2", null); in testAllOperations()
|
D | ContactsContract_DataTest.java | 437 ContentValues cv = new ContentValues(); in testContactablesUri() local 438 cv.put(Email.DATA, "test@test.com"); in testContactablesUri() 439 cv.put(Email.TYPE, Email.TYPE_WORK); in testContactablesUri() 444 new long[] {rawContact.getId()}, cv); in testContactablesUri() 455 cv.put(Phone.DATA, "123456789"); in testContactablesUri() 456 cv.put(Phone.TYPE, Phone.TYPE_MOBILE); in testContactablesUri() 461 null, false, cv, cv2); in testContactablesUri() 780 ArrayList<ContentValues> cv = new ArrayList<ContentValues>(); in getContentValues() local 785 cv.add(sContentValues[0]); in getContentValues() 786 cv.add(sContentValues[1]); in getContentValues() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockedNumberService.java | 89 ContentValues cv = new ContentValues(); in insertBlockedNumber() local 90 cv.put(COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber() 91 Uri uri = mContentResolver.insert(CONTENT_URI, cv); in insertBlockedNumber()
|
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/ |
D | MultiUserStorageTest.java | 163 ContentValues cv = new ContentValues(); in testMediaProviderUserIsolation() local 164 cv.put("_data", otherPath.getAbsolutePath()); in testMediaProviderUserIsolation() 166 contentResolver.insert(Uri.parse(URI_MEDIA_STRING), cv); in testMediaProviderUserIsolation() local
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | SettingsTest.java | 176 ContentValues cv = new ContentValues(); in tryBadTableAccess() local 177 cv.put("name", "name"); in tryBadTableAccess() 178 cv.put("value", "xxxTESTxxx"); in tryBadTableAccess() 181 cr.insert(uri, cv); in tryBadTableAccess() 189 cr.update(uri, cv, NAME_EQ_PLACEHOLDER, new String[]{name}); in tryBadTableAccess()
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 320 [vx], [vy], [x0], [y0] = cv2.fitLine(np_cluster, cv2.cv.CV_DIST_L2, 393 opening, cv2.cv.CV_RETR_EXTERNAL, cv2.cv.CV_CHAIN_APPROX_NONE) 396 opening, cv2.cv.CV_RETR_EXTERNAL, cv2.cv.CV_CHAIN_APPROX_NONE)
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 1625 ContentValues cv = CalendarHelper.getNewCalendarValues(account, seed++); in testCalendarColors() local 1626 cv.put(Calendars.CALENDAR_COLOR_KEY, "badIndex"); in testCalendarColors() 1631 Uri uri = mContentResolver.insert(calSyncUri, cv); in testCalendarColors() 1639 cv.clear(); in testCalendarColors() 1640 cv.put(Calendars.CALENDAR_COLOR_KEY, "badIndex2"); in testCalendarColors() 1643 mContentResolver.update(calendarUri, cv, null, null); in testCalendarColors() 1652 cv = CalendarHelper.getNewCalendarValues(account, seed++); in testCalendarColors() 1653 cv.put(Calendars.CALENDAR_COLOR_KEY, ColorHelper.DEFAULT_INDICES[ColorHelper.C_COLOR_0]); in testCalendarColors() 1655 Uri uri = mContentResolver.insert(calSyncUri, cv); in testCalendarColors() 1659 cv.put(Calendars.CALENDAR_COLOR, ColorHelper.DEFAULT_COLORS[ColorHelper.C_COLOR_0]); in testCalendarColors() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 458 final ConditionVariable cv = new ConditionVariable(); in testBaseInstalled() local 465 cv.open(); in testBaseInstalled() 473 assertTrue(cv.block(2000L)); in testBaseInstalled() 485 final ConditionVariable cv = new ConditionVariable(); in testFeatureInstalled() local 492 cv.open(); in testFeatureInstalled() 500 assertTrue(cv.block(2000L)); in testFeatureInstalled()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsCbMessageTest.java | 245 ContentValues cv = mSmsCbMessage.getContentValues(); in testContentValues() local 246 int serial = cv.getAsInteger(Telephony.CellBroadcasts.SERIAL_NUMBER); in testContentValues()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 132 ContentValues cv = new ContentValues(); in testBlob() local 133 DatabaseUtils.cursorRowToContentValues(testCursor, cv); in testBlob()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 2260 final ConditionVariable cv = new ConditionVariable(); in testAsyncRelease() local 2266 first = () -> { cv.block(); codec.release(); }; in testAsyncRelease() 2271 cv.block(); in testAsyncRelease() 2281 cv.block(); in testAsyncRelease() 2293 cv.block(); in testAsyncRelease() 2306 cv.block(); in testAsyncRelease() 2319 threads[j] = new Thread(() -> { cv.block(); codec.release(); }); in testAsyncRelease() 2326 cv.open(); in testAsyncRelease()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | MmsPartTest.java | 219 ContentValues cv = new ContentValues(); in testMmsPartUpdate_invalidUri() local 223 int cursorUpdate = mContentResolver.update(uri, cv, null, null); in testMmsPartUpdate_invalidUri()
|
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/ |
D | RedactUriDeviceTest.java | 405 ContentValues cv = new ContentValues(); in testDisallowedOperationsOnRedactedUri() local 406 cv.put(MediaStore.MediaColumns.DATE_ADDED, 1); in testDisallowedOperationsOnRedactedUri()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 4517 final ConditionVariable cv = new ConditionVariable(); in getUnavailablePhysicalCameras() local 4525 cv.open(); in getUnavailablePhysicalCameras() 4531 while (cv.block(AVAILABILITY_TIMEOUT_MS)) { in getUnavailablePhysicalCameras() 4534 cv.close(); in getUnavailablePhysicalCameras()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2019_2245.ts | 3488 …��I[~�L7��J���oC�����c&��έ��&m@����>#t�ؔ����}�a�؟*�L�V�l��9���547�h͆�FVfL75�����#cv�g7Y�
|