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.java33 import com.android.bips.P2pPermissionManager;
58 private P2pPermissionManager mP2pPermissionManager;
91 mP2pPermissionManager = new P2pPermissionManager(getActivity()); 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()
116 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.java42 public class P2pPermissionManager { class
43 private static final String TAG = P2pPermissionManager.class.getCanonicalName();
57 public P2pPermissionManager(Context context) { in P2pPermissionManager() method in P2pPermissionManager
DBuiltInPrintService.java92 private P2pPermissionManager mP2pPermissionManager;
113 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()
220 public P2pPermissionManager getP2pPermissionManager() { in getP2pPermissionManager()