HomeSort by relevance Sort by last modified time
    Searched refs:ErrnoException (Results 26 - 50 of 185) sorted by null

12 3 4 5 6 7 8

  /cts/tests/tests/os/src/android/os/cts/
AbiTest.java 20 import android.system.ErrnoException;
82 if (cause instanceof ErrnoException) {
84 if (((ErrnoException) cause).errno != OsConstants.EACCES) {
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageUtils.java 20 import android.system.ErrnoException;
64 } catch (ErrnoException ignored) {
80 public ConcreteFile(File file) throws ErrnoException {
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
Hoarder.java 23 import android.system.ErrnoException;
78 } catch (ErrnoException e) {
94 } catch (ErrnoException ignored) {
113 } catch (ErrnoException e) {
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageUtil.java 22 import android.system.ErrnoException;
48 } catch (ErrnoException e) {
60 } catch (ErrnoException e) {
110 } catch (ErrnoException e) {
  /frameworks/base/core/java/android/net/
LocalSocketImpl.java 19 import android.system.ErrnoException;
68 } catch (ErrnoException e) {
175 } catch (ErrnoException e) {
259 } catch (ErrnoException e) {
277 } catch (ErrnoException e) {
318 } catch (ErrnoException e) {
338 } catch (ErrnoException e) {
409 } catch (ErrnoException e) {
427 } catch (ErrnoException e) {
484 } catch (ErrnoException e)
    [all...]
  /frameworks/base/core/java/android/os/
SharedMemory.java 21 import android.system.ErrnoException;
78 * @throws ErrnoException if the requested allocation fails.
81 throws ErrnoException {
179 * @throws ErrnoException if the mmap call failed.
181 public @NonNull ByteBuffer mapReadWrite() throws ErrnoException {
193 * @throws ErrnoException if the mmap call failed.
195 public @NonNull ByteBuffer mapReadOnly() throws ErrnoException {
211 * @throws ErrnoException if the mmap call failed.
213 public @NonNull ByteBuffer map(int prot, int offset, int length) throws ErrnoException {
303 } catch (ErrnoException e) { /* swallow error */
    [all...]
ParcelFileDescriptor.java 39 import android.system.ErrnoException;
312 } catch (ErrnoException e) {
327 } catch (ErrnoException e) {
363 } catch (ErrnoException e) {
427 } catch (ErrnoException e) {
449 } catch (ErrnoException e) {
473 } catch (ErrnoException e) {
503 } catch (ErrnoException e) {
519 } catch (ErrnoException e) {
594 } catch (ErrnoException e)
    [all...]
FileBridge.java 22 import android.system.ErrnoException;
71 } catch (ErrnoException e) {
129 } catch (ErrnoException | IOException e) {
  /libcore/ojluni/src/main/java/java/io/
FileDescriptor.java 28 import android.system.ErrnoException;
175 } catch (ErrnoException e) {
  /cts/tests/tests/net/src/android/net/ipv6/cts/
PingTest.java 22 import android.system.ErrnoException;
89 private FileDescriptor createPingSocket() throws ErrnoException {
99 InetAddress address, byte[] packet) throws ErrnoException, IOException {
112 byte[] sent, boolean useRecvfrom) throws ErrnoException, IOException {
155 public void testLoopbackPing() throws ErrnoException, IOException {
  /frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
AppFusePerfTest.java 25 import android.system.ErrnoException;
104 public long onGetSize() throws ErrnoException {
109 public int onRead(long offset, int size, byte[] data) throws ErrnoException {
114 public int onWrite(long offset, int size, byte[] data) throws ErrnoException {
119 public void onFsync() throws ErrnoException {}
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 33 import android.system.ErrnoException;
292 ErrnoException onGetSizeError = null;
293 ErrnoException onReadError = null;
294 ErrnoException onWriteError = null;
295 ErrnoException onFsyncError = null;
306 public int onWrite(long offset, int size, byte[] data) throws ErrnoException {
317 public int onRead(long offset, int size, byte[] data) throws ErrnoException {
329 public long onGetSize() throws ErrnoException {
337 public void onFsync() throws ErrnoException {
380 } catch (ErrnoException exp)
    [all...]
  /libcore/ojluni/src/main/java/java/net/
PlainSocketImpl.java 28 import android.system.ErrnoException;
176 } catch (ErrnoException errnoException) {
177 throw errnoException.rethrowAsSocketException();
201 } catch (ErrnoException errnoException) {
202 if (errnoException.errno == EAGAIN) {
203 throw new SocketTimeoutException(errnoException);
204 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF)
    [all...]
Inet6AddressImpl.java 27 import android.system.ErrnoException;
149 if (gaiException.getCause() instanceof ErrnoException) {
150 if (((ErrnoException) gaiException.getCause()).errno == EACCES) {
235 return cause instanceof ErrnoException
236 && ((ErrnoException) cause).errno == ECONNREFUSED;
296 } catch (ErrnoException e) { }
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
PingReflector.java 19 import android.system.ErrnoException;
93 } catch (ErrnoException | IOException e) {
101 } catch (ErrnoException | IOException e) {
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpFileWriter.java 22 import android.system.ErrnoException;
52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException {
65 throws IOException, ErrnoException {
  /libcore/luni/src/main/java/libcore/io/
IoBridge.java 19 import android.system.ErrnoException;
71 } catch (ErrnoException errnoException) {
72 if (errnoException.errno == ENOTTY) {
76 throw errnoException.rethrowAsIOException();
100 } catch (ErrnoException errnoException) {
101 if (errnoException.errno == EADDRINUSE || errnoException.errno == EADDRNOTAVAIL ||
102 errnoException.errno == EPERM || errnoException.errno == EACCES)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
WrapperInit.java 21 import android.system.ErrnoException;
192 } catch (ErrnoException e) {
205 } catch (ErrnoException e) {
218 } catch (ErrnoException ex) {
FuseAppLoop.java 25 import android.system.ErrnoException;
247 throw new ErrnoException("onCommand", OsConstants.EBADF);
262 throw new ErrnoException("onOpen", OsConstants.EMFILE);
269 } catch (ErrnoException error) {
277 if (error instanceof ErrnoException) {
278 final int errno = ((ErrnoException) error).errno;
287 private CallbackEntry getCallbackEntryOrThrowLocked(long inode) throws ErrnoException {
290 throw new ErrnoException("getCallbackEntryOrThrowLocked", OsConstants.ENOENT);
ZygoteServer.java 24 import android.system.ErrnoException;
151 } catch (ErrnoException ex) {
189 } catch (ErrnoException ex) {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AlwaysOnVpnMultiStageTest.java 23 import android.system.ErrnoException;
61 } catch (ErrnoException e) {
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
RemoteSocketFactoryClient.java 27 import android.system.ErrnoException;
84 throws RemoteException, ErrnoException, IOException {
PacketReflector.java 19 import android.system.ErrnoException;
178 } catch (ErrnoException|IOException e) {
187 } catch (ErrnoException|IOException e) {
  /frameworks/support/compat/src/main/java/androidx/core/graphics/
TypefaceCompatApi21Impl.java 26 import android.system.ErrnoException;
58 } catch (ErrnoException e) {
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 28 import android.system.ErrnoException;
228 } catch (ErrnoException expected) {
284 } catch (ErrnoException e) {
291 } catch (ErrnoException e2) {
305 } catch (ErrnoException e) {

Completed in 756 milliseconds

12 3 4 5 6 7 8