Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 169) sorted by relevance

1234567

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java231 assertNull("buffered: " + buffered, update(new byte[1])); in testGetOutputSizeInEncryptionMode()
308 assertNull("buffered: " + buffered, update(new byte[1])); in testGetOutputSizeInDecryptionMode()
479 mCipher.update(new byte[getBlockSize() * 2]); in testReinitializingInDecryptModeDoesNotUsePreviouslyUsedIv()
593 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher()
619 assertEquals(null, update(new byte[0])); in assertUpdateWithEmptyInputReturnsNull()
620 assertEquals(null, update(new byte[getBlockSize() * 2], getBlockSize(), 0)); in assertUpdateWithEmptyInputReturnsNull()
621 assertEquals(null, update(new byte[getBlockSize()], 0, 0)); in assertUpdateWithEmptyInputReturnsNull()
628 update(new byte[getBlockSize() * 2]); in assertUpdateWithEmptyInputReturnsNull()
630 assertEquals(null, update(new byte[0])); in assertUpdateWithEmptyInputReturnsNull()
631 assertEquals(null, update(new byte[getBlockSize() * 2], getBlockSize(), 0)); in assertUpdateWithEmptyInputReturnsNull()
[all …]
DECDSASignatureTest.java55 signature.update(message); in assertNONEwithECDSATruncatesInputToFieldSize()
62 signature.update(message); in assertNONEwithECDSATruncatesInputToFieldSize()
66 signature.update(message, 0, (keySizeBits + 7) / 8); in assertNONEwithECDSATruncatesInputToFieldSize()
70 signature.update(message, 0, (keySizeBits / 8) - 1); in assertNONEwithECDSATruncatesInputToFieldSize()
97 signature.update(message); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
104 signature.update(message); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
109 signature.update(fullLengthMessage); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DRSASignatureTest.java74 signature.update(msg, 0, expectedMaxMessageSizeBytes); in testMaxMessageSizeWhenNoDigestUsed()
78 signature.update(msg, 0, expectedMaxMessageSizeBytes); in testMaxMessageSizeWhenNoDigestUsed()
85 signature.update(msg, 0, expectedMaxMessageSizeBytes + 1); in testMaxMessageSizeWhenNoDigestUsed()
93 signature.update(msg, 0, expectedMaxMessageSizeBytes + 1); in testMaxMessageSizeWhenNoDigestUsed()
138 signature.update("A message".getBytes("UTF-8")); in testSmallKeyRejected()
DEcdsaSignaturePerformanceTest.java121 mSignature.update(getMessage()); in measure()
141 mSignature.update(getMessage()); in initialSetUp()
152 mSignature.update(getMessage()); in measure()
DRsaSignaturePerformanceTest.java148 mSignature.update(getMessage()); in measure()
168 mSignature.update(getMessage()); in initialSetUp()
179 mSignature.update(getMessage()); in measure()
DSignatureTest.java464 signature.update(message); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
496 signature.update(message); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
548 signature.update(message); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
593 signature.update(message); in testEntropyConsumption()
651 signature.update(message); in testSmallMsgKat()
685 signature.update(message[i]); in testSmallMsgKat()
734 signature.update(message); in testLongMsgKat()
749 signature.update(message); in testLongMsgKat()
768 signature.update(message); in testLongMsgKat()
1199 sig.update(message); in assertSignatureVerifiesOneShot()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_DataUsageTest.java107 int result = mResolver.update(uri, new ContentValues(), null, null); in updateMultipleAndAssertUpdateSuccess()
115 int result = mResolver.update(uri, new ContentValues(), null, null); in updateDataUsageAndAssert()
164 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
168 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
172 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
176 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
182 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
187 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
DContactUtil.java36 public static int update(ContentResolver resolver, long contactId, in update() method in ContactUtil
39 return resolver.update(uri, values, null, null); in update()
134 Assert.assertEquals(1, resolver.update(AggregationExceptions.CONTENT_URI, values, null, in setAggregationException()
DVoicemailContractTest.java206 mVoicemailProvider.update(uri, value, null, null); in testVoicemailsTable()
248 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_dirty()
274 mVoicemailProvider.update(uri, newValues, null, null); in testForeignUpdate_retainDirty_notDirty()
296 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_explicitNotDirty()
318 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_null_dirty()
340 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_NotNormalized_normalized()
358 mVoicemailProvider.update(uri, updateValues, null, null); in testLocalUpdate_notDirty()
378 mVoicemailProvider.update(uri, newValues, null, null); in testLocalUpdate_retainDirty_dirty()
409 mVoicemailProvider.update(uri, value, null, null); in testDataColumnUpdate_throwsIllegalArgumentException()
512 mStatusProvider.update(uri, value, null, null); in testStatusTable()
DContactsContract_ContactsTest.java168 ContactUtil.update(mResolver, ids.mContactId, values); in testContactUpdate_updatesContactUpdatedTimestamp()
195 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
204 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
213 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
238 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdateDelete_usageStats_visibilityInWhere()
DDataUtil.java88 public static void update(ContentResolver resolver, long dataId, ContentValues values) { in update() method in DataUtil
90 resolver.update(uri, values, null, null); in update()
DRawContactUtil.java36 public static int update(ContentResolver resolver, long rawContactId, in update() method in RawContactUtil
39 return resolver.update(uri, values, null, null); in update()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DDrawParameters.java28 public void update(float[] viewMatrix, float[] projectionMatrix) { in update() method in DrawParameters
33 public void update(float[] viewMatrix, float[] projectionMatrix, Light light) { in update() method in DrawParameters
34 update(viewMatrix, projectionMatrix); in update()
/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java154 mResolver.update(DummyProvider.CONTENT_URI, values, in testRequery()
188 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdated()
260 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdated()
290 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdatedWithHandler()
336 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdatedWithHandler()
361 public synchronized void update(Observable observable, Object data) { in update() method in ContentQueryMapTest.MockObserver
DMockContentProvider.java323 public int update(Uri uri, ContentValues values, String selection, in update() method in MockContentProvider
331 count = db.update("TestTable1", values, selection, selectionArgs); in update()
336 count = db.update("TestTable1", values, "_id=" + segment + in update()
342 count = db.update("TestTable2", values, selection, selectionArgs); in update()
347 count = db.update("TestTable2", values, "_id=" + segment + in update()
DContentProviderClientTest.java242 mContentProviderClient.update(URI, VALUES, SELECTION, new String[0]); in testUpdate()
243 verify(mIContentProvider).update(PACKAGE_NAME, URI, VALUES, SELECTION, in testUpdate()
248 doAnswer(ANSWER_SLEEP).when(mIContentProvider).update(PACKAGE_NAME, URI, VALUES, SELECTION, in testUpdateTimeout()
251 testTimeout(() -> mContentProviderClient.update(URI, VALUES, SELECTION, in testUpdateTimeout()
254 verify(mIContentProvider).update(PACKAGE_NAME, URI, VALUES, SELECTION, in testUpdateTimeout()
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.cpp79 bool ReferenceRenderer::update(int frame) { in update() function in ReferenceRenderer
84 mCurrentScene->update(localFrame); in update()
/cts/tests/tests/media/src/android/media/cts/
DParamsTest.java114 boolean update = true;
122 if (update) {
133 update = false;
272 boolean update = true;
280 if (update) {
291 update = false;
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_FilesTest.java114 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri()
231 final int count = mResolver.update(updateUri, values, null, null); in testAccess()
250 assertEquals(invalid, 0, mResolver.update(updateUri, values, null, null)); in testAccess()
274 mResolver.update(fileUri, newValues, null, null); in testUpdateMediaType()
300 mResolver.update(uri, values, null, null); in testDateAddedFrozen()
320 assertEquals(1, mResolver.update(uri, updateValues, null, null)); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
DCalendarTest.java1229 ContentValues update = new ContentValues(); in testAttendees() local
1232 update.put(Attendees.ATTENDEE_STATUS, Attendees.ATTENDEE_STATUS_ACCEPTED); in testAttendees()
1233 int count = mContentResolver.update(uri, update, null, null); in testAttendees()
1252 int count = mContentResolver.update(Attendees.CONTENT_URI, bulkUpdate, in testAttendees()
1281 count = mContentResolver.update(ContentUris.withAppendedId(Attendees.CONTENT_URI, attId4), in testAttendees()
1405 count = mContentResolver.update(ContentUris.withAppendedId(Reminders.CONTENT_URI, remId3), in testReminders()
1410 count = mContentResolver.update(Reminders.CONTENT_URI, newValues, in testReminders()
1644 mContentResolver.update(calendarUri, cv, null, null); in testCalendarColors()
1667 mContentResolver.update(calendarUri, cv, null, null); in testCalendarColors()
1685 mContentResolver.update(calendarUri, cv, null, null); in testCalendarColors()
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java517 assertEquals(2, qb.update(mDatabase, values, null, null)); in testUpdate()
522 assertEquals(1, qb.update(mDatabase, values, "month=?", new String[] { "2" })); in testUpdate()
593 assertEquals(1, qb.update(mDatabase, values, null, null)); in testStrictUpdate()
598 assertEquals(1, qb.update(mDatabase, values, "1=1", null)); in testStrictUpdate()
602 assertEquals(1, qb.update(mDatabase, values, "1=1 --", null)); in testStrictUpdate()
606 assertEquals(1, qb.update(mDatabase, values, "1=1) OR (1=1", null)); in testStrictUpdate()
610 assertEquals(1, qb.update(mDatabase, values, "1=1)) OR ((1=1", null)); in testStrictUpdate()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java134 public int update(String table, ContentValues values, String selection, in update() method in Database
136 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java374 mContentResolver.update(channelUri, values, null, null); in testChannelsTable()
396 int result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyChannelType()
401 result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyChannelType()
406 result = mContentResolver.update(Channels.CONTENT_URI, values, null, null); in testChannelsTableForModifyChannelType()
450 int result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
454 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
462 result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
466 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
502 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForIllegalAccess()
510 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForIllegalAccess()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DPreSimpleSaveActivityTest.java349 final RemoteViews update = newTemplate(); in tapLinkAfterUpdateAppliedTest()
351 update.setCharSequence(R.id.link, "setText", "TAP ME IF YOU CAN"); in tapLinkAfterUpdateAppliedTest()
353 update.setCharSequence(R.id.static_text, "setText", "ME!"); in tapLinkAfterUpdateAppliedTest()
358 new BatchUpdates.Builder().updateTemplate(update).build()); in tapLinkAfterUpdateAppliedTest()
/cts/
DAndroid.bp6 // When updating this list, also update error_prone_rules.mk
36 // When updating this list, also update error_prone_rules_tests.mk

1234567