Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/
DCaptivePortalProbeSpecTest.java46 assertSuccess(statusRegexSpec.getResult(200, null)); in testGetResult_Regex()
47 assertSuccess(statusRegexSpec.getResult(299, "qwer")); in testGetResult_Regex()
48 assertSuccess(statusRegexSpec.getResult(404, null)); in testGetResult_Regex()
49 assertSuccess(statusRegexSpec.getResult(404, "")); in testGetResult_Regex()
51 assertPortal(statusRegexSpec.getResult(300, null)); in testGetResult_Regex()
52 assertPortal(statusRegexSpec.getResult(399, "qwer")); in testGetResult_Regex()
53 assertPortal(statusRegexSpec.getResult(500, null)); in testGetResult_Regex()
55 assertSuccess(redirectSpec.getResult(404, null)); in testGetResult_Regex()
56 assertSuccess(redirectSpec.getResult(404, "")); in testGetResult_Regex()
57 assertSuccess(redirectSpec.getResult(301, "https://www.google.com")); in testGetResult_Regex()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DCopyAccountToUserTaskTest.java93 when(mAccountManagerFuture.getResult(anyLong(), any(TimeUnit.class))).thenReturn(true); in testRun()
117 when(mAccountManagerFuture.getResult(anyLong(), any(TimeUnit.class))).thenReturn(false); in testRun_error()
173 when(mAccountManagerFuture.getResult(anyLong(), any(TimeUnit.class))).thenReturn(true); in testMaybeCopyAccount_success()
186 when(mAccountManagerFuture.getResult(anyLong(), any(TimeUnit.class))).thenReturn(false); in testMaybeCopyAccount_error()
200 when(mAccountManagerFuture.getResult(anyLong(), any(TimeUnit.class))) in testMaybeCopyAccount_timeout()
/packages/modules/NetworkStack/common/
DCaptivePortalProbeSpec.java144 public abstract CaptivePortalProbeResult getResult(int status, @Nullable String locationHeader); in getResult() method in CaptivePortalProbeSpec
176 public CaptivePortalProbeResult getResult(int status, String locationHeader) { in getResult() method in CaptivePortalProbeSpec.RegexMatchProbeSpec
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DRemoveAccountPreferenceControllerTest.java197 when(future.getResult()).thenReturn(resultBundle); in confirmRemove_shouldRemoveAccount()
230 when(future.getResult()).thenReturn(resultBundle); in confirmRemove_activityGone_shouldSilentlyRemoveAccount()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java291 final Result result = getResult(capitalizeType, mLocale, suggestionsLimit, in onGetSuggestionsInternal()
338 private static Result getResult(final int capitalizeType, final Locale locale, in getResult() method in AndroidWordLevelSpellCheckerSession
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryDragListener.java43 mDragHost.dragStopped(event.getResult()); in onDrag()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierXmlParserTest.java83 assertEquals(expected, ussdParser.getResult()); in verifyUssdParser_shouldMatchText()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DFallibleAsyncTask.java86 public abstract ResultT getResult(); in getResult() method in FallibleAsyncTask.FallibleTaskResult
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvtFilterOnFoundOnLostInfo.java113 public byte[] getResult() { in getResult() method in AdvtFilterOnFoundOnLostInfo
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.java168 public SourceResult getResult() { in getResult() method in Suggestions
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java91 public boolean getResult() { in getResult() method in ProvisioningResultListener
DManagedProfileTest.java142 assertTrue(mResultListener.getResult()); in testManagedProfile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAddAccountWithTypeActivity.java49 Intent addAccountIntent = future.getResult()
DRemoveAccountDialog.java68 if (!future.getResult().getBoolean(AccountManager.KEY_BOOLEAN_RESULT)) { in run()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDelayingSuggestionsAdapter.java74 SuggestionCursor cursor = suggestions.getResult(); in shouldPublish()
DSuggestionsAdapterBase.java172 cursor = mSuggestions.getResult(); in onSuggestionsChanged()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java165 public Cursor getResult(String[] projection) { in getResult() method in MockContentProvider.Query
530 return query.getResult(projection); in query()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java169 public Vector<String> getResult() { in getResult() method in CarrierXmlParser.UssdParser
284 Vector<String> result = parserResult.getResult(); in getResponseSet()
/packages/apps/Email/tests/src/com/android/email/
DAccountTestCase.java90 future.getResult(); in deleteAccountManagerAccount()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCopyAccountToUserTask.java127 .getResult(ACCOUNT_COPY_TIMEOUT_SECONDS, TimeUnit.SECONDS); in maybeCopyAccount()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAddAccountActivity.java87 Bundle result = future.getResult();
/packages/apps/Settings/src/com/android/settings/accounts/
DRemoveAccountPreferenceController.java163 if (future.getResult() in onClick()
DAddAccountSettings.java93 Bundle bundle = future.getResult();
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DRemoveAccountPreferenceController.java161 if (future.getResult() in onClick()
DAddAccountSettings.java93 Bundle bundle = future.getResult();

12