/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 94 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid) { in enforceLocationPermission() argument 95 if (!checkCallersLocationPermission(pkgName, featureId, in enforceLocationPermission() 144 public boolean checkCallersLocationPermission(String pkgName, @Nullable String featureId, in checkCallersLocationPermission() argument 165 AppOpsManager.OPSTR_FINE_LOCATION, pkgName, featureId, uid, message); in checkCallersLocationPermission() 175 featureId, uid, message); in checkCallersLocationPermission() 199 public void enforceFineLocationPermission(String pkgName, @Nullable String featureId, in enforceFineLocationPermission() argument 201 if (!checkCallersFineLocationPermission(pkgName, featureId, uid, false)) { in enforceFineLocationPermission() 217 private boolean checkCallersFineLocationPermission(String pkgName, @Nullable String featureId, in checkCallersFineLocationPermission() argument 229 return noteAppOpAllowed(AppOpsManager.OPSTR_FINE_LOCATION, pkgName, featureId, uid, in checkCallersFineLocationPermission() 253 public void enforceCanAccessScanResults(String pkgName, @Nullable String featureId, int uid, in enforceCanAccessScanResults() argument [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | NetworkSuggestionStoreData.java | 172 String featureId = entry.getValue().featureId; in serializeNetworkSuggestionsMap() local 181 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_FEATURE_ID, featureId); in serializeNetworkSuggestionsMap() 277 String featureId = null; in parseNetworkSuggestionsMap() local 293 featureId = (String) value; in parseNetworkSuggestionsMap() 324 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap() 349 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
|
D | BaseWifiService.java | 89 public ParceledListSlice getConfiguredNetworks(String packageName, String featureId) { in getConfiguredNetworks() argument 94 public ParceledListSlice getConfiguredNetworks(String packageName, String featureId, in getConfiguredNetworks() argument 100 public ParceledListSlice getPrivilegedConfiguredNetworks(String packageName, String featureId) { in getPrivilegedConfiguredNetworks() argument 210 public boolean startScan(String packageName, String featureId) { in startScan() argument 401 String featureId, SoftApConfiguration customConfig) { in startLocalOnlyHotspot() argument 678 ISuggestionConnectionStatusListener listener, String packageName, String featureId) { in registerSuggestionConnectionStatusListener() argument
|
D | WifiNetworkSuggestionsManager.java | 195 public final String featureId; field in WifiNetworkSuggestionsManager.PerAppInfo 213 public PerAppInfo(int uid, @NonNull String packageName, @Nullable String featureId) { in PerAppInfo() argument 216 this.featureId = featureId; in PerAppInfo() 882 @Nullable String featureId) { in add() argument 920 perAppInfo = new PerAppInfo(uid, packageName, featureId); in add() 1942 matchingExtSuggestion.perAppInfo.featureId, in sendPostConnectionBroadcastIfAllowed() 2063 matchingExtNetworkSuggestion.perAppInfo.featureId, in handleConnectionFailure() 2114 private void sendConnectionFailureIfAllowed(String packageName, @Nullable String featureId, in sendConnectionFailureIfAllowed() argument 2123 packageName, featureId, uid, "Connection failure"); in sendConnectionFailureIfAllowed()
|
D | WifiServiceImpl.java | 590 public boolean startScan(String packageName, String featureId) { in startScan() argument 613 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, callingUid, in startScan() 843 private void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid) { in enforceLocationPermission() argument 844 mWifiPermissionsUtil.enforceLocationPermission(pkgName, featureId, uid); in enforceLocationPermission() 2009 String featureId, SoftApConfiguration customConfig) { in startLocalOnlyHotspot() argument 2023 enforceLocationPermission(packageName, featureId, uid); in startLocalOnlyHotspot() 2447 String featureId, boolean callerNetworksOnly) { in getConfiguredNetworks() argument 2468 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, in getConfiguredNetworks() 2523 String packageName, String featureId) { in getPrivilegedConfiguredNetworks() argument 2529 mWifiPermissionsUtil.enforceCanAccessScanResults(packageName, featureId, callingUid, in getPrivilegedConfiguredNetworks() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 66 …ParceledListSlice getConfiguredNetworks(String packageName, String featureId, boolean callerNetwor… in getConfiguredNetworks() argument 68 ParceledListSlice getPrivilegedConfiguredNetworks(String packageName, String featureId); in getPrivilegedConfiguredNetworks() argument 110 boolean startScan(String packageName, String featureId); in startScan() argument 181 String featureId, in SoftApConfiguration customConfig); in startLocalOnlyHotspot() argument 253 in String featureId); in addNetworkSuggestions() argument 286 …tusListener(in ISuggestionConnectionStatusListener listener, String packageName, String featureId); in registerSuggestionConnectionStatusListener() argument
|
D | IWifiScanner.aidl | 29 Bundle getAvailableChannels(int band, String packageName, String featureId); in getAvailableChannels() argument
|
D | WifiManager.java | 4154 String featureId = mContext.getAttributionTag(); in startLocalOnlyHotspotInternal() local 4155 int returnCode = mService.startLocalOnlyHotspot(proxy, packageName, featureId, in startLocalOnlyHotspotInternal()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 807 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 812 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 817 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 822 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 827 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 853 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayer.java | 161 public boolean supportsFeature(int featureId) { in supportsFeature() argument 162 int byteNumber = featureId / 8; in supportsFeature() 163 byte bitMask = (byte) (1 << (featureId % 8)); in supportsFeature()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 59 private final String featureId = "some.feature.id.in.rtt.app"; field in WifiRttManagerTest 76 when(mockContext.getAttributionTag()).thenReturn(featureId); in setUp() 94 verify(mockRttService).startRanging(any(IBinder.class), eq(packageName), eq(featureId), in testRangeSuccess() 118 verify(mockRttService).startRanging(any(IBinder.class), eq(packageName), eq(featureId), in testRangeFail()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 1541 private boolean isFeatureProvisioned(int featureId, boolean defaultValue) { in isFeatureProvisioned() argument 1548 (imsConfig.getProvisionedValue(featureId) in isFeatureProvisioned() 1556 log("isFeatureProvisioned() featureId=" + featureId + " provisioned=" + provisioned); in isFeatureProvisioned()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ViewImage.java | 474 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 475 boolean b = super.onMenuItemSelected(featureId, item); in onMenuItemSelected()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 131 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 2656 String featureId = "test.com.featureId"; in testGetScanResults() local 2659 featureId); in testGetScanResults() 2682 String featureId = "test.com.featureId"; in testGetScanResultsFailureInRunWithScissors() local 2685 featureId); in testGetScanResultsFailureInRunWithScissors() 2715 String featureId = "test.com.featureId"; in testGetMatchingScanResultsWithoutSpecifiedScanResults() local 2719 matchingSuggestions, null, packageName, featureId); in testGetMatchingScanResultsWithoutSpecifiedScanResults() 2748 String featureId = "test.com.featureId"; in testGetMatchingScanResultsWithSpecifiedScanResults() local 2752 matchingSuggestions, scanResultList, packageName, featureId); in testGetMatchingScanResultsWithSpecifiedScanResults() 2784 String featureId = "test.com.featureId"; in testGetMatchingScanResultsFailureInRunWithScissors() local 2788 matchingSuggestions, null, packageName, featureId); in testGetMatchingScanResultsFailureInRunWithScissors()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1348 String featureId = bundle.getString(WifiP2pManager.CALLING_FEATURE_ID); in processMessage() local 1360 clientInfo.mFeatureId = featureId; in processMessage() 4484 private WifiP2pDeviceList getPeers(String pkgName, @Nullable String featureId, int uid) { in getPeers() argument 4487 if (mWifiPermissionsUtil.checkCanAccessWifiDirect(pkgName, featureId, uid, true)) { in getPeers()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 304 private void sendChannelInfoUpdateMsg(String pkgName, @Nullable String featureId, in sendChannelInfoUpdateMsg() argument 310 bundle.putString(WifiP2pManager.CALLING_FEATURE_ID, featureId); in sendChannelInfoUpdateMsg()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 2800 public int getCallStateForSubscription(int subId, String callingPackage, String featureId) { in getCallStateForSubscription() argument 2806 featureId, "getCallStateForSubscription")) { in getCallStateForSubscription()
|