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

12

/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.java146 * @throws IOException On error, for example Bluetooth not available, or
212 * @throws IOException On error, for example Bluetooth not available, or
405 /*package*/ int available() throws IOException { method in class:BluetoothSocket
406 if (VDBG) Log.d(TAG, "available: " + mSocketIS);
407 return mSocketIS.available();
/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/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp65 size_t available = mBuffer.frameCount - mConsumed; local
66 if (CC_UNLIKELY(count > available)) {
67 count = available;
70 // available is zero, but both are unlikely so don't check for that
112 // don't you just want to fall through to the size_t available line?
118 size_t available = mBuffer.frameCount - mConsumed; local
119 if (CC_UNLIKELY(count > available)) {
120 count = available;
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp106 size_t available = mCapacity - sizeused - 32; local
107 if (available < num) {
108 int32_t newcapacity = mCapacity + (num - available);
134 int32_t available = (mWriteHead - mReadHead); local
135 if (available < 0) available += mCapacity;
137 available -= mBackPadding;
138 if (available <=0) {
141 if (available < int32_t(num)) {
142 num = available;
163 int32_t available = (mWriteHead - mReadHead); local
[all...]
/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/ex/variablespeed/jni/
H A Dring_buffer.cc61 int RingBuffer::available(int reader) const { function in class:video_editing::RingBuffer
H A Dsola_time_scaler.cc185 // Returns the number of available output frames.
186 int SolaTimeScaler::available() { function in class:video_editing::SolaTimeScaler
189 int available = output_buffer_->available(kOutputConsumer); local
190 if (available > min_output_to_hold_) {
191 available -= min_output_to_hold_;
194 available = output_buffer_->available(kOutputConsumer);
195 if (available > min_output_to_hold_) {
196 available
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodButton.java165 public void setHardKeyboardStatus(boolean available) { argument
166 if (mHardKeyboardAvailable != available) {
167 mHardKeyboardAvailable = available;
H A DInputMethodsPanel.java318 public void setHardKeyboardStatus(boolean available, boolean enabled) { argument
319 if (mHardKeyboardAvailable != available || mHardKeyboardEnabled != enabled) {
320 mHardKeyboardAvailable = available;
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java258 void updateUsbMassStorageNotification(boolean available) { argument
260 if (available) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c58 u32 available; member in struct:__anon817
516 (!a[0].available || !a[1].available ||
526 if (!a[2].available)
601 if (!a[2].available)
639 a[1].available = HANTRO_TRUE;
643 /* c is not available */
708 if (!a[2].available)
742 if (!a[2].available)
750 a[0].available
[all...]
H A Dh264bsd_intra_prediction.c190 u32 available, neighbour_t *nA, neighbour_t *nB, u32 index,
1089 /* neither A nor B available */
1188 /* neither A nor B available */
1882 u32 available, neighbour_t *nA, neighbour_t *nB, u32 index,
1896 if (!available)
1881 DetermineIntra4x4PredMode(macroblockLayer_t *pMbLayer, u32 available, neighbour_t *nA, neighbour_t *nB, u32 index, mbStorage_t *nMbA, mbStorage_t *nMbB) argument
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java181 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
184 : super.available();
/frameworks/base/core/java/android/os/
H A DMemoryFile.java263 public int available() throws IOException { method in class:MemoryFile.MemoryInputStream
304 count = Math.min(count, 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/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java134 public final int available() { method in class:SerializedFrame.DirectByteInputStream
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS);
77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK);
118 public boolean available; field in class:FusionEngine.ProviderStats
125 s.append(available ? "AVAILABLE" : "UNAVAILABLE");
277 stats.available = true;
286 stats.available = false;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java84 public void setHardKeyboardStatus(boolean available, boolean enabled) { argument
/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/core/java/android/os/storage/
H A DStorageManager.java83 * Next available nonce
88 public void onUsbMassStorageConnectionChanged(boolean available) { argument
91 mListeners.get(i).sendShareAvailabilityChanged(available);
228 public boolean available; field in class:StorageManager.UmsConnectionChangedStorageEvent
232 available = a;
268 mStorageEventListener.onUsbMassStorageConnectionChanged(ev.available);
283 void sendShareAvailabilityChanged(boolean available) { argument
284 UmsConnectionChangedStorageEvent e = new UmsConnectionChangedStorageEvent(available);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java94 public void setHardKeyboardStatus(boolean available, boolean enabled); argument
199 public void setHardKeyboardStatus(boolean available, boolean enabled) { argument
203 available ? 1 : 0, enabled ? 1 : 0).sendToTarget();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java161 log("scan results are available");
178 ArrayList<String> available = intent.getStringArrayListExtra(
184 updateTetherState(available.toArray(), active.toArray(), errored.toArray());
310 log("notify that scan results are available");
331 private void updateTetherState(Object[] available, Object[] tethered, Object[] errored) { argument
622 // wait for the scan results to be available
624 // wait for the scan result to be available

Completed in 172 milliseconds

12