Searched defs:available (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java37 * Return number of bytes available before this stream will block.
39 public int available() throws IOException { method in class:BluetoothInputStream
40 return mSocket.available();
H A DBluetoothSocket.java115 * @throws IOException On error, for example Bluetooth not available, or
160 * @throws IOException On error, for example Bluetooth not available, or
293 /*package*/ int available() throws IOException { method in class:BluetoothSocket
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java59 * Return the number of bit still available for reading.
61 public int available() { method in class:BitwiseInputStream
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java74 public synchronized int available() throws IOException { method in class:PrivateInputStream
81 * returned as an int in the range 0 to 255. If no byte is available because
83 * method blocks until input data is available, the end of the stream is
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java184 public int available() throws IOException { method in class:UlawEncoderInputStream
185 return (mIn.available() + mBufCount) / 2;
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java92 public int available() { method in class:Base64InputStream
/frameworks/base/services/java/com/android/server/status/
H A DStorageNotification.java239 void updateUsbMassStorageNotification(boolean available) { argument
241 if (available) {
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java194 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
197 : super.available();
300 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseMemoryFileInputStream
301 return mStream.available();
H A DAssetManager.java551 public final int available() throws IOException { method in class:AssetManager.AssetInputStream
/frameworks/base/core/java/android/os/
H A DMemoryFile.java79 * will be available through this reference.
340 public int available() throws IOException { method in class:MemoryFile.MemoryInputStream
381 count = Math.min(count, available());
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java77 public void onUsbMassStorageConnectionChanged(boolean available) { argument
80 mListeners.get(i).sendShareAvailabilityChanged(available);
117 public boolean available; field in class:StorageManager.UmsConnectionChangedStorageEvent
121 available = a;
157 mStorageEventListener.onUsbMassStorageConnectionChanged(ev.available);
172 void sendShareAvailabilityChanged(boolean available) { argument
173 UmsConnectionChangedStorageEvent e = new UmsConnectionChangedStorageEvent(available);
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothSocket.cpp385 int available; local
391 if (ioctl(s->fd, FIONREAD, &available) < 0) {
396 return available;
/frameworks/base/media/java/android/drm/mobile1/
H A DDrmRawContent.java280 * @see java.io.InputStream#available()
282 public int available() throws IOException { method in class:DrmRawContent.DrmInputStream
289 /* if the length is unknown, just return 0 for available value */
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java52 public int available() throws IOException { method in class:LocalSocketImpl.SocketInputStream
325 * Returns the number of bytes available for reading without blocking.
327 * @return >= 0 count bytes available
330 protected int available() throws IOException method in class:LocalSocketImpl
332 return getInputStream().available();
/frameworks/base/include/private/surfaceflinger/
H A DSharedBufferStack.h42 * Buffers can be dequeued until there are none available, they can be locked
100 volatile int32_t available; // number of dequeue-able buffers member in class:android::SharedBufferStack
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java716 private synchronized void setAvailable(boolean available) { argument
717 mAvailable = available;
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java278 Slog.v(TAG, "Backup requested but no transport available");
749 // Add a transport to our set of available backends. If 'transport' is null, this
1057 // as the set of packages with data [supposedly] available in the
1182 // Get the restore-set token for the best-available restore set for this package:
1183 // the active set if possible, else the ancestral one. Returns zero if none available.
1638 Slog.i(TAG, "No restore data available");
1659 Slog.e(TAG, "No restore metadata available, so not restoring settings");
2204 public void setBackupProvisioned(boolean available) { argument
2211 Settings.Secure.BACKUP_PROVISIONED, available ? 1 : 0);
2212 mProvisioned = available;
[all...]
H A DWifiService.java263 ArrayList<String> available = intent.getStringArrayListExtra(
267 updateTetherState(available, active);
288 private void updateTetherState(ArrayList<String> available, ArrayList<String> tethered) { argument
299 for (String intf : available) {
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java839 * response.obj.result[3] indicates the available radio technology, where:
992 public void reportSmsMemoryStatus(boolean available, Message result) { argument
1139 * Queries the currently available networks
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCommandsInterface.java35 SIM_READY, /* Radio is on and SIM interface is available */
37 RUIM_READY, /* Radio is on and the RUIM interface is available */
40 NV_NOT_READY, /* Radio is on, but the NV interface is not available */
41 NV_READY; /* Radio is on and the NV interface is available */
43 public boolean isOn() /* and available...*/ {
1058 * Queries the currently available networks
1165 * Indicates whether there is storage available for new SMS messages.
1166 * @param available true if storage is available
1169 void reportSmsMemoryStatus(boolean available, Messag argument
[all...]
H A DRIL.java1852 public void reportSmsMemoryStatus(boolean available, Message result) { argument
1855 rr.mp.writeInt(available ? 1 : 0);
1858 + requestToString(rr.mRequest) + ": " + available);
/frameworks/base/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h461 int available; member in struct:tagPixPos

Completed in 53 milliseconds