Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkErrorMessageTest.java84 final StructNlMsgErr err = errorMsg.getNlMsgError(); in testParseNlmErrorOk() local
85 assertNotNull(err); in testParseNlmErrorOk()
86 assertEquals(0, err.error); in testParseNlmErrorOk()
87 assertNotNull(err.msg); in testParseNlmErrorOk()
88 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk()
89 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
90 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk()
91 assertEquals(13606, err.msg.nlmsg_seq); in testParseNlmErrorOk()
92 assertEquals(0, err.msg.nlmsg_pid); in testParseNlmErrorOk()
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp245 if (int err = waitForReading(fd, mServer.connectTimeout.count()); err <= 0) { in sslConnect() local
246 PLOG(WARNING) << "SSL_connect read error " << err << ", mark 0x" << std::hex in sslConnect()
254 if (int err = waitForWriting(fd, mServer.connectTimeout.count()); err <= 0) { in sslConnect() local
255 PLOG(WARNING) << "SSL_connect write error " << err << ", mark 0x" << std::hex in sslConnect()
290 if (int err = waitForWriting(mSslFd.get()); err <= 0) { in sslWrite() local
291 PLOG(WARNING) << "Poll failed in sslWrite, error " << err; in sslWrite()
459 if (int err = waitForReading(mSslFd.get()); err <= 0) { in sslRead() local
460 PLOG(WARNING) << "Poll failed in sslRead, error " << err; in sslRead()
487 int err = sslRead(Slice(responseHeader, 2), false); in readResponse() local
488 if (err == SSL_ERROR_WANT_READ) { in readResponse()
[all …]
DDnsResolverService.cpp171 auto err = StringPrintf("UID %d / PID %d does not have any of the following permissions: %s", in checkAnyPermission() local
173 return ::ndk::ScopedAStatus(AStatus_fromExceptionCodeWithMessage(EX_SECURITY, err.c_str())); in checkAnyPermission()
186 auto err = StringPrintf("UID %d is not authorized to set a non-empty CA certificate", uid); in setResolverConfiguration() local
187 return ::ndk::ScopedAStatus(AStatus_fromExceptionCodeWithMessage(EX_SECURITY, err.c_str())); in setResolverConfiguration()
DPrivateDnsConfiguration.cpp64 int err = getaddrinfo(server, "853", &hints, &res); in parseServer() local
65 if (err != 0) { in parseServer()
66 LOG(WARNING) << "Failed to parse server address (" << server << "): " << gai_strerror(err); in parseServer()
Dresolv_private.h174 if (int err = android::net::gResNetdCallbacks.tagSocket(sock, TAG_SYSTEM_DNS, uid, pid)) { in resolv_tag_socket() local
175 LOG(WARNING) << "Failed to tag socket: " << strerror(-err); in resolv_tag_socket()
DResolverController.cpp218 const int err = in setResolverConfiguration() local
222 if (err != 0) { in setResolverConfiguration()
223 return err; in setResolverConfiguration()
DDnsProxyListener.cpp246 int resNSendToAiError(int err, int rcode) { in resNSendToAiError() argument
247 if (err > 0) { in resNSendToAiError()
250 if (err == -ETIMEDOUT) { in resNSendToAiError()
Dres_cache.cpp1557 if (int err = getaddrinfo_numeric(server.c_str(), "53", hints, &result); err != 0) { in isValidServer() local
1559 << ") = " << gai_strerror(err); in isValidServer()
Dres_send.cpp1157 const int err = errno; in dump_error() local
1167 errno = err; in dump_error()
/packages/services/Car/evs/app/
DWindowSurface.cpp27 status_t err; in WindowSurface() local
30 err = surfaceComposerClient->initCheck(); in WindowSurface()
31 if (err != NO_ERROR) { in WindowSurface()
32 fprintf(stderr, "SurfaceComposerClient::initCheck error: %#x\n", err); in WindowSurface()
44 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo); in WindowSurface()
45 if (err != NO_ERROR) { in WindowSurface()
/packages/apps/Camera2/jni/
Djpegutil.cpp166 } err; in Compress() local
168 cinfo.err = jpeg_std_error(&err.pub); in Compress()
172 err.pub.error_exit = [](j_common_ptr cinfo) { in Compress()
173 my_error_mgr* myerr = reinterpret_cast<my_error_mgr*>(cinfo->err); in Compress()
175 (*cinfo->err->output_message)(cinfo); in Compress()
181 cinfo.err = (struct jpeg_error_mgr*)&err; in Compress()
184 if (setjmp(err.setjmp_buffer)) { in Compress()
/packages/apps/Gallery2/jni_jpegstream/src/
Djerr_hook.cpp26 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); in ErrExit()
27 (*cinfo->err->output_message) (cinfo); in ErrExit()
38 (*cinfo->err->format_message) (cinfo, buf); in ErrOutput()
48 cinfo->err = reinterpret_cast<struct jpeg_error_mgr*>(errMgr); in SetupErrMgr()
/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp191 status_t err; in initialize() local
198 err = mFlinger->initCheck(); in initialize()
199 if (err != NO_ERROR) { in initialize()
200 ALOGE("SurfaceComposerClient::initCheck error: %#x", err); in initialize()
212 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo); in initialize()
213 if (err != NO_ERROR) { in initialize()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.c316 double err; in vp_motion_cornerdiff() local
329 err = 0; in vp_motion_cornerdiff()
330 err += (VP_SQR(ax1 - bx1) + VP_SQR(ay1 - by1)); in vp_motion_cornerdiff()
331 err += (VP_SQR(ax2 - bx2) + VP_SQR(ay2 - by2)); in vp_motion_cornerdiff()
332 err += (VP_SQR(ax3 - bx3) + VP_SQR(ay3 - by3)); in vp_motion_cornerdiff()
333 err += (VP_SQR(ax4 - bx4) + VP_SQR(ay4 - by4)); in vp_motion_cornerdiff()
335 return(sqrt(err)); in vp_motion_cornerdiff()
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py75 err = 'command failed: ' + ' '.join(command_args)
77 err += '\n' + stdout.strip()
79 err += '\n' + stderr.strip()
80 raise Exception(err)
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMakeKeyboardText.java32 System.err.println(message); in usage()
34 System.err.println("usage: make-keyboard-text " + OPTION_JAVA + " <java_output_dir>"); in usage()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/error/
Derror.h120 … friend bool operator==(ParseErrorCode code, const ParseResult & err) { return code == err.code_; }
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenJPEGStrips.cpp57 .err = jpeg_std_error(&jerr), in write_JPEG_Buff()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java470 CommandException.Error err = ((CommandException)(exception)).getCommandError(); in iccLockChanged() local
471 if (err == CommandException.Error.PASSWORD_INCORRECT) { in iccLockChanged()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java86 System.err.println(e); in onCreate()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java887 public void onRemovalError(Face face, int errMsgId, CharSequence err) { in removeAllFaceForUserAndFinish()
889 face.getBiometricId(), err)); in removeAllFaceForUserAndFinish()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java876 public void onRemovalError(Face face, int errMsgId, CharSequence err) { in removeAllFaceForUserAndFinish()
878 face.getBiometricId(), err)); in removeAllFaceForUserAndFinish()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java2834 .onClosedExceptionally(argThat(err -> err.getCause() == error)); in testCreateIkeLocalIkeAuthInEapHandlesError()
4538 argThat(err -> err instanceof NoValidProposalChosenException)); in testCreateIkeLocalIkeInitRcvErrorNotify()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java7236 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, in onShellCommand() argument
7240 .exec(this, in, out, err, args, callback, resultReceiver); in onShellCommand()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...

12