/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarDiagnosticManagerTest.java | 404 assertTrue(commonIgnitionMonitors.components.available); in testIgnitionMonitors() 406 assertTrue(commonIgnitionMonitors.fuelSystem.available); in testIgnitionMonitors() 408 assertFalse(commonIgnitionMonitors.misfire.available); in testIgnitionMonitors() 416 assertTrue(sparkIgnitionMonitors.EGR.available); in testIgnitionMonitors() 418 assertFalse(sparkIgnitionMonitors.oxygenSensorHeater.available); in testIgnitionMonitors() 420 assertTrue(sparkIgnitionMonitors.oxygenSensor.available); in testIgnitionMonitors() 422 assertFalse(sparkIgnitionMonitors.ACRefrigerant.available); in testIgnitionMonitors() 424 assertFalse(sparkIgnitionMonitors.secondaryAirSystem.available); in testIgnitionMonitors() 426 assertFalse(sparkIgnitionMonitors.evaporativeSystem.available); in testIgnitionMonitors() 428 assertFalse(sparkIgnitionMonitors.heatedCatalyst.available); in testIgnitionMonitors() [all …]
|
/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() 56 notifyOnAvailabilityUpdate(available); in updateState() 75 final boolean available = haveEnterpriseInstalledPackages[0]; in isAvailable() 76 notifyOnAvailabilityUpdate(available); in isAvailable() 77 return available; in isAvailable()
|
D | ExposureChangesCategoryPreferenceController.java | 68 public void onPreferenceAvailabilityUpdated(String key, boolean available) { in onPreferenceAvailabilityUpdated() argument 69 if (available) { in onPreferenceAvailabilityUpdated() 74 available = haveAnyVisiblePreferences(); in onPreferenceAvailabilityUpdated() 76 notifyOnAvailabilityUpdate(available); in onPreferenceAvailabilityUpdated() 79 mPreference.setVisible(available); in onPreferenceAvailabilityUpdated() 98 final boolean available = haveAnyVisiblePreferences(); in isAvailable() 99 notifyOnAvailabilityUpdate(available); in isAvailable() 100 return available; in isAvailable()
|
D | AlwaysOnVpnManagedProfilePreferenceController.java | 36 final boolean available = mFeatureProvider.isAlwaysOnVpnSetInManagedProfile(); in isAvailable() 37 notifyOnAvailabilityUpdate(available); in isAvailable() 38 return available; in isAvailable()
|
D | GlobalHttpProxyPreferenceController.java | 35 final boolean available = mFeatureProvider.isGlobalHttpProxySet(); in isAvailable() 36 notifyOnAvailabilityUpdate(available); in isAvailable() 37 return available; in isAvailable()
|
D | CaCertsPreferenceControllerBase.java | 45 final boolean available = getNumberOfCaCerts() > 0; in isAvailable() 46 notifyOnAvailabilityUpdate(available); in isAvailable() 47 return available; in isAvailable()
|
D | AlwaysOnVpnCurrentUserPreferenceController.java | 45 final boolean available = mFeatureProvider.isAlwaysOnVpnSetInCurrentUser(); in isAvailable() 46 notifyOnAvailabilityUpdate(available); in isAvailable() 47 return available; in isAvailable()
|
D | FailedPasswordWipePreferenceControllerBase.java | 49 final boolean available = getMaximumFailedPasswordsBeforeWipe() > 0; in isAvailable() 50 notifyOnAvailabilityUpdate(available); in isAvailable() 51 return available; in isAvailable()
|
D | ImePreferenceController.java | 46 final boolean available = mFeatureProvider.getImeLabelIfOwnerSet() != null; in isAvailable() 47 notifyOnAvailabilityUpdate(available); in isAvailable() 48 return available; in isAvailable()
|
D | EnterprisePrivacyPreferenceController.java | 48 final boolean available = mFeatureProvider.hasDeviceOwner(); in isAvailable() 49 notifyOnAvailabilityUpdate(available); in isAvailable() 50 return available; in isAvailable()
|
D | EnterpriseSetDefaultAppsPreferenceController.java | 52 final boolean available = getNumberOfEnterpriseSetDefaultApps() > 0; in isAvailable() 53 notifyOnAvailabilityUpdate(available); in isAvailable() 54 return available; in isAvailable()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | SimpleCharStream.java | 28 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/ |
D | SimpleCharStream.java | 28 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/address/parser/ |
D | SimpleCharStream.java | 28 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/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/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 289 ArrayList<String> available = intent.getStringArrayListExtra( in onReceive() local 295 updateState(available.toArray(new String[available.size()]), in onReceive() 406 String[] available = mCm.getTetherableIfaces(); in updateState() local 409 updateState(available, tethered, errored); in updateState() 412 private void updateState(String[] available, String[] tethered, in updateState() argument 414 updateUsbState(available, tethered, errored); in updateState() 419 private void updateUsbState(String[] available, String[] tethered, in updateUsbState() argument 423 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/services/Car/car-lib/src/android/car/diagnostic/ |
D | CarDiagnosticEvent.java | 587 public final boolean available; field in CarDiagnosticEvent.IgnitionMonitor 590 IgnitionMonitor(boolean available, boolean incomplete) { in IgnitionMonitor() argument 591 this.available = available; in IgnitionMonitor() 606 boolean available = (0 != (value & mAvailableBitmask)); in fromValue() 609 return new IgnitionMonitor(available, incomplete); in fromValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | VolumeSeekBarPreferenceControllerTest.java | 116 VolumeSeekBarPreference.Callback callback, boolean available) { in VolumeSeekBarPreferenceControllerTestable() argument 118 mAvailable = available; in VolumeSeekBarPreferenceControllerTestable() 146 private void setAvailable(boolean available) { in setAvailable() argument
|
/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/apps/Settings/src/com/android/settings/wifi/ |
D | WifiApEnabler.java | 66 ArrayList<String> available = intent.getStringArrayListExtra( 72 updateTetherState(available.toArray(), active.toArray(), errored.toArray()); 126 private void updateTetherState(Object[] available, Object[] tethered, Object[] errored) { in updateTetherState() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothAutoConnectPolicyTest.java | 235 private void mockDeviceAvailability(@Nullable BluetoothDevice device, boolean available) in mockDeviceAvailability() argument 239 Mockito.doAnswer(createDeviceAvailabilityAnswer(available)).when( in mockDeviceAvailability() 246 private Answer<Void> createDeviceAvailabilityAnswer(final boolean available) { in createDeviceAvailabilityAnswer() argument 264 available)); in createDeviceAvailabilityAnswer()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
D | ProxyInputStream.java | 93 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/ |
D | PartialInputStream.java | 35 public int available() throws IOException { in available() method in PartialInputStream 36 return Math.min(super.available(), getBytesLeft()); in available()
|