Searched refs:rval (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/native/android/ |
D | net.c | 59 int rval = setNetworkForSocket(netid, fd); in android_setsocknetwork() local 60 if (rval < 0) { in android_setsocknetwork() 61 errno = -rval; in android_setsocknetwork() 62 rval = -1; in android_setsocknetwork() 64 return rval; in android_setsocknetwork() 74 int rval = setNetworkForProcess(netid); in android_setprocnetwork() local 75 if (rval < 0) { in android_setprocnetwork() 76 errno = -rval; in android_setprocnetwork() 77 rval = -1; in android_setprocnetwork() 79 return rval; in android_setprocnetwork() [all …]
|
/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/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 1190 const char *rval = NULL; in stateString() local 1194 case STATE_IDLE: rval = "IDLE"; break; in stateString() 1195 case STATE_SET_DATASOURCE_PENDING: rval = "SET_DATASOURCE_PENDING"; break; in stateString() 1196 case STATE_UNPREPARED: rval = "UNPREPARED"; break; in stateString() 1197 case STATE_PREPARING: rval = "PREPARING"; break; in stateString() 1198 case STATE_PREPARED: rval = "PREPARED"; break; in stateString() 1199 case STATE_RUNNING: rval = "RUNNING"; break; in stateString() 1200 case STATE_PAUSED: rval = "PAUSED"; break; in stateString() 1201 case STATE_RESET_IN_PROGRESS: rval = "RESET_IN_PROGRESS"; break; in stateString() 1202 case STATE_STOPPED: rval = "STOPPED"; break; in stateString() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 334 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes() 339 assertTrue(logMsg, rval); in testAcceptOnlyServerAndBroadcastModes() 342 assertFalse(logMsg, rval); in testAcceptOnlyServerAndBroadcastModes() 362 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly() 365 assertTrue(logMsg, rval); in testAcceptableStrataOnly() 367 assertFalse(logMsg, rval); in testAcceptableStrataOnly()
|
/frameworks/native/libs/binder/tests/ |
D | binderThroughputTest.cpp | 130 Pipe(Pipe&& rval) noexcept { in Pipe() argument 131 m_readFd = rval.m_readFd; in Pipe() 132 m_writeFd = rval.m_writeFd; in Pipe() 133 rval.m_readFd = 0; in Pipe() 134 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 | 7035 const char *rval = NULL; in apiStateString() local 7040 rval = (mFlags & kFlagStickyError) ? "at Error state" : "at Released state"; in apiStateString() 7042 case INITIALIZING: rval = "while constructing"; break; in apiStateString() 7043 case INITIALIZED: rval = "at Uninitialized state"; break; in apiStateString() 7044 case CONFIGURING: rval = "during configure()"; break; in apiStateString() 7045 case CONFIGURED: rval = "at Configured state"; break; in apiStateString() 7046 case STARTING: rval = "during start()"; break; in apiStateString() 7047 case STARTED: rval = "at Running state"; break; in apiStateString() 7048 case FLUSHING: rval = "during flush()"; break; in apiStateString() 7049 case FLUSHED: rval = "at Flushed state"; break; in apiStateString() [all …]
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 1782 public boolean equals(@Nullable Object rval) { in equals() argument 1784 if (rval == null) { in equals() 1789 other = (PermissionQuery) rval; in equals() 1890 public boolean equals(@Nullable Object rval) { in equals() argument 1891 if (rval == null) { in equals() 1896 other = (PackageNamePermissionQuery) rval; in equals()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 11410 public boolean equals(@Nullable Object rval) { in equals() argument 11411 if (rval == null) { in equals() 11416 other = (ApplicationInfoQuery) rval; in equals() 11512 public boolean equals(@Nullable Object rval) { in equals() argument 11513 if (rval == null) { in equals() 11518 other = (PackageInfoQuery) rval; in equals()
|