Home
last modified time | relevance | path

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

123

/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberContractTest.java237 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
238 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1234"); in testInsert_failsWithInvalidInputs()
256 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
257 cv.put(BlockedNumbers.COLUMN_E164_NUMBER, "+1234"); in testInsert_failsWithInvalidInputs()
258 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
265 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local
266 cv.put(BlockedNumbers.COLUMN_ID, "1"); in testInsert_failsWithInvalidInputs()
267 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs()
417 ContentValues cv = new ContentValues(); in assertInsertBlockedNumberSucceeds() local
418 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, originalNumber); in assertInsertBlockedNumberSucceeds()
[all …]
DBlockedNumberBackupRestoreTest.java142 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/content/src/android/content/cts/
DContentValuesTest.java244 ContentValues cv = new ContentValues(); in testEquals() local
245 cv.put("Boolean", false); in testEquals()
246 cv.put("String", "string"); in testEquals()
248 assertTrue(mContentValues.equals(cv)); in testEquals()
260 ContentValues cv = new ContentValues(); in testEqualsFailure() local
261 cv.put("Boolean", true); in testEqualsFailure()
262 cv.put("String", "111"); in testEqualsFailure()
264 assertFalse(mContentValues.equals(cv)); in testEqualsFailure()
536 ContentValues cv = new ContentValues(); in testPutAll() local
537 cv.put("String", "cts"); in testPutAll()
[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/os/src/android/os/cts/
DFileObserverLegacyPathTest.java74 ContentValues cv = new ContentValues(); in testCreateFile() local
75 cv.put(MediaStore.Files.FileColumns.DISPLAY_NAME, imageName); in testCreateFile()
76 cv.put(MediaStore.Files.FileColumns.RELATIVE_PATH, "DCIM/testdir"); in testCreateFile()
77 cv.put(MediaStore.Files.FileColumns.MIME_TYPE, "image/jpg"); in testCreateFile()
81 Uri fileUri = mContext.getContentResolver().insert(imageUri, cv); in testCreateFile()
/cts/tests/tests/contactsprovider/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 …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberService.java89 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/
DMultiUserStorageTest.java163 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/
DSettingsTest.java168 ContentValues cv = new ContentValues(); in tryBadTableAccess() local
169 cv.put("name", "name"); in tryBadTableAccess()
170 cv.put("value", "xxxTESTxxx"); in tryBadTableAccess()
173 cr.insert(uri, cv); in tryBadTableAccess()
181 cr.update(uri, cv, NAME_EQ_PLACEHOLDER, new String[]{name}); in tryBadTableAccess()
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py320 [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/
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/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java458 final ConditionVariable cv = new ConditionVariable(); in testBaseInstalled() local
465 cv.open(); in testBaseInstalled()
472 assertTrue(cv.block(2000L)); in testBaseInstalled()
484 final ConditionVariable cv = new ConditionVariable(); in testFeatureInstalled() local
491 cv.open(); in testFeatureInstalled()
498 assertTrue(cv.block(2000L)); in testFeatureInstalled()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsCbMessageTest.java245 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/
DDatabaseCursorTest.java132 ContentValues cv = new ContentValues(); in testBlob() local
133 DatabaseUtils.cursorRowToContentValues(testCursor, cv); in testBlob()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java2570 final ConditionVariable cv = new ConditionVariable(); in testAsyncRelease() local
2576 first = () -> { cv.block(); codec.release(); }; in testAsyncRelease()
2581 cv.block(); in testAsyncRelease()
2591 cv.block(); in testAsyncRelease()
2603 cv.block(); in testAsyncRelease()
2616 cv.block(); in testAsyncRelease()
2629 threads[j] = new Thread(() -> { cv.block(); codec.release(); }); in testAsyncRelease()
2636 cv.open(); in testAsyncRelease()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java405 ContentValues cv = new ContentValues(); in testDisallowedOperationsOnRedactedUri() local
406 cv.put(MediaStore.MediaColumns.DATE_ADDED, 1); in testDisallowedOperationsOnRedactedUri()
/cts/tests/tests/media/assets/hls_variant/165340/
D10.ts558 }esF�x�{�"}�| ����q�F��Q�)%�W�|��N��ۣ�%��*Kf=��Y検���^��<�댪1g���;_��\B�d��cv��m9G���VUͧ&���/=B…
D13.ts195 …᭢_��t����i��L�3.![SZ���cV��~�8� �"�\�{��~���Z4� :=�䇢#l�V0�����G�6 ��[�?t��3���cv�~��7_�� �xi
/cts/tests/tests/media/assets/hls_variant/344388/
D04.ts673 �5���rϨ�)S0�jM��Ȁ�� ދaf��`n�RHT4�O$t�ɥ�cv�{�(�$��d+~3����߅�6�4�?[ �����{GA����#��!�u�����…
815 …�٪��Ҋ�fv�ٍ\�8����m��ʽ:aoS bWz8��J�L<�UVC]MË�%��O7�~�ߖ;WT�2��kȋ�e{-cv?Vf���&��u��-l���z…
D17.ts1296 …����������������������" ]���k�'���S�P6/��v�mf})K�7�_~�i���k���"�^�i�&�cv���қ 2��h�#�2eB��=eB…
/cts/tests/tests/media/assets/hls_variant/387360/
D13.ts227 ��ߘx!ljR�`���f0Fᠵ��c��j��u���hģ�"�Ox;���KW���J�"o����K���@AJ��"��X$I�����cv�hW��X&��j�a;…
D17.ts719 cv*$]���c����*�
/cts/tests/tests/media/assets/hls_variant/765178/
D00.ts2536 �1�qQ�y�9�cv��˰&�׮��[O�u���+ &�FH��,�����ݩ��e$�lp�G�������63
2899 ,Z�0���*�%���E-V>H6Y毓 �G�M`�����o�����!g]5���ę�Bo��1�ؼ������}Ӗ�5D�k�9�]=b�@�v�y�k��cv{��…
3047 1��������� ���A�b����|�S��Yn��ʠ@��C��H�N���5 �����džCM�v@�ؐ8�cv��ĵI{��N���p���rQ}�Ymy�E…
D20.ts582 �b.&�O-�� a?������8�8#���7�E������)�;�^+�$�cv�p�A ?YM��������Q������wmi{��,h6��@�$Z4uG…
2110 �U�w� ���m�S��k7�٤.ʽl:��jJh�(�ӽ��%"�)\��G�cv��j��{&5�@�G�IW�����g'"�w�5��{��5C�MI;�s��MX…
2276 �,��L8��cv%沶�ȢI����rAZ��}CC�mclc6�K~x��le���\���YQ�#�ˇ�W�r;���ӗ����=���������OO{U�� �G�>W�…

123