Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java84 return getState() == State.ALLOWED; in isP2pEnabled()
93 setState(State.ALLOWED); in applyPermissionChange()
126 listener.onP2pPermissionComplete(state == State.ALLOWED); in request()
183 listener.onP2pPermissionComplete(state == State.ALLOWED); in listenForPreferenceChanges()
247 if (hasPermission && state != State.ALLOWED) { in getState()
249 state = State.ALLOWED; in getState()
251 } else if (!hasPermission && state == State.ALLOWED) { in getState()
276 ALLOWED; enumConstant
/packages/apps/SecureElement/src/com/android/se/security/
DAccessRuleCache.java84 channelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in mapArDo2ChannelAccess()
102 channelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in mapArDo2ChannelAccess()
116 ? ChannelAccess.ACCESS.ALLOWED in mapArDo2ChannelAccess()
167 ca.setAccess(ChannelAccess.ACCESS.ALLOWED, ca.getReason()); in putWithMerge()
189 ca.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in putWithMerge()
214 ca.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in putWithMerge()
218 if ((ca.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) in putWithMerge()
273 ca.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in findAccessRule()
DAccessControlEnforcer.java122 mInitialChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
123 mInitialChannelAccess.setNFCEventAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
124 mInitialChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
246 if (ca.getAccess() != ACCESS.ALLOWED) { in checkCommand()
263 if (ca.getApduAccess() == ChannelAccess.ACCESS.ALLOWED) { in checkCommand()
284 if (channelAccess == null || (channelAccess.getApduAccess() != ChannelAccess.ACCESS.ALLOWED in setUpChannelAccess()
412 (channelAccess.getNFCEventAccess() == ChannelAccess.ACCESS.ALLOWED); in internal_isNfcEventAllowed()
DChannelAccess.java168 ALLOWED, enumConstant
/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.java257 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
269 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
294 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
329 .setExpectedResult(LocationAccessPolicy.LocationPermissionResult.ALLOWED) in getScenarios()
340 .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.java98 araChannelAccess.setAccess(ChannelAccess.ACCESS.ALLOWED, ""); in initialize()
99 araChannelAccess.setApduAccess(ChannelAccess.ACCESS.ALLOWED); in initialize()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java4465 if (locationResult != LocationAccessPolicy.LocationPermissionResult.ALLOWED) { in requestNetworkScan()
5609 fineLocationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in getServiceStateForSubscriber()
5611 coarseLocationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in getServiceStateForSubscriber()