Searched refs:rval (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/native/android/ |
D | net.c | 52 int rval = setNetworkForSocket(netid, fd); in android_setsocknetwork() local 53 if (rval < 0) { in android_setsocknetwork() 54 errno = -rval; in android_setsocknetwork() 55 rval = -1; in android_setsocknetwork() 57 return rval; in android_setsocknetwork() 67 int rval = setNetworkForProcess(netid); in android_setprocnetwork() local 68 if (rval < 0) { in android_setprocnetwork() 69 errno = -rval; in android_setprocnetwork() 70 rval = -1; in android_setprocnetwork() 72 return rval; in android_setprocnetwork()
|
/frameworks/base/core/java/android/net/http/ |
D | SslError.java | 183 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in addError() 184 if (rval) { in addError() 188 return rval; in addError() 197 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in hasError() 198 if (rval) { in hasError() 199 rval = ((mErrors & (0x1 << error)) != 0); in hasError() 202 return rval; in hasError()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 121 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes() 126 assertTrue(logMsg, rval); in testAcceptOnlyServerAndBroadcastModes() 129 assertFalse(logMsg, rval); in testAcceptOnlyServerAndBroadcastModes() 147 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly() 150 assertTrue(logMsg, rval); in testAcceptableStrataOnly() 152 assertFalse(logMsg, rval); in testAcceptableStrataOnly()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 1113 const char *rval = NULL; in stateString() local 1117 case STATE_IDLE: rval = "IDLE"; break; in stateString() 1118 case STATE_SET_DATASOURCE_PENDING: rval = "SET_DATASOURCE_PENDING"; break; in stateString() 1119 case STATE_UNPREPARED: rval = "UNPREPARED"; break; in stateString() 1120 case STATE_PREPARING: rval = "PREPARING"; break; in stateString() 1121 case STATE_PREPARED: rval = "PREPARED"; break; in stateString() 1122 case STATE_RUNNING: rval = "RUNNING"; break; in stateString() 1123 case STATE_PAUSED: rval = "PAUSED"; break; in stateString() 1124 case STATE_RESET_IN_PROGRESS: rval = "RESET_IN_PROGRESS"; break; in stateString() 1125 case STATE_STOPPED: rval = "STOPPED"; break; in stateString() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderThroughputTest.cpp | 60 Pipe(Pipe&& rval) noexcept { in Pipe() argument 61 m_readFd = rval.m_readFd; in Pipe() 62 m_writeFd = rval.m_writeFd; in Pipe() 63 rval.m_readFd = 0; in Pipe() 64 rval.m_writeFd = 0; in Pipe()
|
D | schd-dbg.cpp | 161 Pipe(Pipe&& rval) noexcept { in Pipe() argument 162 m_readFd = rval.m_readFd; in Pipe() 163 m_writeFd = rval.m_writeFd; in Pipe() 164 rval.m_readFd = 0; in Pipe() 165 rval.m_writeFd = 0; in Pipe()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 3746 const char *rval = NULL; in stateString() local 3750 case UNINITIALIZED: rval = "UNINITIALIZED"; break; in stateString() 3751 case INITIALIZING: rval = "INITIALIZING"; break; in stateString() 3752 case INITIALIZED: rval = "INITIALIZED"; break; in stateString() 3753 case CONFIGURING: rval = "CONFIGURING"; break; in stateString() 3754 case CONFIGURED: rval = "CONFIGURED"; break; in stateString() 3755 case STARTING: rval = "STARTING"; break; in stateString() 3756 case STARTED: rval = "STARTED"; break; in stateString() 3757 case FLUSHING: rval = "FLUSHING"; break; in stateString() 3758 case FLUSHED: rval = "FLUSHED"; break; in stateString() [all …]
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 682 final int rval = Os.recvfrom( 685 if (rval < 1 || mSolicitation[0] != ICMPV6_ND_ROUTER_SOLICIT) {
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 585 final boolean rval = mHwInterface.setUpstreamParameters("", ANYIP, ANYIP, null); in pushUpstreamParameters() 589 return rval; in pushUpstreamParameters()
|