Home
last modified time | relevance | path

Searched refs:unexpected (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/av/media/libaudioclient/
DPolicyAidlConversion.cpp27 using base::unexpected;
38 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixType_uint32_t()
49 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixType()
58 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixCallbackFlag_uint32_t()
67 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixCallbackFlag()
96 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixRouteFlag_uint32_t()
107 return unexpected(BAD_VALUE); in legacy2aidl_uint32_t_AudioMixRouteFlag()
167 return unexpected(BAD_VALUE); in aidl2legacy_AudioMixMatchCriterionValue()
198 return unexpected(BAD_VALUE); in legacy2aidl_AudioMixMatchCriterionValue()
283 return unexpected(BAD_VALUE); in aidl2legacy_AudioPolicyDeviceState_audio_policy_dev_state_t()
[all …]
DAidlConversion.cpp36 using base::unexpected;
79 return unexpected(BAD_VALUE); in aidl2legacy_AudioPortRole_audio_port_role_t()
92 return unexpected(BAD_VALUE); in legacy2aidl_audio_port_role_t_AudioPortRole()
107 return unexpected(BAD_VALUE); in aidl2legacy_AudioPortType_audio_port_type_t()
122 return unexpected(BAD_VALUE); in legacy2aidl_audio_port_type_t_AudioPortType()
156 return unexpected(BAD_VALUE); in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
181 return unexpected(BAD_VALUE); in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
389 return unexpected(BAD_VALUE); in aidl2legacy_AudioPatchFw_audio_patch()
397 return unexpected(BAD_VALUE); in aidl2legacy_AudioPatchFw_audio_patch()
412 return unexpected(BAD_VALUE); in legacy2aidl_audio_patch_AudioPatchFw()
[all …]
/frameworks/av/media/liberror/include/error/
DBinderResult.h33 inline base::unexpected<binder::Status> unexpectedExceptionCode(int32_t exceptionCode, in unexpectedExceptionCode()
35 return base::unexpected{binder::Status::fromExceptionCode(exceptionCode, s)}; in unexpectedExceptionCode()
38 inline base::unexpected<binder::Status> unexpectedServiceException(int32_t serviceSpecificCode, in unexpectedServiceException()
40 return base::unexpected{binder::Status::fromServiceSpecificError(serviceSpecificCode, s)}; in unexpectedServiceException()
Dexpected_utils.h63 return ::android::base::unexpected(std::move(_tmp.error())); \
92 return ::android::base::unexpected(std::move(_tmp)); \
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp121 return base::unexpected(std::nullopt); in VerifyResTableEntry()
128 return base::unexpected(std::nullopt); in VerifyResTableEntry()
137 return base::unexpected(std::nullopt); in VerifyResTableEntry()
142 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry()
149 return base::unexpected(std::nullopt); in VerifyResTableEntry()
155 return base::unexpected(std::nullopt); in VerifyResTableEntry()
168 return base::unexpected(std::nullopt); in VerifyResTableEntry()
173 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry()
179 return base::unexpected(std::nullopt); in VerifyResTableEntry()
185 return base::unexpected(std::nullopt); in VerifyResTableEntry()
[all …]
DAttributeResolution.cpp87 return base::unexpected(std::nullopt); in GetStyleBag()
94 return base::unexpected(std::nullopt); in GetXmlStyleBag()
101 return base::unexpected(std::nullopt); in GetXmlStyleBag()
116 return base::unexpected(std::nullopt); in GetXmlStyleBag()
137 return base::unexpected(GetIOError(default_style_bag.error())); in ResolveAttrs()
171 return base::unexpected(GetIOError(result.error())); in ResolveAttrs()
182 return base::unexpected(GetIOError(result.error())); in ResolveAttrs()
236 return base::unexpected(GetIOError(default_style_bag.error())); in ApplyStyle()
243 return base::unexpected(GetIOError(xml_style_bag.error())); in ApplyStyle()
303 return base::unexpected(GetIOError(result.error())); in ApplyStyle()
[all …]
DAssetManager2.cpp513 return base::unexpected(result.error()); in GetResourceConfigurations()
654 return base::unexpected(std::nullopt); in FindEntry()
664 return base::unexpected(std::nullopt); in FindEntry()
686 return base::unexpected(result.error()); in FindEntry()
693 return base::unexpected(std::nullopt); in FindEntry()
754 return base::unexpected(overlay_result.error()); in FindEntry()
861 return base::unexpected(entry_flags.error()); in FindEntryInternal()
903 return base::unexpected(offset.error()); in FindEntryInternal()
933 return base::unexpected(std::nullopt); in FindEntryInternal()
938 return base::unexpected(best_entry_verified.error()); in FindEntryInternal()
[all …]
DResourceUtils.cpp64 return base::unexpected(type_str.error()); in ToResourceName()
73 return base::unexpected(type16_str.error()); in ToResourceName()
82 return base::unexpected(entry_str.error()); in ToResourceName()
91 return base::unexpected(entry16_str.error()); in ToResourceName()
/frameworks/av/media/audioaidlconversion/
DAidlConversionEffect.cpp53 using ::android::base::unexpected;
74 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Type_uint32()
90 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Type()
104 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Insert_uint32()
118 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Insert()
132 return unexpected(BAD_VALUE); in aidl2legacy_Flags_Volume_uint32()
146 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_Volume()
199 return unexpected(BAD_VALUE); in aidl2legacy_Flags_HardwareAccelerator_uint32()
212 return unexpected(BAD_VALUE); in legacy2aidl_uint32_Flags_HardwareAccelerator()
296 return unexpected(BAD_VALUE); in legacy2aidl_uint32_levelEstimator_Parameter_agc()
[all …]
DAidlConversionCore.cpp31 using ::android::base::unexpected;
45 return unexpected(BAD_VALUE); in aidl2legacy_MicrophoneDirection_audio_microphone_direction_t()
60 return unexpected(BAD_VALUE); in legacy2aidl_audio_microphone_direction_t_MicrophoneDirection()
DAidlConversionCppNdk.cpp51 using ::android::base::unexpected;
125 return unexpected(BAD_VALUE); in legacy2aidl_string()
129 return unexpected(BAD_VALUE); in legacy2aidl_string()
868 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
887 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
903 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
908 return unexpected(BAD_VALUE); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
945 return unexpected(BAD_VALUE); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
963 return unexpected(BAD_VALUE); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
986 return unexpected(BAD_VALUE); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
[all …]
DAidlConversionNdkCpp.cpp81 return base::unexpected(BAD_VALUE); in ndk2cpp()
104 return base::unexpected(BAD_VALUE); in convertEnum()
/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/
Dstderr.txt.expect1 foreach_unexpected_allocs.rscript:10:3: error: Number of input and output allocations unexpected fo…
2 foreach_unexpected_allocs.rscript:11:3: error: Number of input and output allocations unexpected fo…
/frameworks/native/services/surfaceflinger/
DClientCache.cpp67 return base::unexpected(AddError::Unspecified); in add()
72 return base::unexpected(AddError::Unspecified); in add()
85 return base::unexpected(AddError::Unspecified); in add()
93 return base::unexpected(AddError::Unspecified); in add()
108 return base::unexpected(AddError::CacheFull); in add()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagRelocations.inc31 "unexpected relocation type `%0' in object file",
32 "unexpected relocation type `%0' in object file")
51 "applying relocation `%0' encounters unexpected opcode on symbol `%1'",
52 "applying relocation `%0' encounters unexpected opcode on symbol `%1'")
DDiagMips.inc16 "unexpected .MIPS.abiflags section version number '%0' in %1",
17 "unexpected .MIPS.abiflags section version number '%0' in %1")
/frameworks/av/media/liberror/
Dexpected_utils_test.cpp80 Value intermediate = VALUE_OR_RETURN(Result(base::unexpected(Status(2)))); in TEST()
98 Value intermediate = VALUE_OR_RETURN_STATUS(Result(base::unexpected(Status(1)))); in TEST()
145 EXPECT_DEATH(VALUE_OR_FATAL(Result(base::unexpected(Status(3)))), ""); in TEST()
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java67 String message, Object unexpected, Object actual) { in assertNotEqual() argument
68 if (equal(unexpected, actual)) { in assertNotEqual()
69 failEqual(message, unexpected); in assertNotEqual()
77 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() argument
78 assertNotEqual(null, unexpected, actual); in assertNotEqual()
523 private static void failEqual(String message, Object unexpected) { in failEqual() argument
524 failWithMessage(message, "expected not to be:<" + unexpected + ">"); in failEqual()
/frameworks/av/services/audiopolicy/permission/tests/
DValidatedAttributionSourceStateTest.cpp27 using ::android::base::unexpected;
106 .WillOnce(Return(unexpected{Status::fromExceptionCode(EX_ILLEGAL_STATE)})); in TEST_F()
119 .WillOnce(Return(unexpected{Status::fromExceptionCode(EX_ILLEGAL_ARGUMENT)})); in TEST_F()
/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp30 using android::base::unexpected;
206 return unexpected(error.str()); in ReserveId()
251 return unexpected(error.str()); in ReserveId()
258 return unexpected(error.str()); in ReserveId()
269 return unexpected(error.str()); in NextId()
/frameworks/base/core/java/android/net/
DUriCodec.java52 String uri, String name, char unexpected, int index) { in unexpectedCharacterException() argument
55 uri, "Unexpected character" + nameString + ": " + unexpected, index); in unexpectedCharacterException()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp46 return base::unexpected(BAD_VALUE); in aidl2legacy_portId_PolicyAudioPort()
221 return base::unexpected(status); in loadFromCustomXmlConfigForTests()
240 return base::unexpected(BAD_VALUE); in loadFromCustomXmlConfigForVtsTests()
247 return base::unexpected(status); in loadFromCustomXmlConfigForVtsTests()
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionUtil-impl.h64 return ::android::base::unexpected(::android::BAD_VALUE); in convertIntegral()
68 return ::android::base::unexpected(::android::BAD_VALUE); in convertIntegral()
72 return ::android::base::unexpected(::android::BAD_VALUE); in convertIntegral()
325 return ::android::base::unexpected(::android::BAD_VALUE);
/frameworks/native/include/ftl/
Dexpected.h140 return base::unexpected(std::forward<E>(error)); in Unexpected()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionEq.cpp42 using ::android::base::unexpected;
134 return unexpected(BAD_VALUE); in getParameterPresetName()
144 return unexpected(BAD_VALUE); in getParameterPresetName()

123