Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 172) 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/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/Settings/src/com/android/settings/
DTetherSettings.java233 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
239 updateState(available.toArray(new String[available.size()]), in onReceive()
336 String[] available = mCm.getTetherableIfaces(); in updateState() local
339 updateState(available, tethered, errored); in updateState()
342 private void updateState(String[] available, String[] tethered, in updateState() argument
344 updateUsbState(available, tethered, errored); in updateState()
346 updateEthernetState(available, tethered); in updateState()
349 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
353 for (String s : available) { in updateUsbState()
410 private void updateEthernetState(String[] available, String[] tethered) { in updateEthernetState() argument
[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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java211 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
217 updateState(available.toArray(new String[available.size()]), in onReceive()
305 String[] available = mCm.getTetherableIfaces(); in updateState() local
308 updateState(available, tethered, errored); in updateState()
311 private void updateState(String[] available, String[] tethered, in updateState() argument
313 updateUsbState(available, tethered, errored); in updateState()
317 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
321 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()
DHvacController.java358 final boolean available = value.getStatus() == CarPropertyValue.STATUS_AVAILABLE; in handleTempUpdate()
359 boolean shouldPropagate = mDataStore.shouldPropagateTempUpdate(zone, temp, available); in handleTempUpdate()
362 "available: " + available + " should propagate: " + shouldPropagate); in handleTempUpdate()
464 boolean available = mHvacManager.isPropertyAvailable( in fetchTemperature()
466 mDataStore.setTemperature(zone, value, available); in fetchTemperature()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBearerData.java210 if (paramBits <= inStream.available()) { in decodeReserved()
288 if (inStream.available() < wantedBits) { in decode7bitAscii()
290 " bits, but only have " + inStream.available() + ")"); in decode7bitAscii()
494 if (inStream.available() < 8) { in decodeCmasUserData()
509 while (inStream.available() >= 16) { in decodeCmasUserData()
584 while (inStream.available() > 0) { in decode()
/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/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/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/android/traceur/
DReceiver.java277 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveTags() local
280 tags.retainAll(available); in getActiveTags()
290 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveUnavailableTags() local
292 tags.removeAll(available); in getActiveUnavailableTags()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt127 private class TestInputStream(private var available: Int = 0) : InputStream() { variable in com.android.captiveportallogin.DownloadServiceTest.TestInputStream
161 while (available <= position) { in read()
162 available = nextAvailableQueue.take() in read()
166 val remaining = available - position in read()
/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/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/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()
DEnableContentCaptureWithServiceSettingsPreferenceController.java68 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus()
70 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java62 vh.available = convertView.findViewById(R.id.network_available); in getView()
88 vh.available.setText(mNetworkList[position].mAvailable); in getView()
193 public TextView available; field in NetworkListAdapter.ViewHolder
/packages/modules/DnsResolver/
Dstats.proto252 SYS_ENOLCK = 37; // No record locks available
264 SYS_ENOCSI = 50; // No CSI structure available
305 SYS_ENOPROTOOPT = 92; // Protocol not available
312 SYS_EADDRNOTAVAIL = 99; // Address not available
318 SYS_ENOBUFS = 105; // No buffer space available
/packages/services/Telephony/ecc/conversion_toolset_v1/proto/
Dprotobuf_ecc_data.proto25 // CountryInfo represents available ECCs of a country/region, recognized
41 // 112 and 911 shall always be available.

1234567