API feedback changes in WifiP2pConfig

The changes are,

1.  For grammatical correctness, renamed isAuthorizeConnectionFromPeer()
to isAuthorizeConnectionFromPeerEnabled and renamed the setter to
setAuthorizeConnectionFromPeerEnabled.
2. WifiP2pManager.NO_PERMISSION annotated with @IntDef

Bug: 383759306
Flag: com.android.wifi.flags.wifi_direct_r2
Test: Manual - Basic P2P connect/disconnect tests
Test: TH Presubmit tests
Test: atest com.android.server.wifi.p2p
Change-Id: Ib40bc3e0d5dbccd0124f130e6de6d8df04361e37
4 files changed