/cts/tests/tests/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 281 final CallbackValue cv = mHistory.poll(TIMEOUT_MS, c -> true); in verifyTetheringStarted() local 282 assertNotNull("No onTetheringStarted after " + TIMEOUT_MS + " ms", cv); in verifyTetheringStarted() 283 assertTrue("Fail start tethering:" + cv, in verifyTetheringStarted() 284 cv instanceof CallbackValue.OnTetheringStarted); in verifyTetheringStarted() 288 final CallbackValue cv = mHistory.poll(TIMEOUT_MS, c -> true); in expectTetheringFailed() local 289 assertNotNull("No onTetheringFailed after " + TIMEOUT_MS + " ms", cv); in expectTetheringFailed() 290 assertTrue("Expect fail with error code " + expected + ", but received: " + cv, in expectTetheringFailed() 291 (cv instanceof CallbackValue.OnTetheringFailed) && (cv.error == expected)); in expectTetheringFailed() 443 (cv) -> { in expectTetherableInterfacesChanged() 444 if (cv.callbackType != CallbackType.ON_TETHERABLE_IFACES) return false; in expectTetherableInterfacesChanged() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileCalendarTest.java | 474 final ContentValues cv = new ContentValues(); in insertWorkCalendar() local 475 cv.put(CalendarContract.Calendars.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE); in insertWorkCalendar() 476 cv.put(CalendarContract.Calendars.OWNER_ACCOUNT, TEST_ACCOUNT_NAME); in insertWorkCalendar() 477 cv.put(CalendarContract.Calendars.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in insertWorkCalendar() 478 cv.put(CalendarContract.Calendars.CALENDAR_DISPLAY_NAME, displayName); in insertWorkCalendar() 479 cv.put(CalendarContract.Calendars.CALENDAR_COLOR, WORK_CALENDAR_COLOR); in insertWorkCalendar() 480 cv.put(CalendarContract.Calendars.CALENDAR_TIME_ZONE, WORK_TIMEZONE); in insertWorkCalendar() 481 cv.put(CalendarContract.Calendars.SYNC_EVENTS, WORK_SYNC_EVENT); in insertWorkCalendar() 484 TEST_ACCOUNT_TYPE), cv); in insertWorkCalendar() 489 final ContentValues cv = new ContentValues(); in insertWorkEvent() local [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberContractTest.java | 224 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 225 cv.put(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1234"); in testInsert_failsWithInvalidInputs() 243 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 244 cv.put(BlockedNumbers.COLUMN_E164_NUMBER, "+1234"); in testInsert_failsWithInvalidInputs() 245 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 252 ContentValues cv = new ContentValues(); in testInsert_failsWithInvalidInputs() local 253 cv.put(BlockedNumbers.COLUMN_ID, "1"); in testInsert_failsWithInvalidInputs() 254 mAddedUris.add(mContentResolver.insert(BlockedNumbers.CONTENT_URI, cv)); in testInsert_failsWithInvalidInputs() 404 ContentValues cv = new ContentValues(); in assertInsertBlockedNumberSucceeds() local 405 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()
|
D | SettingsTest.java | 168 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()
|
D | CalendarTest.java | 1626 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/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 244 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/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_AllUriTest.java | 624 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()
|
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/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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BlockedNumberService.java | 80 ContentValues cv = new ContentValues(); in insertBlockedNumber() local 81 cv.put(COLUMN_ORIGINAL_NUMBER, number); in insertBlockedNumber() 82 Uri uri = mContentResolver.insert(CONTENT_URI, cv); in insertBlockedNumber()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | RemoteSocketFactoryClient.java | 54 final ConditionVariable cv = new ConditionVariable(); in bind() local 59 cv.open(); in bind() 70 cv.block(TIMEOUT_MS); in bind()
|
D | MyServiceClient.java | 48 final ConditionVariable cv = new ConditionVariable(); in bind() local 53 cv.open(); in bind() 67 cv.block(TIMEOUT_MS); in bind()
|
/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/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 330 final ConditionVariable cv = new ConditionVariable(); in testBaseInstalled() local 336 cv.open(); in testBaseInstalled() 343 assertTrue(cv.block(2000L)); in testBaseInstalled() 354 final ConditionVariable cv = new ConditionVariable(); in testFeatureInstalled() local 360 cv.open(); in testFeatureInstalled() 367 assertTrue(cv.block(2000L)); in testFeatureInstalled()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1107 TestSocketKeepaliveCallback.CallbackValue cv = callback.pollCallback(); in createConcurrentKeepalivesOfType() local 1108 assertNotNull(cv); in createConcurrentKeepalivesOfType() 1109 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType() 1110 if (kalist.size() == 0 && cv.error == SocketKeepalive.ERROR_UNSUPPORTED) { in createConcurrentKeepalivesOfType() 1113 } else if (cv.error == SocketKeepalive.ERROR_INSUFFICIENT_RESOURCES) { in createConcurrentKeepalivesOfType() 1124 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_STARTED) { in createConcurrentKeepalivesOfType() 1128 + ka.getClass().getSimpleName() + ": " + cv); in createConcurrentKeepalivesOfType()
|
/cts/apps/CameraITS/tests/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 320 [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/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/media/src/android/media/cts/ |
D | MediaCodecTest.java | 2383 final ConditionVariable cv = new ConditionVariable(); in testAsyncRelease() local 2389 first = () -> { cv.block(); codec.release(); }; in testAsyncRelease() 2394 cv.block(); in testAsyncRelease() 2404 cv.block(); in testAsyncRelease() 2416 cv.block(); in testAsyncRelease() 2429 cv.block(); in testAsyncRelease() 2442 threads[j] = new Thread(() -> { cv.block(); codec.release(); }); in testAsyncRelease() 2449 cv.open(); in testAsyncRelease()
|
/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/apps/CameraITS/pymodules/its/ |
D | cv2image.py | 312 box = numpy.int0(cv2.cv.BoxPoints(rect))
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 10.ts | 558 }esF�x�{�"}�| ����q�F��Q�)%�W�|��N��ۣ�%��*Kf=��Y検���^��<�댪1g���;_��\B�d��cv��m9G��VUͧ&���/=B…
|
D | 13.ts | 195 …᭢_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/ |
D | 04.ts | 673 �5���rϨ�)S0�jM��Ȁ��ދaf��`n�RHT4�O$t�ɥcv�{�(�$��d+~3����߅�6�4�?[���{GA�#��!u��… 815 …٪��Ҋ�fv�ٍ\�8����m��ʽ:aoSbWz8��J�L<�UVC]MË�%��O7�~�ߖ;WT�2��kȋ�e{-cv?Vf���&��u��-l���z…
|