Home
last modified time | relevance | path

Searched refs:ALLOWED (Results 1 – 18 of 18) sorted by relevance

/packages/apps/SecureElement/src/com/android/se/security/
DChannelAccess.java141 ca.setAccess(ACCESS.ALLOWED, "privilege application"); in getPrivilegeAccess()
142 ca.setApduAccess(ACCESS.ALLOWED); in getPrivilegeAccess()
143 ca.setNFCEventAccess(ACCESS.ALLOWED); in getPrivilegeAccess()
144 ca.setPrivilegeAccess(ACCESS.ALLOWED); in getPrivilegeAccess()
154 ca.setAccess(ACCESS.ALLOWED, "Carrier-Privilege"); in getCarrierPrivilegeAccess()
155 ca.setApduAccess(ACCESS.ALLOWED); in getCarrierPrivilegeAccess()
156 ca.setPrivilegeAccess(ACCESS.ALLOWED); in getCarrierPrivilegeAccess()
172 mAccess = ACCESS.ALLOWED; in setCarrierPrivilegeAccess()
173 mApduAccess = ACCESS.ALLOWED; in setCarrierPrivilegeAccess()
174 mPrivilegeAccess = ACCESS.ALLOWED; in setCarrierPrivilegeAccess()
[all …]
DAccessRuleCache.java93 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in mapArDo2ChannelAccess()
108 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in mapArDo2ChannelAccess()
124 ? ChannelAccess.ACCESS.ALLOWED in mapArDo2ChannelAccess()
171 } else if (channelAccess.getAccess() == ChannelAccess.ACCESS.ALLOWED) { in putWithMerge()
172 ca.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in putWithMerge()
182 } else if (channelAccess.getNFCEventAccess() == ChannelAccess.ACCESS.ALLOWED) { in putWithMerge()
183 ca.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in putWithMerge()
198 } else if (channelAccess.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) { in putWithMerge()
199 ca.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in putWithMerge()
259 ca.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in findAccessRule()
DAccessControlEnforcer.java125 mInitialChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
126 mInitialChannelAccess.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
127 mInitialChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
249 if (ca.getAccess() != ACCESS.ALLOWED) { in checkCommand()
266 if (ca.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) { in checkCommand()
287 if (channelAccess == null || (channelAccess.getApduAccess() != ChannelAccess.ACCESS.ALLOWED in setUpChannelAccess()
415 (channelAccess.getNFCEventAccess() == ChannelAccess.ACCESS.ALLOWED); in internal_isNfcEventAllowed()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java86 return getState() == State.ALLOWED; in isP2pEnabled()
95 setState(State.ALLOWED); in applyPermissionChange()
132 listener.onP2pPermissionComplete(state == State.ALLOWED); in request()
206 listener.onP2pPermissionComplete(state == State.ALLOWED); in listenForPreferenceChanges()
277 if (allowed && state != State.ALLOWED) { in getState()
279 state = State.ALLOWED; in getState()
281 } else if (!allowed && state == State.ALLOWED) { in getState()
315 ALLOWED; enumConstant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionGroupsViewModel.kt140 groupGrantStates[Category.ALLOWED] = mutableListOf() in <lambda>()
153 groupGrantStates[Category.ALLOWED]!!.add( in <lambda>()
168 groupGrantStates[Category.ALLOWED]!!.add( in <lambda>()
172 Category.ALLOWED]!!.add(GroupUiInfo(groupName, isSystem, in <lambda>()
175 Category.ALLOWED]!!.add(GroupUiInfo(groupName, isSystem, in <lambda>()
DPermissionAppsViewModel.kt126 categoryMap[Category.ALLOWED] = mutableListOf() in <lambda>()
160 PermGrantState.PERMS_ALLOWED -> Category.ALLOWED in <lambda>()
162 PermGrantState.PERMS_ALLOWED_ALWAYS -> Category.ALLOWED in <lambda>()
170 category = Category.ALLOWED in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java25 import static com.android.permissioncontroller.permission.ui.Category.ALLOWED;
305 findPreference(ALLOWED.getCategoryName()).setTitle(R.string.allowed_always_header); in onPackagesLoaded()
307 findPreference(ALLOWED.getCategoryName()).setTitle(R.string.allowed_header); in onPackagesLoaded()
322 if (packages.size() == 0 && (!isStorage || !grantCategory.equals(ALLOWED))) { in onPackagesLoaded()
326 if (grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
354 if (isStorage && grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
388 grantCategory.equals(ALLOWED), grantCategory.equals(ALLOWED_FOREGROUND), in onPackagesLoaded()
393 if (isStorage && grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
DAppPermissionGroupsFragment.java345 category = findPreference(Category.ALLOWED.getCategoryName()); in updatePreferences()
576 Category.ALLOWED.getCategoryName()); in setAutoRevokeToggleState()
640 PreferenceCategory allowed = findPreference(Category.ALLOWED.getCategoryName()); in logAppPermissionGroupsFragmentView()
/packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/
DEFACConditions.java138 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in decodeDER()
139 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in decodeDER()
188 ? ChannelAccess.ACCESS.ALLOWED in decodeDER()
234 ? ChannelAccess.ACCESS.ALLOWED in decodeDER()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java261 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
274 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
301 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
339 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
353 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
/packages/apps/SecureElement/src/com/android/se/security/arf/
DSecureElement.java142 arfChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in setUpChannelAccess()
143 arfChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in setUpChannelAccess()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java141 araChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
142 araChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
/packages/apps/SecureElement/src/com/android/se/
DChannel.java141 if (ChannelAccess.ACCESS.ALLOWED != mChannelAccess.getPrivilegeAccess()) { in transmit()
247 if (ChannelAccess.ACCESS.ALLOWED != mChannelAccess.getPrivilegeAccess()) { in checkCommand()
/packages/apps/Settings/src/com/android/settings/development/compat/
DPlatformCompatDashboard.java19 import static com.android.internal.compat.OverrideAllowedState.ALLOWED;
204 .state == ALLOWED; in createPreferenceForChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/compat/
DPlatformCompatDashboardTest.java19 import static com.android.internal.compat.OverrideAllowedState.ALLOWED;
105 .thenReturn(new OverrideAllowedState(ALLOWED, -1, -1)); in setUp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DCategory.kt24 ALLOWED("allowed"),
/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java682 return locationPermissionResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in hasLocationPermission()
DPhoneInterfaceManager.java6227 if (locationResult != LocationAccessPolicy.LocationPermissionResult.ALLOWED) { in requestNetworkScan()
7808 fineLocationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in getServiceStateForSubscriber()
7810 coarseLocationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in getServiceStateForSubscriber()