Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/telephony/java/com/android/internal/telephony/
DCommandException.java27 private Error e;
29 public enum Error { enum in CommandException
47 public CommandException(Error e) { in CommandException()
57 return new CommandException(Error.INVALID_RESPONSE); in fromRilErrno()
59 return new CommandException(Error.RADIO_NOT_AVAILABLE); in fromRilErrno()
61 return new CommandException(Error.GENERIC_FAILURE); in fromRilErrno()
63 return new CommandException(Error.PASSWORD_INCORRECT); in fromRilErrno()
65 return new CommandException(Error.SIM_PIN2); in fromRilErrno()
67 return new CommandException(Error.SIM_PUK2); in fromRilErrno()
69 return new CommandException(Error.REQUEST_NOT_SUPPORTED); in fromRilErrno()
[all …]
DCallTracker.java84 == CommandException.Error.RADIO_NOT_AVAILABLE; in isCommandExceptionRadioNotAvailable()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp396 return Error("Malformed block record"); in ParseAttributeBlock()
399 return Error("Multiple PARAMATTR blocks found!"); in ParseAttributeBlock()
410 return Error("Error at end of PARAMATTR block"); in ParseAttributeBlock()
418 return Error("Malformed block record"); in ParseAttributeBlock()
434 return Error("Invalid ENTRY record"); in ParseAttributeBlock()
449 return Error("Alignment is not a power of two."); in ParseAttributeBlock()
498 return Error("Malformed block record"); in ParseTypeTable()
505 return Error("Multiple TYPE_BLOCKs found!"); in ParseTypeTableBody()
517 return Error("Invalid type forward reference in TYPE_BLOCK"); in ParseTypeTableBody()
519 return Error("Error at end of type table block"); in ParseTypeTableBody()
[all …]
/frameworks/compile/slang/
Dslang.cpp119 std::string* Error, in OpenOutputFile() argument
121 slangAssert((OutputFile != NULL) && (Error != NULL) && (Diag != NULL) && in OpenOutputFile()
125 llvm::sys::path::parent_path(OutputFile), Error)) { in OpenOutputFile()
127 new llvm::tool_output_file(OutputFile, *Error, Flags); in OpenOutputFile()
133 Diag->Report(clang::diag::err_fe_error_opening) << OutputFile << *Error; in OpenOutputFile()
329 std::string Error; in setOutput() local
336 OS = OpenOutputFile(OutputFile, 0, &Error, mDiagnostics.getPtr()); in setOutput()
346 &Error, in setOutput()
355 if (!Error.empty()) in setOutput()
367 std::string Error; in setDepOutput() local
[all …]
Dslang_rs_export_foreach.cpp43 Diags->getCustomDiagID(clang::Diagnostic::Error, in ReportNameError()
71 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
104 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
128 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
162 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
195 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
335 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateSpecialFuncDecl()
351 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateSpecialFuncDecl()
360 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateSpecialFuncDecl()
Dslang_utils.cpp26 std::string* Error) { in CreateDirectoryWithParents() argument
28 Error); in CreateDirectoryWithParents()
Dslang_rs_export_type.cpp67 Diags->getCustomDiagID(clang::Diagnostic::Error, Message)) in ReportTypeError()
71 Diags->getCustomDiagID(clang::Diagnostic::Error, Message)) in ReportTypeError()
206 Diags->getCustomDiagID(clang::Diagnostic::Error, in TypeExportableHelper()
406 Diags->getCustomDiagID(clang::Diagnostic::Error, in NormalizeType()
410 Diags->Report(Diags->getCustomDiagID(clang::Diagnostic::Error, in NormalizeType()
611 Diags->Report(Diags->getCustomDiagID(clang::Diagnostic::Error, in Create()
821 Diags->Report(Diags->getCustomDiagID(clang::Diagnostic::Error, in GetDataType()
835 Diags->Report(Diags->getCustomDiagID(clang::Diagnostic::Error, in GetDataType()
1096 Diags->getCustomDiagID(clang::Diagnostic::Error, in Create()
1108 Diags->getCustomDiagID(clang::Diagnostic::Error, in Create()
[all …]
Dslang_utils.h34 std::string* Error);
Dslang_backend.cpp114 std::string Error; in CreateCodeGenPasses() local
116 llvm::TargetRegistry::lookupTarget(Triple, Error); in CreateCodeGenPasses()
118 mDiags.Report(clang::diag::err_fe_unable_to_create_target) << Error; in CreateCodeGenPasses()
Dslang_diagnostic_buffer.cpp53 case clang::Diagnostic::Error: { in HandleDiagnostic()
Dslang_rs.cpp181 Diag.getCustomDiagID(clang::Diagnostic::Error, in initDiagnostic()
185 Diag.getCustomDiagID(clang::Diagnostic::Error, in initDiagnostic()
189 mDiagErrorTargetAPIRange = Diag.getCustomDiagID(clang::Diagnostic::Error, in initDiagnostic()
Dslang_rs_reflection.h46 inline void setError(const std::string &Error) { mLastError = Error; } in setError() argument
Dslang_rs_backend.cpp96 mDiags.getCustomDiagID(clang::Diagnostic::Error, in HandleTopLevelDecl()
165 mDiags.Report(mDiags.getCustomDiagID(clang::Diagnostic::Error, in HandleTranslationUnitPre()
168 mDiags.Report(mDiags.getCustomDiagID(clang::Diagnostic::Error, in HandleTranslationUnitPre()
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/
DLVM_API_Specials.c143 LVM_ReturnStatus_en Error; in LVM_SetVolumeNoSmoothing() local
146 Error = LVM_SetControlParameters(hInstance,pParams); in LVM_SetVolumeNoSmoothing()
148 return Error; in LVM_SetVolumeNoSmoothing()
/frameworks/compile/libbcc/lib/ExecutionEngine/
DCompiler.h186 void setError(const char *Error) { in setError() argument
187 mError.assign(Error); // Copying in setError()
190 void setError(const std::string &Error) { in setError() argument
191 mError = Error; in setError()
/frameworks/base/telephony/java/com/android/internal/telephony/test/
DSimulatedCommands.java115 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin()
146 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin()
157 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk()
188 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk()
199 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin2()
229 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPin2()
240 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk2()
270 CommandException.Error.PASSWORD_INCORRECT); in supplyIccPuk2()
291 CommandException.Error.PASSWORD_INCORRECT); in changeIccPin()
312 CommandException.Error.PASSWORD_INCORRECT); in changeIccPin2()
[all …]
/frameworks/base/tools/localize/
DXLIFFFile.cpp47 pos.Error("<%s> elements must contain exactly one <%s> element", in get_unique_node()
94 transUnit->Position().Error("<trans-unit> tag requires an id"); in Parse()
101 transUnit->Position().Error("<trans-unit> has invalid id '%s'\n", rawID.c_str()); in Parse()
214 str.pos.Error("Duplicate string resource: %s", res->id.c_str()); in AddStringResource()
215 res->pos.Error("Previous definition here"); in AddStringResource()
301 str.pos.Error("Internal Error %s:%d\n", __FILE__, __LINE__); in find_string_res()
311 str.pos.Error("unknown config for string %s: %s", str.id.c_str(), in find_string_res()
325 str.pos.Error("Internal Error %s:%d\n", __FILE__, __LINE__); in find_string_res()
411 original->Position().Error("invalid <%s> element in <%s> tag\n", in convert_html_to_xliff()
Dlocalize.cpp31 SourcePos(filename, -1).Error("Error reading file."); in read_settings()
44 configNode->Position().Error("<configuration> needs an id attribute."); in read_settings()
53 configNode->Position().Error("<configuration> needs a new-cl attribute."); in read_settings()
67 appNode->Position().Error("<app> needs a dir attribute."); in read_settings()
86 rejectNode->Position().Error("<reject> needs a file attribute."); in read_settings()
97 rejectNode->Position().Error("<reject> needs a name attribute."); in read_settings()
198 SourcePos(settingsFile, -1).Error("settings file does not contain setting: %s\n", in validate_config()
DSourcePos.h20 int Error(const char* fmt, ...) const;
Dres_check.cpp85 pos.Error("unguarded percent: '%s'\n", string.c_str()); in scan_for_unguarded_format()
/frameworks/base/test-runner/src/android/test/
DAssertionFailedError.java25 public class AssertionFailedError extends Error {
/frameworks/compile/slang/tests/F_no_java_package_name/
Dstderr.txt.expect1 Error: Missing "#pragma rs java_package_name(com.foo.bar)" in no_java_package_name.rs
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java300 if (t instanceof Error) { in preloadClasses()
301 throw (Error) t; in preloadClasses()
791 } else if (cause instanceof Error) { in run()
792 throw (Error) cause; in run()
/frameworks/base/libs/ui/
DKeyCharacterMap.cpp791 goto Error; in parseCharacterLiteral()
820 goto Error; in parseCharacterLiteral()
825 goto Error; in parseCharacterLiteral()
831 goto Error; in parseCharacterLiteral()
836 goto Error; in parseCharacterLiteral()
844 Error: in parseCharacterLiteral()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java265 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in onSetComplete()
266 if (err == CommandException.Error.PASSWORD_INCORRECT) { in onSetComplete()

123