Home
last modified time | relevance | path

Searched refs:suggestion (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSuggestionTest.java733 private void validateCommonParams(WifiNetworkSuggestion suggestion) { in validateCommonParams() argument
734 validateCommonParams(suggestion, false); in validateCommonParams()
737 private void validateCommonParams(WifiNetworkSuggestion suggestion, boolean isPasspoint) { in validateCommonParams() argument
738 assertNotNull(suggestion); in validateCommonParams()
739 assertNotNull(suggestion.getWifiConfiguration()); in validateCommonParams()
741 assertEquals(TEST_SSID, suggestion.getSsid()); in validateCommonParams()
742 assertEquals(TEST_BSSID, suggestion.getBssid().toString()); in validateCommonParams()
743 assertFalse(suggestion.isEnhancedOpen()); in validateCommonParams()
744 assertTrue(suggestion.isHiddenSsid()); in validateCommonParams()
746 assertEquals(TEST_PRIORITY, suggestion.getPriority()); in validateCommonParams()
[all …]
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java226 WifiNetworkSuggestion suggestion = in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork() local
232 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork()
248 WifiNetworkSuggestion suggestion = in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion() local
254 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion()
278 WifiNetworkSuggestion suggestion = in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork() local
284 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork()
300 WifiNetworkSuggestion suggestion = in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion() local
306 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion()
332 WifiNetworkSuggestion suggestion = in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork() local
338 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork()
[all …]
DTestHelper.java551 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestionWithShellIdentity() argument
556 network, suggestion, executorService, restrictedNetworkCapabilities, true, in testConnectionFlowWithSuggestionWithShellIdentity()
577 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestion() argument
586 network, suggestion, executorService, restrictedNetworkCapabilities, in testConnectionFlowWithSuggestion()
606 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFailureFlowWithSuggestion() argument
614 network, suggestion, executorService, restrictedNetworkCapabilities, false, in testConnectionFailureFlowWithSuggestion()
636 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestionInternal() argument
659 assertThat(mWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))) in testConnectionFlowWithSuggestionInternal()
DWifiManagerTest.java4842 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testSuggestionBuilderNonPersistentRandomization() local
4847 sWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testSuggestionBuilderNonPersistentRandomization()
4851 suggestion = new WifiNetworkSuggestion.Builder() in testSuggestionBuilderNonPersistentRandomization()
4855 sWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testSuggestionBuilderNonPersistentRandomization()
4884 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testGetAllWifiConfigForMatchedNetworkSuggestion() local
4888 sWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testGetAllWifiConfigForMatchedNetworkSuggestion()
4912 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testGetMatchingScanResults() local
4916 .getMatchingScanResults(Arrays.asList(suggestion), Arrays.asList(scanResult)); in testGetMatchingScanResults()
4918 assertEquals(scanResult.SSID, matchedResults.get(suggestion).get(0).SSID); in testGetMatchingScanResults()
4923 .getMatchingScanResults(Arrays.asList(suggestion), Arrays.asList(scanResult)); in testGetMatchingScanResults()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountSuggestionTest.java25 PhoneAccountSuggestion suggestion = new PhoneAccountSuggestion( in testAccessors() local
28 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, suggestion.getPhoneAccountHandle()); in testAccessors()
29 assertEquals(PhoneAccountSuggestion.REASON_INTRA_CARRIER, suggestion.getReason()); in testAccessors()
30 assertTrue(suggestion.shouldAutoSelect()); in testAccessors()
34 PhoneAccountSuggestion suggestion = new PhoneAccountSuggestion( in testParcelUnparcel() local
38 suggestion.writeToParcel(p, 0); in testParcelUnparcel()
41 assertEquals(suggestion, suggestion2); in testParcelUnparcel()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInlineSuggestionTest.java61 InlineSuggestion suggestion = createInlineSuggestion(); in testInlineSuggestionValues() local
63 assertThat(suggestion.getInfo()).isNotNull(); in testInlineSuggestionValues()
68 InlineSuggestion suggestion = createInlineSuggestion(); in testInlineSuggestionParcelizeDeparcelize() local
70 suggestion.writeToParcel(p, 0); in testInlineSuggestionParcelizeDeparcelize()
76 assertThat(targetSuggestion).isEqualTo(suggestion); in testInlineSuggestionParcelizeDeparcelize()
81 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateInvalidSizeThrowsException() local
86 () -> suggestion.inflate(context, new Size(10, 10), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateInvalidSizeThrowsException()
92 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateNoContentProviderAcceptNullView() local
99 suggestion.inflate(context, new Size(100, 100), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateNoContentProviderAcceptNullView()
106 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateTwiceThrowsException() local
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedContentTest.java97 final String suggestion = "Sample Text";
104 sAugmentedReplier.addResponse(suggestion(targetFieldId, suggestion));
117 mUiBot.assertDatasets(suggestion);
120 mActivity.expectAutoFill(suggestion);
121 mUiBot.selectDataset(suggestion);
138 suggestion(targetFieldId, suggestionTitle, suggestionUri, suggestionMimeType));
202 private static CannedAugmentedFillResponse suggestion(AutofillId targetFieldId,
203 String suggestion) {
204 ClipData clip = ClipData.newPlainText(suggestion, suggestion);
205 return suggestion(targetFieldId, clip);
[all …]
/cts/tests/tests/time/src/android/app/time/cts/
DExternalTimeSuggestionTest.java58 ExternalTimeSuggestion suggestion = new ExternalTimeSuggestion( in testParcelable() local
60 assertRoundTripParcelable(suggestion); in testParcelable()
63 suggestion.addDebugInfo("This is debug info"); in testParcelable()
64 ExternalTimeSuggestion rtSuggestion = roundTripParcelable(suggestion); in testParcelable()
65 assertEquals(suggestion.getDebugInfo(), rtSuggestion.getDebugInfo()); in testParcelable()
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java58 final Suggestion suggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_allFieldsShouldBeSet() local
65 assertThat(suggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_allFieldsShouldBeSet()
66 assertThat(suggestion.getTitle()).isEqualTo(TEST_TITLE); in buildSuggestion_allFieldsShouldBeSet()
67 assertThat(suggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_allFieldsShouldBeSet()
68 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet()
69 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet()
70 assertThat(suggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_allFieldsShouldBeSet()
/cts/hostsidetests/time/device/fake_tzps_app/src/com/android/time/cts/fake_tzps_app/tzps/
DFakeTimeZoneProviderService.java81 TimeZoneProviderSuggestion suggestion = new TimeZoneProviderSuggestion.Builder() in fakeReportSuggestion() local
85 reportSuggestion(suggestion, providerStatus); in fakeReportSuggestion()
90 TimeZoneProviderSuggestion suggestion = new TimeZoneProviderSuggestion.Builder() in fakeReportSuggestionLegacy() local
94 reportSuggestion(suggestion); in fakeReportSuggestionLegacy()
/cts/tests/tests/time/src/android/service/timezone/cts/
DTimeZoneProviderSuggestionTest.java46 TimeZoneProviderSuggestion suggestion = new TimeZoneProviderSuggestion.Builder() in testAccessors() local
51 assertEquals(ARBITRARY_TIME_ZONE_IDS, suggestion.getTimeZoneIds()); in testAccessors()
52 assertEquals(ARBITRARY_ELAPSED_REALTIME_MILLIS, suggestion.getElapsedRealtimeMillis()); in testAccessors()
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
Dmockspellchecker.proto23 // Represents a suggestion rule.
/cts/tests/autofillservice/
DOWNERS18 # Inline suggestion
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale120 Contrary to the suggestion in the published paper and its realization
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt56140 field public static final String TYPE_SUGGESTION = "android:autofill:suggestion";