Home
last modified time | relevance | path

Searched refs:INVALID_UID (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/net/
DNetworkCapabilities.java103 mOwnerUid = Process.INVALID_UID; in clearAll()
106 mRequestorUid = Process.INVALID_UID; in clearAll()
925 private int mOwnerUid = Process.INVALID_UID;
1796 if (mOwnerUid != Process.INVALID_UID) { in toString()
2087 if (mRequestorUid == Process.INVALID_UID || nc.mRequestorUid == Process.INVALID_UID) { in satisfiedByRequestor()
2106 if (mRequestorUid != Process.INVALID_UID && mRequestorUid != nc.mOwnerUid) { in combineRequestor()
2424 if (mCaps.getOwnerUid() != Process.INVALID_UID) { in build()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java225 return Process.INVALID_UID; in getServiceUidLocked()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java33 import static android.os.Process.INVALID_UID;
167 int uid = app.applicationInfo != null ? app.applicationInfo.uid : INVALID_UID; in startMonitoring()
/frameworks/base/core/java/android/os/
DProcess.java38 public static final int INVALID_UID = -1; field in Process
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java679 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
683 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
693 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
DNetworkSuggestionStoreData.java306 int suggestorUid = Process.INVALID_UID; in parseNetworkSuggestion()
DWifiServiceImpl.java1886 int targetConfigUid = Process.INVALID_UID; // don't expose any MAC addresses in getConfiguredNetworks()
DClientModeImpl.java4709 if (specificRequestUidAndPackageName.first != Process.INVALID_UID) { in getCapabilities()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java774 return collectHistoricalOpsBaseDLocked(Process.INVALID_UID /*filterUid*/, in readHistoryRawDLocked()
970 Process.INVALID_UID /*filterUid*/, null /*filterPackageName*/, in handlePersistHistoricalOpsRecursiveDLocked()
1224 if (filterUid != Process.INVALID_UID && filterUid != uid) { in readHistoricalUidOpsDLocked()
1675 if (mFilterUid != Process.INVALID_UID && mFilterUid != ops.getUid()) { in visitHistoricalUidOps()
DAppOpsService.java524 if (proxyUid == Process.INVALID_UID) { in updateProxyState()
2006 resolveProxyPackageName, Process.INVALID_UID, null, proxyFlags); in noteProxyOperation()
2041 return noteOperationUnchecked(code, uid, resolvedPackageName, Process.INVALID_UID, null, in noteOperationImpl()
2173 int watchedUid = Process.INVALID_UID; in startWatchingNoted()
3805 int dumpUid = Process.INVALID_UID; in dump()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java20 import static android.os.Process.INVALID_UID;
1196 if (uid != INVALID_UID) { in isSystemPackage()
DSettingsProvider.java19 import static android.os.Process.INVALID_UID;
2786 setting.getPackageName(), INVALID_UID, userId)) {
2806 setting.getPackageName(), INVALID_UID, userId)) {
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java78 import static android.os.Process.INVALID_UID;
6890 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerLocationOff()
6900 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid + 1, myUid)); in testMaybeSanitizeLocationInfoForCallerWrongUid()
6911 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationAfterQ()
6920 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithoutLocationPermission()
7146 mServiceContext, null, null, mService, null, null, null, 0, INVALID_UID); in testCheckConnectivityDiagnosticsPermissionsNetworkStack()
7162 mServiceContext, null, null, mService, null, null, null, 0, INVALID_UID); in testCheckConnectivityDiagnosticsPermissionsWrongUidPackageName()
7178 mServiceContext, null, null, mService, null, null, null, 0, INVALID_UID); in testCheckConnectivityDiagnosticsPermissionsNoLocationPermission()
7195 mServiceContext, null, null, mService, null, null, null, 0, INVALID_UID); in testCheckConnectivityDiagnosticsPermissionsActiveVpn()
7229 mService, null, null, null, 0, INVALID_UID); in testCheckConnectivityDiagnosticsPermissionsNetworkAdministrator()
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java2784 private int mUid = Process.INVALID_UID;
2816 Preconditions.checkArgument(uid == Process.INVALID_UID || uid >= 0, in setUid()
2817 "uid must be " + Process.INVALID_UID + " or non negative"); in setUid()
3048 if (uid != Process.INVALID_UID && uid != uidOp.getUid()) { in filter()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java216 : Process.INVALID_UID; in pushToActivityTaskManagerLocked()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java736 assertEquals(Process.INVALID_UID, nc1.getOwnerUid()); in testAdministratorUidsAndOwnerUid()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java56 import static android.os.Process.INVALID_UID;
1698 newNc.setOwnerUid(INVALID_UID); in maybeSanitizeLocationInfoForCaller()
1714 newNc.setOwnerUid(INVALID_UID); in maybeSanitizeLocationInfoForCaller()
1754 nc.setOwnerUid(INVALID_UID); in restrictRequestUidsForCallerAndSetRequestorInfo()
7734 return INVALID_UID; in getConnectionOwnerUid()
8090 sanitized.setOwnerUid(Process.INVALID_UID); in getNetworkCapabilitiesWithoutUids()
/frameworks/base/media/java/android/media/session/
DMediaSession.java113 public static final int INVALID_UID = -1; field in MediaSession
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java454 .thenReturn(Pair.create(Process.INVALID_UID, "")); in setUp()
3406 .thenReturn(Pair.create(Process.INVALID_UID, "")); in verifyNetworkCapabilities()
3428 Process.INVALID_UID, ""); in verifyNetworkCapabilities()
DWifiNetworkFactoryTest.java1628 assertEquals(Integer.valueOf(Process.INVALID_UID), in testHandleNetworkRequestWithSpecifierGetUid()
1640 assertEquals(Integer.valueOf(Process.INVALID_UID), in testHandleNetworkRequestWithSpecifierGetUid()
DWifiConfigManagerTest.java1965 List<WifiConfiguration> configs = mWifiConfigManager.getSavedNetworks(Process.INVALID_UID); in testGetConfiguredNetworksMasksRandomizedMac()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java1261 return Process.INVALID_UID; in getAugmentedAutofillServiceUidLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java651 private int mDeviceOwnerUid = Process.INVALID_UID;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt40293 Landroid/media/session/MediaSession;->INVALID_UID:I
44310 Landroid/net/NetworkCapabilities;->INVALID_UID:I
/frameworks/base/non-updatable-api/
Dcurrent.txt35329 field public static final int INVALID_UID = -1; // 0xffffffff

12