Searched refs:mP2pPermissionManager (Results 1 – 2 of 2) sorted by relevance
58 private P2pPermissionManager mP2pPermissionManager; field in AddPrintersFragment91 mP2pPermissionManager = new P2pPermissionManager(getActivity()); in onStart()96 mP2pPermissionManager.request(false, approve -> { in onStart()100 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()108 if (mP2pPermissionManager.getState() == P2pPermissionManager.State.DISABLED) { in onStart()110 mP2pPermissionManager.setState(P2pPermissionManager.State.DENIED); in onStart()112 mP2pPermissionManager.reset(); in onStart()113 mP2pPermissionManager.request(true, approve -> updateP2pPreferences()); in onStart()116 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()149 if (mP2pPermissionManager.isP2pEnabled()) { in updateP2pPreferences()[all …]
92 private P2pPermissionManager mP2pPermissionManager; field in BuiltInPrintService113 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()114 mP2pPermissionManager.reset(); in onCreate()147 mP2pPermissionManager.closeNotification(); in onDestroy()221 return mP2pPermissionManager; in getP2pPermissionManager()379 mP2pPermissionManager.applyPermissionChange(false); in onStartCommand()