Home
last modified time | relevance | path

Searched refs:getResult (Results 1 – 25 of 118) sorted by relevance

12345

/cts/hostsidetests/tagging/sdk_30_memtag/src/android/cts/tagging/sdk30memtag/
DTaggingTest.java44 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testMemtagOffService()
51 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testMemtagOffIsolatedService()
58 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testMemtagOffAppZygoteService()
66 assertEquals(TAGGING_MODE_SYNC, activity.getResult()); in testExportedMemtagSyncService()
74 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testExportedMemtagOffService()
84 assertEquals(TAGGING_MODE_SYNC, activity.getResult()); in testExportedMemtagOffService_expectSync()
92 assertEquals(TAGGING_MODE_SYNC, activity.getResult()); in testExportedMemtagSyncAppZygoteService()
100 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testExportedMemtagOffAppZygoteService()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastsTest.java45 assertThat(resultReceiver.getResult()).isEqualTo(ORDERED_BROADCAST_RESULT_DATA); in testExplicitManifestBroadcast()
60 assertThat(resultReceiver.getResult()).isEqualTo(ORDERED_BROADCAST_RESULT_DATA); in testExplicitManifestBroadcast()
77 assertThat(resultReceiver.getResult()).isEqualTo(ORDERED_BROADCAST_INITIAL_DATA); in testImplicitManifestBroadcast()
92 assertThat(resultReceiver.getResult()).isEqualTo(ORDERED_BROADCAST_INITIAL_DATA); in testImplicitManifestBroadcast()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DAccountManagementTest.java66 null, null, null, null, null, null).getResult(); in testAddAccount_blocked()
77 null, null, null, null, null, null).getResult(); in testAddAccount_allowed()
104 mAccountManager.removeAccount(ACCOUNT, null, null).getResult(); in testRemoveAccount_blocked()
124 assertTrue(mAccountManager.removeAccount(ACCOUNT, null, null).getResult()); in testRemoveAccount_allowed()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java89 Bundle result = future.getResult(); in testStartAddAccountSessionDefaultImpl()
124 Bundle result = future.getResult(); in testStartUpdateCredentialsSessionDefaultImpl()
165 Bundle result = future.getResult(); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
180 result = future.getResult(); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
234 Bundle result = future.getResult(); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
249 result = future.getResult(); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
307 assertFalse(future.getResult()); in testIsCredentialsUpdateSuggestedDefaultImpl()
DAccountManagerUnaffiliatedAuthenticatorTests.java257 Account[] accounts = future.getResult(); in testGetAccountsByTypeAndFeatures()
292 Bundle result = future.getResult(); in testStartAddAccountSession()
327 Bundle result = future.getResult(); in testStartUpdateCredentialsSession()
366 Bundle result = future.getResult(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
381 future.getResult(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
416 Bundle result = future.getResult(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
431 future.getResult(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectation.java78 public Result getResult() { in getResult() method in Expectation
98 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); in matches()
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DActionPickImagesOnlyTest.java100 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidParam()
109 final GetResultActivity.Result res = mActivity.getResult(); in testMultiSelect_invalidNegativeParam()
141 final ClipData clipData = mActivity.getResult().data.getClipData(); in testMultiSelect_returnsNotMoreThanMax()
160 final Uri uri = mActivity.getResult().data.getData(); in testDoesNotRespectExtraAllowMultiple()
179 final GetResultActivity.Result res = mActivity.getResult(); in testExtraMimeTypeFilter()
207 final GetResultActivity.Result res = mActivity.getResult(); in testExtraPickerLaunchTabInvalidOption()
DGetResultActivity.java64 public Result getResult() { in getResult() method in GetResultActivity
77 public Result getResult(long timeout, TimeUnit unit) { in getResult() method in GetResultActivity
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java405 final TestResult testResult = getResult(); in testStartNormal()
417 final TestResult testResult = getResult(); in testStartNormal()
430 final TestResult testResult = getResult(); in testStartNormal()
512 final TestResult testResult = getResult(); in testStartExposed01()
533 final TestResult testResult = getResult(); in testStartExposed02()
555 final TestResult testResult = getResult(); in testStartExposed03()
607 final TestResult testResult = getResult(); in testStartExposed06()
627 final TestResult testResult = getResult(); in testStartExposed07()
652 final TestResult testResult = getResult(); in testStartExposed08()
681 final TestResult testResult = getResult(); in testStartExposed09()
[all …]
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java499 results.put(measure, getResult(measure, range)); in getAllResults()
545 public float getResult(Measure measure) { in getResult() method in ServiceKillTestService.Benchmark
546 return getResult(measure, null); in getResult()
549 public float getResult(Measure measure, Range range) { in getResult() method in ServiceKillTestService.Benchmark
552 return (getResult(Measure.WORK, range) + (2 * getResult(Measure.ALARM, range)) + in getResult()
553 getResult(Measure.MAIN, range)) / 4f; in getResult()
600 tests.size(), getResult(Measure.MAIN) * 100, in toReportString()
601 getEvents(Measure.MAIN).size(), getResult(Measure.WORK) * 100, in toReportString()
602 getEvents(Measure.WORK).size(), getResult(Measure.ALARM) * 100, in toReportString()
604 getResult(Measure.TOTAL) >= 0.9f ? "TEST PASSED!" : in toReportString()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java87 if ((sResult == null) || sResult.getResult() == Result.OK) { in onPerformSync()
90 } else if (sResult.getResult() == Result.SOFT_ERROR) { in onPerformSync()
93 } else if (sResult.getResult() == Result.HARD_ERROR) { in onPerformSync()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DGetResultActivity.java66 public Result getResult() { in getResult() method in GetResultActivity
79 public Result getResult(long timeout, TimeUnit unit) { in getResult() method in GetResultActivity
/cts/tests/providerui/src/android/providerui/cts/
DGetResultActivity.java64 public Result getResult() { in getResult() method in GetResultActivity
77 public Result getResult(long timeout, TimeUnit unit) { in getResult() method in GetResultActivity
/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java246 ApkChecksum[] checksums = receiver.getResult(); in testDefaultChecksums()
262 ApkChecksum[] checksums = receiver.getResult(); in testSplitsDefaultChecksums()
289 ApkChecksum[] checksums = receiver.getResult(); in testFixedDefaultChecksums()
307 ApkChecksum[] checksums = receiver.getResult(); in testFixedV1DefaultChecksums()
321 ApkChecksum[] checksums = receiver.getResult(); in testFixedSha512DefaultChecksums()
344 ApkChecksum[] checksums = receiver.getResult(); in testFixedFSVerityDefaultChecksums()
378 ApkChecksum[] checksums = receiver.getResult(); in testFixedFSVerityDefaultChecksumsIncremental()
402 ApkChecksum[] checksums = receiver.getResult(); in testFixedVerityDefaultChecksums()
444 ApkChecksum[] checksums = receiver.getResult(); in testFixedAllChecksums()
480 ApkChecksum[] checksums = receiver.getResult(); in testFixedV1AllChecksums()
[all …]
/cts/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/
DTaggingTest.java190 assertEquals(TAGGING_MODE_SYNC, activity.getResult()); in testExportedMemtagSyncService()
198 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testExportedMemtagOffService()
206 assertEquals(TAGGING_MODE_SYNC, activity.getResult()); in testExportedMemtagSyncAppZygoteService()
214 assertEquals(TAGGING_MODE_OFF, activity.getResult()); in testExportedMemtagOffAppZygoteService()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DNavigationBarColorVerifier.java75 public ResultType getResult() { in getResult() method in NavigationBarColorVerifier.Result
110 assertEquals(result.getAssertionMessage(), ResultType.SUPPORTED, result.getResult()); in expectNavigationBarColorSupported()
122 assertEquals(result.getAssertionMessage(), ResultType.NOT_SUPPORTED, result.getResult()); in expectNavigationBarColorNotSupported()
/cts/tests/tests/packageinstaller/test-apps/criticaluserjourneyinstaller/src/android/packageinstaller/cts/cujinstaller/
DMainActivity.java191 private void startInstallationViaIntent(boolean getResult, String apkName) { in startInstallationViaIntent() argument
196 intent.putExtra(Intent.EXTRA_RETURN_RESULT, getResult); in startInstallationViaIntent()
197 if (getResult) { in startInstallationViaIntent()
206 private void startInstallationViaIntentWithPackageUri(boolean getResult) { in startInstallationViaIntentWithPackageUri() argument
210 intent.putExtra(Intent.EXTRA_RETURN_RESULT, getResult); in startInstallationViaIntentWithPackageUri()
211 if (getResult) { in startInstallationViaIntentWithPackageUri()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DSimpleAccountManagerFuture.java56 public V getResult() throws OperationCanceledException, IOException, AuthenticatorException { in getResult() method in SimpleAccountManagerFuture
84 public V getResult(long timeout, TimeUnit unit) in getResult() method in SimpleAccountManagerFuture
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java179 Intent intent = receiver.getResult(); in testStaticSharedLibInstall_broadcastReceived()
200 Intent intent = receiver.getResult(); in testStaticSharedLibInstall_incorrectInstallerPkgName_broadcastNotReceived()
222 Intent intent = receiver.getResult(); in testStaticSharedLibUninstall_broadcastReceived()
243 Intent intent = receiver.getResult(); in testStaticSharedLibUninstall_incorrectInstallerPkgName_broadcastNotReceived()
281 public Intent getResult() throws InterruptedException { in getResult() method in StaticSharedLibsTests.InstallUninstallBroadcastReceiver
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java310 "Transcoding completed with result: " + transcodingSession.getResult()); in testTranscodingWithExpectResult()
312 assertEquals(expectedResult, transcodingSession.getResult()); in testTranscodingWithExpectResult()
496 "Transcoding completed with result: " + transcodingSession.getResult()); in transcodeFile()
497 assertEquals(TranscodingSession.RESULT_SUCCESS, transcodingSession.getResult()); in transcodeFile()
534 assertEquals(TranscodingSession.RESULT_SUCCESS, session.getResult()); in transcodeFile()
692 "Transcoding completed with result: " + transcodingSession.getResult()); in testCancelTranscoding()
694 transcodingSession.getResult()); in testCancelTranscoding()
721 assertEquals(TranscodingSession.RESULT_CANCELED, session.getResult()); in testCancelTranscoding()
746 "Transcoding completed with result: " + TranscodingSession.getResult()); in testTranscodingProgressUpdate()
747 assertEquals(TranscodingSession.RESULT_SUCCESS, TranscodingSession.getResult()); in testTranscodingProgressUpdate()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java322 final TestResult testResult = getResult(); in testStartNormal()
337 final TestResult testResult = getResult(); in testStartNormal()
353 final TestResult testResult = getResult(); in testStartNormal()
389 final TestResult testResult = getResult(); in testStartEphemeral()
400 final TestResult testResult = getResult(); in testStartEphemeral()
413 final TestResult testResult = getResult(); in testStartEphemeral()
425 final TestResult testResult = getResult(); in testStartEphemeral()
439 final TestResult testResult = getResult(); in testStartEphemeral()
452 final TestResult testResult = getResult(); in testStartEphemeral()
628 private TestResult getResult() { in getResult() method in ClientTest
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DGetDefaultDownloadableSubscriptionListResultTest.java63 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mDefaultSubListResult.getResult()); in testGetResult()
91 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
DGetDownloadableSubscriptionMetadataResultTest.java63 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mSubMetadataResult.getResult()); in testGetResult()
91 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
DGetEuiccProfileInfoListResultTest.java66 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mProfileListResult.getResult()); in testGetResult()
100 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DSequenceMatcher.java89 MatchResult<E> getResult() { in getResult() method in SequenceMatcher.SequenceAccumulator
154 SequenceAccumulator::getResult); in of() field in SequenceMatcher.SequenceAccumulator

12345