Home
last modified time | relevance | path

Searched refs:callerUid (Results 1 – 10 of 10) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java512 final int callerUid = Binder.getCallingUid(); in bulkInsert() local
518 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in bulkInsert()
537 final int callerUid = Binder.getCallingUid(); in insert() local
541 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in insert()
559 private Uri insertInner(Uri url, ContentValues initialValues, int callerUid, String callerPkg) { in insertInner() argument
743 if (ProviderUtil.shouldSetCreator(values, callerUid)) { in insertInner()
1036 final int callerUid = Binder.getCallingUid(); in update() local
1100 if (table.equals(TABLE_SMS) && ProviderUtil.shouldRemoveCreator(values, callerUid)) { in update()
DMmsProvider.java308 final int callerUid = Binder.getCallingUid(); in insert() local
403 if (ProviderUtil.shouldSetCreator(finalValues, callerUid)) { in insert()
787 final int callerUid = Binder.getCallingUid(); in update() local
844 if (ProviderUtil.shouldRemoveCreator(values, callerUid)) { in update()
DMmsSmsProvider.java1308 final int callerUid = Binder.getCallingUid(); in update() local
1316 selection, selectionArgs, callerUid, callerPkg); in update()
1355 String[] selectionArgs, int callerUid, String callerPkg) { in updateConversation() argument
1363 if (ProviderUtil.shouldRemoveCreator(values, callerUid)) { in updateConversation()
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsService.java1007 int callerUid = Binder.getCallingUid(); in generateSessionToken() local
1008 if (systemUiUid == callerUid) { in generateSessionToken()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2052 NetworkCapabilities nc, int callerPid, int callerUid) { in networkCapabilitiesRestrictedForCallerPermissions() argument
2054 if (!checkSettingsPermission(callerPid, callerUid)) { in networkCapabilitiesRestrictedForCallerPermissions()
2063 callerPid, callerUid, android.Manifest.permission.NETWORK_FACTORY)) { in networkCapabilitiesRestrictedForCallerPermissions()
2226 LinkProperties lp, int callerPid, int callerUid) { in linkPropertiesRestrictedForCallerPermissions() argument
2236 if (checkSettingsPermission(callerPid, callerUid)) { in linkPropertiesRestrictedForCallerPermissions()
2249 int callerUid, String callerPackageName) { in restrictRequestUidsForCallerAndSetRequestorInfo() argument
2264 nc.setSingleUid(callerUid); in restrictRequestUidsForCallerAndSetRequestorInfo()
2267 nc.setRequestorUidAndPackageName(callerUid, callerPackageName); in restrictRequestUidsForCallerAndSetRequestorInfo()
2283 final int callerUid = Binder.getCallingUid(); in getRestrictBackgroundStatusByCaller() local
2286 return mPolicyManager.getRestrictBackgroundStatus(callerUid); in getRestrictBackgroundStatusByCaller()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1750 public boolean removeNonCallerConfiguredNetwork(int callerUid) { in removeNonCallerConfiguredNetwork() argument
1752 Log.v(TAG, "removeNonCallerConfiguredNetwork caller = " + callerUid); in removeNonCallerConfiguredNetwork()
1758 if (config.creatorUid != callerUid) { in removeNonCallerConfiguredNetwork()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1751 int callerUid = Binder.getCallingUid(); in setUserSwitchUiCallback() local
1752 if (systemUiUid != callerUid) { in setUserSwitchUiCallback()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java6848 final int callerUid = TEST_CREATOR_UID; in testRemoveNonCallerConfiguredNetworks() local
6850 addNetworkToWifiConfigManager(callerNetwork0, callerUid, null); in testRemoveNonCallerConfiguredNetworks()
6852 addNetworkToWifiConfigManager(callerNetwork1, callerUid, null); in testRemoveNonCallerConfiguredNetworks()
6858 assertTrue(mWifiConfigManager.removeNonCallerConfiguredNetwork(callerUid)); in testRemoveNonCallerConfiguredNetworks()
DWifiServiceImplTest.java2558 final int callerUid = Binder.getCallingUid(); in testGetCallerConfiguredNetworks_ReturnsCallerNetworks() local
2560 0, callerUid, "\"red\"", true, true, null, null, SECURITY_NONE); in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
2562 1, callerUid, "\"red\"", true, true, null, null, SECURITY_NONE); in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
6109 final int callerUid = Binder.getCallingUid(); in testRemoveNonCallerConfiguredNetworks_NetworksRemoved() local
6117 verify(mWifiConfigManager).removeNonCallerConfiguredNetwork(eq(callerUid)); in testRemoveNonCallerConfiguredNetworks_NetworksRemoved()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java9667 private int getOwnerUidNetCapsPermission(int ownerUid, int callerUid, in getOwnerUidNetCapsPermission() argument
9672 netCap, includeLocationSensitiveInfo, Process.myUid(), callerUid, in getOwnerUidNetCapsPermission()
9678 int callerUid, boolean includeLocationSensitiveInfo, in verifyTransportInfoCopyNetCapsPermission() argument
9686 netCap, includeLocationSensitiveInfo, Process.myPid(), callerUid, in verifyTransportInfoCopyNetCapsPermission()