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

12

/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:__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/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
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/android/content/res/
H A DAssetFileDescriptor.java181 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
184 : super.available();
H A DAssetManager.java553 public final int available() throws IOException { method in class:AssetManager.AssetInputStream
/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/
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.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/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/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/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
/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/java/android/media/
H A DAudioService.java2258 private void onSetRsxConnectionState(int available, int address) { argument
2260 available == 1 ?
2264 available == 1 ?
3412 onSetRsxConnectionState(msg.arg1/*available*/, msg.arg2/*address*/);
H A DMediaRouter.java763 final boolean available = findMatchingDisplay(d, availableDisplays) != null;
765 updateWifiDisplayRoute(route, d, available, newStatus);
793 static RouteInfo makeWifiDisplayRoute(WifiDisplay display, boolean available) { argument
800 newRoute.setStatusCode(available ?
802 newRoute.mEnabled = available;
812 boolean available, WifiDisplayStatus wifiDisplayStatus) {
819 if (available) {
846 changed |= route.mEnabled != available;
847 route.mEnabled = available;
855 if (!available
811 updateWifiDisplayRoute(RouteInfo route, WifiDisplay display, boolean available, WifiDisplayStatus wifiDisplayStatus) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java134 public final int available() { method in class:SerializedFrame.DirectByteInputStream
/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/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/
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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java542 // Quick Settings (where available, some restrictions apply)
1898 public void setHardKeyboardStatus(boolean available, boolean enabled) {} argument

Completed in 4228 milliseconds

12