Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/tv/tuner/filter/
DPesSettings.java33 private PesSettings(@Filter.Type int mainType, int streamId, boolean isRaw) { in PesSettings() argument
34 super(TunerUtils.getFilterSubtype(mainType, Filter.SUBTYPE_PES)); in PesSettings()
62 public static Builder builder(@Filter.Type int mainType) { in builder() argument
63 return new Builder(mainType); in builder()
74 private Builder(int mainType) { in Builder() argument
75 mMainType = mainType; in Builder()
DDownloadSettings.java34 private DownloadSettings(int mainType, boolean useDownloadId, int downloadId) { in DownloadSettings() argument
35 super(TunerUtils.getFilterSubtype(mainType, Filter.SUBTYPE_DOWNLOAD)); in DownloadSettings()
65 public static Builder builder(@Filter.Type int mainType) { in builder() argument
66 return new Builder(mainType); in builder()
77 private Builder(int mainType) { in Builder() argument
78 mMainType = mainType; in Builder()
DSectionSettingsWithTableInfo.java39 private SectionSettingsWithTableInfo(int mainType, boolean isCheckCrc, boolean isRepeat, in SectionSettingsWithTableInfo() argument
41 super(mainType, isCheckCrc, isRepeat, isRaw, bitWidthOfLengthField); in SectionSettingsWithTableInfo()
65 public static Builder builder(@Filter.Type int mainType) { in builder() argument
66 return new Builder(mainType); in builder()
76 private Builder(int mainType) { in Builder() argument
77 super(mainType); in Builder()
DSectionSettingsWithSectionBits.java33 private SectionSettingsWithSectionBits(int mainType, boolean isCheckCrc, boolean isRepeat, in SectionSettingsWithSectionBits() argument
35 super(mainType, isCheckCrc, isRepeat, isRaw, bitWidthOfLengthField); in SectionSettingsWithSectionBits()
76 public static Builder builder(@Filter.Type int mainType) { in builder() argument
77 return new Builder(mainType); in builder()
88 private Builder(int mainType) { in Builder() argument
89 super(mainType); in Builder()
DSectionSettings.java36 SectionSettings(int mainType, boolean crcEnabled, boolean isRepeat, boolean isRaw, in SectionSettings() argument
38 super(TunerUtils.getFilterSubtype(mainType, Filter.SUBTYPE_SECTION)); in SectionSettings()
101 Builder(int mainType) { in Builder() argument
102 mMainType = mainType; in Builder()
DRecordSettings.java282 private RecordSettings(int mainType, int tsIndexType, int scIndexType, int scIndexMask) { in RecordSettings() argument
283 super(TunerUtils.getFilterSubtype(mainType, Filter.SUBTYPE_RECORD)); in RecordSettings()
317 public static Builder builder(@Filter.Type int mainType) { in builder() argument
318 return new Builder(mainType); in builder()
330 private Builder(int mainType) { in Builder() argument
331 mMainType = mainType; in Builder()
DAvSettings.java227 private AvSettings(int mainType, boolean isAudio, boolean isPassthrough, int audioStreamType, in AvSettings() argument
230 mainType, in AvSettings()
280 public static Builder builder(@Filter.Type int mainType, boolean isAudio) { in builder() argument
281 return new Builder(mainType, isAudio); in builder()
295 private Builder(int mainType, boolean isAudio) { in Builder() argument
296 mMainType = mainType; in Builder()
DFilter.java304 public void setType(@Type int mainType, @Subtype int subtype) { in setType() argument
305 mMainType = mainType; in setType()
306 mSubtype = TunerUtils.getFilterSubtype(mainType, subtype); in setType()
/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.java215 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
216 mCurAudioRoutesInfo.mainType = newRoutes.mainType; 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()
/frameworks/base/media/java/android/media/tv/tuner/
DTunerUtils.java40 public static int getFilterSubtype(@Filter.Type int mainType, @Filter.Subtype int subtype) { in getFilterSubtype() argument
41 if (mainType == Filter.TYPE_TS) { in getFilterSubtype()
64 } else if (mainType == Filter.TYPE_MMTP) { in getFilterSubtype()
86 } else if (mainType == Filter.TYPE_IP) { in getFilterSubtype()
103 } else if (mainType == Filter.TYPE_TLV) { in getFilterSubtype()
116 } else if (mainType == Filter.TYPE_ALP) { in getFilterSubtype()
131 "Invalid filter types. Main type=" + mainType + ", subtype=" + subtype); in getFilterSubtype()
DTuner.java2107 public Filter openFilter(@Type int mainType, @Subtype int subType, in openFilter() argument
2116 mainType, TunerUtils.getFilterSubtype(mainType, subType), bufferSize); in openFilter()
2118 filter.setType(mainType, subType); in openFilter()
/frameworks/base/services/core/java/com/android/server/media/
DSystemMediaRoute2Provider.java278 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateDeviceRoute()
279 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0) { in updateDeviceRoute()
282 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateDeviceRoute()
285 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateDeviceRoute()
288 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HDMI) != 0) { in updateDeviceRoute()
291 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_USB) != 0) { in updateDeviceRoute()
DMediaRouterService.java199 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()
200 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()
210 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()
/frameworks/av/services/tuner/hidl/
DTunerHidlDemux.cpp95 HidlDemuxFilterMainType mainType = static_cast<HidlDemuxFilterMainType>(in_type.mainType); in openFilter() local
97 .mainType = mainType, in openFilter()
100 switch (mainType) { in openFilter()
DTunerHidlFilter.cpp630 return (mType.mainType == DemuxFilterMainType::TS && in isAudioFilter()
632 (mType.mainType == DemuxFilterMainType::MMTP && in isAudioFilter()
637 return (mType.mainType == DemuxFilterMainType::TS && in isVideoFilter()
639 (mType.mainType == DemuxFilterMainType::MMTP && in isVideoFilter()
/frameworks/base/media/jni/tuner/
DFilterClient.cpp293 if (type.mainType == DemuxFilterMainType::MMTP) { in checkIsMediaFilter()
303 if (type.mainType == DemuxFilterMainType::TS) { in checkIsMediaFilter()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1472 int newConn = mCurAudioRoutes.mainType; in updateAudioRoutes()
1478 if (newConn != mCurAudioRoutes.mainType) { in updateAudioRoutes()
1479 mCurAudioRoutes.mainType = newConn; in updateAudioRoutes()
DAudioService.java10668 mDeviceBroker.getCurAudioRoutes().mainType)); in dump()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp1917 ALOGD("Failed to open filter, type = %d", type.mainType); in openFilter()
3535 DemuxFilterMainType mainType = static_cast<DemuxFilterMainType>(type); in android_media_tv_Tuner_open_filter() local
3537 .mainType = mainType, in android_media_tv_Tuner_open_filter()
3540 switch (mainType) { in android_media_tv_Tuner_open_filter()
3791 DemuxFilterMainType mainType = static_cast<DemuxFilterMainType>(type); in getFilterConfiguration() local
3792 switch (mainType) { in getFilterConfiguration()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24687 Landroid/media/AudioRoutesInfo;->mainType:I