Home
last modified time | relevance | path

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

123

/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/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()
Dadb_winusb_endpoint_object.cpp144 ULONG error = GetLastError(); in CommonAsyncReadWrite() local
145 if (!res && (ERROR_IO_PENDING != error)) { in CommonAsyncReadWrite()
150 SetLastError(error); in CommonAsyncReadWrite()
/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))
165 except ValueError as error:
166 logging.error('***CANNOT INSTALL VNDK SNAPSHOT***: {}'.format(error))
274 except Exception as error:
275 logging.error('FAILED TO INSTALL SNAPSHOT: {}'.format(error))
/development/build/tools/
Dmk_sources_zip.py61 def usage(error=None): argument
79 if error:
80 print >>sys.stderr, "Error:", error
88 error = None
95 error = str(e)
97 if error is None:
113 error = "Missing arguments: <source> <dest>"
120 error = "%s is not a file" % p.PROPS
122 error = "%s is not a directory" % p.SRC
124 if error:
[all …]
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/winscope/src/flickerlib/errors/
DError.ts21 const error = new Error( constant
28 return error;
/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/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/scripts/
Dusb-reset-by-serial.py62 error("unable to open device %s: "
82 def error(msg): function
102 error("command failed (rc=%d): cmd was %s" % (mypipe.returncode, args))
133 error("unable to locate device with serial number %s" % flag_serial)
/development/tools/winscope/src/
DLogEntry.vue65 [logLevel.ERROR]: 'error',
161 .entry.error, .entry.error > div,
166 .entry.error.inactive, .entry.error.inactive > div,
184 .entry.error .level-column .icon, .entry.wtf .level-column .icon {
/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/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/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/gsi/gsi_util/gsi_util/utils/
Ddebugfs.py58 _, output, error = run_command(
63 if re.search('File not found', error):
/development/vndk/tools/vndk-compliance/
Dparse-and-fix-errors.sh30 cat log | grep "FAILED\|error:" > log.error
42 …cat log.error | grep -B1 "error: '$lib\/" | grep FAILED | awk 'BEGIN{FS="_intermediates"}{print $1…
/development/tools/winscope/
D.gitignore6 yarn-error.log
/development/testrunner/
Dadb_interface.py157 error = "No such file or directory"
159 if error in output:
485 error = None
496 error = e
509 elif error is not None:
511 raise error
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java130 boolean error = true; in onCreate()
134 error = false; in onCreate()
155 statusView.setTextColor(error ? Color.RED : Color.GREEN); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20TriangleRenderer.java205 int error; in checkGlError() local
206 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
207 Log.e(TAG, op + ": glError " + error); in checkGlError()
208 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java203 int error; in checkGlError() local
204 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
205 Log.e(TAG, op + ": glError " + error); in checkGlError()
206 throw new RuntimeException(op + ": glError " + error); in checkGlError()

123