Home
last modified time | relevance | path

Searched refs:MediaRouteSelector (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DMediaRouteSelector.java47 public final class MediaRouteSelector { class
56 public static final MediaRouteSelector EMPTY = new MediaRouteSelector(new Bundle(), null);
58 MediaRouteSelector(Bundle bundle, List<String> controlCategories) { in MediaRouteSelector() method in MediaRouteSelector
136 public boolean contains(MediaRouteSelector selector) { in contains()
166 if (o instanceof MediaRouteSelector) { in equals()
167 MediaRouteSelector other = (MediaRouteSelector)o; in equals()
206 public static MediaRouteSelector fromBundle(@Nullable Bundle bundle) { in fromBundle()
207 return bundle != null ? new MediaRouteSelector(bundle, null) : null; in fromBundle()
226 public Builder(@NonNull MediaRouteSelector selector) { in Builder()
287 public Builder addSelector(@NonNull MediaRouteSelector selector) { in addSelector()
[all …]
DMediaRouteDiscoveryRequest.java32 private MediaRouteSelector mSelector;
40 public MediaRouteDiscoveryRequest(MediaRouteSelector selector, boolean activeScan) { in MediaRouteDiscoveryRequest()
58 public MediaRouteSelector getSelector() { in getSelector()
65 mSelector = MediaRouteSelector.fromBundle(mBundle.getBundle(KEY_SELECTOR)); in ensureSelector()
67 mSelector = MediaRouteSelector.EMPTY; in ensureSelector()
DMediaRouter.java375 public RouteInfo updateSelectedRoute(@NonNull MediaRouteSelector selector) { in updateSelectedRoute()
461 public boolean isRouteAvailable(@NonNull MediaRouteSelector selector, int flags) { in isRouteAvailable()
483 public void addCallback(MediaRouteSelector selector, Callback callback) { in addCallback()
580 public void addCallback(@NonNull MediaRouteSelector selector, @NonNull Callback callback, in addCallback()
609 record.mSelector = new MediaRouteSelector.Builder(record.mSelector) in addCallback()
1113 public boolean matchesSelector(@NonNull MediaRouteSelector selector) { in matchesSelector()
1912 public MediaRouteSelector mSelector;
1918 mSelector = MediaRouteSelector.EMPTY; in CallbackRecord()
2124 public boolean isRouteAvailable(MediaRouteSelector selector, int flags) { in isRouteAvailable()
2155 MediaRouteSelector.Builder builder = new MediaRouteSelector.Builder(); in updateDiscoveryRequest()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DMediaRouteSelector.java46 public final class MediaRouteSelector { class
55 public static final MediaRouteSelector EMPTY = new MediaRouteSelector(new Bundle(), null);
57 MediaRouteSelector(Bundle bundle, List<String> controlCategories) { in MediaRouteSelector() method in MediaRouteSelector
135 public boolean contains(MediaRouteSelector selector) { in contains()
165 if (o instanceof MediaRouteSelector) { in equals()
166 MediaRouteSelector other = (MediaRouteSelector)o; in equals()
205 public static MediaRouteSelector fromBundle(@Nullable Bundle bundle) { in fromBundle()
206 return bundle != null ? new MediaRouteSelector(bundle, null) : null; in fromBundle()
225 public Builder(@NonNull MediaRouteSelector selector) { in Builder()
286 public Builder addSelector(@NonNull MediaRouteSelector selector) { in addSelector()
[all …]
DMediaRouteDiscoveryRequest.java32 private MediaRouteSelector mSelector;
40 public MediaRouteDiscoveryRequest(MediaRouteSelector selector, boolean activeScan) { in MediaRouteDiscoveryRequest()
58 public MediaRouteSelector getSelector() { in getSelector()
65 mSelector = MediaRouteSelector.fromBundle(mBundle.getBundle(KEY_SELECTOR)); in ensureSelector()
67 mSelector = MediaRouteSelector.EMPTY; in ensureSelector()
DMediaRouter.java370 public RouteInfo updateSelectedRoute(@NonNull MediaRouteSelector selector) { in updateSelectedRoute()
456 public boolean isRouteAvailable(@NonNull MediaRouteSelector selector, int flags) { in isRouteAvailable()
478 public void addCallback(MediaRouteSelector selector, Callback callback) { in addCallback()
575 public void addCallback(@NonNull MediaRouteSelector selector, @NonNull Callback callback, in addCallback()
604 record.mSelector = new MediaRouteSelector.Builder(record.mSelector) in addCallback()
1112 public boolean matchesSelector(@NonNull MediaRouteSelector selector) { in matchesSelector()
1906 public MediaRouteSelector mSelector;
1912 mSelector = MediaRouteSelector.EMPTY; in CallbackRecord()
2118 public boolean isRouteAvailable(MediaRouteSelector selector, int flags) { in isRouteAvailable()
2149 MediaRouteSelector.Builder builder = new MediaRouteSelector.Builder(); in updateDiscoveryRequest()
[all …]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteChooserDialogFragment.java25 import androidx.mediarouter.media.MediaRouteSelector;
38 private MediaRouteSelector mSelector;
55 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
64 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
67 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
78 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
DMediaRouteDiscoveryFragment.java22 import androidx.mediarouter.media.MediaRouteSelector;
45 private MediaRouteSelector mSelector;
70 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
81 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
108 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
111 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
DMediaRouteActionProvider.java29 import androidx.mediarouter.media.MediaRouteSelector;
137 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
160 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
170 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector()
DMediaRouteChooserDialog.java45 import androidx.mediarouter.media.MediaRouteSelector;
75 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
111 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
120 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector()
DMediaRouteButton.java40 import androidx.mediarouter.media.MediaRouteSelector;
90 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
164 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
174 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteChooserDialogFragment.java25 import com.android.support.mediarouter.media.MediaRouteSelector;
38 private MediaRouteSelector mSelector;
55 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
64 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
67 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
78 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
DMediaRouteDiscoveryFragment.java23 import com.android.support.mediarouter.media.MediaRouteSelector;
45 private MediaRouteSelector mSelector;
70 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
81 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
108 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
111 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
DMediaRouteActionProvider.java27 import com.android.support.mediarouter.media.MediaRouteSelector;
135 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
158 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
168 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector()
DMediaRouteButton.java41 import com.android.support.mediarouter.media.MediaRouteSelector;
91 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
169 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
179 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector()
192 public void setRouteSelector(MediaRouteSelector selector, int flags) { in setRouteSelector()
200 mSelector = MediaRouteSelector.EMPTY; in setRouteSelector()
DMediaRouteChooserDialog.java49 import com.android.support.mediarouter.media.MediaRouteSelector;
79 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY;
116 public MediaRouteSelector getRouteSelector() { in getRouteSelector()
125 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector()
/frameworks/support/mediarouter/api/
Dcurrent.txt7 method public androidx.mediarouter.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(androidx.mediarouter.media.MediaRouteSelector);
19 method public androidx.mediarouter.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(androidx.mediarouter.media.MediaRouteSelector);
31 method public androidx.mediarouter.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(androidx.mediarouter.media.MediaRouteSelector);
40 method public androidx.mediarouter.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(androidx.mediarouter.media.MediaRouteSelector);
71 method public androidx.mediarouter.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(androidx.mediarouter.media.MediaRouteSelector);
[all …]
/frameworks/support/mediarouter/api_legacy/
D27.0.0.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
D26.0.0.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
Dcurrent.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
D27.1.0.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
D28.0.0-alpha1.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
D26.1.0.txt7 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
11 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
19 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
24 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
31 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
35 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
40 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
42 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
71 method public android.support.v7.media.MediaRouteSelector getRouteSelector();
74 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaRouterWrapper.java19 import android.support.v7.media.MediaRouteSelector;
36 public void addCallback(MediaRouteSelector selector, MediaRouter.Callback callback, int flags) { in addCallback()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java64 import androidx.mediarouter.media.MediaRouteSelector;
89 private MediaRouteSelector mSelector;
232 mSelector = new MediaRouteSelector.Builder() in onCreate()

123