/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 | 182 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in addError() 183 if (rval) { in addError() 187 return rval; in addError() 196 boolean rval = (0 <= error && error < SslError.SSL_MAX_ERROR); in hasError() 197 if (rval) { in hasError() 198 rval = ((mErrors & (0x1 << error)) != 0); in hasError() 201 return rval; in hasError()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 116 bool rval(false); in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() local 119 [&rval, &msg](bool success, const hidl_string& errMsg) { in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() 120 rval = success; in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() 123 if (!status.isOk() || !rval) { in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() 127 rval = false; in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() 130 return rval; in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
|
/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 | 1142 const char *rval = NULL; in stateString() local 1146 case STATE_IDLE: rval = "IDLE"; break; in stateString() 1147 case STATE_SET_DATASOURCE_PENDING: rval = "SET_DATASOURCE_PENDING"; break; in stateString() 1148 case STATE_UNPREPARED: rval = "UNPREPARED"; break; in stateString() 1149 case STATE_PREPARING: rval = "PREPARING"; break; in stateString() 1150 case STATE_PREPARED: rval = "PREPARED"; break; in stateString() 1151 case STATE_RUNNING: rval = "RUNNING"; break; in stateString() 1152 case STATE_PAUSED: rval = "PAUSED"; break; in stateString() 1153 case STATE_RESET_IN_PROGRESS: rval = "RESET_IN_PROGRESS"; break; in stateString() 1154 case STATE_STOPPED: rval = "STOPPED"; break; in stateString() [all …]
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Driver.cpp | 988 const char *rval = NULL; in stateString() local 992 case STATE_IDLE: rval = "IDLE"; break; in stateString() 993 case STATE_SET_DATASOURCE_PENDING: rval = "SET_DATASOURCE_PENDING"; break; in stateString() 994 case STATE_UNPREPARED: rval = "UNPREPARED"; break; in stateString() 995 case STATE_PREPARING: rval = "PREPARING"; break; in stateString() 996 case STATE_PREPARED: rval = "PREPARED"; break; in stateString() 997 case STATE_RUNNING: rval = "RUNNING"; break; in stateString() 998 case STATE_PAUSED: rval = "PAUSED"; break; in stateString() 999 case STATE_RESET_IN_PROGRESS: rval = "RESET_IN_PROGRESS"; break; in stateString() 1003 rval = rawbuffer; 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 | 3649 const char *rval = NULL; in stateString() local 3653 case UNINITIALIZED: rval = "UNINITIALIZED"; break; in stateString() 3654 case INITIALIZING: rval = "INITIALIZING"; break; in stateString() 3655 case INITIALIZED: rval = "INITIALIZED"; break; in stateString() 3656 case CONFIGURING: rval = "CONFIGURING"; break; in stateString() 3657 case CONFIGURED: rval = "CONFIGURED"; break; in stateString() 3658 case STARTING: rval = "STARTING"; break; in stateString() 3659 case STARTED: rval = "STARTED"; break; in stateString() 3660 case FLUSHING: rval = "FLUSHING"; break; in stateString() 3661 case FLUSHED: rval = "FLUSHED"; break; in stateString() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadController.java | 446 final boolean rval = mHwInterface.setUpstreamParameters("", ANYIP, ANYIP, null); in pushUpstreamParameters() 450 return rval; in pushUpstreamParameters()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 668 final int rval = Os.recvfrom( 671 if (rval < 1 || mSolication[0] != ICMPV6_ND_ROUTER_SOLICIT) {
|