Home
last modified time | relevance | path

Searched refs:mBeamDisallowedByBase (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java51 private boolean mBeamDisallowedByBase; field in AndroidBeam
78 mBeamDisallowedByBase = RestrictedLockUtilsInternal.hasBaseUserRestriction(getActivity(), in onCreateView()
80 if (!mBeamDisallowedByBase && admin != null) { in onCreateView()
107 mSwitchBar.setChecked(!mBeamDisallowedByBase && mNfcAdapter.isNdefPushEnabled()); in onActivityCreated()
109 mSwitchBar.setEnabled(!mBeamDisallowedByBase); in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DAndroidBeam.java51 private boolean mBeamDisallowedByBase; field in AndroidBeam
78 mBeamDisallowedByBase = RestrictedLockUtilsInternal.hasBaseUserRestriction(getActivity(), in onCreateView()
80 if (!mBeamDisallowedByBase && admin != null) { in onCreateView()
107 mSwitchBar.setChecked(!mBeamDisallowedByBase && mNfcAdapter.isNdefPushEnabled()); in onActivityCreated()
109 mSwitchBar.setEnabled(!mBeamDisallowedByBase); in onActivityCreated()