/frameworks/av/media/libaudioclient/ |
D | PolicyAidlConversion.cpp | 27 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 …]
|
D | AidlConversion.cpp | 36 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/ |
D | BinderResult.h | 33 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()
|
D | expected_utils.h | 63 return ::android::base::unexpected(std::move(_tmp.error())); \ 92 return ::android::base::unexpected(std::move(_tmp)); \
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 121 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 …]
|
D | AttributeResolution.cpp | 87 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 …]
|
D | AssetManager2.cpp | 513 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 …]
|
D | ResourceUtils.cpp | 64 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/ |
D | AidlConversionEffect.cpp | 53 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 …]
|
D | AidlConversionCore.cpp | 31 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()
|
D | AidlConversionCppNdk.cpp | 51 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 …]
|
D | AidlConversionNdkCpp.cpp | 81 return base::unexpected(BAD_VALUE); in ndk2cpp() 104 return base::unexpected(BAD_VALUE); in convertEnum()
|
/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/ |
D | stderr.txt.expect | 1 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/ |
D | ClientCache.cpp | 67 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/ |
D | DiagRelocations.inc | 31 "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'")
|
D | DiagMips.inc | 16 "unexpected .MIPS.abiflags section version number '%0' in %1", 17 "unexpected .MIPS.abiflags section version number '%0' in %1")
|
/frameworks/av/media/liberror/ |
D | expected_utils_test.cpp | 80 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/ |
D | MoreAsserts.java | 67 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/ |
D | ValidatedAttributionSourceStateTest.cpp | 27 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/ |
D | IdAssigner.cpp | 30 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/ |
D | UriCodec.java | 52 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/ |
D | AudioPolicyConfig.cpp | 46 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/ |
D | AidlConversionUtil-impl.h | 64 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/ |
D | expected.h | 140 return base::unexpected(std::forward<E>(error)); in Unexpected()
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionEq.cpp | 42 using ::android::base::unexpected; 134 return unexpected(BAD_VALUE); in getParameterPresetName() 144 return unexpected(BAD_VALUE); in getParameterPresetName()
|