Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java632 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testRemoveNetworkFailureAppBelowQSdk()
707 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledMetricsNormalAppBelowQSdk()
726 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledMetricsNormalAppTargetingQSdkNoIncrement()
772 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledSuccessForDOAppsTargetingQSdk()
792 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledSuccessForSystemAppsTargetingQSdk()
811 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledSuccessForAppsTargetingBelowQSdk()
829 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledFailureForAppsTargetingQSdk()
846 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnableAppOpsRejected()
866 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnableAppOpsIgnored()
899 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), in testSetWifiEnabledFromAppFailsWhenInAirplaneMode()
[all …]
DDppManagerTest.java849 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), eq(Build.VERSION_CODES.S), in testOnFailureCallbackCannotFindNetworkErrCodeIsUpdatedOnChannelMismatch()
875 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), eq(Build.VERSION_CODES.S), in testCannotFindNetworkErrCodeIsUpdatedToNotCompatibleOnTargetSdkLessThanS()
DActiveModeWardenTest.java2922 when(mWifiPermissionsUtil.isTargetSdkLessThan( in requestRemoveLocalOnlyClientModeManagerWhenNotSystemAppAndTargetSdkLessThanS()
2938 when(mWifiPermissionsUtil.isTargetSdkLessThan( in requestRemoveLocalOnlyClientModeManagerWhenNotSystemAppAndTargetSdkEqualToS()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java105 public boolean isTargetSdkLessThan(String packageName, int versionCode, int callingUid) { in isTargetSdkLessThan() method in WifiPermissionsUtil
146 boolean isTargetSdkLessThanQ = isTargetSdkLessThan(pkgName, Build.VERSION_CODES.Q, uid); in checkCallersLocationPermission()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDppManager.java799 && mWifiPermissionsUtil.isTargetSdkLessThan( in getFailureStatusCodeOnEnrolleeInCompatibleWithNetwork()
DWifiServiceImpl.java853 return mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q, uid) in isTargetSdkLessThanQOrPrivileged()
867 return mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.R, uid) in isTargetSdkLessThanROrPrivileged()
896 && !mWifiPermissionsUtil.isTargetSdkLessThan(packageName, Build.VERSION_CODES.Q, in setWifiEnabled()
DActiveModeWarden.java441 || !mWifiPermissionsUtil.isTargetSdkLessThan( in canRequestMoreClientModeManagersInRole()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1429 && !wifiPermissionsUtil.isTargetSdkLessThan( in processNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java169 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt(), anyInt())) in setUp()