Searched refs:mP2pPermissionManager (Results 1 – 2 of 2) sorted by relevance
59 private P2pPermissionManager mP2pPermissionManager; field in AddPrintersFragment92 mP2pPermissionManager = new P2pPermissionManager(getActivity()); in onStart()97 mP2pPermissionManager.request(false, approve -> { in onStart()101 mP2pPermissionManager.setState(P2pPermissionManager.State.TEMPORARILY_DISABLED); in onStart()109 if (mP2pPermissionManager.getState() == P2pPermissionManager.State.DISABLED) { in onStart()111 mP2pPermissionManager.setState(P2pPermissionManager.State.DENIED); in onStart()113 mP2pPermissionManager.reset(); in onStart()114 mP2pPermissionManager.request(true, approve -> updateP2pPreferences()); in onStart()117 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()150 if (mP2pPermissionManager.isP2pEnabled()) { in updateP2pPreferences()[all …]
94 private P2pPermissionManager mP2pPermissionManager; field in BuiltInPrintService115 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()116 mP2pPermissionManager.reset(); in onCreate()149 mP2pPermissionManager.closeNotification(); in onDestroy()223 return mP2pPermissionManager; in getP2pPermissionManager()381 mP2pPermissionManager.applyPermissionChange(false); in onStartCommand()383 mP2pPermissionManager.applyPermissionChange(true); in onStartCommand()