Home
last modified time | relevance | path

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

12345

/development/tools/external_crates/crates_io_util/src/
Dlib.rs54 #[error("Crate {0} not found in crates.io")]
57 #[error("Feature {0} not found for crate {1}")]
60 #[error("Dependency {0} not found for crate {1}")]
63 #[error("Failed to get HTTP headers")]
66 #[error(transparent)]
69 #[error(transparent)]
72 #[error(transparent)]
/development/tools/winscope/src/app/
Dglobal_error_handler.ts21 handleError(error: Error) {
22 Analytics.Error.logGlobalException(error.message);
23 console.error(error);
/development/host/windows/usb/api/
Dadb_legacy_io_completion.cpp62 ULONG error = GetLastError(); in GetOvelappedIoResult() local
65 ((ERROR_IO_INCOMPLETE == error) || (ERROR_IO_PENDING == error))) { in GetOvelappedIoResult()
73 error = GetLastError(); in GetOvelappedIoResult()
75 ((ERROR_IO_INCOMPLETE != error) && (ERROR_IO_PENDING != error))) { in GetOvelappedIoResult()
Dadb_legacy_interface.cpp61 ULONG error = ok ? NO_ERROR : GetLastError(); in CreateHandle() local
65 if (NO_ERROR != error) { in CreateHandle()
66 SetLastError(error); in CreateHandle()
135 ULONG error = ret ? NO_ERROR : GetLastError(); in GetSerialNumber() local
139 if (NO_ERROR != error) { in GetSerialNumber()
140 SetLastError(error); in GetSerialNumber()
201 ULONG error = ret ? NO_ERROR : GetLastError(); in GetEndpointInformation() local
205 if (NO_ERROR != error) { in GetEndpointInformation()
206 SetLastError(error); in GetEndpointInformation()
Dadb_legacy_endpoint_object.cpp112 ULONG error = GetLastError(); in CommonAsyncReadWrite() local
113 if (!res && (ERROR_IO_PENDING != error)) { in CommonAsyncReadWrite()
118 SetLastError(error); in CommonAsyncReadWrite()
221 ULONG error = GetLastError(); in CreateHandle() local
224 SetLastError(error); in CreateHandle()
/development/tools/winscope/src/trace_collection/wdp/
Dwdp_host_connection.ts66 resp.error?.type === 'ORIGIN_NOT_ALLOWLISTED' &&
67 resp.error.approveUrl !== undefined
69 const popup = WindowUtils.showPopupWindow(resp.error.approveUrl);
76 } else if (resp.error !== undefined) {
77 console.error(`Invalid WebDeviceProxy response ${data} : ${resp.error}`);
78 this.listener.onError(resp.error.message ?? 'Unknown WDP Error');
113 error?: { property
Dadb_websocket_stream.ts21 error?: { property
52 } catch (error) {
58 if (data.error) {
59 adbError = data.error.message;
67 `\nError: ${(error as Error).message}.` +
/development/host/windows/usb/winusb/
Dadb_winusb_io_completion.cpp70 ULONG error = GetLastError(); in GetOvelappedIoResult() local
73 ((ERROR_IO_INCOMPLETE == error) || (ERROR_IO_PENDING == error))) { in GetOvelappedIoResult()
81 error = GetLastError(); in GetOvelappedIoResult()
83 ((ERROR_IO_INCOMPLETE != error) && (ERROR_IO_PENDING != error))) { in GetOvelappedIoResult()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DRemotePlayer.java150 public void onError(String error, int code, Bundle data) { in play() argument
151 logError("play: failed", error, code); in play()
192 public void onError(String error, int code, Bundle data) { in getStatus() argument
193 logError("getStatus: failed", error, code); in getStatus()
220 public void onError(String error, int code, Bundle data) { in pause()
221 logError("pause: failed", error, code); in pause()
245 public void onError(String error, int code, Bundle data) { in resume()
246 logError("resume: failed", error, code); in resume()
273 public void onError(String error, int code, Bundle data) { in stop()
274 logError("stop: failed", error, code); in stop()
[all …]
/development/vndk/snapshot/
Dcheck_gpl_license.py124 except subprocess.CalledProcessError as error:
125 logging.error('Error: {}'.format(error))
154 except subprocess.CalledProcessError as error:
155 logging.error(
158 rev=revision, remote=self._remote_git, err=error))
159 logging.error('{} is not a merge commit and must be included '
176 except subprocess.CalledProcessError as error:
177 logging.error(
180 rev=revision, remote=self._remote_git, err=error))
181 logging.error('Try --remote to manually set remote name')
[all …]
Dupdate.py54 except Exception as error:
55 logging.error('Error: {}'.format(error))
179 except ValueError as error:
180 logging.error('***CANNOT INSTALL VNDK SNAPSHOT***: {}'.format(error))
269 except Exception as error:
270 logging.error('FAILED TO INSTALL SNAPSHOT: {}'.format(error))
/development/tools/external_crates/license_checker/src/
Dlib.rs42 #[error("Couldn't convert filesystem path {0} to a string for globbing.")]
45 #[error(transparent)]
48 #[error(transparent)]
51 #[error(transparent)]
54 …#[error("Found a license expression special case for crate {crate_name} but the Cargo.toml license…
64 …#[error("Crate {0} doesn't have a license field in Cargo.toml, and no special case was found for t…
67 #[error(transparent)]
70 #[error(transparent)]
73 #[error("Failed to read {0}: {1}")]
76 #[error("The set of known licenses is empty")]
[all …]
/development/tools/external_crates/test_mapping/src/
Dlib.rs39 #[error("Blueprint file {0} not found")]
42 #[error("Blueprint parse error: {0}")]
45 #[error("Blueprint rule has no name")]
49 #[error("Error stripping JSON comments: {0}")]
52 #[error(transparent)]
56 #[error(transparent)]
59 #[error(transparent)]
62 #[error("Failed to split grep output line {0} on '/'")]
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLRenderer.java143 int error; in checkGlError() local
144 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
145 Log.e(TAG, glOperation + ": glError " + error); in checkGlError()
146 throw new RuntimeException(glOperation + ": glError " + error); in checkGlError()
/development/tools/motion/motion_test_watcher_app/src/util/
Dretry.ts23 type RetryIf = (attempt: number, error: unknown) => boolean;
34 type RetryDelay = (attempt: number, error: unknown) => Promise<void>;
42 type AttemptFailed = (attempt: number, error: unknown) => Promise<void>;
/development/build/tools/
Dmk_sdk_repo_xml.sh19 function error() { function
40 error "Missing tool: sha1sum (Linux: apt-get install coreutils; Mac: port install md5sha1sum)"
49 [[ -z "$OUT" ]] && error "Missing output.xml name."
54 [[ ! -f "$SCHEMA" ]] && error "Invalid XML schema name: $SCHEMA."
60 [[ -z "$XMLNS" ]] && error "Failed to find xmlns:sdk in $SCHEMA."
69 [[ -z "$ROOT" ]] && error "Failed to find root element in $SCHEMA."
336 [[ -z $TYPE ]] && error "Unknown archive type '$1'."
357 [[ ! -f "$SRC" ]] && error "Missing file for archive $TYPE/$OS: $SRC"
408 error "Failed to find source.properties or manifest.ini in $SRC"
411 [[ ! -f $PROPS ]] && error "Failed to extract $PROPS from $SRC"
/development/tools/external_crates/name_and_version/src/
Dlib.rs32 #[error("Duplicate crate version: {0} {1}")]
35 #[error(transparent)]
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java140 int error = GLES20.glGetError(); in checkGlError() local
141 if (error != GLES20.GL_NO_ERROR) { in checkGlError()
142 String errorString = GLU.gluErrorString(error); in checkGlError()
144 errorString = GLUtils.getEGLErrorString(error); in checkGlError()
146 String message = glOperation + " caused GL error 0x" + Integer.toHexString(error) + in checkGlError()
/development/tools/external_crates/checksum/src/
Dlib.rs41 #[error("Checksum file not found: {0}")]
44 #[error("Checksums do not match for: {}", .0.join(", "))]
47 #[error(transparent)]
50 #[error(transparent)]
53 #[error(transparent)]
56 #[error(transparent)]
59 #[error(transparent)]
/development/apps/Development/src/com/android/development/
DDetails.java129 TextView error = new TextView(Details.this);
130 error.setText("Showing old data.\nURL couldn't be requeried:\n"
132 error.setTextColor(0xffff0000);
133 error.setTextSize(11);
134 mLinearLayout.addView(error, 0, lazy());
/development/tools/winscope/src/trace_processor/
Dengine.ts169 if (appendResult.error && appendResult.error.length > 0) {
170 pendingPromise.reject(appendResult.error);
198 if (metricRes.error && metricRes.error.length > 0) {
199 const error = constant
200 new QueryError(`ComputeMetric() error: ${metricRes.error}`, {
203 pendingComputeMetric.reject(error);
/development/tools/winscope/src/parsers/traces/
Dtraces_parser_factory.ts53 } catch (error) {
58 (error as Error).message,
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DGLToolbox.java69 int error; in checkGlError() local
70 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
71 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/development/samples/HelloEffects/src/com/example/android/mediafx/
DGLToolbox.java73 int error; in checkGlError() local
74 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
75 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/development/tools/external_crates/google_metadata/src/
Dlib.rs47 #[error("METADATA file exists: {0}")]
50 #[error("Crate name not set in METADATA file")]
53 #[error("Crate names don't match: {} in METADATA vs {}", .0, .1)]
56 #[error(transparent)]
59 #[error(transparent)]

12345