Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java58 void onAirplaneModeChanged(boolean isAirplaneModeOn); in onAirplaneModeChanged() argument
133 mOnAirplaneModeChangedListener.onAirplaneModeChanged(isAirplaneModeOn()); in onAirplaneModeChanged()
163 public void setAirplaneMode(boolean isAirplaneModeOn) { in setAirplaneMode() argument
166 Log.d(LOG_TAG, "ECM airplane mode=" + isAirplaneModeOn); in setAirplaneMode()
169 isAirplaneModeOn); in setAirplaneMode()
170 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneMode()
174 public void setAirplaneModeInECM(boolean isECMExit, boolean isAirplaneModeOn) { in setAirplaneModeInECM() argument
175 Log.d(LOG_TAG, "Exist ECM=" + isECMExit + ", with airplane mode=" + isAirplaneModeOn); in setAirplaneModeInECM()
178 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneModeInECM()
185 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeEnabler
[all …]
/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/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java124 boolean isAirplaneModeOn = intent.getBooleanExtra("state", false);
125 handleAirplaneModeChange(isAirplaneModeOn);
130 private void handleAirplaneModeChange(boolean isAirplaneModeOn) { in handleAirplaneModeChange() argument
149 callForwarding.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange()
152 callBarring.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange()
155 additional.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange()
DShortcutViewUtils.java72 if (mCanEnableShortcutView && !isAirplaneModeOn(context)) { in refresh()
114 private boolean isAirplaneModeOn(@NonNull Context context) { in isAirplaneModeOn() method in ShortcutViewUtils.Config
/packages/apps/Settings/src/com/android/settings/network/
DAirplaneModePreferenceController.java124 return mAirplaneModeEnabler.isAirplaneModeOn(); in isChecked()
137 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
139 mAirplaneModePreference.setChecked(isAirplaneModeOn); in onAirplaneModeChanged()
DSubscriptionsChangeListener.java85 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in SubscriptionsChangeListener
97 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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java245 final boolean isAirplaneModeOn = in isBluetoothAllowed()
247 if (!isAirplaneModeOn) { in isBluetoothAllowed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DAirplaneModeEnablerTest.java68 public void onAirplaneModeChanged(boolean isAirplaneModeOn) {} in onAirplaneModeChanged() argument
/packages/services/Telephony/src/com/android/services/telephony/
DDeviceState.java45 public boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in DeviceState
DTelephonyConnectionService.java785 final boolean isAirplaneModeOn = mDeviceState.isAirplaneModeOn(this); in onCreateOutgoingConnection()
787 boolean needToTurnOnRadio = (isEmergencyNumber && (!isRadioOn() || isAirplaneModeOn)) in onCreateOutgoingConnection()
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java90 mCurrentServiceState = (PhoneUtils.getDefault().isAirplaneModeOn() ? in register()
DPhoneUtils.java945 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in PhoneUtils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DAirplaneModeConditionController.java57 return WirelessUtils.isAirplaneModeOn(mAppContext); in isDisplayable()
/packages/apps/Settings/src/com/android/settings/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/Settings/src/com/android/settings/network/telephony/
DMobileDataSlice.java187 return WirelessUtils.isAirplaneModeOn(mContext); in isAirplaneModeEnabled()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java961 when(mDeviceState.isAirplaneModeOn(any())).thenReturn(true); in testCreateOutgoingEmerge_exitingApm_disconnected()
987 when(mDeviceState.isAirplaneModeOn(any())).thenReturn(true); in testCreateOutgoingEmergencyConnection_exitingApm_placeCall()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java1086 final boolean isAirplaneModeOn = in onLongClick()
1090 if (isAirplaneModeOn) { in onLongClick()

12