Home
last modified time | relevance | path

Searched refs:isTargetSdkLessThan (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java127 public boolean isTargetSdkLessThan(String packageName, int versionCode) { in isTargetSdkLessThan() method in WifiPermissionsUtil
156 boolean isTargetSdkLessThanQ = isTargetSdkLessThan(pkgName, Build.VERSION_CODES.Q); in checkCallersLocationPermission()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java546 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledMetricsNormalAppBelowQSDK()
565 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
609 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
626 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledFailureForAppsTargetingQSDK()
643 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnableAppOpsRejected()
663 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnableAppOpsIgnored()
695 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledFromAppFailsWhenInAirplaneMode()
739 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledFromAppFailsWhenApEnabled()
821 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiDisabledSuccessForAppsTargetingBelowQSDK()
838 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiDisabledFailureForAppsTargetingQSDK()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java164 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt())).thenReturn(true); in setUp()
1020 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt())).thenReturn(false); in testDataPathResonderMacPassphraseNoPeerIdSuccessNonLegacy()
1031 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt())).thenReturn(false); in testDataPathResonderMacOpenNoPeerIdNoPmkPassphraseSuccessNonLegacy()
1077 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt())).thenReturn(false); in testDataPathResonderDirectNoMacPassphraseSuccessNonLegacy()
1087 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt())).thenReturn(false); in testDataPathResonderDirectNoMacNoPmkPassphraseSuccessNonLegacy()
1475 boolean isLegacy = mWifiPermissionsUtil.isTargetSdkLessThan("anything", in testDataPathResponderUtility()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java856 return mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q) in isTargetSdkLessThanQOrPrivileged()
878 && !mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q)) { in setWifiEnabled()
2294 if (mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q)) { in removePasspointConfiguration()
2319 if (mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q)) { in getPasspointConfigurations()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1288 if (!allowNdpResponderFromAnyOverride && !wifiPermissionsUtil.isTargetSdkLessThan( in processNetworkSpecifier()