HomeSort by relevance Sort by last modified time
    Searched refs:open (Results 801 - 825 of 4686) sorted by null

<<31323334353637383940>>

  /frameworks/base/core/java/android/net/http/
AndroidHttpClientConnection.java 2 * Copyright (C) 2008 The Android Open Source Project
80 private volatile boolean open; field in class:AndroidHttpClientConnection
128 this.open = true;
146 if (this.open) {
147 throw new IllegalStateException("Connection is already open");
152 if (!this.open) {
153 throw new IllegalStateException("Connection is not open");
159 return (this.open && this.socket != null && this.socket.isConnected());
220 this.open = false;
228 if (!this.open) {
    [all...]
  /frameworks/base/core/jni/
android_server_Watchdog.cpp 2 ** Copyright 2010, The Android Open Source Project
35 int stackFd = open(buf, O_RDONLY);
51 ALOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno));
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT,
70 ALOGE("Unable to open stack dump file: %d (%s)", errno, strerror(errno));
  /frameworks/base/nfc-extras/java/com/android/nfc_extras/
NfcExecutionEnvironment.java 2 * Copyright (C) 2011 The Android Open Source Project
128 * Open the NFC Execution Environment on its contact interface.
137 * <li>Only one process may open the secure element at a time. Additionally,
153 * <p>All other NFC functionality is disabled while the NFC-EE is open
159 * @throws EeAlreadyOpenException if the NFC-EE is already open
166 public void open() throws EeIOException { method in class:NfcExecutionEnvironment
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken);
182 * @throws IOException if the NFC-EE is already open, or some other error occurs
199 * @throws IOException if the NFC-EE is not open, or some other error occurs
207 throw new IOException("NFC Service was dead, need to re-open");
    [all...]
  /hardware/invensense/60xx/libsensors/
SensorBase.cpp 2 * Copyright (C) 2008 The Android Open Source Project
55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
110 fd = open(devname, O_RDONLY);
  /hardware/invensense/60xx/libsensors_iio/
SensorBase.cpp 55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
108 fd = open(devname, O_RDONLY);
109 LOGV_IF(EXTRA_VERBOSE, "path open %s", devname);
110 LOGI("path open %s", devname);
  /hardware/libhardware/modules/nfc-nci/
nfc_nci_example.c 2 * Copyright (C) 2012 The Android Open Source Project
88 dev->open = hal_open;
106 .open = nfc_open,
116 .author = "The Android Open Source Project",
  /hardware/qcom/bt/libbt-vendor/src/
userial_vendor.c 2 * Copyright 2012 The Android Open Source Project
91 fd = open(s_pszDevSmd[chId], (O_RDWR | O_NOCTTY));
94 ALOGE("init_transport: Cannot open %s: %s\n. Retry after 2 seconds",
97 fd = open(bt_hci_transport_device.name, (O_RDWR | O_NOCTTY));
103 ALOGE("init_transport: Cannot open %s: %s\n",
109 opened internally. Currently successful return from open doesn't
112 opened immediately on return from the aforementioned open call */
  /libcore/luni/src/main/java/java/io/
FileInputStream.java 78 this.fd = IoBridge.open(file.getAbsolutePath(), O_RDONLY);
80 guard.open("close");
97 // Note that we do not call guard.open here because the
FileOutputStream.java 88 this.fd = IoBridge.open(file.getAbsolutePath(), mode);
90 this.guard.open("close");
106 // Note that we do not call guard.open here because the
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 39 this.serverChannel = ServerSocketChannel.open();
40 this.clientChannel = SocketChannel.open();
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_pickle.py 36 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
38 self.db.open(self.db_name, db.DB_HASH, db.DB_CREATE)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_tool.py 50 with open(infile, "w") as fp:
66 with open(outfile, "r") as fp:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
grammar.py 89 f = open(filename, "wb")
95 f = open(filename, "rb")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_applesingle.py 27 fp = open(test_support.TESTFN, 'w')
45 fp = open(TESTFN2, 'rb')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_pickle.py 36 self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
38 self.db.open(self.db_name, db.DB_HASH, db.DB_CREATE)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_tool.py 50 with open(infile, "w") as fp:
66 with open(outfile, "r") as fp:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
grammar.py 89 f = open(filename, "wb")
95 f = open(filename, "rb")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_applesingle.py 27 fp = open(test_support.TESTFN, 'w')
45 fp = open(TESTFN2, 'rb')
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ExportScreenshotAction.java 2 * Copyright (C) 2012 The Android Open Source Project
52 String path = dialog.open();
67 int result = d.open();
  /system/core/libsparse/
img2simg.c 2 * Copyright (C) 2012 The Android Open Source Project
73 in = open(argv[1], O_RDONLY | O_BINARY);
75 fprintf(stderr, "Cannot open input file %s\n", argv[1]);
83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
85 fprintf(stderr, "Cannot open output file %s\n", argv[2]);
simg2simg.c 2 * Copyright (C) 2012 The Android Open Source Project
61 in = open(argv[1], O_RDONLY | O_BINARY);
63 fprintf(stderr, "Cannot open input file %s\n", argv[1]);
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
100 fprintf(stderr, "Cannot open output file %s\n", argv[2]);
  /system/core/toolbox/
cmp.c 50 fd1 = open(argv[optind], O_RDONLY);
52 fprintf(stderr, "could not open %s, %s\n", argv[optind], strerror(errno));
56 fd2 = open(argv[optind+1], O_RDONLY);
58 fprintf(stderr, "could not open %s, %s\n", argv[optind+1], strerror(errno));
  /external/chromium_org/content/test/data/indexeddb/
version_change_crash.js 26 var openreq = window.indexedDB.open('version-change-crash', 1);
43 var openreq = window.indexedDB.open('version-change-crash', 2);
66 var openreq = window.indexedDB.open('version-change-crash');
  /external/chromium_org/native_client_sdk/src/build_tools/
nacl-mono-buildbot.py 48 manifest_file = open(SDK_MANIFEST, 'r')
73 manifest_file = open(MONO_MANIFEST, 'r')
102 manifest_file = open(MONO_MANIFEST, 'w')
115 manifest_file = open(MONO_MANIFEST, 'r')
128 f = open(info['naclmono_name'] + '.bz2', 'rb')
154 manifest_file = open(MONO_MANIFEST, 'w')
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/
httpd.pm 177 open (PIDFILE, $httpdPidFile);
206 $httpdPid = <PIDFILE> if open(PIDFILE, $httpdPidFile);
280 opendir(TMPDIR, $tmpDir) or die "Could not open " . $tmpDir . ".";
308 my $currentLockPid = <SCHEDULER_LOCK> if (-f $currentLockFile && open(SCHEDULER_LOCK, "<$currentLockFile"));
313 $currentLockPid = <SCHEDULER_LOCK> if open(SCHEDULER_LOCK, "<$currentLockFile");
330 while (!(open(SEQUENTIAL_GUARD_LOCK, ">$exclusiveLockFile") && flock(SEQUENTIAL_GUARD_LOCK, LOCK_EX|LOCK_NB))) {}
332 open(SCHEDULER_LOCK, ">$myLockFile");

Completed in 668 milliseconds

<<31323334353637383940>>