Home
last modified time | relevance | path

Searched refs:P2pPermissionManager (Results 1 – 5 of 5) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddPrintersFragment.java34 import com.android.bips.P2pPermissionManager;
59 private P2pPermissionManager mP2pPermissionManager;
92 mP2pPermissionManager = new P2pPermissionManager(getActivity()); 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()
117 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()
DAddPrintersActivity.java25 import com.android.bips.P2pPermissionManager;
59 if (requestCode == P2pPermissionManager.REQUEST_P2P_PERMISSION_CODE) { in onRequestPermissionsResult()
60 new P2pPermissionManager(this).applyPermissionChange(true); in onRequestPermissionsResult()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DP2pDiscovery.java24 import com.android.bips.P2pPermissionManager;
36 private P2pPermissionManager.P2pPermissionRequest mP2pPermissionRequest;
84 P2pPermissionManager permissionManager = getPrintService().getP2pPermissionManager(); in startPeerDiscovery()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java43 public class P2pPermissionManager { class
44 private static final String TAG = P2pPermissionManager.class.getCanonicalName();
59 public P2pPermissionManager(Context context) { in P2pPermissionManager() method in P2pPermissionManager
DBuiltInPrintService.java94 private P2pPermissionManager mP2pPermissionManager;
115 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()
222 public P2pPermissionManager getP2pPermissionManager() { in getP2pPermissionManager()