Searched refs:available (Results 26 - 50 of 78) sorted by relevance

1234

/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
H A DServerOperation.java213 if (mPrivateInput.available() > 0) {
220 while ((!mGetOperation) && (!finalBitSet) && (mPrivateInput.available() == 0)) {
222 if (mPrivateInput.available() > 0) {
646 throw new IOException("no more input streams available, stream already opened");
650 throw new IOException("no output streams available ,request not finished");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java84 public void setHardKeyboardStatus(boolean available, boolean enabled) { argument
/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/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/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java68 // Test multible byte write and available()
72 assertEquals(4, ls.getInputStream().available());
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java51 int length = bufferedStream.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/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/media/java/android/media/
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/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java1037 if (inStream.available() < wantedBits) {
1039 " bits, but only have " + inStream.available() + ")");
1159 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1166 while (inStream.available() >= 6) {
1202 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1225 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding.
1642 if (inStream.available() < 13) {
1644 + inStream.available() + " bits available");
1651 if (inStream.available() < paramBit
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java230 // Socket timeout functionality is not available yet
441 log("Reading one line: started ="+readStarted+" avail="+is.available());
442 while ((!readStarted) || (is.available() > 0)) {
480 while (is.available() > 0) {
/frameworks/base/core/java/android/provider/
H A DDrmStore.java143 DrmRawContent content = new DrmRawContent(fis, (int) fis.available(),
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceResponse.java265 while (dis.available() > 0) {
H A DWifiP2pServiceResponse.java80 /** the service protocol type is not available */
83 /** the requested information is not available */
215 while (dis.available() > 0) {
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.cc61 int RingBuffer::available(int reader) const { function in class:video_editing::RingBuffer
/frameworks/compile/libbcc/runtime/make/platform/
H A Ddarwin_fat.mk34 # See make/options.mk for the available options and their meanings. Options can
/frameworks/compile/libbcc/runtime/make/
H A Dsubdir.mk5 # ObjNames - The objects available in that directory.
/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/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodsPanel.java318 public void setHardKeyboardStatus(boolean available, boolean enabled) { argument
319 if (mHardKeyboardAvailable != available || mHardKeyboardEnabled != enabled) {
320 mHardKeyboardAvailable = available;
/frameworks/base/core/java/android/bluetooth/
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/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java258 void updateUsbMassStorageNotification(boolean available) { argument
260 if (available) {
/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/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsHeader.java117 while (inStream.available() > 0) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java134 public final int available() { method in class:SerializedFrame.DirectByteInputStream

Completed in 1722 milliseconds

1234