/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimServiceTableTest.java | 40 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/ |
D | IccServiceTableTest.java | 41 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/ |
D | EthernetManager.java | 52 boolean isAvailable = (msg.arg1 == 1); 54 listener.onAvailabilityChanged((String) msg.obj, isAvailable); 63 public void onAvailabilityChanged(String iface, boolean isAvailable) { 65 MSG_AVAILABILITY_CHANGED, isAvailable ? 1 : 0, 0, iface).sendToTarget(); 81 void onAvailabilityChanged(String iface, boolean isAvailable); in onAvailabilityChanged() argument 128 public boolean isAvailable() { in isAvailable() method in EthernetManager 139 public boolean isAvailable(String iface) { in isAvailable() method in EthernetManager 141 return mService.isAvailable(iface); in isAvailable()
|
D | IEthernetServiceListener.aidl | 22 void onAvailabilityChanged(String iface, boolean isAvailable); in onAvailabilityChanged() argument
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/ |
D | AbstractPreferenceControllerTest.java | 59 mTestPrefController.isAvailable = true; in displayPref_ifAvailable() 68 mTestPrefController.isAvailable = true; in displayPref_noKey_shouldDoNothing() 91 mTestPrefController.isAvailable = false; in doNotDisplayPref_ifNotAvailable() 108 public boolean isAvailable; field in AbstractPreferenceControllerTest.TestPrefController 122 public boolean isAvailable() { in isAvailable() method in AbstractPreferenceControllerTest.TestPrefController 123 return isAvailable; in isAvailable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | DeveloperOptionsPreferenceController.java | 46 public boolean isAvailable() { in isAvailable() method in DeveloperOptionsPreferenceController 60 if (isAvailable()) { in onDeveloperOptionsEnabled() 69 if (isAvailable()) { in onDeveloperOptionsDisabled()
|
D | AbstractEnableAdbPreferenceController.java | 56 if (isAvailable()) { in displayPreference() 62 public boolean isAvailable() { in isAvailable() method in AbstractEnableAdbPreferenceController 83 if (isAvailable()) { in enablePreference()
|
D | AbstractLogpersistPreferenceController.java | 72 if (isAvailable() && lifecycle != null) { in AbstractLogpersistPreferenceController() 78 public boolean isAvailable() { in isAvailable() method in AbstractLogpersistPreferenceController 90 if (isAvailable()) { in displayPreference() 117 if (isAvailable()) { in enablePreference()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | ImsStatusPreferenceControllerTest.java | 75 imsStatusPreferenceController.isAvailable()).isTrue(); in testIsAvailable() 80 .that(imsStatusPreferenceController.isAvailable()).isFalse(); in testIsAvailable() 85 .that(imsStatusPreferenceController.isAvailable()).isFalse(); in testIsAvailable() 90 .that(imsStatusPreferenceController.isAvailable()).isFalse(); in testIsAvailable()
|
D | SimStatusImeiInfoPreferenceControllerTest.java | 63 assertThat(mController.isAvailable()).isTrue(); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 75 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() 84 assertThat(mController.isAvailable()).isFalse(); in testIsAvailable_isNotAdmin_shouldReturnFalse()
|
D | SerialNumberPreferenceControllerTest.java | 59 assertThat(mController.isAvailable()).isFalse(); in testIsAvaiable_noSerial_shouldReturnFalse() 66 assertThat(mController.isAvailable()).isTrue(); in testIsAvailable_hasSerial_shouldReturnTrue()
|
D | BluetoothAddressPreferenceControllerTest.java | 74 .that(bluetoothAddressPreferenceController.isAvailable()) in testNoBluetooth() 84 .that(bluetoothAddressPreferenceController.isAvailable()) in testHasBluetooth()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 116 synchronized void handleWifiScanAlwaysAvailableToggled(boolean isAvailable) { in handleWifiScanAlwaysAvailableToggled() argument 117 persistScanAlwaysAvailableState(isAvailable); in handleWifiScanAlwaysAvailableToggled() 131 private void persistScanAlwaysAvailableState(boolean isAvailable) { in persistScanAlwaysAvailableState() argument 133 WifiSettingsConfigStore.WIFI_SCAN_ALWAYS_AVAILABLE, isAvailable); in persistScanAlwaysAvailableState()
|
D | WifiScanAlwaysAvailableSettingsCompatibility.java | 97 public void handleWifiScanAlwaysAvailableToggled(boolean isAvailable) { in handleWifiScanAlwaysAvailableToggled() argument 99 mContentResolver, SETTINGS_GLOBAL_WIFI_SCAN_ALWAYS_AVAILABLE, isAvailable ? 1 : 0); in handleWifiScanAlwaysAvailableToggled()
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplay.java | 48 boolean isAvailable = (in.readInt() != 0); 52 isAvailable, canConnect, isRemembered); 109 public boolean isAvailable() { in isAvailable() method in WifiDisplay
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | LogpersistPreferenceControllerTest.java | 84 assertThat(mController.isAvailable()).isFalse(); in testAvailable() 86 assertThat(mController.isAvailable()).isTrue(); in testAvailable() 88 assertThat(mController.isAvailable()).isFalse(); in testAvailable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/ |
D | AbstractPreferenceController.java | 33 if (isAvailable()) { in displayPreference() 71 public abstract boolean isAvailable(); in isAvailable() method in AbstractPreferenceController
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractWifiMacAddressPreferenceController.java | 60 public boolean isAvailable() { in isAvailable() method in AbstractWifiMacAddressPreferenceController 72 if (isAvailable()) { in displayPreference()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | OutputPort.java | 55 public boolean isAvailable() { in isAvailable() method in OutputPort 184 return !mWaitsUntilAvailable || isAvailable(); in conditionsMet()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UsimServiceTable.java | 146 public boolean isAvailable(UsimService service) { in isAvailable() method in UsimServiceTable 147 return super.isAvailable(service.ordinal()); in isAvailable()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeManager.java | 247 public void onAvailabilityChanged(boolean isAvailable) { in onAvailabilityChanged() argument 249 Log.d(TAG, "Interface availability = " + isAvailable + ", mWifiNanIface=" in onAvailabilityChanged() 253 if (isAvailable) { in onAvailabilityChanged()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 577 if (isAvailable() && width > 0 && height > 0) { in getBitmap() 608 if (bitmap != null && isAvailable()) { in getBitmap() 632 public boolean isAvailable() { in isAvailable() method in TextureView 686 if (!isAvailable()) return null; in lockCanvas()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | WorkModeTile.java | 63 public boolean isAvailable() { in isAvailable() method in WorkModeTile 85 if (!isAvailable()) { in handleUpdateState()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | WifiRttManager.java | 95 public boolean isAvailable() { in isAvailable() method in WifiRttManager 97 return mService.isAvailable(); in isAvailable()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 119 virtual Return<void> backgroundScanAvailable(bool isAvailable); 295 Return<void> NativeCallback::backgroundScanAvailable(bool isAvailable) { in backgroundScanAvailable() argument 296 ALOGV("%s(%d)", __func__, isAvailable); in backgroundScanAvailable() 298 mCallbackThread.enqueue([this, isAvailable](JNIEnv *env) { in backgroundScanAvailable() 300 gjni.TunerCallback.onBackgroundScanAvailabilityChange, isAvailable); in backgroundScanAvailable()
|