/frameworks/rs/tests/lldb/tests/ |
H A D | run_test.py | 53 True if the pre_run step completed without error. Currently the pre-run 90 log.error('unable to get pid of target') 136 False: if the test case failed or suffered an error. 150 log.error('test %s:%s failed: %r' % (state.name, test, err)) 371 except DisconnectedException as error: 372 log.warning(error) 385 log.critical('Internal test suite error', exc_info=1) 386 print('Internal test suite error', file=sys.stderr) 394 except TestSuiteException as error: 396 log.exception(str(error)) [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 129 CharSequence error = mCurrentCommand.getError(); 133 notifyUpdateFailed(error); 168 public void onUpdateFailed(CharSequence error); argument 356 throw new IllegalStateException("No update error to clear"); 406 private void notifyUpdateFailed(CharSequence error) { argument 410 mUpdateCallbacks.onUpdateFailed(error); 688 protected final void failed(CharSequence error) { argument 694 mError = error; 811 private void handleOnLayoutFailed(CharSequence error, int sequence) { argument 822 failed(error); 974 onLayoutFailed(CharSequence error, int sequence) argument 1129 handleOnWriteFailed(CharSequence error, int sequence) argument 1263 onWriteFailed(CharSequence error, int sequence) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpFfsHandle.cpp | 219 PLOG(ERROR) << "Mtp error ctrlreq read data"; 260 PLOG(ERROR) << "Mtp error ctrlreq write data"; 306 int error = 0; local 310 PLOG(ERROR) << "Mtp error during poll()"; 316 error = errno; 325 error = errno; 335 PLOG(ERROR) << "Mtp error getting events"; 336 error = errno; 342 PLOG(ERROR) << "Mtp got error event at " << j << " and " << buf->actual << " total"; 343 error 452 bool error = false; local 576 bool error = false; local [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker_test.cpp | 267 std::string error; local 270 *test::BuildReference("com.app.test:string/foo"), call_site, &table, &error); 272 EXPECT_TRUE(error.empty()); 285 std::string error; local 289 *test::BuildReference("com.app.test:attr/foo"), call_site, &table, &error)); 290 EXPECT_FALSE(error.empty()); 292 error = ""; 294 *test::BuildReference("com.app.test:attr/public_foo"), call_site, &table, &error)); 295 EXPECT_TRUE(error.empty());
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 365 bool error; local 384 rect.displayFrame = hwcTestParseHwcRect(in, error); 385 if (error) { 453 rect.color = hwcTestParseColor(in, error); 454 if (error) { 466 rect.sourceDim = hwcTestParseDim(in, error); 467 if (error) { 473 rect.sourceCrop = hwcTestParseHwcRect(in, error); 474 if (error) {
|
H A D | hwcTestLib.h | 129 ColorFract hwcTestParseColor(std::istringstream& in, bool& error); 130 struct hwc_rect hwcTestParseHwcRect(std::istringstream& in, bool& error); 131 HwcTestDim hwcTestParseDim(std::istringstream& in, bool& error);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceState.java | 65 * error has occurred. 92 * @param error the error to set. Should be one of the error codes defined in 95 public synchronized void setError(int error) { argument 96 mCurrentError = error; 108 * @return {@code false} if an error has occurred. 123 * @return {@code false} if an error has occurred. 140 * @param captureError Report a recoverable error for a single request using a valid 141 * error cod 253 doStateTransition(int newState, final long timestamp, final int error) argument [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | PrintJob.java | 176 * not successfully printed due to an error. This is a final state. 271 * @param error The human readable, short, and translated reason 280 public boolean fail(@Nullable String error) { argument 283 return setState(PrintJobInfo.STATE_FAILED, error); 465 private boolean setState(int state, @Nullable String error) { argument 467 if (mPrintServiceClient.setPrintJobState(mCachedInfo.getId(), state, error)) { 472 mCachedInfo.setStatus(error);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | LayoutInflater_Delegate.java | 109 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "You must specify a layout in the" 132 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "You must specify a layout in the" 135 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "You must specify a valid layout " 151 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 229 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 99 goto error; 115 goto error; 124 error: 190 void RS::throwError(RSError error, const char *errMsg) { argument 192 mCurrentError = error; 193 ALOGE("RS CPP error: %s", errMsg); 195 ALOGE("RS CPP error (masked by previous error): %s", errMsg); 231 ALOGE("RS::message handler realloc error %zu", rbuf_size);
|
/frameworks/rs/script_api/ |
H A D | Specification.cpp | 165 scanner->error(lineNumber) << "Should have a name.\n"; 171 scanner->error(lineNumber) << "Should have a name.\n"; 188 scanner->error(lineNumber) << "Incorrect range " << testOption << "\n"; 196 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; 203 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; 210 scanner->error(lineNumber) << "Unrecognized testOption " << testOption << "\n"; 222 scanner->error(lineNumber) << "range(,) is only supported for floating point\n"; 237 scanner->error() << "Minimum version must >= 9\n"; 243 scanner->error() << "Maximum version must >= 9\n"; 290 scanner->error() << "deprecate [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | NetworkMetrics.java | 31 * error counts for bug report logging. 48 // Running sums of latencies and error counts for connect and dns events. 50 // Running sums of the most recent latencies and error counts for connect and dns events. 88 public void addConnectResult(int error, int latencyMs, String ipAddr) { argument 92 boolean isSuccess = connectMetrics.addEvent(error, latencyMs, ipAddr); 94 if (ConnectStats.isNonBlocking(error)) { 109 /** Represents running sums for dns and connect average error counts and average latencies. */ 116 // DNS error rate measured in percentage points. 120 // Blocking and non blocking connect error rate measured in percentage points.
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
H A D | Tonal.java | 336 float error = 340 if (error < minError) { 341 minError = error; 363 float error = Float.POSITIVE_INFINITY; 384 if (h <= candidate.minHue && candidate.minHue - h < error) { 386 error = candidate.minHue - h; 387 } else if (h >= candidate.maxHue && h - candidate.maxHue < error) { 389 error = h - candidate.maxHue; 391 && h - fract(candidate.maxHue) < error) { 393 error [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 50 * Indicates that a request was successful or that no error occurred. 54 * Indicates that an error occurred and the reason is not known. 109 * Called when the DRM framework sends error information. 112 * @param event The {@link DrmErrorEvent} instance that wraps the error type and message. 137 DrmErrorEvent error = null; 153 error = new DrmErrorEvent(mUniqueId, 162 error = new DrmErrorEvent(mUniqueId, 174 if (null != mOnErrorListener && null != error) { 175 mOnErrorListener.onError(DrmManagerClient.this, error); 203 DrmErrorEvent error [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SystemAudioAction.java | 98 public void onSendCompleted(int error) { 99 if (error != SendMessageResult.SUCCESS) { 100 HdmiLogger.debug("Failed to send <System Audio Mode Request>:" + error);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 133 goto error; 136 goto error; 144 error:
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GLToolbox.java | 118 // For some devices, "pixels" being null causes system error. 174 int error; 175 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { 176 throw new RuntimeException("GL Operation '" + operation + "' caused error " 177 + Integer.toHexString(error) + "!");
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 106 std::string error; local 107 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)); 108 EXPECT_THAT(error, IsEmpty()); 209 std::string error; local 210 ASSERT_TRUE(DeserializeXmlFromPb(pb_xml, &actual_el, &pool, &error)); 211 ASSERT_THAT(error, IsEmpty()); 287 std::string error; local 288 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)); 289 EXPECT_THAT(error, IsEmpty()); 376 std::string error; local [all...] |
/frameworks/compile/libbcc/lib/ |
H A D | CompilerConfig.cpp | 85 std::string error; local 86 mTarget = llvm::TargetRegistry::lookupTarget(mTriple, error); 91 mTriple.c_str(), error.c_str());
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | NinePatch_Delegate.java | 83 Bridge.getLog().error(null, "Failed to serialize NinePatchChunk.", e, null /*data*/); 124 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 128 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
|
/frameworks/native/libs/gui/ |
H A D | BitTube.cpp | 125 int error = errno; 126 ALOGE("BitTube::readFromParcel: can't dup file descriptor (%s)", strerror(error)); 127 return -error; 142 // ALOGE_IF(size<0, "error %d sending %d events", size, count); 156 // ALOGE_IF(size<0, "error %d receiving %d events", size, count);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle); local 119 if (error == Gralloc2::Error::NONE) { 139 error);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl.cpp | 57 char const* const error = "call to OpenGL ES API with " local 60 ALOGE(error); 62 LOG_ALWAYS_FATAL(error); 148 // implementation too, so we don't have to generate a GL error here
|
/frameworks/native/services/vr/performanced/ |
H A D | task.cpp | 51 const int error = errno; local 52 ALOGE_IF(task_fd_.get() < 0 && error != EACCES, 54 task_id, strerror(error));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnContext.java | 579 boolean error = false; 585 if (apnId != DctConstants.APN_INVALID_ID) error = true; 589 if (apnId != DctConstants.APN_INVALID_ID) error = true; 593 if (apnId != DctConstants.APN_INVALID_ID) error = true; 597 if (apnId != DctConstants.APN_INVALID_ID) error = true; 601 if (apnId != DctConstants.APN_INVALID_ID) error = true; 605 if (apnId != DctConstants.APN_INVALID_ID) error = true; 609 if (apnId != DctConstants.APN_INVALID_ID) error = true; 613 if (apnId != DctConstants.APN_INVALID_ID) error = true; 618 if (apnId != DctConstants.APN_INVALID_ID) error [all...] |