Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 – 25 of 73) 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.java46 boolean isAvailable = (msg.arg1 == 1);
48 listener.onAvailabilityChanged(isAvailable);
57 public void onAvailabilityChanged(boolean isAvailable) {
59 MSG_AVAILABILITY_CHANGED, isAvailable ? 1 : 0, 0, null).sendToTarget();
71 public void onAvailabilityChanged(boolean isAvailable); in onAvailabilityChanged() argument
112 public boolean isAvailable() { in isAvailable() method in EthernetManager
114 return mService.isAvailable(); in isAvailable()
DIEthernetServiceListener.aidl22 void onAvailabilityChanged(boolean isAvailable); in onAvailabilityChanged() argument
DIEthernetManager.aidl31 boolean isAvailable(); in isAvailable() method
DNetworkInfo.java265 public boolean isAvailable() { in isAvailable() method in NetworkInfo
277 public void setIsAvailable(boolean isAvailable) { in setIsAvailable() argument
279 mIsAvailable = isAvailable; in setIsAvailable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java58 if (!NightDisplayController.isAvailable(mContext)) { in nightTileAdded_whenActivated()
67 if (!NightDisplayController.isAvailable(mContext)) { in nightTileNotAdded_whenDeactivated()
76 if (!NightDisplayController.isAvailable(mContext)) { in nightTileAdded_whenNightModeTwilight()
86 if (!NightDisplayController.isAvailable(mContext)) { in nightTileAdded_whenNightModeCustom()
96 if (!NightDisplayController.isAvailable(mContext)) { in nightTileNotAdded_whenNightModeDisabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java24 if (isAvailable()) { in displayPreference()
48 if (!isAvailable()) { in updateNonIndexableKeys()
56 public abstract boolean isAvailable(); in isAvailable() method in AbstractPreferenceController
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DPreferenceControllerTest.java80 mTestPrefController.isAvailable = true; in displayPref_ifAvailable()
92 mTestPrefController.isAvailable = false; in doNotDisplayPref_ifNotAvailable()
156 public boolean isAvailable; field in PreferenceControllerTest.TestPrefController
168 public boolean isAvailable() { in isAvailable() method in PreferenceControllerTest.TestPrefController
169 return isAvailable; in isAvailable()
/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()
/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()
/frameworks/base/core/java/android/view/
DTextureView.java565 if (isAvailable() && width > 0 && height > 0) { in getBitmap()
596 if (bitmap != null && isAvailable()) { in getBitmap()
620 public boolean isAvailable() { in isAvailable() method in TextureView
671 if (!isAvailable()) return null; in lockCanvas()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java45 public boolean isAvailable() { in isAvailable() method in NightDisplayTile
46 return NightDisplayController.isAvailable(mContext); in isAvailable()
DFlashlightTile.java81 public boolean isAvailable() { in isAvailable() method in FlashlightTile
108 if (!mFlashlightController.isAvailable()) { in handleUpdateState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java172 if (mState.isAvailable()) { in registerForAvailable()
192 if (!mState.isAvailable()) { in registerForNotAvailable()
212 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()
783 if (mState.isAvailable() && !oldState.isAvailable()) { in setRadioState()
787 if (!mState.isAvailable() && oldState.isAvailable()) { in setRadioState()
795 if ((!mState.isOn() || !mState.isAvailable()) in setRadioState()
796 && !((!oldState.isOn() || !oldState.isAvailable())) in setRadioState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java24 boolean isAvailable(); in isAvailable() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeFlashlightController.java39 public boolean isAvailable() { in isAvailable() method in FakeFlashlightController
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java884 private boolean isAvailable(int status) { in isAvailable() method in CameraManager.CameraManagerGlobal
918 if (isAvailable(status)) { in postSingleUpdate()
1011 if (oldStatus != null && isAvailable(status) == isAvailable(oldStatus)) { in onStatusChangedLocked()
1018 isAvailable(oldStatus), isAvailable(status))); in onStatusChangedLocked()
/frameworks/base/media/java/android/media/audiofx/
DAcousticEchoCanceler.java50 public static boolean isAvailable() { in isAvailable() method in AcousticEchoCanceler
DAutomaticGainControl.java50 public static boolean isAvailable() { in isAvailable() method in AutomaticGainControl
DNoiseSuppressor.java51 public static boolean isAvailable() { in isAvailable() method in NoiseSuppressor
/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java370 if (DEBUG_RECENTS && task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
372 task.isAvailable = false; in cleanupLocked()
378 if (DEBUG_RECENTS && task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
385 task.isAvailable = false; in cleanupLocked()
387 if (DEBUG_RECENTS && !task.isAvailable) Slog.d(TAG_RECENTS, in cleanupLocked()
389 task.isAvailable = true; in cleanupLocked()
/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/core/java/android/content/pm/
DPackageUserState.java93 public boolean isAvailable(int flags) { in isAvailable() method in PackageUserState
115 if (!isAvailable(flags) in isMatch()

123