/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/av/media/libstagefright/ |
H A D | SkipCutBuffer.cpp | 107 size_t available = mCapacity - sizeused - 32; local 108 if (available < num) { 109 int32_t newcapacity = mCapacity + (num - available); 135 int32_t available = (mWriteHead - mReadHead); local 136 if (available < 0) available += mCapacity; 138 available -= mBackPadding; 139 if (available <=0) { 142 if (available < int32_t(num)) { 143 num = available; 164 int32_t available = (mWriteHead - mReadHead); local [all...] |
/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();
|
/frameworks/ex/variablespeed/jni/ |
H A D | sola_time_scaler.cc | 185 // 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...] |
H A D | ring_buffer.h | 75 int available(int reader) const;
|
H A D | sola_time_scaler.h | 121 // Returns the number of available output frames. 123 int available();
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ZenModeController.java | 40 public void onZenAvailableChanged(boolean available) {} argument
|
H A D | FlashlightController.java | 246 private void dispatchAvailabilityChanged(boolean available) { argument 247 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available); 364 private void setCameraAvailable(boolean available) { 367 changed = mCameraAvailable != available; 368 mCameraAvailable = available; 371 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")"); 372 dispatchAvailabilityChanged(available); 391 * @param available true if the flashlight is currently available. 393 void onFlashlightAvailabilityChanged(boolean available); argument [all...] |
/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); 118 public boolean available; field in class:FusionEngine.ProviderStats 125 s.append(available ? "AVAILABLE" : "UNAVAILABLE"); 134 if (stats.available) { 283 stats.available = true; 292 stats.available = false;
|
/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/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 184 public int available() throws IOException { method in class:UlawEncoderInputStream 185 return (mIn.available() + mBufCount) / 2;
|
/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 224 int avail = stream.available(); 236 avail = stream.available();
|
H A D | Base64InputStream.java | 92 public int available() { method in class:Base64InputStream
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 154 int avail = stream.available(); 166 avail = stream.available();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ParserFactory.java | 90 avail = bufferedStream.available(); 103 // available() returned!) 104 while ((avail = bufferedStream.available()) > 0) {
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 179 int avail = stream.available(); 191 avail = stream.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/core/java/android/os/storage/ |
H A D | StorageManager.java | 86 * 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 until the given path is considered 632 * Return the number of available byte [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_inter_prediction.c | 58 u32 available; member in struct:__anon604 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...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 450 int available = w - mPaddingLeft - mPaddingRight; 453 available -= thumbWidth; 456 available += mThumbOffset * 2; 458 final int thumbPos = (int) (scale * available + 0.5f); 470 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos; 634 final int available = width - mPaddingLeft - mPaddingRight; 644 scale = (float)(available - x + mPaddingLeft) / (float)available; 653 scale = (float)(x - mPaddingLeft) / (float)available;
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 243 while (keepParsing && (pduDataStream.available() > 0)) { 847 int startPos = pduDataStream.available(); 875 int endPos = pduDataStream.available(); 1363 int startPos = pduDataStream.available(); 1408 tempPos = pduDataStream.available(); 1432 tempPos = pduDataStream.available(); 1476 tempPos = pduDataStream.available(); 1495 tempPos = pduDataStream.available(); 1543 int startPos = pduDataStream.available(); 1566 int endPos = pduDataStream.available(); [all...] |
/frameworks/opt/telephony/ |
H A D | Android.mk | 15 # enable this build only when platform library is available
|
/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/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();
|