Home
last modified time | relevance | path

Searched refs:targetUid (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java676 int targetUid = -1; in hasPrivilegedAccess() local
678 targetUid = getPackageManager().getApplicationInfo(targetPackage, in hasPrivilegedAccess()
687 if (UserHandle.isSameApp(callerUid, targetUid)) { in hasPrivilegedAccess()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java430 private boolean hasGrant(String alias, int targetUid) {
433 if (!mGrantsDb.hasGrant(targetUid, alias)) {
436 targetUid, alias));
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java729 @NonNull WifiConfiguration configuration, boolean maskPasswords, int targetUid) { in createExternalWifiConfiguration() argument
738 if (targetUid != Process.WIFI_UID && targetUid != Process.SYSTEM_UID in createExternalWifiConfiguration()
739 && targetUid != configuration.creatorUid) { in createExternalWifiConfiguration()
771 boolean savedOnly, boolean maskPasswords, int targetUid) { in getConfiguredNetworks() argument
777 networks.add(createExternalWifiConfiguration(config, maskPasswords, targetUid)); in getConfiguredNetworks()
809 public List<WifiConfiguration> getSavedNetworks(int targetUid) { in getSavedNetworks() argument
810 return getConfiguredNetworks(true, true, targetUid); in getSavedNetworks()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java3679 private void doTestFirewallCloseSocket(final int chain, final int rule, final int targetUid,
3686 final int previousUidFirewallRule = mCm.getUidFirewallRule(chain, targetUid);
3693 setUidFirewallRule(chain, targetUid, rule);
3694 if (targetUid != myUid) {
3711 setUidFirewallRule(chain, targetUid, previousUidFirewallRule);
3712 if (targetUid != myUid) {