/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareMonitorCallback.java | 40 * @param available Indicates whether the system is currently available or not. 44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 37 * 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 D | BluetoothSocket.java | 160 * @throws IOException On error, for example Bluetooth not available, or 179 * @throws IOException On error, for example Bluetooth not available, or 260 * @throws IOException On error, for example Bluetooth not available, or 471 /*package*/ int available() throws IOException { method in class:BluetoothSocket 472 if (VDBG) Log.d(TAG, "available: " + mSocketIS); 473 return mSocketIS.available();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 59 * Return the number of bit still available for reading. 61 public int available() { method in class:BitwiseInputStream
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 74 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 D | AudioBufferProviderSource.cpp | 65 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 D | SkipCutBuffer.cpp | 114 size_t available = mCapacity - sizeused - 32; local 115 if (available < num) { 116 int32_t newcapacity = mCapacity + (num - available); 142 int32_t available = (mWriteHead - mReadHead); local 143 if (available < 0) available += mCapacity; 145 available -= mBackPadding; 146 if (available <=0) { 149 if (available < int32_t(num)) { 150 num = available; 171 int32_t available = (mWriteHead - mReadHead); local [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64InputStream.java | 92 public int available() { method in class:Base64InputStream
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | FlashlightTile.java | 119 public void onFlashlightAvailabilityChanged(boolean available) { argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplay.java | 60 boolean available, boolean canConnect, boolean remembered) { 71 mIsAvailable = available; 93 * The alias should be used in the UI whenever available. It is the value 102 * Returns true if device is available, false otherwise. 124 * Uses the device alias if available, otherwise uses the device name. 59 WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, boolean available, boolean canConnect, boolean remembered) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ZenModeController.java | 45 public void onZenAvailableChanged(boolean available) {} argument
|
H A D | FlashlightController.java | 147 private void dispatchAvailabilityChanged(boolean available) { argument 148 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available); 202 private void setCameraAvailable(boolean available) { 205 changed = mTorchAvailable != available; 206 mTorchAvailable = available; 209 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")"); 210 dispatchAvailabilityChanged(available); 243 * @param available true if the flashlight is currently available. 245 void onFlashlightAvailabilityChanged(boolean available); argument [all...] |
H A D | ZenModeControllerImpl.java | 195 private void fireZenAvailableChanged(boolean available) { argument 197 cb.onZenAvailableChanged(available);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_inter_prediction.c | 58 u32 available; member in struct:__anon622 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 D | h264bsd_intra_prediction.c | 190 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 D | AssetFileDescriptor.java | 211 public int available() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 214 : super.available();
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 268 public int available() throws IOException { method in class:MemoryFile.MemoryInputStream 309 count = Math.min(count, available());
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_PerfMeasurement.cpp | 131 * Start a measurement period using the next available query object. 133 * and BAD_VALUE if no more query objects are available. 179 * Get the next available duration measurement. 181 * Returns NO_DURATION_YET if no new measurement is available, 194 GLint available; local 196 GL_QUERY_RESULT_AVAILABLE_EXT, &available); 197 if (!available) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 130 public final int available() { method in class:SerializedFrame.DirectByteInputStream
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS); 77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK); 122 public boolean available; field in class:FusionEngine.ProviderStats 129 s.append(available ? "AVAILABLE" : "UNAVAILABLE"); 285 stats.available = true; 294 stats.available = false;
|
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 44 off64_t available = (offset >= (off64_t)mSize) ? 0ll : mSize - offset; local 46 size_t copy = (available > (off64_t)size) ? size : available;
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 58 public int available() throws IOException { method in class:LocalSocketImpl.SocketInputStream 378 * Returns the number of bytes available for reading without blocking. 380 * @return >= 0 count bytes available 383 protected int available() throws IOException method in class:LocalSocketImpl 385 return getInputStream().available();
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 853 int available = outputDelayRingBufferSamplesAvailable(); local 855 if (numSamples > available) { 856 numSamples = available; 859 if (available) { 864 ALOGV("%d samples available (%d), or %d frames", 865 numSamples, available, numFrames); 894 // buffer with as many units as available. 904 ALOGE("not a complete frame of samples available"); 987 ALOGW("not a complete frame of samples available");
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 61 virtual int Length(long long* total, long long* available) { argument 65 *available = (long long)((1ull << 63) - 1); 74 if (available) { 75 *available = size;
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 279 // check if channel for given sampleID still available 531 size_t available = heap->getSize(); local 572 if (dataSize > available) { 573 dataSize = available; 578 available -= dataSize; 580 if (available == 0) {
|