Home
last modified time | relevance | path

Searched refs:RouteListingPreference (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDevice.java36 import static android.media.RouteListingPreference.Item.FLAG_ONGOING_SESSION;
37 import static android.media.RouteListingPreference.Item.FLAG_ONGOING_SESSION_MANAGED;
38 import static android.media.RouteListingPreference.Item.FLAG_SUGGESTED;
39 import static android.media.RouteListingPreference.Item.SUBTEXT_AD_ROUTING_DISALLOWED;
40 import static android.media.RouteListingPreference.Item.SUBTEXT_CUSTOM;
41 import static android.media.RouteListingPreference.Item.SUBTEXT_DEVICE_LOW_POWER;
42 import static android.media.RouteListingPreference.Item.SUBTEXT_DOWNLOADED_CONTENT_ROUTING_DISALLOW…
43 import static android.media.RouteListingPreference.Item.SUBTEXT_ERROR_UNKNOWN;
44 import static android.media.RouteListingPreference.Item.SUBTEXT_NONE;
45 import static android.media.RouteListingPreference.Item.SUBTEXT_SUBSCRIPTION_REQUIRED;
[all …]
DInfoMediaManager.java53 import android.media.RouteListingPreference;
144 private final Map<String, RouteListingPreference.Item> mPreferenceItemMap =
221 RouteListingPreference routeListingPreference = in updateRouteListingPreference()
265 protected abstract RouteListingPreference getRouteListingPreference(); in getRouteListingPreference()
302 RouteListingPreference routeListingPreference) { in notifyRouteListingPreferenceUpdated()
656 RouteListingPreference routeListingPreference = getRouteListingPreference(); in getAvailableRoutes()
658 final List<RouteListingPreference.Item> preferenceRouteListing = in getAvailableRoutes()
755 static List<RouteListingPreference.Item> composePreferenceRouteListing( in composePreferenceRouteListing()
756 RouteListingPreference routeListingPreference) { in composePreferenceRouteListing()
757 List<RouteListingPreference.Item> finalizedItemList = new ArrayList<>(); in composePreferenceRouteListing()
[all …]
DComplexMediaDevice.java24 import android.media.RouteListingPreference;
39 @Nullable RouteListingPreference.Item item) { in ComplexMediaDevice()
DInfoMediaDevice.java34 import android.media.RouteListingPreference;
50 @Nullable RouteListingPreference.Item item) { in InfoMediaDevice()
DManagerInfoMediaManager.java22 import android.media.RouteListingPreference;
142 protected RouteListingPreference getRouteListingPreference() { in getRouteListingPreference()
237 String packageName, RouteListingPreference routeListingPreference) { in onRouteListingPreferenceUpdated()
DNoOpInfoMediaManager.java21 import android.media.RouteListingPreference;
139 protected RouteListingPreference getRouteListingPreference() { in getRouteListingPreference()
DBluetoothMediaDevice.java29 import android.media.RouteListingPreference;
49 @Nullable RouteListingPreference.Item item) { in BluetoothMediaDevice()
DRouterInfoMediaManager.java26 import android.media.RouteListingPreference;
62 private final Consumer<RouteListingPreference> mRouteListingPreferenceCallback =
219 protected RouteListingPreference getRouteListingPreference() { in getRouteListingPreference()
DPhoneMediaDevice.java41 import android.media.RouteListingPreference;
126 @Nullable RouteListingPreference.Item item) { in PhoneMediaDevice()
/frameworks/base/media/java/android/media/
DRouteListingPreference.java44 public final class RouteListingPreference implements Parcelable { class
69 public static final Creator<RouteListingPreference> CREATOR =
72 public RouteListingPreference createFromParcel(Parcel in) {
73 return new RouteListingPreference(in);
77 public RouteListingPreference[] newArray(int size) {
78 return new RouteListingPreference[size];
86 private RouteListingPreference(Builder builder) { in RouteListingPreference() method in RouteListingPreference
92 private RouteListingPreference(Parcel in) { in RouteListingPreference() method in RouteListingPreference
159 if (!(other instanceof RouteListingPreference)) { in equals()
162 RouteListingPreference that = (RouteListingPreference) other; in equals()
[all …]
DIMediaRouter2Manager.aidl22 import android.media.RouteListingPreference;
35 in @nullable RouteListingPreference routeListingPreference); in notifyRouteListingPreferenceChange()
DRouteListingPreference.aidl19 parcelable RouteListingPreference;
DIMediaRouterService.aidl26 import android.media.RouteListingPreference;
63 in @nullable RouteListingPreference routeListingPreference); in setRouteListingPreference()
DMediaRouter2Manager.java101 private final ConcurrentMap<String, RouteListingPreference>
373 public RouteListingPreference getRouteListingPreference(@NonNull String packageName) { in getRouteListingPreference()
723 @NonNull String packageName, @Nullable RouteListingPreference routeListingPreference) { in updateRouteListingPreference()
724 RouteListingPreference oldRouteListingPreference = in updateRouteListingPreference()
1043 @Nullable RouteListingPreference routeListingPreference) {} in onRouteListingPreferenceUpdated()
1132 String packageName, @Nullable RouteListingPreference routeListingPreference) { in notifyRouteListingPreferenceChange()
DMediaRouter2.java199 private RouteListingPreference mRouteListingPreference;
752 @NonNull Consumer<RouteListingPreference> routeListingPreferenceCallback) { in registerRouteListingPreferenceUpdatedCallback()
770 @NonNull Consumer<RouteListingPreference> callback) { in unregisterRouteListingPreferenceUpdatedCallback()
831 public void setRouteListingPreference(@Nullable RouteListingPreference routeListingPreference) { in setRouteListingPreference()
845 public RouteListingPreference getRouteListingPreference() { in getRouteListingPreference()
1507 private void notifyRouteListingPreferenceUpdated(@Nullable RouteListingPreference preference) { in notifyRouteListingPreferenceUpdated()
2287 public final Consumer<RouteListingPreference> mRouteListingPreferenceCallback;
2291 @NonNull Consumer<RouteListingPreference> routeListingPreferenceCallback) { in RouteListingPreferenceCallbackRecord()
2473 void setRouteListingPreference(@Nullable RouteListingPreference preference); in setRouteListingPreference()
2669 public void setRouteListingPreference(@Nullable RouteListingPreference preference) { in setRouteListingPreference()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java47 import android.media.RouteListingPreference;
332 RouteListingPreference routeListingPreference = setUpPreferenceList(TEST_PACKAGE_NAME); in onRouteChanged_getAvailableRoutesWithPreferenceListExit_ordersRoutes()
359 RouteListingPreference routeListingPreference = setUpPreferenceList(TEST_PACKAGE_NAME_2); in onRouteChanged_preferenceListUpdateWithDifferentPkg_notOrdersRoutes()
379 private RouteListingPreference setUpPreferenceList(String packageName) { in setUpPreferenceList()
382 final List<RouteListingPreference.Item> preferenceItemList = new ArrayList<>(); in setUpPreferenceList()
383 RouteListingPreference.Item item1 = in setUpPreferenceList()
384 new RouteListingPreference.Item.Builder(TEST_ID_4) in setUpPreferenceList()
385 .setFlags(RouteListingPreference.Item.FLAG_SUGGESTED) in setUpPreferenceList()
387 RouteListingPreference.Item item2 = new RouteListingPreference.Item.Builder( in setUpPreferenceList()
392 RouteListingPreference routeListingPreference = in setUpPreferenceList()
[all …]
DMediaDeviceTest.java22 import static android.media.RouteListingPreference.Item.SELECTION_BEHAVIOR_GO_TO_APP;
36 import android.media.RouteListingPreference;
112 private RouteListingPreference.Item mItem;
493 mItem = new RouteListingPreference.Item.Builder(DEVICE_ADDRESS_1) in getSelectionBehavior_setItemWithSelectionBehaviorOnSystemRoute_returnTransfer()
/frameworks/base/media/java/android/media/flags/
Dmedia_better_together.aconfig8 description: "Make RouteListingPreference getter and callbacks public in MediaRouter2."
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java52 import android.media.RouteListingPreference;
370 @Nullable RouteListingPreference routeListingPreference) { in setRouteListingPreference()
382 RouteListingPreference.ACTION_TRANSFER_MEDIA, in setRouteListingPreference()
388 + RouteListingPreference.ACTION_TRANSFER_MEDIA); in setRouteListingPreference()
1287 RouterRecord routerRecord, @Nullable RouteListingPreference routeListingPreference) { in setRouteListingPreferenceLocked()
1292 .map(RouteListingPreference.Item::getRouteId) in setRouteListingPreferenceLocked()
2096 @Nullable public RouteListingPreference mRouteListingPreference;
3351 String routerPackageName, @Nullable RouteListingPreference routeListingPreference) { in notifyRouteListingPreferenceChangeToManagers()
DMediaRouterService.java50 import android.media.RouteListingPreference;
468 @Nullable RouteListingPreference routeListingPreference) { in setRouteListingPreference()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java19 import static android.media.RouteListingPreference.Item.SUBTEXT_AD_ROUTING_DISALLOWED;
20 import static android.media.RouteListingPreference.Item.SUBTEXT_CUSTOM;
21 import static android.media.RouteListingPreference.Item.SUBTEXT_SUBSCRIPTION_REQUIRED;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java19 import static android.media.RouteListingPreference.ACTION_TRANSFER_MEDIA;
20 import static android.media.RouteListingPreference.EXTRA_ROUTE_ID;
/frameworks/base/core/api/
Dcurrent.txt24588 …_rlp_callbacks_in_media_router2") @Nullable public android.media.RouteListingPreference getRouteLi…
24593 …l.concurrent.Executor, @NonNull java.util.function.Consumer<android.media.RouteListingPreference>);
24597 method public void setRouteListingPreference(@Nullable android.media.RouteListingPreference);
24604 …ferenceUpdatedCallback(@NonNull java.util.function.Consumer<android.media.RouteListingPreference>);
24990 public final class RouteListingPreference implements android.os.Parcelable {
24992 method @NonNull public java.util.List<android.media.RouteListingPreference.Item> getItems();
24997 …ll public static final android.os.Parcelable.Creator<android.media.RouteListingPreference> CREATOR;
25001 public static final class RouteListingPreference.Builder {
25002 ctor public RouteListingPreference.Builder();
25003 method @NonNull public android.media.RouteListingPreference build();
[all …]
/frameworks/base/boot/
Dpreloaded-classes5333 android.media.RouteListingPreference$1
5334 android.media.RouteListingPreference
/frameworks/base/config/
Dpreloaded-classes5337 android.media.RouteListingPreference$1
5338 android.media.RouteListingPreference

12