Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 173) 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.java429 assertTrue(commonIgnitionMonitors.components.available); in testIgnitionMonitors()
431 assertTrue(commonIgnitionMonitors.fuelSystem.available); in testIgnitionMonitors()
433 assertFalse(commonIgnitionMonitors.misfire.available); in testIgnitionMonitors()
441 assertTrue(sparkIgnitionMonitors.EGR.available); in testIgnitionMonitors()
443 assertFalse(sparkIgnitionMonitors.oxygenSensorHeater.available); in testIgnitionMonitors()
445 assertTrue(sparkIgnitionMonitors.oxygenSensor.available); in testIgnitionMonitors()
447 assertFalse(sparkIgnitionMonitors.ACRefrigerant.available); in testIgnitionMonitors()
449 assertFalse(sparkIgnitionMonitors.secondaryAirSystem.available); in testIgnitionMonitors()
451 assertFalse(sparkIgnitionMonitors.evaporativeSystem.available); in testIgnitionMonitors()
453 assertFalse(sparkIgnitionMonitors.heatedCatalyst.available); in testIgnitionMonitors()
[all …]
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java256 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
262 updateState(available.toArray(new String[available.size()]), in onReceive()
372 final String[] available = cm.getTetherableIfaces(); in updateState() local
375 updateState(available, tethered, errored); in updateState()
378 private void updateState(String[] available, String[] tethered, in updateState() argument
380 updateUsbState(available, tethered, errored); in updateState()
382 updateEthernetState(available, tethered); in updateState()
386 void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
390 for (String s : available) { in updateUsbState()
461 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.java208 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
214 updateState(available.toArray(new String[available.size()]), in onReceive()
302 String[] available = mCm.getTetherableIfaces(); in updateState() local
305 updateState(available, tethered, errored); in updateState()
308 private void updateState(String[] available, String[] tethered, in updateState() argument
310 updateUsbState(available, tethered, errored); in updateState()
314 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument
318 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/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()
DEthernetTetherPreferenceController.java68 String[] available = mCm.getTetherableIfaces(); in shouldEnable() local
69 for (String s : available) { in shouldEnable()
/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/development/
DCachedAppsFreezerPreferenceController.java56 boolean available = false; in isAvailable()
59 available = ActivityManager.getService().isAppFreezerSupported(); in isAvailable()
64 return available; in isAvailable()
/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.java648 public final boolean available; field in CarDiagnosticEvent.IgnitionMonitor
651 IgnitionMonitor(boolean available, boolean incomplete) { in IgnitionMonitor() argument
652 this.available = available; in IgnitionMonitor()
670 boolean available = (0 != (value & mAvailableBitmask)); in fromValue()
673 return new IgnitionMonitor(available, incomplete); in fromValue()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt113 private class TestInputStream(private var available: Int = 0) : InputStream() { variable in com.android.captiveportallogin.DownloadServiceTest.TestInputStream
147 while (available <= position) { in read()
148 available = nextAvailableQueue.take() in read()
152 val remaining = available - position in read()
/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/apps/ThemePicker/tests/src/com/android/customization/testing/
DTestThemeManager.java30 public static void setAvailable(boolean available) { in setAvailable() argument
31 sIsAvailable = available; in setAvailable()
/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()
DEnableContentCaptureWithServiceSettingsPreferenceController.java68 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus()
70 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/gestures/
DDeviceControlsPreferenceController.java41 boolean available = mContext.getPackageManager().hasSystemFeature( in getAvailabilityStatus()
43 return available ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowBluetoothAdapterForDialer.java76 public static void setBluetoothAvailable(boolean available) { in setBluetoothAvailable() argument
77 bluetoothAvailable = available; in setBluetoothAvailable()

1234567