Home
last modified time | relevance | path

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

123

/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/net/
DEthernetManager.java44 boolean isAvailable = (msg.arg1 == 1);
46 listener.onAvailabilityChanged(isAvailable);
55 public void onAvailabilityChanged(boolean isAvailable) {
57 MSG_AVAILABILITY_CHANGED, isAvailable ? 1 : 0, 0, null).sendToTarget();
69 public void onAvailabilityChanged(boolean isAvailable); in onAvailabilityChanged() argument
109 public boolean isAvailable() { in isAvailable() method in EthernetManager
111 return mService.isAvailable(); in isAvailable()
DBaseNetworkStateTracker.java123 public boolean isAvailable() { in isAvailable() method in BaseNetworkStateTracker
124 return mNetworkInfo.isAvailable(); in isAvailable()
DIEthernetServiceListener.aidl22 void onAvailabilityChanged(boolean isAvailable); in onAvailabilityChanged() argument
DIEthernetManager.aidl31 boolean isAvailable(); in isAvailable() method
DNetworkInfo.java272 public boolean isAvailable() { in isAvailable() method in NetworkInfo
284 public void setIsAvailable(boolean isAvailable) { in setIsAvailable() argument
286 mIsAvailable = isAvailable; in setIsAvailable()
DNetworkStateTracker.java162 public boolean isAvailable(); in isAvailable() method
/frameworks/base/core/java/android/view/
DHardwareRenderer.java208 public static boolean isAvailable() { in isAvailable() method in HardwareRenderer
209 return GLES20Canvas.isAvailable(); in isAvailable()
427 if (GLES20Canvas.isAvailable()) { in create()
DTextureView.java548 if (isAvailable() && width > 0 && height > 0) { in getBitmap()
579 if (bitmap != null && isAvailable()) { in getBitmap()
603 public boolean isAvailable() { in isAvailable() method in TextureView
654 if (!isAvailable()) return null; in lockCanvas()
DWindowManagerGlobal.java388 if (HardwareRenderer.sTrimForeground && HardwareRenderer.isAvailable()) { in doRemoveView()
415 if (HardwareRenderer.isAvailable()) { in trimMemory()
437 if (HardwareRenderer.sTrimForeground && HardwareRenderer.isAvailable()) { in trimForeground()
/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/base/core/java/android/hardware/camera2/
DCameraManager.java683 private boolean isAvailable(int status) { in isAvailable() method in CameraManager.CameraManagerGlobal
706 if (isAvailable(status)) { in postSingleUpdate()
773 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChangedLocked()
780 isAvailable(status), isAvailable(status))); in onStatusChangedLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java174 if (mState.isAvailable()) { in registerForAvailable()
194 if (!mState.isAvailable()) { in registerForNotAvailable()
214 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()
785 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
790 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
798 if ((!mState.isOn() || !mState.isAvailable()) in setRadioState()
799 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/frameworks/base/media/java/android/media/audiofx/
DAutomaticGainControl.java50 public static boolean isAvailable() { in isAvailable() method in AutomaticGainControl
DNoiseSuppressor.java51 public static boolean isAvailable() { in isAvailable() method in NoiseSuppressor
DAcousticEchoCanceler.java50 public static boolean isAvailable() { in isAvailable() method in AcousticEchoCanceler
/frameworks/compile/mclinker/include/mcld/Support/
DAllocators.h192 if (!isAvailable(pPtr)) in deallocate()
202 if (!isAvailable(pPtr)) in deallocate()
217 bool isAvailable(pointer pPtr) const { in isAvailable() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DFlashlightTile.java97 state.visible = mWasLastOn != 0 || mFlashlightController.isAvailable(); in handleUpdateState()
/frameworks/base/tools/preload/
DPrintCsv.java106 if (loadedClass.memoryUsage.isAvailable()) { in printRow()

123