Searched refs:isPrivileged (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WorkSourceHelper.java | 61 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/ |
D | WifiServiceImpl.java | 733 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 …]
|
D | WifiApConfigStore.java | 517 boolean isPrivileged, Context context) { in validateApWifiConfiguration() argument 525 if (apConfig.getBssid() != null && !isPrivileged) { in validateApWifiConfiguration()
|
D | WifiMetrics.java | 7406 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/ |
D | CarToastUITest.java | 221 private void setupPackageInfo(boolean isSystem, boolean isPrivileged, in setupPackageInfo() argument 227 when(applicationInfo.isPrivilegedApp()).thenReturn(isPrivileged); in setupPackageInfo()
|