Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/aosp14/frameworks/base/core/java/android/net/http/
H A DSslError.java97 this(error, certificate, ""); in SslError()
109 this(error, certificate, ""); in SslError()
122 addError(error); in SslError()
149 assert (error >= -299 && error <= -200); in SslErrorFromChromiumErrorCode()
150 if (error == -200) in SslErrorFromChromiumErrorCode()
152 if (error == -201) in SslErrorFromChromiumErrorCode()
154 if (error == -202) in SslErrorFromChromiumErrorCode()
183 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in addError()
197 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in hasError()
213 for (int error = SslError.SSL_MAX_ERROR - 1; error >= 0; --error) { in getPrimaryError()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DCommand.cpp414 String8 error; in getNfcAidCategories() local
451 if (error != "") { in getNfcAidCategories()
904 String8 error; in doDump() local
920 String8 error; in doDump() local
937 String8 error; in doDump() local
977 String8 error; in doDump() local
1279 &error); in doDump()
1280 if (error != "") { in doDump()
1293 if (error != "") { in doDump()
1336 if (error != "") { in doDump()
[all …]
H A DSourcePos.cpp21 String8 error; member
26 ErrorPos(const String8& file, int line, const String8& error, Level level);
42 error(that.error), in ErrorPos()
50 error(e), in ErrorPos()
60 this->error = rhs.error; in operator =()
83 … fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string()); in print()
85 fprintf(to, "%s: %s%s\n", this->file.string(), type, this->error.string()); in print()
88 fprintf(to, "%s%s\n", type, this->error.string()); in print()
114 SourcePos::error(const char* fmt, ...) const in error() function in SourcePos
/aosp14/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
H A DWallpaperEventLogger.java102 logBackupFailureInternal(WALLPAPER_IMG_SYSTEM, error); in onSystemImageWallpaperBackupFailed()
106 logBackupFailureInternal(WALLPAPER_IMG_LOCK, error); in onLockImageWallpaperBackupFailed()
110 logBackupFailureInternal(WALLPAPER_LIVE_SYSTEM, error); in onSystemLiveWallpaperBackupFailed()
114 logBackupFailureInternal(WALLPAPER_LIVE_LOCK, error); in onLockLiveWallpaperBackupFailed()
134 logRestoreFailureInternal(WALLPAPER_IMG_SYSTEM, error); in onSystemImageWallpaperRestoreFailed()
138 logRestoreFailureInternal(WALLPAPER_IMG_LOCK, error); in onLockImageWallpaperRestoreFailed()
146 logRestoreFailureInternal(WALLPAPER_LIVE_LOCK, error); in onLockLiveWallpaperRestoreFailed()
155 String error = exception.getClass().getName(); in onBackupException() local
170 String error = exception.getClass().getName(); in onRestoreException() local
188 @BackupRestoreError String error) { in logBackupFailureInternal() argument
[all …]
/aosp14/system/core/fastboot/
H A Dudp.cpp118 bool InitializeProtocol(std::string* error);
146 if (!transport->InitializeProtocol(error)) { in NewTransport()
210 *error = "socket is closed"; in SendData()
257 error->clear(); in SendSinglePacketHelper()
262 *error = Socket::GetErrorMessage(); in SendSinglePacketHelper()
274 *error = Socket::GetErrorMessage(); in SendSinglePacketHelper()
316 *error = "no response from target"; in SendSinglePacketHelper()
321 *error = "target reported error: " + *error; in SendSinglePacketHelper()
330 std::string error; in Read() local
348 std::string error; in Write() local
[all …]
H A Dtcp_test.cpp40 std::string error; in TEST() local
41 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
42 EXPECT_EQ("", error); in TEST()
50 std::string error; in TEST() local
52 EXPECT_EQ("", error); in TEST()
59 std::string error; in TEST() local
69 std::string error; in TEST() local
79 std::string error; in TEST() local
89 std::string error; in TEST() local
102 std::string error; in SetUp() local
[all …]
H A Dtcp.cpp60 std::string* error);
74 bool InitializeProtocol(std::string* error);
83 std::string* error) { in NewTransport() argument
86 if (!transport->InitializeProtocol(error)) { in NewTransport()
94 bool TcpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol() argument
98 *error = android::base::StringPrintf("Failed to send initialization message (%s)", in InitializeProtocol()
106 *error = android::base::StringPrintf( in InitializeProtocol()
124 error->clear(); in InitializeProtocol()
188 error); in Connect()
193 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect() argument
[all …]
H A Dvendor_boot_img_utils.cpp216 if (!hdr_size.ok()) return hdr_size.error(); in replace_default_vendor_ramdisk()
240 return res.error(); in replace_default_vendor_ramdisk()
244 return res.error(); in replace_default_vendor_ramdisk()
260 return res.error(); in replace_default_vendor_ramdisk()
353 return res.error(); in replace_vendor_ramdisk_fragment()
357 return res.error(); in replace_vendor_ramdisk_fragment()
368 return res.error(); in replace_vendor_ramdisk_fragment()
381 return res.error(); in replace_vendor_ramdisk_fragment()
394 return res.error(); in replace_vendor_ramdisk_fragment()
396 return res.error(); in replace_vendor_ramdisk_fragment()
[all …]
/aosp14/system/core/run-as/
H A Drun-as.cpp76 error(1, errno, "couldn't stat %s", path); in check_directory()
84 error(1, 0, "%s not a directory: %o", path, st.st_mode); in check_directory()
149 error(1, errno, "getgroups failed"); in get_supplementary_gids()
154 error(1, errno, "getgroups failed"); in get_supplementary_gids()
200 error(1, errno, "packagelist_parse failed"); in main()
207 error(1, errno, "asprintf failed"); in main()
212 error(1, 0, "unknown package: %s", pkgname); in main()
218 error(1, 0, "user id too big: %d", userId); in main()
226 error(1, 0, "package not an application: %s", pkgname); in main()
231 error(1, 0, "package not debuggable: %s", pkgname); in main()
[all …]
/aosp14/frameworks/base/tools/aapt2/format/
H A DContainer.cpp144 error_ = error.str(); in AddResFileEntry()
211 std::ostringstream error; in GetResFileOffsets() local
219 std::ostringstream error; in GetResFileOffsets() local
226 std::ostringstream error; in GetResFileOffsets() local
233 std::ostringstream error; in GetResFileOffsets() local
279 error_ = error.str(); in ContainerReader()
293 error_ = error.str(); in ContainerReader()
307 error_ = error.str(); in ContainerReader()
327 error_ = error.str(); in Next()
335 error_ = error.str(); in Next()
[all …]
/aosp14/frameworks/base/tools/validatekeymaps/
H A DMain.cpp61 static void error(const char* fmt, ...) { in error() function
69 error("Keymap Validation Tool\n\n"); in usage()
70 error("Usage:\n"); in usage()
71 error(" %s [-q] [*.kl] [*.kcm] [*.idc] [virtualkeys.*] [...]\n" in usage()
122 error("%s. ", reason.c_str()); in validateKeyLayoutFileName()
144 if (ret.error().message() == "Missing kernel config") { in validateFile()
149 error("Error %s parsing key layout file.\n\n", ret.error().message().c_str()); in validateFile()
159 error("Error %s parsing key character map file.\n\n", in validateFile()
160 ret.error().message().c_str()); in validateFile()
171 propertyMap.error().message().c_str()); in validateFile()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/soundtrigger/
H A DKeyphraseEnrollmentInfo.java188 parseErrors.add(error); in KeyphraseEnrollmentInfo()
189 Slog.w(TAG, error); in KeyphraseEnrollmentInfo()
211 Slog.w(TAG, error); in getKeyphraseMetadataFromApplicationInfo()
228 Slog.w(TAG, error); in getKeyphraseMetadataFromApplicationInfo()
239 Slog.w(TAG, error, e); in getKeyphraseMetadataFromApplicationInfo()
253 parseErrors.add(error); in getKeyphraseFromTypedArray()
254 Slog.w(TAG, error); in getKeyphraseFromTypedArray()
263 parseErrors.add(error); in getKeyphraseFromTypedArray()
264 Slog.w(TAG, error); in getKeyphraseFromTypedArray()
276 Slog.w(TAG, error); in getKeyphraseFromTypedArray()
[all …]
/aosp14/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp70 const int32_t error = OpenArchive(zipFileName, &handle); in open() local
71 if (error) { in open()
86 if (error) { in openFd()
102 if (error) { in findEntryByName()
154 if (error) { in startIteration()
156 ErrorCodeString(error)); in startIteration()
169 if (error) { in nextEntry()
170 if (error != -1) { in nextEntry()
172 ErrorCodeString(error)); in nextEntry()
269 if (error) { in uncompressEntry()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptCredentialInteractorTest.kt77 assertThat(error).isEqualTo(error(msg))
81 assertThat(error).isNull()
199 val error = "not so bad" regex
202 flowOf(error(error, 10, urgentMessage))
217 assertThat(errors.map { it?.error }).containsExactly(null, error).inOrder()
219 .isEqualTo(error(error, 10, urgentMessage))
228 val error = ":(" regex
236 emit(error(error, remainingAttempts, urgentMessage))
252 assertThat(errors.map { it?.error })
269 private fun throttled(error: String) = CredentialStatus.Fail.Throttled(error)
[all …]
/aosp14/frameworks/base/opengl/java/android/opengl/
H A DGLException.java25 public GLException(final int error) { in GLException() argument
26 super(getErrorString(error)); in GLException()
27 mError = error; in GLException()
30 public GLException(final int error, final String string) { in GLException() argument
32 mError = error; in GLException()
35 private static String getErrorString(int error) { in getErrorString() argument
36 String errorString = GLU.gluErrorString(error); in getErrorString()
38 errorString = "Unknown error 0x" + Integer.toHexString(error); in getErrorString()
/aosp14/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
H A DFileIO.ts34 } catch (error) {
35 console.log(`Failed to parse XML file '${path}'.`, error);
43 } catch (error) {
44 console.log(`Failed to read file '${path}'.`, error);
53 } catch (error) {
54 console.log(error);
65 } catch (error) {
66 console.log(error);
96 exec(cmd, (error, out, stderr) => {
97 if (error) {
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerException.java109 public final int error; field in PackageManagerException
129 protected PackageManagerException(int error, String detailMessage, int internalErrorCode) { in PackageManagerException() argument
131 this.error = error; in PackageManagerException()
135 public PackageManagerException(int error, String detailMessage) { in PackageManagerException() argument
137 this.error = error; in PackageManagerException()
141 public PackageManagerException(int error, String detailMessage, Throwable throwable) { in PackageManagerException() argument
143 this.error = error; in PackageManagerException()
149 this.error = PackageManager.INSTALL_FAILED_INTERNAL_ERROR; in PackageManagerException()
H A DPrepareFailure.java27 PrepareFailure(int error) { in PrepareFailure() argument
28 super(error, "Failed to prepare for install."); in PrepareFailure()
31 PrepareFailure(int error, String detailMessage) { in PrepareFailure() argument
32 super(error, detailMessage); in PrepareFailure()
40 private PrepareFailure(int error, String message, int internalErrorCode) { in PrepareFailure() argument
41 super(error, message, internalErrorCode); in PrepareFailure()
45 super(((PackageManagerException) e).error, in PrepareFailure()
/aosp14/system/core/init/
H A Dproperty_service.cpp393 *error = result.error().message(); in PropertySet()
629 std::string error; in handle_property_set_fd() local
658 std::string error; in handle_property_set_fd() local
681 std::string error; in InitPropertySet() local
946 std::string error; in property_initialize_build_id() local
994 std::string error; in property_derive_legacy_build_fingerprint() local
1012 std::string error; in property_derive_build_fingerprint() local
1074 std::string error; in property_initialize_ro_cpu_abilist() local
1108 std::string error; in property_initialize_ro_vendor_api_level() local
1202 std::string error; in PropertyLoadBootDefaults() local
[all …]
H A Dcheck_builtins.cpp57 return Error() << "Unable to decode UID for '" << args[1] << "': " << uid.error(); in check_chown()
65 return Error() << "Unable to decode GID for '" << args[2] << "': " << gid.error(); in check_chown()
77 return result.error(); in check_exec()
98 return result.error(); in check_interface_restart()
129 return options.error(); in check_mount_all()
137 return options.error(); in check_mkdir()
147 return restorecon_info.error(); in check_restorecon()
170 return result.error(); in check_setprop()
201 if (!rlimit.ok()) return rlimit.error(); in check_setrlimit()
208 return options.error(); in check_swapon_all()
[all …]
/aosp14/system/core/trusty/gatekeeper/
H A Dtrusty_gatekeeper.cpp93 auto error = Send(request, &response); in enroll() local
94 if (error != ERROR_NONE) { in enroll()
96 } else if (response.error == ERROR_RETRY) { in enroll()
99 } else if (response.error != ERROR_NONE) { in enroll()
129 auto error = Send(request, &response); in verify() local
130 if (error != ERROR_NONE) { in verify()
135 } else if (response.error != ERROR_NONE) { in verify()
154 auto error = Send(request, &response); in deleteUser() local
156 if (error != ERROR_NONE) { in deleteUser()
174 auto error = Send(request, &response); in deleteAllUsers() local
[all …]
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp145 bool error = false; in Action() local
151 error = true; in Action()
160 error = true; in Action()
166 std::string error; in Action() local
180 error.clear(); in Action()
331 bool error = false; in Dump() local
338 error = true; in Dump()
348 error = true; in Dump()
361 error = true; in Dump()
368 error = true; in Dump()
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/parsing/result/
H A DParseTypeImpl.java139 return error(parseError);
150 return error(parseError);
179 return error(errorMessage);
192 return error(PackageManager.INSTALL_PARSE_FAILED_SKIPPED, parseError);
196 public <ResultType> ParseResult<ResultType> error(int parseError) {
197 return error(parseError, null);
201 public <ResultType> ParseResult<ResultType> error(@NonNull String parseError) {
206 public <ResultType> ParseResult<ResultType> error(int errorCode,
208 return error(errorCode, errorMessage, null);
212 public <ResultType> ParseResult<ResultType> error(ParseResult<?> intentResult) {
[all …]
/aosp14/system/core/libcutils/
H A Dsocket_local_client_unix.cpp58 goto error; in socket_make_sockaddr_un()
75 goto error; in socket_make_sockaddr_un()
88 goto error; in socket_make_sockaddr_un()
100 goto error; in socket_make_sockaddr_un()
113 error: in socket_make_sockaddr_un()
132 goto error; in socket_local_client_connect()
136 goto error; in socket_local_client_connect()
141 error: in socket_local_client_connect()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_jar_StrictJarFile.cpp65 int32_t error = OpenArchiveFd(fd, nameChars.c_str(), &handle, in StrictJarFile_nativeOpenJarFile() local
67 if (error) { in StrictJarFile_nativeOpenJarFile()
69 throwIoException(env, error); in StrictJarFile_nativeOpenJarFile()
103 int32_t error = StartIteration(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeStartIteration() local
105 if (error) { in StrictJarFile_nativeStartIteration()
106 throwIoException(env, error); in StrictJarFile_nativeStartIteration()
118 const int32_t error = Next(*handle->CookieAddress(), &data, &entryName); in StrictJarFile_nativeNextEntry() local
119 if (error) { in StrictJarFile_nativeNextEntry()
137 const int32_t error = FindEntry(reinterpret_cast<ZipArchiveHandle>(nativeHandle), in StrictJarFile_nativeFindEntry() local
139 if (error) { in StrictJarFile_nativeFindEntry()

12345678910>>...30