Home
last modified time | relevance | path

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

12345

/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarDiagnosticManagerTest.java404 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/
DEnterpriseInstalledPackagesPreferenceController.java45 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()
DExposureChangesCategoryPreferenceController.java68 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()
DAlwaysOnVpnManagedProfilePreferenceController.java36 final boolean available = mFeatureProvider.isAlwaysOnVpnSetInManagedProfile(); in isAvailable()
37 notifyOnAvailabilityUpdate(available); in isAvailable()
38 return available; in isAvailable()
DGlobalHttpProxyPreferenceController.java35 final boolean available = mFeatureProvider.isGlobalHttpProxySet(); in isAvailable()
36 notifyOnAvailabilityUpdate(available); in isAvailable()
37 return available; in isAvailable()
DCaCertsPreferenceControllerBase.java45 final boolean available = getNumberOfCaCerts() > 0; in isAvailable()
46 notifyOnAvailabilityUpdate(available); in isAvailable()
47 return available; in isAvailable()
DAlwaysOnVpnCurrentUserPreferenceController.java45 final boolean available = mFeatureProvider.isAlwaysOnVpnSetInCurrentUser(); in isAvailable()
46 notifyOnAvailabilityUpdate(available); in isAvailable()
47 return available; in isAvailable()
DFailedPasswordWipePreferenceControllerBase.java49 final boolean available = getMaximumFailedPasswordsBeforeWipe() > 0; in isAvailable()
50 notifyOnAvailabilityUpdate(available); in isAvailable()
51 return available; in isAvailable()
DImePreferenceController.java46 final boolean available = mFeatureProvider.getImeLabelIfOwnerSet() != null; in isAvailable()
47 notifyOnAvailabilityUpdate(available); in isAvailable()
48 return available; in isAvailable()
DEnterprisePrivacyPreferenceController.java48 final boolean available = mFeatureProvider.hasDeviceOwner(); in isAvailable()
49 notifyOnAvailabilityUpdate(available); in isAvailable()
50 return available; in isAvailable()
DEnterpriseSetDefaultAppsPreferenceController.java52 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/
DSimpleCharStream.java28 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/
DSimpleCharStream.java28 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/
DSimpleCharStream.java28 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/
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/Settings/src/com/android/settings/
DTetherSettings.java289 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/
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/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java587 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/
DVolumeSeekBarPreferenceControllerTest.java116 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/
DManageCacheDrawer.java73 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/
DWifiApEnabler.java66 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/
DBluetoothAutoConnectPolicyTest.java235 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/
DProxyInputStream.java93 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/
DPartialInputStream.java35 public int available() throws IOException { in available() method in PartialInputStream
36 return Math.min(super.available(), getBytesLeft()); in available()

12345