Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DGeolocationService.java118 boolean isAvailable = (status == LocationProvider.AVAILABLE); in onStatusChanged()
120 mIsNetworkProviderAvailable = isAvailable; in onStatusChanged()
122 mIsGpsProviderAvailable = isAvailable; in onStatusChanged()
/frameworks/base/core/java/android/view/
DTextureView.java480 if (isAvailable() && width > 0 && height > 0) { in getBitmap()
510 if (bitmap != null && isAvailable()) { in getBitmap()
532 public boolean isAvailable() { in isAvailable() method in TextureView
577 if (!isAvailable()) return null; in lockCanvas()
DHardwareRenderer.java126 public static boolean isAvailable() { in isAvailable() method in HardwareRenderer
127 return GLES20Canvas.isAvailable(); in isAvailable()
976 if (GLES20Canvas.isAvailable()) { in create()
DWindowManagerImpl.java411 if (HardwareRenderer.isAvailable()) { in trimMemory()
DGLES20Canvas.java74 static boolean isAvailable() { in isAvailable() method in GLES20Canvas
DViewRootImpl.java604 if (!HardwareRenderer.isAvailable()) { in enableHardwareAcceleration()
DView.java11483 HardwareRenderer.isAvailable()) {
/frameworks/base/telephony/java/com/android/internal/telephony/
DBaseCommands.java173 if (mState.isAvailable()) { in registerForAvailable()
191 if (!mState.isAvailable()) { in registerForNotAvailable()
209 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()
733 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
739 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
773 if ((!mState.isOn() || !mState.isAvailable()) in setRadioState()
774 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
DCommandsInterface.java61 public boolean isAvailable() { in isAvailable() method in CommandsInterface.RadioState
/frameworks/base/core/java/android/net/
DNetworkInfo.java249 public boolean isAvailable() { in isAvailable() method in NetworkInfo
261 public void setIsAvailable(boolean isAvailable) { in setIsAvailable() argument
263 mIsAvailable = isAvailable; in setIsAvailable()
DNetworkStateTracker.java139 public boolean isAvailable(); in isAvailable() method
DEthernetDataTracker.java258 public synchronized boolean isAvailable() { in isAvailable() method in EthernetDataTracker
259 return mNetworkInfo.isAvailable(); in isAvailable()
DDummyDataStateTracker.java99 public boolean isAvailable() { in isAvailable() method in DummyDataStateTracker
DMobileDataStateTracker.java304 public boolean isAvailable() { in isAvailable() method in MobileDataStateTracker
305 return mNetworkInfo.isAvailable(); in isAvailable()
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java133 public boolean isAvailable() { in isAvailable() method in WifiStateTracker
134 return mNetworkInfo.isAvailable(); in isAvailable()
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java147 public synchronized boolean isAvailable() { in isAvailable() method in BluetoothTetheringDataTracker
148 return mNetworkInfo.isAvailable(); in isAvailable()
/frameworks/base/tools/preload/
DPrintCsv.java106 if (loadedClass.memoryUsage.isAvailable()) { in printRow()
DPrintHtmlDiff.java124 if (clazz.memoryUsage.isAvailable()) { in printTable()
DMemoryUsage.java149 boolean isAvailable() { in isAvailable() method in MemoryUsage
/frameworks/base/graphics/java/android/graphics/
DPath.java50 mDetectSimplePaths = HardwareRenderer.isAvailable(); in Path()
64 mDetectSimplePaths = HardwareRenderer.isAvailable(); in Path()
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java311 if (!sm.isAvailable() && !sm.isErrored()) { in tether()
373 } else if (sm.isAvailable()) { in sendTetherStateChangedBroadcast()
667 if (sm.isAvailable()) { in getTetherableIfaces()
797 public synchronized boolean isAvailable() { in isAvailable() method in Tethering.TetherInterfaceSM
/frameworks/base/services/java/com/android/server/
DConnectivityService.java597 if (!mNetTrackers[mNetworkPreference].isAvailable()) in enforcePreference()
899 if (ni.isAvailable() == false) { in startUsingNetworkFeature()
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java497 boolean networkAvailable = info.isAvailable() && dataEnabled; in handleUpdateNetworkState()
/frameworks/base/api/
Dcurrent.txt11668 method public boolean isAvailable();
22761 method public boolean isAvailable();
D14.txt11668 method public boolean isAvailable();
22761 method public boolean isAvailable();