Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimServiceTableTest.java40 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable()
41 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.FDN)); in testUsimServiceTable()
42 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.NAS_CONFIG_BY_USIM)); in testUsimServiceTable()
45 assertTrue(testTable2.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable()
46 assertFalse(testTable2.isAvailable(UsimServiceTable.UsimService.FDN)); in testUsimServiceTable()
47 assertFalse(testTable2.isAvailable(UsimServiceTable.UsimService.NAS_CONFIG_BY_USIM)); in testUsimServiceTable()
50 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable()
51 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.BDN_EXTENSION)); in testUsimServiceTable()
52 assertTrue(testTable3.isAvailable(UsimServiceTable.UsimService.OUTGOING_CALL_INFO)); in testUsimServiceTable()
53 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.INCOMING_CALL_INFO)); in testUsimServiceTable()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccServiceTableTest.java41 public boolean isAvailable(TestIccService service) { in isAvailable() method in IccServiceTableTest.TestIccServiceTable
42 return super.isAvailable(service.ordinal()); in isAvailable()
64 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE1)); in testIccServiceTable()
65 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE2)); in testIccServiceTable()
66 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE3)); in testIccServiceTable()
67 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE4)); in testIccServiceTable()
70 assertTrue(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE1)); in testIccServiceTable()
71 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE2)); in testIccServiceTable()
72 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE3)); in testIccServiceTable()
73 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE4)); in testIccServiceTable()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java426 private boolean isAvailable(int status) { in isAvailable() method in CameraManager.CameraServiceListener
484 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChanged()
491 isAvailable(status), isAvailable(status))); in onStatusChanged()
499 if (isAvailable(status)) { in onStatusChanged()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java47 boolean isAvailable = (in.readInt() != 0);
51 isAvailable, canConnect, isRemembered);
104 public boolean isAvailable() { in isAvailable() method in WifiDisplay
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUsimServiceTable.java128 public boolean isAvailable(UsimService service) { in isAvailable() method in UsimServiceTable
129 return super.isAvailable(service.ordinal()); in isAvailable()
DIccServiceTable.java42 protected boolean isAvailable(int service) { in isAvailable() method in IccServiceTable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DOutputPort.java55 public boolean isAvailable() { in isAvailable() method in OutputPort
184 return !mWaitsUntilAvailable || isAvailable(); in conditionsMet()
DBranchFilter.java69 if (outputPort.isAvailable()) { in onProcess()
DFilter.java104 public static final boolean isAvailable(String filterClassName) { in isAvailable() method in Filter
374 } else if (mConnectedOutputPortArray[i].isAvailable()) { in outputConditionsMet()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java161 if (mState.isAvailable()) { in registerForAvailable()
181 if (!mState.isAvailable()) { in registerForNotAvailable()
201 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()
688 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
693 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
701 if ((!mState.isOn() || !mState.isAvailable()) in setRadioState()
702 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/frameworks/base/core/java/android/view/
DTextureView.java560 if (isAvailable() && width > 0 && height > 0) { in getBitmap()
591 if (bitmap != null && isAvailable()) { in getBitmap()
623 public boolean isAvailable() { in isAvailable() method in TextureView
674 if (!isAvailable()) return null; in lockCanvas()
/frameworks/base/core/java/android/net/
DBaseNetworkStateTracker.java127 public boolean isAvailable() { in isAvailable() method in BaseNetworkStateTracker
128 return mNetworkInfo.isAvailable(); in isAvailable()
DNetworkInfo.java266 public boolean isAvailable() { in isAvailable() method in NetworkInfo
278 public void setIsAvailable(boolean isAvailable) { in setIsAvailable() argument
280 mIsAvailable = isAvailable; in setIsAvailable()
DNetworkStateTracker.java170 public boolean isAvailable(); in isAvailable() method
DEthernetDataTracker.java293 public synchronized boolean isAvailable() { in isAvailable() method in EthernetDataTracker
294 return mNetworkInfo.isAvailable(); in isAvailable()
DDummyDataStateTracker.java96 public boolean isAvailable() { in isAvailable() method in DummyDataStateTracker
/frameworks/base/media/java/android/media/audiofx/
DNoiseSuppressor.java51 public static boolean isAvailable() { in isAvailable() method in NoiseSuppressor
DAcousticEchoCanceler.java50 public static boolean isAvailable() { in isAvailable() method in AcousticEchoCanceler
DAutomaticGainControl.java50 public static boolean isAvailable() { in isAvailable() method in AutomaticGainControl
/frameworks/compile/mclinker/include/mcld/Support/
DAllocators.h195 if (!isAvailable(pPtr)) in deallocate()
205 if (!isAvailable(pPtr)) in deallocate()
220 bool isAvailable(pointer pPtr) const { in isAvailable() function
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java149 public boolean isAvailable() { in isAvailable() method in WifiStateTracker
150 return mNetworkInfo.isAvailable(); in isAvailable()
/frameworks/base/core/java/android/bluetooth/
DBluetoothTetheringDataTracker.java175 public synchronized boolean isAvailable() { in isAvailable() method in BluetoothTetheringDataTracker
176 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()
/frameworks/base/graphics/java/android/graphics/
DPath.java50 mDetectSimplePaths = HardwareRenderer.isAvailable(); in Path()
68 mDetectSimplePaths = HardwareRenderer.isAvailable(); in Path()

12