Searched refs:available (Results 1 - 25 of 85) sorted by relevance

1234

/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareMonitorCallback.java40 * @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 DSkipCutBuffer.cpp135 size_t available = mCapacity - sizeused - 32; local
136 if (available < num) {
137 int32_t newcapacity = mCapacity + (num - available);
163 int32_t available = (mWriteHead - mReadHead); local
164 if (available < 0) available += mCapacity;
166 available -= mBackPadding;
167 if (available <=0) {
170 if (available < int32_t(num)) {
171 num = available;
192 int32_t available = (mWriteHead - mReadHead); local
[all...]
/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();
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp63 size_t available = mBuffer.frameCount - mConsumed; local
64 if (CC_UNLIKELY(count > available)) {
65 count = available;
68 // available is zero, but both are unlikely so don't check for that
109 // don't you just want to fall through to the size_t available line?
115 size_t available = mBuffer.frameCount - mConsumed; local
116 if (CC_UNLIKELY(count > available)) {
117 count = available;
/frameworks/base/docs/html/ndk/downloads/
H A Ddownloads_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/docs/html/ndk/samples/
H A Dsamples_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java151 private void dispatchAvailabilityChanged(boolean available) { argument
152 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available);
206 private void setCameraAvailable(boolean available) {
209 changed = mTorchAvailable != available;
210 mTorchAvailable = available;
213 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")");
214 dispatchAvailabilityChanged(available);
247 * @param available true if the flashlight is currently available.
249 void onFlashlightAvailabilityChanged(boolean available); argument
[all...]
H A DZenModeController.java44 public void onZenAvailableChanged(boolean available) {} argument
/frameworks/support/design/src/android/support/design/widget/
H A DHeaderScrollingViewBehavior.java108 final Rect available = mTempRect1;
109 available.set(parent.getPaddingLeft() + lp.leftMargin,
121 available.left += parentInsets.getSystemWindowInsetLeft();
122 available.right -= parentInsets.getSystemWindowInsetRight();
127 child.getMeasuredHeight(), available, out, layoutDirection);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DTestUtil.java92 Context context, ArrayList<String> available, ArrayList<String> active) {
94 intent.putExtra(ConnectivityManager.EXTRA_AVAILABLE_TETHER, available);
91 sendTetherStateChanged(BroadcastReceiver broadcastReceiver, Context context, ArrayList<String> available, ArrayList<String> active) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSoftApManager.java68 public ArrayList<String> available; field in class:SoftApManager.TetherStateChange
72 available = av;
114 ArrayList<String> available = intent.getStringArrayListExtra(
120 new TetherStateChange(available, active));
211 private boolean startTethering(ArrayList<String> available) { argument
214 for (String intf : available) {
355 if (startTethering(stateChange.available)) {
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java60 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/util/
H A DAtomicFile.java224 int avail = stream.available();
236 avail = stream.available();
H A DBase64InputStream.java92 public int available() { method in class:Base64InputStream
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java154 int avail = stream.available();
166 avail = stream.available();
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java179 int avail = stream.available();
191 avail = stream.available();
/frameworks/base/core/java/android/view/
H A DWindowManagerInternal.java128 public void onHardKeyboardStatusChange(boolean available); argument
271 * Returns true when the hardware keyboard is 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/docs/html/ndk/reference/
H A Dreference_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java333 public int available() throws IOException { method in class:StrictJarFile.JarFileInputStream
337 return super.available();
375 @Override public int available() throws IOException { method in class:StrictJarFile.ZipInflaterInputStream
382 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead);
412 @Override public int available() throws IOException { method in class:StrictJarFile.RAFStream
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c58 u32 available; member in struct:__anon647
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/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java243 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java116 avail = bufferedStream.available();
129 // available() returned!)
130 while ((avail = bufferedStream.available()) > 0) {
/frameworks/opt/telephony/
H A DAndroid.mk15 # enable this build only when platform library is available
/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

Completed in 1536 milliseconds

1234