Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DInetDiagMessage.java23 import static android.os.Process.INVALID_UID;
126 return INVALID_UID; in lookupUidByFamily()
131 return INVALID_UID; in lookupUidByFamily()
152 if (uid != INVALID_UID) { in lookupUid()
170 if (uid != INVALID_UID) { in lookupUid()
176 if (uid != INVALID_UID) { in lookupUid()
183 return INVALID_UID; in lookupUid()
192 int uid = INVALID_UID; in getConnectionOwnerUid()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUserSensitivityLiveData.kt24 import android.os.Process.INVALID_UID in <lambda>()
52 private val getAllUids = uid == INVALID_UID in <lambda>()
193 if (uid == INVALID_UID) { in <lambda>()
207 return get(INVALID_UID, user) in <lambda>()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsBinderTest.java19 import static android.os.Process.INVALID_UID;
90 return INVALID_UID; in getFirstAppUidThat()
99 testUidList.add(INVALID_UID); in testAccessUidStatsFromBinder()
108 if (notMyUid != INVALID_UID) testUidList.add(notMyUid); in testAccessUidStatsFromBinder()
DNetworkRequestTest.java355 assertEquals(Process.INVALID_UID, new NetworkRequest.Builder() in testRequestorUid()
362 assertEquals(Process.INVALID_UID, new NetworkRequest.Builder() in testRequestorUid()
/packages/apps/CertInstaller/robotests/src/com/android/certinstaller/
DCertInstallerRoboTest.java72 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, Process.INVALID_UID); in testUidUsageEqualWifiPass()
90 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, Process.INVALID_UID); in testUidUsageNotNullPass()
132 assertThat(helper.getUid()).isEqualTo(Process.INVALID_UID); in testIntentNullPass()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java181 mOwnerUid = Process.INVALID_UID; in clearAll()
184 mRequestorUid = Process.INVALID_UID; in clearAll()
1091 private int mOwnerUid = Process.INVALID_UID;
2032 if (mOwnerUid != Process.INVALID_UID) { in toString()
2040 if (mRequestorUid != Process.INVALID_UID) { in toString()
2314 if (mRequestorUid == Process.INVALID_UID || nc.mRequestorUid == Process.INVALID_UID) { in satisfiedByRequestor()
2333 if (mRequestorUid != Process.INVALID_UID && mRequestorUid != nc.mOwnerUid) { in combineRequestor()
2784 if (mCaps.getOwnerUid() != Process.INVALID_UID) { in build()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java39 private static volatile int sTestUid = Process.INVALID_UID;
96 if (uid == Process.INVALID_UID) { in setTestUid()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java233 mUid = Process.INVALID_UID; in BatteryEntry()
250 mUid = Process.INVALID_UID; in BatteryEntry()
273 mUid = Process.INVALID_UID; in BatteryEntry()
354 if (uid == 0 || uid == Process.INVALID_UID) { in loadNameAndIcon()
DBatteryAppListPreferenceController.java378 consumer, /* isHidden */ true, Process.INVALID_UID, null, null, in getCoalescedUsageList()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java375 verify(mService).requestNetwork(eq(Process.INVALID_UID), eq(request.networkCapabilities), in testRequestType()
391 verify(mService).requestNetwork(eq(Process.INVALID_UID), eq(null), in testRequestType()
402 verify(mService).requestNetwork(eq(Process.INVALID_UID), eq(request.networkCapabilities), in testRequestType()
408 verify(mService).requestNetwork(eq(Process.INVALID_UID), eq(null), in testRequestType()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsages.java108 load(Process.INVALID_UID, filterPackageName, filterPermissionGroups, filterBeginTimeMillis, in load()
244 if (mFilterUid != Process.INVALID_UID in loadInBackground()
327 if (mFilterPackageName != null || mFilterUid != Process.INVALID_UID) { in loadInBackground()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java280 int uid = Process.INVALID_UID; in parseNetworkSuggestionsMap()
383 int suggestorUid = Process.INVALID_UID; in parseNetworkSuggestion()
DWifiNetworkFactory.java658 if (networkRequest.getRequestorUid() == Process.INVALID_UID) { in isRequestWithWifiNetworkSpecifierValid()
886 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
891 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
901 return Pair.create(Process.INVALID_UID, ""); in getSpecificNetworkRequestUidAndPackageName()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java84 private int mUid = Process.INVALID_UID;
150 mUid = savedStates.getInt(Credentials.EXTRA_INSTALL_AS_UID, Process.INVALID_UID); in onRestoreStates()
DCertInstaller.java97 int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, Process.INVALID_UID); in createCredentialHelper()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java19 import static android.os.Process.INVALID_UID;
166 int uid = intent.getIntExtra(Intent.EXTRA_UID, INVALID_UID);
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java22 import static android.os.Process.INVALID_UID;
487 final int expectedUid = expectSuccess ? Process.myUid() : INVALID_UID; in checkConnectionOwnerUidUdp()
845 INVALID_UID, uid); in testGetConnectionOwnerUidSecurity()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java24 import static android.os.Process.INVALID_UID;
749 final String selection = removedUid == INVALID_UID ? Constants.UID + " IS NOT NULL" in handleRemovedUidEntries()
DDownloadReceiver.java141 Process.INVALID_UID); in handleRemovedUidEntries()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java606 String idString = uid == Process.INVALID_UID in onUpdateUserSensistivePermissionFlagsWithRetry()
610 if (uid == Process.INVALID_UID) { in onUpdateUserSensistivePermissionFlagsWithRetry()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java29 import static android.os.Process.INVALID_UID;
237 int uid = app.applicationInfo != null ? app.applicationInfo.uid : INVALID_UID; in startMonitoring()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java195 Helpers.handleRemovedUidEntries(context, downloadProvider, Process.INVALID_UID); in testHandleRemovedUidEntries()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java404 private static final int INVALID_UID = -1; field in NetworkMonitor
405 private int mUidResponsibleForReeval = INVALID_UID;
1256 if (mUidResponsibleForReeval != INVALID_UID) { in enter()
1258 mUidResponsibleForReeval = INVALID_UID; in enter()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java48 import static android.os.Process.INVALID_UID;
891 assertEquals(INVALID_UID, nc1.getOwnerUid()); in testAdministratorUidsAndOwnerUid()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java86 import static android.os.Process.INVALID_UID;
1486 new NetworkAgentConfig(), this, null, null, 0, INVALID_UID, in ConnectivityService()
2201 newNc.setOwnerUid(INVALID_UID); in createWithLocationInfoSanitizedIfNecessaryWhenParceled()
2215 newNc.setOwnerUid(INVALID_UID); in createWithLocationInfoSanitizedIfNecessaryWhenParceled()
2220 newNc.setOwnerUid(INVALID_UID); in createWithLocationInfoSanitizedIfNecessaryWhenParceled()
2271 nc.setOwnerUid(INVALID_UID); in restrictRequestUidsForCallerAndSetRequestorInfo()
6039 if (asUid != Process.INVALID_UID) { in requestNetwork()
8993 if (uid == INVALID_UID) return uid; // Not found. in getConnectionOwnerUid()
9002 return INVALID_UID; in getConnectionOwnerUid()
9348 sanitized.setOwnerUid(Process.INVALID_UID); in getNetworkCapabilitiesWithoutUids()

12