Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWorkSourceHelper.java61 private boolean isPrivileged(int uid) { in isPrivileged() method in WorkSourceHelper
77 if (isPrivileged(mWorkSource.getUid(i))) return true; in hasAnyPrivilegedAppRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java733 private boolean isPrivileged(int pid, int uid) { in isPrivileged() method in WifiServiceImpl
854 || isPrivileged(pid, uid) in isTargetSdkLessThanQOrPrivileged()
868 || isPrivileged(pid, uid) in isTargetSdkLessThanROrPrivileged()
894 boolean isPrivileged = isPrivileged(Binder.getCallingPid(), Binder.getCallingUid()); in setWifiEnabled()
895 if (!isPrivileged && !isDeviceOrProfileOwner(Binder.getCallingUid(), packageName) in setWifiEnabled()
904 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
910 if (!isPrivileged && mTetheredSoftApTracker.getState() == WIFI_AP_STATE_ENABLED) { in setWifiEnabled()
936 mWifiMetrics.incrementNumWifiToggles(isPrivileged, enable); in setWifiEnabled()
2454 boolean isPrivileged = isPrivileged(getCallingPid(), callingUid); in getConfiguredNetworks()
2457 if (!isDeviceOrProfileOwner && !isCarrierApp && !isPrivileged) { in getConfiguredNetworks()
[all …]
DWifiApConfigStore.java517 boolean isPrivileged, Context context) { in validateApWifiConfiguration() argument
525 if (apConfig.getBssid() != null && !isPrivileged) { in validateApWifiConfiguration()
DWifiMetrics.java7406 public void incrementNumWifiToggles(boolean isPrivileged, boolean enable) {
7408 if (isPrivileged && enable) {
7410 } else if (isPrivileged && !enable) {
7412 } else if (!isPrivileged && enable) {
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java221 private void setupPackageInfo(boolean isSystem, boolean isPrivileged, in setupPackageInfo() argument
227 when(applicationInfo.isPrivilegedApp()).thenReturn(isPrivileged); in setupPackageInfo()