Home
last modified time | relevance | path

Searched refs:mainType (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioRoutesInfo.java36 public int mainType = MAIN_SPEAKER; field in AudioRoutesInfo
43 mainType = o.mainType; in AudioRoutesInfo()
48 mainType = src.readInt(); in AudioRoutesInfo()
58 return getClass().getSimpleName() + "{ type=" + typeToString(mainType) in toString()
76 dest.writeInt(mainType); in writeToParcel()
DMediaRouter.java192 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
193 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()
195 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
196 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
198 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
200 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
202 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_USB) != 0) { in updateAudioRoutes()
210 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in updateAudioRoutes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java887 int newConn = mCurAudioRoutes.mainType; in updateAudioRoutes()
893 if (newConn != mCurAudioRoutes.mainType) { in updateAudioRoutes()
894 mCurAudioRoutes.mainType = newConn; in updateAudioRoutes()
DAudioService.java6386 mDeviceBroker.getCurAudioRoutes().mainType)); in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java175 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()
176 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()
186 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37307 Landroid/media/AudioRoutesInfo;->mainType:I