Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 – 25 of 64) 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
110 public boolean isAvailable() { in isAvailable() method in EthernetManager
112 return mService.isAvailable(); in isAvailable()
DIEthernetServiceListener.aidl22 void onAvailabilityChanged(boolean isAvailable); in onAvailabilityChanged() argument
DNetworkInfo.java265 public boolean isAvailable() { in isAvailable() method in NetworkInfo
277 public void setIsAvailable(boolean isAvailable) { in setIsAvailable() argument
279 mIsAvailable = isAvailable; in setIsAvailable()
DIEthernetManager.aidl31 boolean isAvailable(); in isAvailable() method
/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/view/
DTextureView.java564 if (isAvailable() && width > 0 && height > 0) { in getBitmap()
595 if (bitmap != null && isAvailable()) { in getBitmap()
619 public boolean isAvailable() { in isAvailable() method in TextureView
670 if (!isAvailable()) return null; in lockCanvas()
DWindowManagerGlobal.java465 if (ThreadedRenderer.sTrimForeground && ThreadedRenderer.isAvailable()) { in doRemoveView()
492 if (ThreadedRenderer.isAvailable()) { in trimMemory()
514 if (ThreadedRenderer.sTrimForeground && ThreadedRenderer.isAvailable()) { in trimForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java42 public boolean isAvailable() { in isAvailable() method in NightDisplayTile
43 return NightDisplayController.isAvailable(mContext); in isAvailable()
DFlashlightTile.java76 public boolean isAvailable() { in isAvailable() method in FlashlightTile
104 if (!mFlashlightController.isAvailable()) { in handleUpdateState()
DWorkModeTile.java72 public boolean isAvailable() { in isAvailable() method in WorkModeTile
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java175 if (mState.isAvailable()) { in registerForAvailable()
195 if (!mState.isAvailable()) { in registerForNotAvailable()
215 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()
786 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
791 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
799 if ((!mState.isOn() || !mState.isAvailable()) in setRadioState()
800 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java348 if (DEBUG_RECENTS && task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
350 task.isAvailable = false; in cleanupLocked()
356 if (DEBUG_RECENTS && task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
363 task.isAvailable = false; in cleanupLocked()
365 if (DEBUG_RECENTS && !task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
367 task.isAvailable = true; in cleanupLocked()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java927 private boolean isAvailable(int status) { in isAvailable() method in CameraManager.CameraManagerGlobal
961 if (isAvailable(status)) { in postSingleUpdate()
1054 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChangedLocked()
1061 isAvailable(oldStatus), isAvailable(status))); in onStatusChangedLocked()
/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.h175 if (!isAvailable(pPtr)) in deallocate()
185 if (!isAvailable(pPtr)) in deallocate()
200 bool isAvailable(pointer pPtr) const { in isAvailable() function
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSuggestionParser.java124 if (!isAvailable(suggestions.get(i)) || in readSuggestions()
148 private boolean isAvailable(Tile suggestion) { in isAvailable() method in SuggestionParser

123