/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | TemperatureController.java | 71 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/ |
D | CarDiagnosticManagerTest.java | 429 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/ |
D | TetherSettings.java | 256 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/ |
D | PduParser.java | 240 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/ |
D | PduParser.java | 265 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/ |
D | TetherSettings.java | 208 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/ |
D | GridOccupancy.java | 35 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/ |
D | EnterpriseInstalledPackagesPreferenceController.java | 45 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/ |
D | EnterpriseInstalledPackagesPreferenceController.java | 45 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/ |
D | DataStore.java | 84 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/ |
D | BearerData.java | 210 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/ |
D | MultiNetworkHeaderController.java | 89 final boolean available = isAvailable(); in onChildrenUpdated() 94 if (available) { in onChildrenUpdated() 101 mPreferenceCategory.setVisible(available); in onChildrenUpdated()
|
D | EthernetTetherPreferenceController.java | 68 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/ |
D | MultiNetworkHeaderController.java | 89 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/ |
D | CachedAppsFreezerPreferenceController.java | 56 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/ |
D | ManageCacheDrawer.java | 73 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/ |
D | CarDiagnosticEvent.java | 648 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/ |
D | DownloadServiceTest.kt | 113 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/ |
D | Receiver.java | 277 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/ |
D | TestThemeManager.java | 30 public static void setAvailable(boolean available) { in setAvailable() argument 31 sIsAvailable = available; in setAvailable()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | EnableContentCapturePreferenceController.java | 45 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/ |
D | EnableContentCapturePreferenceController.java | 45 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus() 47 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
D | EnableContentCaptureWithServiceSettingsPreferenceController.java | 68 boolean available = ContentCaptureUtils.isFeatureAvailable() in getAvailabilityStatus() 70 return available ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | DeviceControlsPreferenceController.java | 41 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/ |
D | ShadowBluetoothAdapterForDialer.java | 76 public static void setBluetoothAvailable(boolean available) { in setBluetoothAvailable() argument 77 bluetoothAvailable = available; in setBluetoothAvailable()
|