Home
last modified time | relevance | path

Searched refs:mainType (Results 1 – 4 of 4) 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.java189 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
190 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()
192 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
193 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
195 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
197 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
199 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_USB) != 0) { in updateAudioRoutes()
207 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in updateAudioRoutes()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java177 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()
178 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()
188 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6237 int newConn = mCurAudioRoutes.mainType; in updateAudioRoutes()
6243 if (newConn != mCurAudioRoutes.mainType) { in updateAudioRoutes()
6244 mCurAudioRoutes.mainType = newConn; in updateAudioRoutes()
7246 pw.print(" mMainType=0x"); pw.println(Integer.toHexString(mCurAudioRoutes.mainType)); in dump()