Searched refs:available (Results 1 - 25 of 80) sorted by path

1234

/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/av/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h461 int available; member in struct:tagPixPos
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c58 u32 available; member in struct:__anon833
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/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp60 virtual int Length(long long* total, long long* available) { argument
64 *available = (long long)((1ull << 63) - 1);
73 if (available) {
74 *available = size;
/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
213 * @throws IOException On error, for example Bluetooth not available, or
407 /*package*/ int available() throws IOException { method in class:BluetoothSocket
408 if (VDBG) Log.d(TAG, "available: " + mSocketIS);
409 return mSocketIS.available();
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java181 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
184 : super.available();
H A DAssetManager.java554 public final int available() throws IOException { method in class:AssetManager.AssetInputStream
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardware.java64 * available for monitoring geofences.
168 * <p> Some supported hardware monitoring systems might not be available
453 public void onMonitoringSystemChange(int monitoringType, boolean available, argument
456 if (c != null) c.onMonitoringSystemChange(monitoringType, available, location);
H A DGeofenceHardwareImpl.java133 //Check which monitors are available.
143 // Its assumed currently available at startup.
399 boolean available = false;
400 if (status == GeofenceHardware.GPS_GEOFENCE_AVAILABLE) available = true;
402 int val = (available ? GeofenceHardware.MONITOR_CURRENTLY_AVAILABLE :
577 boolean available;
578 available = (val == GeofenceHardware.MONITOR_CURRENTLY_AVAILABLE ?
582 if (DEBUG) Log.d(TAG, "MonitoringSystemChangeCallback: GPS : " + available);
587 GeofenceHardware.MONITORING_TYPE_GPS_HARDWARE, available,
H A DGeofenceHardwareMonitorCallback.java32 * @param available Indicates whether the system is currenty available or not.
35 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { argument
H A DIGeofenceHardwareMonitorCallback.aidl23 void onMonitoringSystemChange(int monitoringType, boolean available, in Location location);
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java52 public int available() throws IOException { method in class:LocalSocketImpl.SocketInputStream
345 * Returns the number of bytes available for reading without blocking.
347 * @return >= 0 count bytes available
350 protected int available() throws IOException method in class:LocalSocketImpl
352 return getInputStream().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/core/java/android/os/storage/
H A DStorageManager.java86 * Next available nonce
91 public void onUsbMassStorageConnectionChanged(boolean available) { argument
94 mListeners.get(i).sendShareAvailabilityChanged(available);
231 public boolean available; field in class:StorageManager.UmsConnectionChangedStorageEvent
235 available = a;
271 mStorageEventListener.onUsbMassStorageConnectionChanged(ev.available);
286 void sendShareAvailabilityChanged(boolean available) { argument
287 UmsConnectionChangedStorageEvent e = new UmsConnectionChangedStorageEvent(available);
622 * Return the number of available bytes at which the given path is
639 * Return the number of available byte
[all...]
/frameworks/base/core/java/android/provider/
H A DDrmStore.java143 DrmRawContent content = new DrmRawContent(fis, (int) fis.available(),
/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 DAtomicFile.java210 int avail = stream.available();
222 avail = stream.available();
H A DBase64InputStream.java92 public int available() { method in class:Base64InputStream
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java669 size = stream.available();
690 size = stream.available();
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java287 int available = w - mPaddingLeft - mPaddingRight;
290 available -= thumbWidth;
293 available += mThumbOffset * 2;
295 int thumbPos = (int) (scale * available);
308 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos;
425 final int available = width - mPaddingLeft - mPaddingRight;
435 scale = (float)(available - x + mPaddingLeft) / (float)available;
444 scale = (float)(x - mPaddingLeft) / (float)available;
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java145 int avail = stream.available();
157 avail = stream.available();
H A DBatteryStatsImpl.java5110 int avail = stream.available();
5122 avail = stream.available();

Completed in 473 milliseconds

1234