Home
last modified time | relevance | path

Searched refs:mainType (Results 1 – 3 of 3) 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.java180 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
181 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()
183 if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
184 || (newRoutes.mainType&AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
186 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
188 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
197 final int mainType = mCurAudioRoutesInfo.mainType; in updateAudioRoutes() local
223 if (mainType != AudioRoutesInfo.MAIN_SPEAKER && in updateAudioRoutes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5073 int newConn = mCurAudioRoutes.mainType; in sendDeviceConnectionIntent()
5079 if (newConn != mCurAudioRoutes.mainType) { in sendDeviceConnectionIntent()
5080 mCurAudioRoutes.mainType = newConn; in sendDeviceConnectionIntent()
5923 pw.print(" mMainType=0x"); pw.println(Integer.toHexString(mCurAudioRoutes.mainType)); in dump()