Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberContractTest.java163 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
164 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1234"); in testInsert_failsWithInvalidInputs()
182 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
183 cv.put(BlockedNumbers.COLUMN_E164_NUMBER, "+1234"); in testInsert_failsWithInvalidInputs()
184 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
191 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
192 cv.put(BlockedNumbers.COLUMN_ID, "1"); in testInsert_failsWithInvalidInputs()
193 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
319 ContentValues cv = new ContentValues(); in assertInsertBlockedNumberSucceeds() local
320 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, originalNumber); in assertInsertBlockedNumberSucceeds()
[all …]
DBlockedNumberBackupRestoreTest.java139 ContentValues cv = new ContentValues(); in insertBlockedNumber() local
140 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber()
141 mContentResolver.insert(BlockedNumberContract.BlockedNumbers.CONTENT_URI, cv); in insertBlockedNumber()
DSettingsTest.java141 ContentValues cv = new ContentValues(); in tryBadTableAccess() local
142 cv.put("name", "name"); in tryBadTableAccess()
143 cv.put("value", "xxxTESTxxx"); in tryBadTableAccess()
146 cr.insert(uri, cv); in tryBadTableAccess()
154 cr.update(uri, cv, NAME_EQ_PLACEHOLDER, new String[]{name}); in tryBadTableAccess()
DCalendarTest.java1626 ContentValues cv = CalendarHelper.getNewCalendarValues(account, seed++); in testCalendarColors() local
1627 cv.put(Calendars.CALENDAR_COLOR_KEY, "badIndex"); in testCalendarColors()
1632 Uri uri = mContentResolver.insert(calSyncUri, cv); in testCalendarColors()
1640 cv.clear(); in testCalendarColors()
1641 cv.put(Calendars.CALENDAR_COLOR_KEY, "badIndex2"); in testCalendarColors()
1644 mContentResolver.update(calendarUri, cv, null, null); in testCalendarColors()
1653 cv = CalendarHelper.getNewCalendarValues(account, seed++); in testCalendarColors()
1654 cv.put(Calendars.CALENDAR_COLOR_KEY, ColorHelper.DEFAULT_INDICES[ColorHelper.C_COLOR_0]); in testCalendarColors()
1656 Uri uri = mContentResolver.insert(calSyncUri, cv); in testCalendarColors()
1660 cv.put(Calendars.CALENDAR_COLOR, ColorHelper.DEFAULT_COLORS[ColorHelper.C_COLOR_0]); in testCalendarColors()
[all …]
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DNumberBlockingAppTest.java61 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/
DContentValuesTest.java218 ContentValues cv = new ContentValues(); in testEquals() local
219 cv.put("Boolean", false); in testEquals()
220 cv.put("String", "string"); in testEquals()
222 assertTrue(mContentValues.equals(cv)); in testEquals()
233 ContentValues cv = new ContentValues(); in testEqualsFailure() local
234 cv.put("Boolean", true); in testEqualsFailure()
235 cv.put("String", "111"); in testEqualsFailure()
237 assertFalse(mContentValues.equals(cv)); in testEqualsFailure()
491 ContentValues cv = new ContentValues(); in testPutAll() local
492 cv.put("String", "cts"); in testPutAll()
[all …]
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java50 final ConditionVariable cv = new ConditionVariable(); in bind() local
55 cv.open(); in bind()
69 cv.block(TIMEOUT_MS); in bind()
DRemoteSocketFactoryClient.java54 final ConditionVariable cv = new ConditionVariable(); in bind() local
59 cv.open(); in bind()
70 cv.block(TIMEOUT_MS); in bind()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java624 final ContentValues cv = new ContentValues(); in testAllOperations() local
629 cv.clear(); in testAllOperations()
631 cv.put(getColumns(uri)[0], 1); in testAllOperations()
633 cv.put("_id", 1); in testAllOperations()
636 cv.put(SyncState.ACCOUNT_NAME, "abc"); in testAllOperations()
637 cv.put(SyncState.ACCOUNT_TYPE, "def"); in testAllOperations()
641 final Uri newUri = mResolver.insert(uri, cv); in testAllOperations()
650 mResolver.update(newUri, cv, null, null); in testAllOperations()
659 mResolver.update(uri, cv, "1=2", null); in testAllOperations()
DContactsContract_DataTest.java437 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 …]
DContactsContract_ContactsTest.java273 final ContentValues cv = new ContentValues(); in testContactUpdateDelete_usageStats_visibilityInWhere() local
274 cv.put(Contacts.STARRED, 1); in testContactUpdateDelete_usageStats_visibilityInWhere()
280 assertEquals(1, mResolver.update(Contacts.CONTENT_URI, cv, where, null)); in testContactUpdateDelete_usageStats_visibilityInWhere()
281 assertEquals(1, mResolver.update(RawContacts.CONTENT_URI, cv, where, null)); in testContactUpdateDelete_usageStats_visibilityInWhere()
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java163 ContentValues cv = new ContentValues(); in testMediaProviderUserIsolation() local
164 cv.put("_data", otherPath.getAbsolutePath()); in testMediaProviderUserIsolation()
165 contentResolver.insert(Uri.parse(URI_MEDIA_STRING), cv); in testMediaProviderUserIsolation() local
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsManagerTest.java402 ContentValues cv = new ContentValues(); in blockNumber() local
403 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, phoneNumber); in blockNumber()
405 BlockedNumberContract.BlockedNumbers.CONTENT_URI, cv); in blockNumber()
/cts/apps/CameraITS/tests/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py320 [vx], [vy], [x0], [y0] = cv2.fitLine(np_cluster, cv2.cv.CV_DIST_L2,
391 cv2.cv.CV_RETR_EXTERNAL,
392 cv2.cv.CV_CHAIN_APPROX_NONE)
/cts/tests/tests/telecom/src/android/telecom/cts/
DExtendedInCallServiceTest.java402 ContentValues cv = new ContentValues(); in blockNumber() local
403 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, in blockNumber()
406 BlockedNumberContract.BlockedNumbers.CONTENT_URI, cv); in blockNumber()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java323 final ConditionVariable cv = new ConditionVariable(); in launchBaseActivity() local
335 cv.open(); in launchBaseActivity()
339 assertTrue(cv.block(2000L)); in launchBaseActivity()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseCursorTest.java132 ContentValues cv = new ContentValues(); in testBlob() local
133 DatabaseUtils.cursorRowToContentValues(testCursor, cv); in testBlob()
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py66 circle = cv2.HoughCircles(gray, cv2.cv.CV_HOUGH_GRADIENT,
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py276 box = numpy.int0(cv2.cv.BoxPoints(rect))
/cts/tests/tests/media/assets/
DfileSequence1.ts3495 �_��3���}jznj�r�����ݡ���8=ZE|�3�3����! ��_�å�cvi&Ω�%l���~Ix�}��B|�o�^z��aAA�j�Q~7�[�=q�n�SK�…