Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 155) 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()
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/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/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/tests/openglperf2/jni/reference/
DReferenceRenderer.cpp79 bool ReferenceRenderer::update(int frame) { in update() function in ReferenceRenderer
84 mCurrentScene->update(localFrame); in update()
DReferenceRenderer.h28 bool update(int frame);
/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/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()
/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.java112 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri()
229 final int count = mResolver.update(updateUri, values, null, null); in testAccess()
248 assertEquals(invalid, 0, mResolver.update(updateUri, values, null, null)); in testAccess()
272 mResolver.update(fileUri, newValues, null, null); in testUpdateMediaType()
298 mResolver.update(uri, values, null, null); in testDateAddedFrozen()
321 int updateRows = mResolver.update(uri, updateValues, null, null); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
/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/
DAndroid.bp6 // When updating this list, also update error_prone_rules.mk
36 // When updating this list, also update error_prone_rules_tests.mk
/cts/tools/dasm/src/java_cup/
Dversion.java38 public static final char update = 'd'; field in version
/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/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java368 mContentResolver.update(channelUri, values, null, null); in testChannelsTable()
390 int result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyChannelType()
395 result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyChannelType()
400 result = mContentResolver.update(Channels.CONTENT_URI, values, null, null); in testChannelsTableForModifyChannelType()
444 int result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
448 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
456 result = mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
460 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForModifyIdAndPackageName()
496 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForIllegalAccess()
504 mContentResolver.update(channelUri, values, null, null); in testChannelsTableForIllegalAccess()
[all …]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DDummyJobContentProvider.java131 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() method in DummyJobContentProvider
137 int count = db.update(tbName, values, selection, selectionArgs); in update()
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java131 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() method in DummyJobContentProvider
137 int count = db.update(tbName, values, selection, selectionArgs); in update()

1234567