Home
last modified time | relevance | path

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

123456789

/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/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/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/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterpriseInstalledPackagesPreferenceController.java51 final boolean available; in updateState()
53 available = false; in updateState()
55 available = true; in updateState()
61 preference.setVisible(available); in updateState()
/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/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/Connectivity/tests/cts/net/src/android/net/cts/
DLocalSocketTest.java274 assertEquals(0, serverInputStream.available()); in testAvailable()
278 assertEquals(50, serverInputStream.available()); in testAvailable()
282 assertEquals(0, clientInputStream.available()); in testAvailable()
284 assertEquals(50, serverInputStream.available()); in testAvailable()
352 assertEquals(bytesToTransfer, inputStream.available()); in testFlushWorks()
363 assertEquals(0, inputStream.available()); in testFlushWorks()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java268 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local
273 updateEthernetState(available.toArray(new String[available.size()]), in onReceive()
393 String[] available = mTm.getTetherableIfaces(); in updateBluetoothAndEthernetState() local
395 updateEthernetState(available, tethered); in updateBluetoothAndEthernetState()
482 void updateEthernetState(String[] available, String[] tethered) { in updateEthernetState() argument
486 for (String s : available) { in updateEthernetState()
/packages/apps/Settings/src/com/android/settings/network/
DMultiNetworkHeaderController.java94 final boolean available = isAvailable(); in onChildrenUpdated()
99 if (available) { in onChildrenUpdated()
106 mPreferenceCategory.setVisible(available); in onChildrenUpdated()
DNetworkMobileProviderController.java106 final boolean available = isAvailable(); in onChildrenUpdated()
111 if (available) { in onChildrenUpdated()
118 mPreferenceCategory.setVisible(available); in onChildrenUpdated()
DEthernetTetherPreferenceController.java68 String[] available = mTm.getTetherableIfaces(); in shouldEnable() local
69 for (String s : available) { in shouldEnable()
/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/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/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/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt164 private class TestInputStream(private var available: Int = 0) : InputStream() { variable in com.android.captiveportallogin.DownloadServiceTest.TestInputStream
198 while (available <= position) { in read()
199 available = nextAvailableQueue.take() in read()
203 val remaining = available - position in read()
/packages/apps/Traceur/src/com/android/traceur/
DReceiver.java296 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveTags() local
299 tags.retainAll(available); in getActiveTags()
309 Set<String> available = TraceUtils.listCategories().keySet(); in getActiveUnavailableTags() local
311 tags.removeAll(available); in getActiveUnavailableTags()
/packages/modules/Virtualization/microdroid/
Dinit.rc33 # become available. Note that this is executed as exec_start to ensure that
34 # the libraries are available to the processes started after this statement.
77 # With /system mounted and properties form /system + /factory available,
86 # Should be before netd, but after apex, properties and logging is available.
/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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java987 when(sharedStream1.available()) in testMigration()
990 when(sharedStream2.available()) in testMigration()
993 when(userStream1.available()) in testMigration()
996 when(userStream2.available()) in testMigration()
1029 verify(sharedStream1, times(2)).available(); in testMigration()
1031 verify(sharedStream2, times(2)).available(); in testMigration()
1033 verify(userStream1, times(2)).available(); in testMigration()
1035 verify(userStream2, times(2)).available(); in testMigration()
/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

123456789