Home
last modified time | relevance | path

Searched refs:withDefault (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/av/media/codec2/components/raw/
DC2SoftRawDec.cpp60 .withDefault(new C2StreamSampleRateInfo::output(0u, 44100)) in IntfImpl()
67 .withDefault(new C2StreamChannelCountInfo::output(0u, 2)) in IntfImpl()
74 .withDefault(new C2StreamBitrateInfo::input(0u, 64000)) in IntfImpl()
86 .withDefault(new C2StreamPcmEncodingInfo::output(0u, C2Config::PCM_16)) in IntfImpl()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp78 .withDefault(new C2PortActualDelayTuning::output(kDefaultOutputPortDelay)) in IntfImpl()
85 .withDefault(new C2StreamSampleRateInfo::output(0u, 44100)) in IntfImpl()
95 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
102 .withDefault(new C2StreamMaxChannelCountInfo::input(0u, MAX_CHANNEL_COUNT)) in IntfImpl()
109 .withDefault(new C2StreamBitrateInfo::input(0u, 64000)) in IntfImpl()
121 .withDefault(new C2StreamAacFormatInfo::input(0u, C2Config::AAC_PACKAGING_RAW)) in IntfImpl()
130 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
154 … .withDefault(new C2StreamDrcCompressionModeTuning::input(0u, defaultCompressionMode)) in IntfImpl()
170 .withDefault(new C2StreamDrcTargetReferenceLevelTuning::input(0u, defaultRefLevel)) in IntfImpl()
179 .withDefault(new C2StreamDrcEncodedTargetLevelTuning::input(0u, defaultEncLevel)) in IntfImpl()
[all …]
DC2SoftAacEnc.cpp62 .withDefault(new C2StreamSampleRateInfo::input(0u, 44100)) in IntfImpl()
71 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
78 .withDefault(new C2StreamBitrateInfo::output(0u, 64000)) in IntfImpl()
85 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
91 .withDefault(new C2StreamProfileLevelInfo::output(0u, in IntfImpl()
109 .withDefault(new C2StreamAacSbrModeTuning::input(0u, AAC_SBR_AUTO)) in IntfImpl()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp169 .withDefault(C2PortAllocatorsTuning::input::AllocShared(inputAllocators)) in BaseParams()
177 .withDefault(C2PortAllocatorsTuning::output::AllocShared(outputAllocators)) in BaseParams()
185 .withDefault(C2PortBlockPoolsTuning::output::AllocShared(outputPoolIds)) in BaseParams()
194 .withDefault(C2SubscribedParamIndicesTuning::AllocShared(0u)) in BaseParams()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp76 .withDefault(new C2StreamSampleRateInfo::output(0u, 8000)) in IntfImpl()
79 .withDefault(new C2StreamSampleRateInfo::output(0u, 16000)) in IntfImpl()
87 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
95 .withDefault(new C2StreamBitrateInfo::input(0u, 4750)) in IntfImpl()
98 .withDefault(new C2StreamBitrateInfo::input(0u, 6600)) in IntfImpl()
DC2SoftAmrNbEnc.cpp61 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
68 .withDefault(new C2StreamSampleRateInfo::input(0u, 8000)) in IntfImpl()
76 .withDefault(new C2StreamBitrateInfo::output(0u, 4750)) in IntfImpl()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/
DNewTilesAvailabilityInteractorTest.kt47 ).withDefault { flowOf(false) } in <lambda>()
50 emptyMap<Int, Flow<Boolean>>().withDefault { flowOf(false) } in <lambda>()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp440 auto ret = HalResultFactory::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in on()
450 return HalResultFactory::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in off()
457 return HalResultFactory::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in setAmplitude()
482 result.withDefault(false) ? Capabilities::AMPLITUDE_CONTROL : Capabilities::NONE; in getCapabilitiesInternal()
574 return HalResultFactory::fromStatus(result.withDefault(V1_0::Status::UNKNOWN_ERROR)); in setExternalControl()
611 if (amplitudeResult.withDefault(false)) { in getCapabilitiesInternal()
614 if (externalControlResult.withDefault(false)) { in getCapabilitiesInternal()
617 if (amplitudeResult.withDefault(false)) { in getCapabilitiesInternal()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp71 .withDefault(new C2StreamPictureSizeInfo::input(0u, 64, 64)) in IntfImpl()
81 .withDefault(new C2StreamBitrateModeTuning::output( in IntfImpl()
93 .withDefault(new C2StreamFrameRateInfo::output(0u, 1.)) in IntfImpl()
102 .withDefault(C2StreamTemporalLayeringTuning::output::AllocShared(0u, 0, 0, 0)) in IntfImpl()
113 .withDefault(new C2StreamSyncFrameIntervalTuning::output(0u, 1000000)) in IntfImpl()
120 .withDefault(new C2StreamBitrateInfo::output(0u, 64000)) in IntfImpl()
133 .withDefault(new C2StreamProfileLevelInfo::output( in IntfImpl()
155 .withDefault(new C2StreamProfileLevelInfo::output( in IntfImpl()
169 .withDefault(new C2StreamRequestSyncFrameTuning::output(0u, C2_FALSE)) in IntfImpl()
176 .withDefault(new C2StreamColorAspectsInfo::input( in IntfImpl()
[all …]
DC2SoftVpxDec.cpp70 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
82 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
106 .withDefault(mHdr10PlusInfoInput) in IntfImpl()
116 .withDefault(mHdr10PlusInfoOutput) in IntfImpl()
142 .withDefault(mHdrStaticInfo) in IntfImpl()
153 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
168 .withDefault(new C2StreamMaxPictureSizeTuning::output(0u, 320, 240)) in IntfImpl()
178 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, kMinInputBufferSize)) in IntfImpl()
204 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
233 .withDefault(new C2StreamPixelFormatInfo::output( in IntfImpl()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp61 .withDefault(new C2StreamSampleRateInfo::input(0u, 44100)) in IntfImpl()
67 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
73 .withDefault(new C2StreamBitrateInfo::output(0u, 768000)) in IntfImpl()
79 .withDefault(new C2StreamComplexityTuning::output(0u, in IntfImpl()
88 .withDefault(new C2StreamPcmEncodingInfo::input(0u, C2Config::PCM_16)) in IntfImpl()
99 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, kMaxBlockSize)) in IntfImpl()
DC2SoftFlacDec.cpp60 .withDefault(new C2StreamSampleRateInfo::output(0u, 44100)) in IntfImpl()
67 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
74 .withDefault(new C2StreamBitrateInfo::input(0u, 768000)) in IntfImpl()
86 .withDefault(new C2StreamPcmEncodingInfo::output(0u, C2Config::PCM_16)) in IntfImpl()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp95 .withDefault(C2StreamGopTuning::output::AllocShared( in IntfImpl()
104 .withDefault(new C2PortActualDelayTuning::input( in IntfImpl()
126 .withDefault(new C2StreamPictureSizeInfo::input(0u, 64, 64)) in IntfImpl()
136 .withDefault(new C2StreamFrameRateInfo::output(0u, 1.)) in IntfImpl()
145 .withDefault(new C2StreamBitrateModeTuning::output( in IntfImpl()
159 .withDefault(new C2StreamBitrateInfo::output(0u, 64000)) in IntfImpl()
167 .withDefault(new C2StreamComplexityTuning::output(0u, 0)) in IntfImpl()
174 .withDefault(new C2StreamQualityTuning::output(0u, 80)) in IntfImpl()
181 .withDefault(new C2StreamProfileLevelInfo::output( in IntfImpl()
199 .withDefault(new C2StreamRequestSyncFrameTuning::output(0u, C2_FALSE)) in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp69 .withDefault(new C2StreamSampleRateInfo::output(0u, 8000)) in IntfImpl()
76 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
83 .withDefault(new C2StreamBitrateInfo::input(0u, 64000)) in IntfImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java149 .withDefault(() -> o) in testDefault()
163 .withDefault(() -> def) in testSortOrder()
201 .withDefault(() -> o) in testCallback()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp62 .withDefault(new C2StreamPictureSizeInfo::input(0u, 320, 240)) in IntfImpl()
71 .withDefault(new C2StreamBitrateModeTuning::output( in IntfImpl()
81 .withDefault(new C2StreamFrameRateInfo::output(0u, 30.)) in IntfImpl()
88 .withDefault(new C2StreamSyncFrameIntervalTuning::output(0u, 1000000)) in IntfImpl()
94 .withDefault(new C2StreamBitrateInfo::output(0u, 64000)) in IntfImpl()
100 .withDefault(new C2StreamComplexityTuning::output(0u, 0)) in IntfImpl()
106 .withDefault(new C2StreamQualityTuning::output(0u, 80)) in IntfImpl()
117 .withDefault(new C2StreamProfileLevelInfo::output(0u, PROFILE_AV1_0, in IntfImpl()
136 .withDefault(new C2StreamPixelFormatInfo::input( in IntfImpl()
143 .withDefault(new C2StreamRequestSyncFrameTuning::output(0u, C2_FALSE)) in IntfImpl()
[all …]
DC2SoftAomDec.cpp56 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
66 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
87 .withDefault(mHdr10PlusInfoInput) in IntfImpl()
97 .withDefault(mHdr10PlusInfoOutput) in IntfImpl()
105 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
116 .withDefault( in IntfImpl()
142 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp64 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
73 .withDefault(new C2StreamProfileLevelInfo::input( in IntfImpl()
102 .withDefault(mHdr10PlusInfoInput) in IntfImpl()
111 .withDefault(mHdr10PlusInfoOutput) in IntfImpl()
123 .withDefault(new C2StreamHdrStaticInfo::output(0u, defaultStaticInfo)) in IntfImpl()
140 .withDefault(new C2StreamMaxPictureSizeTuning::output(0u, 320, 240)) in IntfImpl()
150 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, kMinInputBufferSize)) in IntfImpl()
171 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
190 .withDefault(new C2StreamColorAspectsInfo::input( in IntfImpl()
210 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp88 .withDefault(new C2StreamSampleRateInfo::output(0u, 44100)) in IntfImpl()
98 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
105 .withDefault(new C2StreamBitrateInfo::input(0u, 64000)) in IntfImpl()
117 .withDefault(new C2StreamAacFormatInfo::input(0u, C2Config::AAC_PACKAGING_RAW)) in IntfImpl()
126 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
145 … .withDefault(new C2StreamDrcCompressionModeTuning::input(0u, C2Config::DRC_COMPRESSION_HEAVY)) in IntfImpl()
158 … .withDefault(new C2StreamDrcTargetReferenceLevelTuning::input(0u, DRC_DEFAULT_MOBILE_REF_LEVEL)) in IntfImpl()
165 … .withDefault(new C2StreamDrcEncodedTargetLevelTuning::input(0u, DRC_DEFAULT_MOBILE_ENC_LEVEL)) in IntfImpl()
172 … .withDefault(new C2StreamDrcBoostFactorTuning::input(0u, DRC_DEFAULT_MOBILE_DRC_BOOST)) in IntfImpl()
179 … .withDefault(new C2StreamDrcAttenuationFactorTuning::input(0u, DRC_DEFAULT_MOBILE_DRC_CUT)) in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp60 .withDefault(new C2StreamSampleRateInfo::output(0u, 8000)) in IntfImpl()
67 .withDefault(new C2StreamChannelCountInfo::output(0u, 1)) in IntfImpl()
74 .withDefault(new C2StreamBitrateInfo::input(0u, 13200)) in IntfImpl()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp86 .withDefault(new C2StreamPictureSizeInfo::input(0u, 176, 144)) in IntfImpl()
101 .withDefault(new C2StreamFrameRateInfo::output(0u, 17.)) in IntfImpl()
110 .withDefault(new C2StreamBitrateInfo::output(0u, 64000)) in IntfImpl()
117 .withDefault(new C2StreamSyncFrameIntervalTuning::output(0u, 1000000)) in IntfImpl()
125 .withDefault(new C2StreamProfileLevelInfo::output( in IntfImpl()
141 .withDefault(new C2StreamProfileLevelInfo::output( in IntfImpl()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp184 .withDefault(new C2PortVendorInt32Info::input(0))
191 .withDefault(new C2StreamVendorInt64Info::output(0u, 0))
198 .withDefault(decltype(mStringInput)::element_type::AllocShared(1, ""))
205 .withDefault(new C2StreamPixelAspectRatioInfo::output(0u, 1, 1))
216 .withDefault(new C2StreamBitrateInfo::input(0u))
223 .withDefault(new C2StreamBitrateInfo::output(0u))
232 .withDefault(new C2StreamProfileLevelInfo::output(
244 .withDefault(C2StreamQpOffsetRects::output::AllocShared(
/frameworks/av/media/codec2/hal/services/
Dvendor.cpp128 .withDefault(new C2StoreIonUsageInfo()) in Interface()
142 .withDefault(C2StoreDmaBufUsageInfo::AllocShared(128)) in Interface()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp65 .withDefault(new C2StreamSampleRateInfo::input(0u, 48000)) in IntfImpl()
73 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
80 .withDefault(new C2StreamBitrateModeTuning::output( in IntfImpl()
93 .withDefault(new C2StreamBitrateInfo::output(0u, 128000)) in IntfImpl()
100 .withDefault(new C2StreamComplexityTuning::output(0u, 10)) in IntfImpl()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp70 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
79 .withDefault(new C2StreamProfileLevelInfo::input( in IntfImpl()
101 .withDefault(mHdr10PlusInfoInput) in IntfImpl()
111 .withDefault(mHdr10PlusInfoOutput) in IntfImpl()
123 .withDefault(new C2StreamHdrStaticInfo::output(0u, defaultStaticInfo)) in IntfImpl()
143 .withDefault(new C2StreamMaxPictureSizeTuning::output(0u, 320, 240)) in IntfImpl()
152 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, kMinInputBufferSize)) in IntfImpl()
176 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
196 .withDefault(new C2StreamColorAspectsInfo::input( in IntfImpl()
214 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
[all …]

123