Home
last modified time | relevance | path

Searched refs:AudioRoutesInfo (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioRoutesInfo.java27 public class AudioRoutesInfo implements Parcelable { class
38 public AudioRoutesInfo() { in AudioRoutesInfo() method in AudioRoutesInfo
41 public AudioRoutesInfo(AudioRoutesInfo o) { in AudioRoutesInfo() method in AudioRoutesInfo
46 AudioRoutesInfo(Parcel src) { in AudioRoutesInfo() method in AudioRoutesInfo
79 public static final @android.annotation.NonNull Parcelable.Creator<AudioRoutesInfo> CREATOR
80 = new Parcelable.Creator<AudioRoutesInfo>() {
81 public AudioRoutesInfo createFromParcel(Parcel in) {
82 return new AudioRoutesInfo(in);
85 public AudioRoutesInfo[] newArray(int size) {
86 return new AudioRoutesInfo[size];
DIAudioRoutesObserver.aidl19 import android.media.AudioRoutesInfo;
26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged()
DAudioRoutesInfo.aidl18 parcelable AudioRoutesInfo;
DMediaRouter.java99 final AudioRoutesInfo mCurAudioRoutesInfo = new AudioRoutesInfo();
122 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {
188 AudioRoutesInfo newAudioRoutes = null; in startMonitoringRoutes()
211 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes()
218 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
219 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
221 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
223 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
225 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_USB) != 0) { in updateAudioRoutes()
233 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in updateAudioRoutes()
[all …]
DIAudioService.aidl30 import android.media.AudioRoutesInfo;
294 AudioRoutesInfo startWatchingRoutes(in IAudioRoutesObserver observer); in startWatchingRoutes()
/frameworks/base/services/tests/servicestests/src/com/android/server/media/
DLegacyDeviceRouteControllerTest.java29 import android.media.AudioRoutesInfo;
64 private static AudioRoutesInfo createFakeBluetoothAudioRoute() { in createFakeBluetoothAudioRoute()
65 AudioRoutesInfo btRouteInfo = new AudioRoutesInfo(); in createFakeBluetoothAudioRoute()
66 btRouteInfo.mainType = AudioRoutesInfo.MAIN_SPEAKER; in createFakeBluetoothAudioRoute()
122 AudioRoutesInfo fakeBluetoothAudioRoute = createFakeBluetoothAudioRoute(); in initialize_bluetoothRouteAvailable_deviceRouteReturnsDefaultRoute()
154 AudioRoutesInfo.MAIN_HEADPHONES }, in data()
162 AudioRoutesInfo.MAIN_HEADSET }, in data()
170 AudioRoutesInfo.MAIN_DOCK_SPEAKERS }, in data()
178 AudioRoutesInfo.MAIN_HDMI }, in data()
186 AudioRoutesInfo.MAIN_USB } in data()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DLegacyDeviceRouteController.java33 import android.media.AudioRoutesInfo;
98 AudioRoutesInfo newAudioRoutes = null; in LegacyDeviceRouteController()
149 private MediaRoute2Info createRouteFromAudioInfo(@Nullable AudioRoutesInfo newRoutes) { in createRouteFromAudioInfo()
154 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0) { in createRouteFromAudioInfo()
157 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in createRouteFromAudioInfo()
160 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in createRouteFromAudioInfo()
163 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HDMI) != 0) { in createRouteFromAudioInfo()
166 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_USB) != 0) { in createRouteFromAudioInfo()
205 public void dispatchAudioRoutesChanged(AudioRoutesInfo newAudioRoutes) { in dispatchAudioRoutesChanged()
DMediaRouterService.java35 import android.media.AudioRoutesInfo;
136 int mAudioRouteMainType = AudioRoutesInfo.MAIN_SPEAKER;
2069 AudioRoutesInfo.MAIN_HEADSET
2070 | AudioRoutesInfo.MAIN_HEADPHONES
2071 | AudioRoutesInfo.MAIN_USB;
2074 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) { in dispatchAudioRoutesChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java49 import android.media.AudioRoutesInfo;
557 final AudioRoutesInfo mCurAudioRoutes = new AudioRoutesInfo();
1077 AudioRoutesInfo routes; in onReportNewRoutes()
1079 routes = new AudioRoutesInfo(mCurAudioRoutes); in onReportNewRoutes()
1975 /*package*/ AudioRoutesInfo startWatchingRoutes(IAudioRoutesObserver observer) {
1977 AudioRoutesInfo routes = new AudioRoutesInfo(mCurAudioRoutes);
1983 /*package*/ AudioRoutesInfo getCurAudioRoutes() {
2798 connType = AudioRoutesInfo.MAIN_HEADSET;
2802 connType = AudioRoutesInfo.MAIN_HEADPHONES;
2807 connType = AudioRoutesInfo.MAIN_HDMI;
[all …]
DAudioDeviceBroker.java38 import android.media.AudioRoutesInfo;
1221 /*package*/ AudioRoutesInfo startWatchingRoutes(IAudioRoutesObserver observer) { in startWatchingRoutes()
1227 /*package*/ AudioRoutesInfo getCurAudioRoutes() { in getCurAudioRoutes()
DAudioService.java141 import android.media.AudioRoutesInfo;
11290 public AudioRoutesInfo startWatchingRoutes(IAudioRoutesObserver observer) { in startWatchingRoutes()
/frameworks/base/boot/
Dboot-image-profile.txt10674 HSPLandroid/media/AudioRoutesInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/media/AudioRout…
10675 HSPLandroid/media/AudioRoutesInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
10676 HSPLandroid/media/AudioRoutesInfo;-><init>()V
10677 HSPLandroid/media/AudioRoutesInfo;->toString()Ljava/lang/String;
10678 HSPLandroid/media/AudioRoutesInfo;->typeToString(I)Ljava/lang/String;
10734 …ub$Proxy;->startWatchingRoutes(Landroid/media/IAudioRoutesObserver;)Landroid/media/AudioRoutesInfo;
10997 HSPLandroid/media/MediaRouter$Static$1;->dispatchAudioRoutesChanged(Landroid/media/AudioRoutesInfo;…
11014 HSPLandroid/media/MediaRouter$Static;->updateAudioRoutes(Landroid/media/AudioRoutesInfo;)V
27436 Landroid/media/AudioRoutesInfo$1;
27437 Landroid/media/AudioRoutesInfo;
Dpreloaded-classes5048 android.media.AudioRoutesInfo$1
5049 android.media.AudioRoutesInfo
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24682 Landroid/media/AudioRoutesInfo;-><init>()V
24683 Landroid/media/AudioRoutesInfo;-><init>(Landroid/media/AudioRoutesInfo;)V
24684 Landroid/media/AudioRoutesInfo;-><init>(Landroid/os/Parcel;)V
24685 Landroid/media/AudioRoutesInfo;->bluetoothName:Ljava/lang/CharSequence;
24686 Landroid/media/AudioRoutesInfo;->CREATOR:Landroid/os/Parcelable$Creator;
24687 Landroid/media/AudioRoutesInfo;->mainType:I
24688 Landroid/media/AudioRoutesInfo;->MAIN_DOCK_SPEAKERS:I
24689 Landroid/media/AudioRoutesInfo;->MAIN_HDMI:I
24690 Landroid/media/AudioRoutesInfo;->MAIN_HEADPHONES:I
24691 Landroid/media/AudioRoutesInfo;->MAIN_HEADSET:I
[all …]
/frameworks/base/config/
Dboot-image-profile.txt10677 HSPLandroid/media/AudioRoutesInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/media/AudioRout…
10678 HSPLandroid/media/AudioRoutesInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
10679 HSPLandroid/media/AudioRoutesInfo;-><init>()V
10680 HSPLandroid/media/AudioRoutesInfo;->toString()Ljava/lang/String;
10681 HSPLandroid/media/AudioRoutesInfo;->typeToString(I)Ljava/lang/String;
10737 …ub$Proxy;->startWatchingRoutes(Landroid/media/IAudioRoutesObserver;)Landroid/media/AudioRoutesInfo;
11000 HSPLandroid/media/MediaRouter$Static$1;->dispatchAudioRoutesChanged(Landroid/media/AudioRoutesInfo;…
11017 HSPLandroid/media/MediaRouter$Static;->updateAudioRoutes(Landroid/media/AudioRoutesInfo;)V
37570 Landroid/media/AudioRoutesInfo$1;
37571 Landroid/media/AudioRoutesInfo;
Dpreloaded-classes5052 android.media.AudioRoutesInfo$1
5053 android.media.AudioRoutesInfo
/frameworks/base/services/
Dart-wear-profile8042 …ceBroker;->startWatchingRoutes(Landroid/media/IAudioRoutesObserver;)Landroid/media/AudioRoutesInfo;
8064 …nventory;->startWatchingRoutes(Landroid/media/IAudioRoutesObserver;)Landroid/media/AudioRoutesInfo;
8337 …oService;->startWatchingRoutes(Landroid/media/IAudioRoutesObserver;)Landroid/media/AudioRoutesInfo;