Home
last modified time | relevance | path

Searched refs:shouldTurnOffNFCInAirplaneMode (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DNfcPreferenceController.java65 if (shouldTurnOffNFCInAirplaneMode(mContext) || isToggleableInAirplaneMode(mContext)) { in displayPreference()
129 public static boolean shouldTurnOffNFCInAirplaneMode(Context context) { in shouldTurnOffNFCInAirplaneMode() method in NfcPreferenceController
DNfcEnabler.java63 || !NfcPreferenceController.shouldTurnOffNFCInAirplaneMode(mContext)) { in isToggleable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java213 assertThat(NfcPreferenceController.shouldTurnOffNFCInAirplaneMode(mContext)).isTrue(); in shouldTurnOffNFCInAirplaneMode_airplaneModeRadiosContainsNfc_shouldReturnTrue()
221 assertThat(NfcPreferenceController.shouldTurnOffNFCInAirplaneMode(mContext)).isFalse(); in shouldTurnOffNFCInAirplaneMode_airplaneModeRadiosWithoutNfc_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java63 || !NfcPreferenceController.shouldTurnOffNFCInAirplaneMode(mContext)) { in isToggleable()
DNfcPreferenceController.java116 public static boolean shouldTurnOffNFCInAirplaneMode(Context context) { in shouldTurnOffNFCInAirplaneMode() method in NfcPreferenceController