/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkSuggestionTest.java | 50 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() local 55 assertEquals(Process.myUid(), suggestion.suggestorUid); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 56 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 57 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 59 assertTrue(suggestion.isAppInteractionRequired); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 60 assertFalse(suggestion.isUserInteractionRequired); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 62 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 63 assertEquals(-1, suggestion.wifiConfiguration.priority); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 74 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() local 81 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() [all …]
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | SuggestionService.java | 51 public void dismissSuggestion(Suggestion suggestion) { in onBind() argument 55 onSuggestionDismissed(suggestion); in onBind() 59 public void launchSuggestion(Suggestion suggestion) { in onBind() argument 63 onSuggestionLaunched(suggestion); in onBind() 77 public abstract void onSuggestionDismissed(Suggestion suggestion); 83 public abstract void onSuggestionLaunched(Suggestion suggestion);
|
D | ISuggestionService.aidl | 19 void dismissSuggestion(in Suggestion suggestion) = 2; field 25 void launchSuggestion(in Suggestion suggestion) = 3; field
|
/frameworks/base/core/tests/coretests/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()
|
D | MockSuggestionService.java | 44 public void onSuggestionDismissed(Suggestion suggestion) { in onSuggestionDismissed() argument 49 public void onSuggestionLaunched(Suggestion suggestion) { in onSuggestionLaunched() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionController.java | 117 public void dismissSuggestions(Suggestion suggestion) { in dismissSuggestions() argument 119 Log.w(TAG, "SuggestionController not ready, cannot dismiss " + suggestion.getId()); in dismissSuggestions() 123 mRemoteService.dismissSuggestion(suggestion); in dismissSuggestions() 129 public void launchSuggestion(Suggestion suggestion) { in launchSuggestion() argument 131 Log.w(TAG, "SuggestionController not ready, cannot launch " + suggestion.getId()); in launchSuggestion() 136 mRemoteService.launchSuggestion(suggestion); in launchSuggestion()
|
D | SuggestionControllerMixin.java | 137 public void dismissSuggestion(Suggestion suggestion) { in dismissSuggestion() argument 138 mSuggestionController.dismissSuggestions(suggestion); in dismissSuggestion() 141 public void launchSuggestion(Suggestion suggestion) { in launchSuggestion() argument 142 mSuggestionController.launchSuggestion(suggestion); in launchSuggestion()
|
D | SuggestionControllerMixinCompat.java | 136 public void dismissSuggestion(Suggestion suggestion) { in dismissSuggestion() argument 137 mSuggestionController.dismissSuggestions(suggestion); in dismissSuggestion() 140 public void launchSuggestion(Suggestion suggestion) { in launchSuggestion() argument 141 mSuggestionController.launchSuggestion(suggestion); in launchSuggestion()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkSuggestionStoreData.java | 184 final WifiNetworkSuggestion suggestion) in serializeNetworkSuggestion() argument 190 WifiConfigurationXmlUtil.writeToXmlForConfigStore(out, suggestion.wifiConfiguration); in serializeNetworkSuggestion() 193 if (suggestion.wifiConfiguration.enterpriseConfig != null in serializeNetworkSuggestion() 194 && suggestion.wifiConfiguration.enterpriseConfig.getEapMethod() in serializeNetworkSuggestion() 199 out, suggestion.wifiConfiguration.enterpriseConfig); in serializeNetworkSuggestion() 205 suggestion.isAppInteractionRequired); in serializeNetworkSuggestion() 207 suggestion.isUserInteractionRequired); in serializeNetworkSuggestion() 208 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_UID, suggestion.suggestorUid); in serializeNetworkSuggestion() 210 suggestion.suggestorPackageName); in serializeNetworkSuggestion()
|
D | WakeupController.java | 335 for (WifiNetworkSuggestion suggestion : networkSuggestions) { in getGoodSavedNetworksAndSuggestions() 338 ScanResultMatchInfo.fromWifiConfiguration(suggestion.wifiConfiguration)); in getGoodSavedNetworksAndSuggestions()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 316 final TextView suggestion = (TextView) listView.getChildAt(j); in testTextAppearanceInSuggestionsPopup() local 317 assertNotNull(suggestion); in testTextAppearanceInSuggestionsPopup() 318 final Spanned spanned = (Spanned) suggestion.getText(); in testTextAppearanceInSuggestionsPopup()
|
/frameworks/rs/script_api/ |
D | rs_for_each.spec | 39 allocations. This is a hint only. Implementations may not follow the suggestion.
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 2912 final String suggestion = suggestionInfo.mText.subSequence( in replaceWithSuggestion() local 2914 mTextView.replaceText_internal(spanStart, spanEnd, suggestion); in replaceWithSuggestion() 2920 final int lengthDelta = suggestion.length() - (spanEnd - spanStart); in replaceWithSuggestion() 3509 final String suggestion = suggestions[suggestionIndex]; in getSuggestionInfo() local 3512 if (otherSuggestionInfo.mText.toString().equals(suggestion)) { in getSuggestionInfo() 3527 suggestionInfo.mSuggestionEnd = suggestion.length(); in getSuggestionInfo() 3528 suggestionInfo.mText.replace(0, suggestionInfo.mText.length(), suggestion); in getSuggestionInfo()
|
/frameworks/rs/script_api/include/ |
D | rs_for_each.rsh | 36 * allocations. This is a hint only. Implementations may not follow the suggestion.
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 2176 // have generic constants and the package providing the suggestion 2187 // Click on a suggestion. 4642 // FIELD - Whether smart suggestion ranking was enabled or not 5370 // ACTION: Rotate suggestion accepted in rotation locked mode 5375 // OPEN: Rotation suggestion shown in rotation locked mode 6945 // FIELD: Score of the suggestion.
|
/frameworks/base/proto/src/ |
D | wifi.proto | 718 // Carrier suggestion
|