Home
last modified time | relevance | path

Searched refs:mCallingUid (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchAttributionSource.java65 private final int mCallingUid; field in AppSearchAttributionSource
87 mCallingUid = callingUid; in AppSearchAttributionSource()
99 Api19Impl impl = new Api19Impl(mCallingPackageName, mCallingUid, mCallingPid); in AppSearchAttributionSource()
116 mCallingUid = mCompat.getUid(); in AppSearchAttributionSource()
130 mCallingUid = callingUid; in AppSearchAttributionSource()
137 new AttributionSource.Builder(mCallingUid).setPackageName(mCallingPackageName); in AppSearchAttributionSource()
145 mCompat = new Api19Impl(mCallingPackageName, mCallingUid, mCallingPid); in AppSearchAttributionSource()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DForegroundEnforcementAccessResolver.java37 private final int mCallingUid; field in ForegroundEnforcementAccessResolver
49 mCallingUid = callingUid; in ForegroundEnforcementAccessResolver()
59 if (ProcessCompatUtils.isSdkSandboxUid(mCallingUid)) { in getAccessInfo()
67 mAppImportanceFilter.assertCallerIsInForeground(mCallingUid, mAppNameId, null); in getAccessInfo()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsObservers.java199 if (Process.SYSTEM_UID != callingUid && requestInfo.mCallingUid != callingUid) { in handleUnregister()
206 mDataUsageRequestsPerUid.decrementCountOrThrow(requestInfo.mCallingUid); in handleUnregister()
264 protected final int mCallingUid; field in NetworkStatsObservers.RequestInfo
277 mCallingUid = callingUid; in RequestInfo()
299 return "RequestInfo from pid/uid:" + mCallingPid + "/" + mCallingUid in toString()
405 mAccessLevel, mCallingUid); in getTotalBytesForNetwork()
420 int[] uidsToMonitor = mCollection.getRelevantUids(mAccessLevel, mCallingUid); in checkStats()
451 mAccessLevel, mCallingUid); in getTotalBytesForNetworkUid()
455 Log.w(TAG, "CallerUid " + mCallingUid + " may have lost access to uid " in getTotalBytesForNetworkUid()
DNetworkStatsService.java1614 private final int mCallingUid = Binder.getCallingUid();
1651 mAccessLevel, mCallingUid);
1659 mAccessLevel, mCallingUid);
1667 mAccessLevel, mCallingUid, Long.MIN_VALUE, Long.MAX_VALUE);
1677 mAccessLevel, mCallingUid, start, end);
1686 .getSummary(template, start, end, mAccessLevel, mCallingUid);
1689 .getSummary(template, start, end, mAccessLevel, mCallingUid);
1704 .getSummary(template, start, end, mAccessLevel, mCallingUid);
1718 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid);
1721 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid);
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java325 int mCallingUid = getLaunchedFromUid(); in parseIntent() local
327 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) in parseIntent()
332 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) in parseIntent()
334 Log.w(TAG, "Non-system Uid: " + mCallingUid + " tried to override packageName \n"); in parseIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java289 int mCallingUid = getLaunchedFromUid(); in parseIntent() local
291 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) in parseIntent()
296 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) in parseIntent()
298 LOG.w("Non-system Uid: " + mCallingUid + " tried to override packageName"); in parseIntent()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp83 mCallingUid = IPCThreadState::self()->getCallingUid(); in ScopedChangeCallingUid()
85 if (mCallingUid == uid) { in ScopedChangeCallingUid()
93 if (mCallingUid == mChangedUid) { in ~ScopedChangeCallingUid()
96 int64_t token = ((int64_t)mCallingUid << 32) | mCallingPid; in ~ScopedChangeCallingUid()
101 uid_t mCallingUid; member in android::automotive::watchdog::__anona7eeba3c0111::ScopedChangeCallingUid
DIoOveruseMonitorTest.cpp149 mCallingUid = IPCThreadState::self()->getCallingUid(); in ScopedChangeCallingUid()
151 if (mCallingUid == uid) { in ScopedChangeCallingUid()
159 if (mCallingUid == mChangedUid) { in ~ScopedChangeCallingUid()
162 int64_t token = ((int64_t)mCallingUid << 32) | mCallingPid; in ~ScopedChangeCallingUid()
167 uid_t mCallingUid; member in android::automotive::watchdog::__anona15dce390111::ScopedChangeCallingUid
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp111 mCallingUid = IPCThreadState::self()->getCallingUid(); in ScopedChangeCallingUid()
113 if (mCallingUid == uid) { in ScopedChangeCallingUid()
121 if (mCallingUid == mChangedUid) { in ~ScopedChangeCallingUid()
124 int64_t token = ((int64_t)mCallingUid << 32) | mCallingPid; in ~ScopedChangeCallingUid()
129 uid_t mCallingUid; member in android::frameworks::automotive::powerpolicy::__anon710700a60111::ScopedChangeCallingUid
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java323 private final ThreadLocal<Integer> mCallingUid = new ThreadLocal<>(); field in CallLogProvider
428 mCallingUid.set(callingUid); in applyBatch()
443 mCallingUid.set(callingUid); in bulkInsert()
673 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in insert()
686 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in update()
699 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in delete()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h996 : mCallingUid(callingUid), in RestrictedMetricQueryStats()
1006 int32_t mCallingUid; member
DStatsdStats.cpp1613 stat.mCallingUid, (long long)stat.mConfigId, stat.mConfigPackage.c_str(), in dumpStats()
1620 (long long)stat.mQueryWallTimeNs, stat.mCallingUid, in dumpStats()
1972 stat.mCallingUid); in dumpStats()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java91 private int mCallingUid; field in PasspointProvisioner
155 mCallingUid = callingUid; in startSubscriptionProvisioning()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java477 private final ThreadLocal<Integer> mCallingUid = new ThreadLocal<>(); field in CalendarProvider2
2283 mCallingUid.set(callingUid); in bulkInsert()
2297 mCallingUid.set(callingUid); in applyBatch()
2310 mCallingUid.set(Binder.getCallingUid()); in insert()
2319 mCallingUid.set(Binder.getCallingUid()); in update()
2328 mCallingUid.set(Binder.getCallingUid()); in delete()
2336 final int callingUid = mCallingUid.get(); in insertInTransaction()
3327 final int callingUid = mCallingUid.get(); in deleteInTransaction()
4205 final int callingUid = mCallingUid.get(); in updateInTransaction()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2926 private final int mCallingUid;
2937 mCallingUid = callingUid;
2946 mCallingPackageName, mCallingAttributionTag, mCallingUid,
2974 .hasLocalMacAddressPermission(mCallingPid, mCallingUid);
2988 ConnectivityService.this.hasSettingsPermission(mCallingPid, mCallingUid);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java2098 private Integer mCallingUid = null;
2103 if (null != mCallingUid) return mCallingUid; in getCallingUid()
2111 mCallingUid = uid; in setCallingUid()