Home
last modified time | relevance | path

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

123

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAllowedAccountManagementTest.java93 null, null, null, null, null, null).getResult(); in testAccountManagementDisabled_profileAndDeviceOwnerCanAddAccount()
109 null, null, null, null, null, null).getResult(); in testUserRestriction_profileAndDeviceOwnerCanAddAndRemoveAccount()
116 result = mAccountManager.removeAccount(ACCOUNT, null, null, null).getResult(); in testUserRestriction_profileAndDeviceOwnerCanAddAndRemoveAccount()
124 Bundle result = mAccountManager.removeAccount(ACCOUNT, null, null, null).getResult(); in testRemoveAccount_noUserRestriction()
/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.java259 Account[] accounts = future.getResult(); in testGetAccountsByTypeAndFeatures()
294 Bundle result = future.getResult(); in testStartAddAccountSession()
331 Bundle result = future.getResult(); in testStartUpdateCredentialsSession()
373 Bundle result = future.getResult(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
388 future.getResult(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
423 Bundle result = future.getResult(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
438 future.getResult(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
DAccountManagerTest.java327 Bundle resultBundle = futureBundle.getResult(); in addAccount()
338 Account renamedAccount = futureAccount.getResult(); in renameAccount()
350 Boolean resultBoolean = futureBoolean.getResult(); in removeAccount()
364 Bundle resultBundle = futureBundle.getResult(); in removeAccountWithIntentLaunch()
378 Bundle resultBundle = futureBundle.getResult(); in removeAccount()
405 Bundle resultBundle = futureBundle.getResult(); in getAuthTokenByFeature()
509 futureBundle.getResult(); in testAddAccountWithNoAuthenticator()
526 resultBundle = bundleFuture.getResult(); in testAddAccountWithCallbackAndHandler()
1046 Account[] accounts = futureAccounts.getResult(); in testGetAccountsByTypeAndFeatures()
1056 accounts = futureAccounts.getResult(); in testGetAccountsByTypeAndFeatures()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java301 final TestResult testResult = getResult(); in testStartNormal()
316 final TestResult testResult = getResult(); in testStartNormal()
332 final TestResult testResult = getResult(); in testStartNormal()
368 final TestResult testResult = getResult(); in testStartEphemeral()
379 final TestResult testResult = getResult(); in testStartEphemeral()
392 final TestResult testResult = getResult(); in testStartEphemeral()
404 final TestResult testResult = getResult(); in testStartEphemeral()
418 final TestResult testResult = getResult(); in testStartEphemeral()
431 final TestResult testResult = getResult(); in testStartEphemeral()
491 private TestResult getResult() { in getResult() method in ClientTest
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java399 final TestResult testResult = getResult(); in testStartNormal()
411 final TestResult testResult = getResult(); in testStartNormal()
424 final TestResult testResult = getResult(); in testStartNormal()
506 final TestResult testResult = getResult(); in testStartExposed01()
527 final TestResult testResult = getResult(); in testStartExposed02()
549 final TestResult testResult = getResult(); in testStartExposed03()
601 final TestResult testResult = getResult(); in testStartExposed06()
621 final TestResult testResult = getResult(); in testStartExposed07()
646 final TestResult testResult = getResult(); in testStartExposed08()
675 final TestResult testResult = getResult(); in testStartExposed09()
[all …]
/cts/libs/vogar-expect/src/vogar/
DExpectation.java78 public Result getResult() { in getResult() method in Expectation
98 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult()); in matches()
/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/tests/inputmethod/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()
DNavigationBarInfo.java127 false /* showDimmingDialog */)).getResult() in getInstance()
133 false /* showDimmingDialog */)).getResult() in getInstance()
139 true /* showDimmingDialog */)).getResult() in getInstance()
DLightNavigationBarVerifier.java79 public ResultType getResult() { in getResult() method in LightNavigationBarVerifier.Result
98 assertEquals(result.getAssertionMessage(), ResultType.SUPPORTED, result.getResult()); in expectLightNavigationBarSupported()
110 assertEquals(result.getAssertionMessage(), ResultType.NOT_SUPPORTED, result.getResult()); in expectLightNavigationBarNotSupported()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java169 final Result result = mActivity.getResult(); in testOpenSimple()
196 final Result result = mActivity.getResult(); in testOpenVirtual()
236 final Result result = mActivity.getResult(); in testCreateNew()
270 final Result result = mActivity.getResult(); in testCreateExisting()
292 final Result result = mActivity.getResult(); in testTree()
370 Result result = mActivity.getResult(); in testGetContent_rootsShowing()
409 final Result result = mActivity.getResult(); in testGetContent_returnsResultToCallingActivity()
439 final Result result = mActivity.getResult(); in testTransferDocument()
548 final Result result = mActivity.getResult(); in testFindDocumentPathInScopedAccess()
662 final Result result = mActivity.getResult(); in testCreateWebLink()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DGetDownloadableSubscriptionMetadataResultTest.java50 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mSubMetadataResult.getResult()); in testGetResult()
78 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
DGetDefaultDownloadableSubscriptionListResultTest.java50 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mDefaultSubListResult.getResult()); in testGetResult()
78 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
DGetEuiccProfileInfoListResultTest.java53 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, mProfileListResult.getResult()); in testGetResult()
87 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, fromParcel.getResult()); in testWriteToParcel()
DEuiccServiceTest.java181 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnGetDownloadableSubscriptionMetadata()
228 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, result.getResult()); in testOnGetDefaultDownloadableSubscriptionList()
259 assertEquals(EuiccService.RESULT_OK, result.getResult()); in testOnDownloadSubscription()
283 assertEquals(EuiccService.RESULT_RESOLVABLE_ERRORS, result.getResult()); in testOnGetEuiccProfileInfoList()
/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/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DGetResultActivity.java66 public Result getResult() { in getResult() method in GetResultActivity
79 public Result getResult(long timeout, TimeUnit unit) { in getResult() method in GetResultActivity
/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
DDirectShellCommand.java141 Result getResult(long millis) { in getResult() method in DirectShellCommand.MyResultReceiver
178 return resultReceiver::getResult; in run()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DIntentSenderActivity.java68 public Intent getResult(Intent intent) throws Exception { in getResult() method in IntentSenderActivity
95 return getResult(intent); in getCrossProfileResult()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DAccountCheckTest.java66 ).getResult(); in addAccount()
165 return am.hasFeatures(account, features, null, null).getResult(); in hasAccountFeatures()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java121 assertEquals(DummyProvider.CONTENT_URI, (Uri) mAsyncHandler.getResult()); in testStartInsert()
154 Cursor cursor = (Cursor) mAsyncHandler.getResult(); in testStartQuery()
195 assertEquals(1, ((Integer) mAsyncHandler.getResult()).intValue()); in testStartUpdate()
235 assertEquals(1, ((Integer) mAsyncHandler.getResult()).intValue()); in testStartDelete()
431 public Object getResult() { in getResult() method in AsyncQueryHandlerTest.MockAsyncQueryHandler
/cts/tools/utils/
DVogarUtils.java56 if (expectation.getResult() == Result.SUCCESS) { in isVogarKnownFailure()
63 return expectation.getResult() != Result.SUCCESS && !foundAbi; in isVogarKnownFailure()

123