Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 96) sorted by relevance

1234

/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java28 int available; field in SimpleCharStream
97 available = bufsize; in ExpandBuff()
103 if (maxNextCharInd == available) in FillBuff()
105 if (available == bufsize) in FillBuff()
110 available = tokenBegin; in FillBuff()
117 else if (available > tokenBegin) in FillBuff()
118 available = bufsize; in FillBuff()
119 else if ((tokenBegin - available) < 2048) in FillBuff()
122 available = tokenBegin; in FillBuff()
128 available - maxNextCharInd)) == -1) in FillBuff()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java265 while (keepParsing && (pduDataStream.available() > 0)) { in parseHeaders()
878 int startPos = pduDataStream.available(); in parseParts()
906 int endPos = pduDataStream.available(); in parseParts()
1397 int startPos = pduDataStream.available(); in parseContentTypeParams()
1442 tempPos = pduDataStream.available(); in parseContentTypeParams()
1466 tempPos = pduDataStream.available(); in parseContentTypeParams()
1510 tempPos = pduDataStream.available(); in parseContentTypeParams()
1529 tempPos = pduDataStream.available(); in parseContentTypeParams()
1577 int startPos = pduDataStream.available(); in parseContentType()
1600 int endPos = pduDataStream.available(); in parseContentType()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java240 while (keepParsing && (pduDataStream.available() > 0)) { in parseHeaders()
844 int startPos = pduDataStream.available(); in parseParts()
872 int endPos = pduDataStream.available(); in parseParts()
1360 int startPos = pduDataStream.available(); in parseContentTypeParams()
1405 tempPos = pduDataStream.available(); in parseContentTypeParams()
1429 tempPos = pduDataStream.available(); in parseContentTypeParams()
1473 tempPos = pduDataStream.available(); in parseContentTypeParams()
1492 tempPos = pduDataStream.available(); in parseContentTypeParams()
1540 int startPos = pduDataStream.available(); in parseContentType()
1563 int endPos = pduDataStream.available(); in parseContentType()
[all …]
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java239 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
245 updateState(available.toArray(new String[available.size()]), in onReceive()
345 String[] available = cm.getTetherableIfaces(); in updateState() local
348 updateState(available, tethered, errored); in updateState()
351 private void updateState(String[] available, String[] tethered, in updateState() argument
353 updateUsbState(available, tethered, errored); in updateState()
354 updateBluetoothState(available, tethered, errored); in updateState()
358 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
364 for (String s : available) { in updateUsbState()
413 private void updateBluetoothState(String[] available, String[] tethered, in updateBluetoothState() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java595 boolean available = !occupied[x][y]; in findVacantCell()
598 available = available && !occupied[i][j]; in findVacantCell()
599 if (!available) break out; in findVacantCell()
603 if (available) { in findVacantCell()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DManageCacheDrawer.java73 boolean available = isLocal(entry.sourceType) || chooseToCache; in renderSlot()
77 if (!available) { in renderSlot()
82 if (!available) canvas.restore(); in renderSlot()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApEnabler.java60 ArrayList<String> available = intent.getStringArrayListExtra(
66 updateTetherState(available.toArray(), active.toArray(), errored.toArray());
127 private void updateTetherState(Object[] available, Object[] tethered, Object[] errored) { in updateTetherState() argument
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java216 final ArrayList<String> available = mVoiceDataDetails.getStringArrayListExtra( in updateVoiceDetails() local
227 if (available == null){ in updateVoiceDetails()
232 updateDefaultLocalePref(available); in updateVoiceDetails()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DProxyInputStream.java93 public int available() throws IOException { in available() method in ProxyInputStream
94 return in.available(); in available()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DPartialInputStream.java35 public int available() throws IOException { in available() method in PartialInputStream
36 return Math.min(super.available(), getBytesLeft()); in available()
DPositionInputStream.java40 public int available() throws IOException { in available() method in PositionInputStream
41 return inputStream.available(); in available()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DCloseShieldInputStream.java58 public int available() throws IOException { in available() method in CloseShieldInputStream
60 return is.available(); in available()
/packages/services/Telephony/src/org/apache/james/mime4j/
DCloseShieldInputStream.java58 public int available() throws IOException { in available() method in CloseShieldInputStream
60 return is.available(); in available()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DAccessibilityActivity.java329 final ArrayList<String> available = mVoiceCheckData.getStringArrayListExtra( in get() local
331 if (available != null) { in get()
332 final Map<String, Locale> langMap = new ArrayMap<>(available.size()); in get()
333 for (final String lang : available) { in get()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DCachedInputStream.java205 public int available() throws IOException { in available() method in CachedInputStream
209 return mCount - mPos + in.available(); in available()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java504 updateStatus("Got data bytes " + is.available() + " name " in onPut()
512 while (is.available() > 0 && (len = is.read(b)) > 0) { in onPut()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java167 while (pdu.available() > 0) { in cdmaGetParameterOffset()
201 while (pdu.available() > 0) { in cdmaGetSubParameterOffset()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java763 public void updateShortcutKey(final boolean available) { in updateShortcutKey() argument
772 shortcutKey.setEnabled(available); in updateShortcutKey()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DRenderingRequestCaller.java20 public void available(RenderingRequest request); in available() method
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DBitmapCaller.java22 public void available(Bitmap bmap); in available() method

1234