Home
last modified time | relevance | path

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

1234567

/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DTemperatureController.java71 final boolean available = value.getStatus() == CarPropertyValue.STATUS_AVAILABLE;
72 mPassengerTempBarExpanded.setAvailable(available);
73 mPassengerTempBarCollapsed.setAvailable(available);
74 if (available) {
83 final boolean available = value.getStatus() == CarPropertyValue.STATUS_AVAILABLE;
84 mDriverTempBarExpanded.setAvailable(available);
85 mDriverTempBarCollapsed.setAvailable(available);
86 if (available) {
/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/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/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java421 assertTrue(commonIgnitionMonitors.components.available); in testIgnitionMonitors()
423 assertTrue(commonIgnitionMonitors.fuelSystem.available); in testIgnitionMonitors()
425 assertFalse(commonIgnitionMonitors.misfire.available); in testIgnitionMonitors()
433 assertTrue(sparkIgnitionMonitors.EGR.available); in testIgnitionMonitors()
435 assertFalse(sparkIgnitionMonitors.oxygenSensorHeater.available); in testIgnitionMonitors()
437 assertTrue(sparkIgnitionMonitors.oxygenSensor.available); in testIgnitionMonitors()
439 assertFalse(sparkIgnitionMonitors.ACRefrigerant.available); in testIgnitionMonitors()
441 assertFalse(sparkIgnitionMonitors.secondaryAirSystem.available); in testIgnitionMonitors()
443 assertFalse(sparkIgnitionMonitors.evaporativeSystem.available); in testIgnitionMonitors()
445 assertFalse(sparkIgnitionMonitors.heatedCatalyst.available); in testIgnitionMonitors()
[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/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/Settings/src/com/android/settings/
DTetherSettings.java212 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
218 updateState(available.toArray(new String[available.size()]), in onReceive()
306 String[] available = mCm.getTetherableIfaces(); in updateState() local
309 updateState(available, tethered, errored); in updateState()
312 private void updateState(String[] available, String[] tethered, in updateState() argument
314 updateUsbState(available, tethered, errored); in updateState()
318 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
322 for (String s : available) { in updateUsbState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java212 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
218 updateState(available.toArray(new String[available.size()]), in onReceive()
306 String[] available = mCm.getTetherableIfaces(); in updateState() local
309 updateState(available, tethered, errored); in updateState()
312 private void updateState(String[] available, String[] tethered, in updateState() argument
314 updateUsbState(available, tethered, errored); in updateState()
318 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
322 for (String s : available) { in updateUsbState()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java35 boolean available = !cells[x][y]; in findVacantCell()
39 available = available && !cells[i][j]; in findVacantCell()
40 if (!available) break out; in findVacantCell()
43 if (available) { in findVacantCell()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseInstalledPackagesPreferenceController.java45 final boolean available; in updateState()
47 available = false; in updateState()
49 available = true; in updateState()
55 preference.setVisible(available); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterpriseInstalledPackagesPreferenceController.java45 final boolean available; in updateState()
47 available = false; in updateState()
49 available = true; in updateState()
55 preference.setVisible(available); in updateState()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DDataStore.java84 public void setTemperature(int zone, float temperature, boolean available) { in setTemperature() argument
89 mTemperatureAvailable.put(zone, available); in setTemperature()
95 public boolean shouldPropagateTempUpdate(int zone, float temperature, boolean available) { in shouldPropagateTempUpdate() argument
99 if (available == mTemperatureAvailable.get(zone)) { in shouldPropagateTempUpdate()
104 setTemperature(zone, temperature, available); in shouldPropagateTempUpdate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMultiNetworkHeaderController.java89 final boolean available = isAvailable(); in onChildrenUpdated()
94 if (available) { in onChildrenUpdated()
101 mPreferenceCategory.setVisible(available); in onChildrenUpdated()
/packages/apps/Settings/src/com/android/settings/network/
DMultiNetworkHeaderController.java89 final boolean available = isAvailable(); in onChildrenUpdated()
94 if (available) { in onChildrenUpdated()
101 mPreferenceCategory.setVisible(available); in onChildrenUpdated()
/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/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java649 public final boolean available; field in CarDiagnosticEvent.IgnitionMonitor
652 IgnitionMonitor(boolean available, boolean incomplete) { in IgnitionMonitor() argument
653 this.available = available; in IgnitionMonitor()
668 boolean available = (0 != (value & mAvailableBitmask)); in fromValue()
671 return new IgnitionMonitor(available, incomplete); in fromValue()
/packages/apps/Traceur/src/com/google/android/traceur/
DReceiver.java274 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveTags() local
277 tags.retainAll(available); in getActiveTags()
287 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveUnavailableTags() local
289 tags.removeAll(available); in getActiveUnavailableTags()
/packages/apps/Settings/src/com/android/settings/privacy/
DEnableContentCapturePreferenceController.java45 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus()
47 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DEnableContentCapturePreferenceController.java45 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus()
47 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowBluetoothAdapterForDialer.java56 public static void setBluetoothAvailable(boolean available) { in setBluetoothAvailable() argument
57 bluetoothAvailable = available; in setBluetoothAvailable()
/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()

1234567