Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/native/android/
Dnet.c52 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/
DSslError.java183 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/
DSntpClientTest.java121 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/
DNuPlayerDriver.cpp1145 const char *rval = NULL; in stateString() local
1149 case STATE_IDLE: rval = "IDLE"; break; in stateString()
1150 case STATE_SET_DATASOURCE_PENDING: rval = "SET_DATASOURCE_PENDING"; break; in stateString()
1151 case STATE_UNPREPARED: rval = "UNPREPARED"; break; in stateString()
1152 case STATE_PREPARING: rval = "PREPARING"; break; in stateString()
1153 case STATE_PREPARED: rval = "PREPARED"; break; in stateString()
1154 case STATE_RUNNING: rval = "RUNNING"; break; in stateString()
1155 case STATE_PAUSED: rval = "PAUSED"; break; in stateString()
1156 case STATE_RESET_IN_PROGRESS: rval = "RESET_IN_PROGRESS"; break; in stateString()
1157 case STATE_STOPPED: rval = "STOPPED"; break; in stateString()
[all …]
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp60 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()
Dschd-dbg.cpp161 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/base/core/java/android/permission/
DPermissionManager.java589 public boolean equals(Object rval) { in equals() argument
591 if (rval == null) { in equals()
596 other = (PermissionQuery) rval; in equals()
661 public boolean equals(Object rval) { in equals() argument
662 if (rval == null) { in equals()
667 other = (PackageNamePermissionQuery) rval; in equals()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp4192 const char *rval = NULL; in stateString() local
4196 case UNINITIALIZED: rval = "UNINITIALIZED"; break; in stateString()
4197 case INITIALIZING: rval = "INITIALIZING"; break; in stateString()
4198 case INITIALIZED: rval = "INITIALIZED"; break; in stateString()
4199 case CONFIGURING: rval = "CONFIGURING"; break; in stateString()
4200 case CONFIGURED: rval = "CONFIGURED"; break; in stateString()
4201 case STARTING: rval = "STARTING"; break; in stateString()
4202 case STARTED: rval = "STARTED"; break; in stateString()
4203 case FLUSHING: rval = "FLUSHING"; break; in stateString()
4204 case FLUSHED: rval = "FLUSHED"; break; in stateString()
[all …]
/frameworks/base/packages/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java682 final int rval = Os.recvfrom(
685 if (rval < 1 || mSolicitation[0] != ICMPV6_ND_ROUTER_SOLICIT) {
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java585 final boolean rval = mHwInterface.setUpstreamParameters("", ANYIP, ANYIP, null); in pushUpstreamParameters()
589 return rval; in pushUpstreamParameters()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java8044 public boolean equals(Object rval) { in equals() argument
8045 if (rval == null) { in equals()
8050 other = (ApplicationInfoQuery) rval; in equals()
8146 public boolean equals(Object rval) { in equals() argument
8147 if (rval == null) { in equals()
8152 other = (PackageInfoQuery) rval; in equals()