Home
last modified time | relevance | path

Searched refs:isAirplaneModeOn (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java52 void onAirplaneModeChanged(boolean isAirplaneModeOn); in onAirplaneModeChanged() argument
123 mOnAirplaneModeChangedListener.onAirplaneModeChanged(isAirplaneModeOn()); in onAirplaneModeChanged()
127 public void setAirplaneMode(boolean isAirplaneModeOn) { in setAirplaneMode() argument
133 isAirplaneModeOn); in setAirplaneMode()
134 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneMode()
138 public void setAirplaneModeInECM(boolean isECMExit, boolean isAirplaneModeOn) { in setAirplaneModeInECM() argument
141 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneModeInECM()
148 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeEnabler
149 return WirelessUtils.isAirplaneModeOn(mContext); in isAirplaneModeOn()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAirplaneModeEnabler.java52 void onAirplaneModeChanged(boolean isAirplaneModeOn); in onAirplaneModeChanged() argument
123 mOnAirplaneModeChangedListener.onAirplaneModeChanged(isAirplaneModeOn()); in onAirplaneModeChanged()
127 public void setAirplaneMode(boolean isAirplaneModeOn) { in setAirplaneMode() argument
133 isAirplaneModeOn); in setAirplaneMode()
134 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneMode()
138 public void setAirplaneModeInECM(boolean isECMExit, boolean isAirplaneModeOn) { in setAirplaneModeInECM() argument
141 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneModeInECM()
148 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeEnabler
149 return WirelessUtils.isAirplaneModeOn(mContext); in isAirplaneModeOn()
/packages/apps/Settings/src/com/android/settings/network/
DAirplaneModePreferenceController.java129 return mAirplaneModeEnabler.isAirplaneModeOn(); in isChecked()
142 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
144 mAirplaneModePreference.setChecked(isAirplaneModeOn); in onAirplaneModeChanged()
DSubscriptionsChangeListener.java84 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in SubscriptionsChangeListener
96 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
DMobileNetworkSummaryController.java140 mPreference.setEnabled(!mChangeListener.isAirplaneModeOn()); in update()
158 mPreference.setAddWidgetEnabled(!mChangeListener.isAirplaneModeOn()); in update()
DSubscriptionsPreferenceController.java292 if (mSubscriptionsListener.isAirplaneModeOn()) { in isAvailable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DAirplaneModePreferenceController.java129 return mAirplaneModeEnabler.isAirplaneModeOn(); in isChecked()
142 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
144 mAirplaneModePreference.setChecked(isAirplaneModeOn); in onAirplaneModeChanged()
DSubscriptionsChangeListener.java84 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in SubscriptionsChangeListener
96 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
DMobileNetworkSummaryController.java129 mPreference.setEnabled(!mChangeListener.isAirplaneModeOn()); in update()
145 mPreference.setAddWidgetEnabled(!mChangeListener.isAirplaneModeOn()); in update()
DSubscriptionsPreferenceController.java216 if (mSubscriptionsListener.isAirplaneModeOn()) { in isAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionsChangeListenerTest.java129 assertThat(mListener.isAirplaneModeOn()).isTrue(); in onAirplaneModeChangedEvent_becameTrue_eventFires()
138 assertThat(mListener.isAirplaneModeOn()).isFalse(); in onAirplaneModeChangedEvent_becameFalse_eventFires()
/packages/services/Telephony/src/com/android/phone/
DShortcutViewUtils.java70 if (mCanEnableShortcutView && !isAirplaneModeOn(context)) { in refresh()
112 private boolean isAirplaneModeOn(@NonNull Context context) { in isAirplaneModeOn() method in ShortcutViewUtils.Config
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java251 final boolean isAirplaneModeOn = in isBluetoothAllowed()
253 if (!isAirplaneModeOn) { in isBluetoothAllowed()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DAirplaneModeConditionController.java57 return WirelessUtils.isAirplaneModeOn(mAppContext); in isDisplayable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DAirplaneModeConditionController.java57 return WirelessUtils.isAirplaneModeOn(mAppContext); in isDisplayable()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java59 if (phoneUtils.isAirplaneModeOn()) { in onSendMessageOrManualDownloadActionCompleted()
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java93 mCurrentServiceState = (PhoneUtils.getDefault().isAirplaneModeOn() ? in register()
DPhoneUtils.java945 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in PhoneUtils
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java2065 return !phoneUtils.isAirplaneModeOn() && phoneUtils.isMobileDataEnabled(); in isMmsDataAvailable()
2074 return !phoneUtils.isAirplaneModeOn(); in isSmsDataAvailable()
2082 public static boolean isAirplaneModeOn(final int subId) { in isAirplaneModeOn() method in MmsUtils
2084 return phoneUtils.isAirplaneModeOn(); in isAirplaneModeOn()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java283 public static boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in TelecomUtils
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java1086 final boolean isAirplaneModeOn = in onLongClick()
1090 if (isAirplaneModeOn) { in onLongClick()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java450 final boolean isAirplaneModeOn = Settings.Global.getInt(getContentResolver(), in onCreateOutgoingConnection()
453 boolean needToTurnOnRadio = (isEmergencyNumber && (!isRadioOn() || isAirplaneModeOn)) in onCreateOutgoingConnection()