Searched refs:isTargetSdkLessThan (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 632 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 …]
|
D | DppManagerTest.java | 849 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), eq(Build.VERSION_CODES.S), in testOnFailureCallbackCannotFindNetworkErrCodeIsUpdatedOnChannelMismatch() 875 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), eq(Build.VERSION_CODES.S), in testCannotFindNetworkErrCodeIsUpdatedToNotCompatibleOnTargetSdkLessThanS()
|
D | ActiveModeWardenTest.java | 2922 when(mWifiPermissionsUtil.isTargetSdkLessThan( in requestRemoveLocalOnlyClientModeManagerWhenNotSystemAppAndTargetSdkLessThanS() 2938 when(mWifiPermissionsUtil.isTargetSdkLessThan( in requestRemoveLocalOnlyClientModeManagerWhenNotSystemAppAndTargetSdkEqualToS()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 105 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/ |
D | DppManager.java | 799 && mWifiPermissionsUtil.isTargetSdkLessThan( in getFailureStatusCodeOnEnrolleeInCompatibleWithNetwork()
|
D | WifiServiceImpl.java | 853 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()
|
D | ActiveModeWarden.java | 441 || !mWifiPermissionsUtil.isTargetSdkLessThan( in canRequestMoreClientModeManagersInRole()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1429 && !wifiPermissionsUtil.isTargetSdkLessThan( in processNetworkSpecifier()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 169 when(mWifiPermissionsUtil.isTargetSdkLessThan(anyString(), anyInt(), anyInt())) in setUp()
|