Searched refs:P2pPermissionManager (Results 1 – 5 of 5) sorted by relevance
33 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()
25 import com.android.bips.P2pPermissionManager;59 if (requestCode == P2pPermissionManager.REQUEST_P2P_PERMISSION_CODE) { in onRequestPermissionsResult()60 new P2pPermissionManager(this).applyPermissionChange(true); in onRequestPermissionsResult()
24 import com.android.bips.P2pPermissionManager;36 private P2pPermissionManager.P2pPermissionRequest mP2pPermissionRequest;84 P2pPermissionManager permissionManager = getPrintService().getP2pPermissionManager(); in startPeerDiscovery()
42 public class P2pPermissionManager { class43 private static final String TAG = P2pPermissionManager.class.getCanonicalName();57 public P2pPermissionManager(Context context) { in P2pPermissionManager() method in P2pPermissionManager
92 private P2pPermissionManager mP2pPermissionManager;113 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()220 public P2pPermissionManager getP2pPermissionManager() { in getP2pPermissionManager()