/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiNetworkSuggestionTest.java | 723 private void validateCommonParams(WifiNetworkSuggestion suggestion) { in validateCommonParams() argument 724 validateCommonParams(suggestion, false); in validateCommonParams() 727 private void validateCommonParams(WifiNetworkSuggestion suggestion, boolean isPasspoint) { in validateCommonParams() argument 728 assertNotNull(suggestion); in validateCommonParams() 729 assertNotNull(suggestion.getWifiConfiguration()); in validateCommonParams() 731 assertEquals(TEST_SSID, suggestion.getSsid()); in validateCommonParams() 732 assertEquals(TEST_BSSID, suggestion.getBssid().toString()); in validateCommonParams() 733 assertFalse(suggestion.isEnhancedOpen()); in validateCommonParams() 734 assertTrue(suggestion.isHiddenSsid()); in validateCommonParams() 736 assertEquals(TEST_PRIORITY, suggestion.getPriority()); in validateCommonParams() [all …]
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 240 WifiNetworkSuggestion suggestion = in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork() local 246 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork() 262 WifiNetworkSuggestion suggestion = in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion() local 268 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion() 292 WifiNetworkSuggestion suggestion = in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork() local 298 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork() 314 WifiNetworkSuggestion suggestion = in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion() local 320 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion() 346 WifiNetworkSuggestion suggestion = in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork() local 352 mTestNetworkForRestrictedConnection, suggestion, mExecutorService, in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork() [all …]
|
D | TestHelper.java | 386 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestionWithShellIdentity() argument 390 network, suggestion, executorService, restrictedNetworkCapabilities, true); in testConnectionFlowWithSuggestionWithShellIdentity() 409 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestion() argument 417 network, suggestion, executorService, restrictedNetworkCapabilities); in testConnectionFlowWithSuggestion() 436 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFailureFlowWithSuggestion() argument 444 network, suggestion, executorService, restrictedNetworkCapabilities, false); in testConnectionFailureFlowWithSuggestion() 464 WifiConfiguration network, WifiNetworkSuggestion suggestion, in testConnectionFlowWithSuggestionInternal() argument 487 assertThat(mWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))) in testConnectionFlowWithSuggestionInternal()
|
D | WifiManagerTest.java | 3771 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testSuggestionBuilderNonPersistentRandomization() local 3776 mWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testSuggestionBuilderNonPersistentRandomization() 3780 suggestion = new WifiNetworkSuggestion.Builder() in testSuggestionBuilderNonPersistentRandomization() 3784 mWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testSuggestionBuilderNonPersistentRandomization() 3817 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testGetAllWifiConfigForMatchedNetworkSuggestion() local 3821 mWifiManager.addNetworkSuggestions(Arrays.asList(suggestion))); in testGetAllWifiConfigForMatchedNetworkSuggestion() 3848 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testGetMatchingScanResults() local 3852 .getMatchingScanResults(Arrays.asList(suggestion), Arrays.asList(scanResult)); in testGetMatchingScanResults() 3854 assertEquals(scanResult.SSID, matchedResults.get(suggestion).get(0).SSID); in testGetMatchingScanResults() 3859 .getMatchingScanResults(Arrays.asList(suggestion), Arrays.asList(scanResult)); in testGetMatchingScanResults() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountSuggestionTest.java | 25 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/ |
D | InlineSuggestionTest.java | 59 InlineSuggestion suggestion = createInlineSuggestion(); in testInlineSuggestionValues() local 61 assertThat(suggestion.getInfo()).isNotNull(); in testInlineSuggestionValues() 66 InlineSuggestion suggestion = createInlineSuggestion(); in testInlineSuggestionParcelizeDeparcelize() local 68 suggestion.writeToParcel(p, 0); in testInlineSuggestionParcelizeDeparcelize() 74 assertThat(targetSuggestion).isEqualTo(suggestion); in testInlineSuggestionParcelizeDeparcelize() 79 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateInvalidSizeThrowsException() local 84 () -> suggestion.inflate(context, new Size(10, 10), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateInvalidSizeThrowsException() 90 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateNoContentProviderAcceptNullView() local 97 suggestion.inflate(context, new Size(100, 100), AsyncTask.THREAD_POOL_EXECUTOR, in testInflateNoContentProviderAcceptNullView() 104 InlineSuggestion suggestion = createInlineSuggestion(); in testInflateTwiceThrowsException() local [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedContentTest.java | 85 final String suggestion = "Sample Text"; 92 sAugmentedReplier.addResponse(suggestion(targetFieldId, suggestion)); 105 mUiBot.assertDatasets(suggestion); 108 mActivity.expectAutoFill(suggestion); 109 mUiBot.selectDataset(suggestion); 126 suggestion(targetFieldId, suggestionTitle, suggestionUri, suggestionMimeType)); 190 private static CannedAugmentedFillResponse suggestion(AutofillId targetFieldId, 191 String suggestion) { 192 ClipData clip = ClipData.newPlainText(suggestion, suggestion); 193 return suggestion(targetFieldId, clip); [all …]
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | ExternalTimeSuggestionTest.java | 58 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/ |
D | SuggestionTest.java | 57 final Suggestion suggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_allFieldsShouldBeSet() local 64 assertThat(suggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_allFieldsShouldBeSet() 65 assertThat(suggestion.getTitle()).isEqualTo(TEST_TITLE); in buildSuggestion_allFieldsShouldBeSet() 66 assertThat(suggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_allFieldsShouldBeSet() 67 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet() 68 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet() 69 assertThat(suggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_allFieldsShouldBeSet()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | WifiTest.java | 113 final WifiNetworkSuggestion suggestion = makeWifiNetworkSuggestion(); in testAddNetworkSuggestionWithKeychainKey_granted() local 116 mWm.addNetworkSuggestions(Collections.singletonList(suggestion))); in testAddNetworkSuggestionWithKeychainKey_granted() 121 final WifiNetworkSuggestion suggestion = makeWifiNetworkSuggestion(); in testAddNetworkSuggestionWithKeychainKey_notGranted() local 124 mWm.addNetworkSuggestions(Collections.singletonList(suggestion))); in testAddNetworkSuggestionWithKeychainKey_notGranted()
|
/cts/tests/tests/time/src/android/service/timezone/cts/ |
D | TimeZoneProviderSuggestionTest.java | 46 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/ |
D | mockspellchecker.proto | 23 // Represents a suggestion rule.
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 120 Contrary to the suggestion in the published paper and its realization
|