Searched refs:P2pPermissionManager (Results 1 – 5 of 5) sorted by relevance
34 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()
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()
43 public class P2pPermissionManager { class44 private static final String TAG = P2pPermissionManager.class.getCanonicalName();59 public P2pPermissionManager(Context context) { in P2pPermissionManager() method in P2pPermissionManager
94 private P2pPermissionManager mP2pPermissionManager;115 mP2pPermissionManager = new P2pPermissionManager(this); in onCreate()222 public P2pPermissionManager getP2pPermissionManager() { in getP2pPermissionManager()