/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 140 void noteProcessStart(String name, int uid) { argument 142 mStats.noteProcessStartLocked(name, uid); 146 void noteProcessCrash(String name, int uid) { argument 148 mStats.noteProcessCrashLocked(name, uid); 152 void noteProcessAnr(String name, int uid) { argument 154 mStats.noteProcessAnrLocked(name, uid); 158 void noteProcessState(String name, int uid, int state) { argument 160 mStats.noteProcessStateLocked(name, uid, state); 164 void noteProcessFinish(String name, int uid) { argument 166 mStats.noteProcessFinishLocked(name, uid); 215 noteEvent(int code, String name, int uid) argument 222 noteSyncStart(String name, int uid) argument 229 noteSyncFinish(String name, int uid) argument 236 noteJobStart(String name, int uid) argument 243 noteJobFinish(String name, int uid) argument 250 noteStartWakelock(int uid, int pid, String name, String historyName, int type, boolean unimportantForLogging) argument 259 noteStopWakelock(int uid, int pid, String name, String historyName, int type) argument 294 noteStartSensor(int uid, int sensor) argument 301 noteStopSensor(int uid, int sensor) argument 308 noteVibratorOn(int uid, long durationMillis) argument 315 noteVibratorOff(int uid) argument 322 noteStartGps(int uid) argument 329 noteStopGps(int uid) argument 350 noteUserActivity(int uid, int event) argument 428 noteStartAudio(int uid) argument 435 noteStopAudio(int uid) argument 442 noteStartVideo(int uid) argument 449 noteStopVideo(int uid) argument 576 noteFullWifiLockAcquired(int uid) argument 583 noteFullWifiLockReleased(int uid) argument 590 noteWifiScanStarted(int uid) argument 597 noteWifiScanStopped(int uid) argument 604 noteWifiMulticastEnabled(int uid) argument 611 noteWifiMulticastDisabled(int uid) argument [all...] |
H A D | BroadcastQueue.java | 387 || receiver.applicationInfo.uid != nextReceiver.applicationInfo.uid 453 + r.callingPid + ", uid=" + r.callingUid + ")" 461 filter.receiverList.pid, filter.receiverList.uid, -1, true); 467 + ", uid=" + filter.receiverList.uid + ")" 470 + " (uid " + r.callingUid + ")"); 476 filter.receiverList.uid, filter.packageName); 479 "App op " + r.appOp + " not allowed for broadcast to uid " 480 + filter.receiverList.uid [all...] |
H A D | ContentProviderRecord.java | 38 final int uid; field in class:ContentProviderRecord 61 uid = ai.uid; 65 noReleaseNeeded = uid == 0 || uid == Process.SYSTEM_UID; 71 uid = cpr.uid; 88 && uid == app.info.uid; 153 pw.print(prefix); pw.print("uid [all...] |
H A D | NativeCrashListener.java | 135 if (credentials.uid == 0) {
|
H A D | PendingIntentRecord.java | 38 final int uid; field in class:PendingIntentRecord 189 uid = _u; 252 owner.startActivitiesInPackage(uid, key.packageName, allIntents, 255 owner.startActivityInPackage(uid, key.packageName, finalIntent, 272 int sent = owner.broadcastIntentInPackage(key.packageName, uid, 286 owner.startServiceInPackage(uid, 334 pw.print(prefix); pw.print("uid="); pw.print(uid);
|
H A D | ProcessList.java | 595 * @param uid The uid of the app 600 public static final void setOomAdj(int pid, int uid, int amt) { argument 608 buf.putInt(uid);
|
H A D | ProcessRecord.java | 54 final int uid; // uid of process; may be different from 'info' if isolated field in class:ProcessRecord 185 pw.print(" uid="); pw.print(info.uid); 186 if (uid != info.uid) { 187 pw.print(" ISOLATED uid="); pw.print(uid); 305 wtime = mBatteryStats.getProcessWakeTime(info.uid, 394 isolated = _info.uid ! [all...] |
H A D | ProcessStatsService.java | 111 int uid, int versionCode, String processName) { 112 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName); 115 public ProcessStats.ServiceState getServiceStateLocked(String packageName, int uid, argument 117 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName, 618 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 110 getProcessStateLocked(String packageName, int uid, int versionCode, String processName) argument
|
H A D | ProviderMap.java | 100 + ", record uid = " + record.appInfo.uid); 105 final int userId = UserHandle.getUserId(record.appInfo.uid); 113 + ", record uid = " + record.appInfo.uid); 118 final int userId = UserHandle.getUserId(record.appInfo.uid);
|
H A D | ReceiverList.java | 38 public final int uid; field in class:ReceiverList 51 uid = _uid; 70 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); 105 sb.append(uid);
|
H A D | ServiceRecord.java | 320 userId = UserHandle.getUserId(appInfo.uid); 330 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, 348 serviceInfo.applicationInfo.uid, serviceInfo.applicationInfo.versionCode, 421 final int appUid = appInfo.uid;
|
H A D | TaskPersister.java | 135 // Local cache of package names to uid used when restoring a task from another device. 587 // All done! package->uid map no longer needed. 643 // All done! package->uid map no longer needed. 650 * Removes the input package name from the local package->uid map. 803 Integer uid = mPackageUidMap.get(task.realActivity.getPackageName()); 804 if (uid == null) { 806 Slog.wtf(TAG, "Can't find uid for task=" + task 810 task.effectiveUid = task.mCallingUid = uid; 813 uid = mPackageUidMap.get(activity.launchedFromPackage); 814 if (uid [all...] |
H A D | TaskRecord.java | 96 int effectiveUid; // The current effective uid of the identity of this task. 112 int creatorUid; // The app uid that originally created the task 199 mCallingUid = info.applicationInfo.uid; 207 userId = UserHandle.getUserId(info.applicationInfo.uid); 209 mCallingUid = info.applicationInfo.uid; 269 /** Sets the original intent, and the calling uid and package. */ 276 /** Sets the original intent, _without_ updating the calling uid or package. */ 292 effectiveUid = info.applicationInfo.uid; 338 userId = UserHandle.getUserId(info.applicationInfo.uid); 1014 effectiveUid = ai.uid; [all...] |
/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 70 ListenerInfo(int uid, String packageName) { argument 71 mUid = uid; 308 private final void checkUriOwnerLocked(Uri uri, int uid) { argument 315 mAm.checkGrantUriPermission(uid, null, ContentProvider.getUriWithoutUserId(uri), 317 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(uid))); 324 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { argument 326 checkUriOwnerLocked(item.getUri(), uid); 330 checkUriOwnerLocked(intent.getData(), uid); 334 private final void checkDataOwnerLocked(ClipData data, int uid) { argument 337 checkItemOwnerLocked(data.getItemAt(i), uid); 364 addActiveOwnerLocked(int uid, String pkg) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 123 int uid = app.applicationInfo != null ? app.applicationInfo.uid : -1; 124 if (uid < 0) { 132 Boolean permission = mApps.get(uid); 136 mApps.put(uid, isSystem);
|
H A D | Vpn.java | 592 int uid = getAppUid(app, userHandle); 593 if (uid != -1) uids.add(uid); 607 for (int uid : getAppsUids(mConfig.allowedApplications, userHandle)) { 609 start = uid; 610 } else if (uid != stop + 1) { 612 start = uid; 614 stop = uid; 621 for (int uid : getAppsUids(mConfig.disallowedApplications, userHandle)) { 622 if (uid 815 appliesToUid(int uid) argument [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 244 final int uid = Binder.getCallingUid(); 283 syncManager.scheduleLocalSync(null /* all accounts */, callingUserHandle, uid, 903 public final int uid; field in class:ContentService.ObserverNode.ObserverEntry 913 uid = _uid; 934 pw.print(pid); pw.print(" uid="); 935 pw.print(uid); pw.print(" user="); 1007 int uid, int pid, int userHandle) { 1009 uid, pid, userHandle); 1014 int uid, int pid, int userHandle) { 1018 uid, pi 1005 addObserverLocked(Uri uri, IContentObserver observer, boolean notifyForDescendants, Object observersLock, int uid, int pid, int userHandle) argument 1012 addObserverLocked(Uri uri, int index, IContentObserver observer, boolean notifyForDescendants, Object observersLock, int uid, int pid, int userHandle) argument [all...] |
H A D | SyncManager.java | 549 * @param uid Linux uid of the application that is performing the sync. 556 public void scheduleSync(ComponentName cname, int userId, int uid, Bundle extras, argument 604 new SyncOperation(cname, userId, uid, source, extras, 633 * @param reason for sync request. If this is a positive integer, it is the Linux uid 2584 targetUid = syncAdapterInfo.uid; 2606 .uid; 2678 targetUid = syncAdapterInfo.uid; 2681 // TODO: Store the uid of the service as part of the authority info in order to 2687 .uid; [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 1287 throw new SecurityException("packageName must match the calling uid"); 1381 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); 1393 private boolean validatePackageName(int uid, String packageName) { argument 1395 String[] packageNames = mContext.getPackageManager().getPackagesForUid(uid);
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 130 callerUid, callerPid, resolvedType, resolvedApp.uid); 136 callerPid, resolvedType, resolvedApp.uid); 581 int checkComponentPermission(String permission, int pid, int uid, argument 591 * @param uid The uid of the caller 592 * @param owningUid The uid of the application that owns the component 596 boolean checkComponentPermission(String permission, int pid, int uid, int owningUid, argument 598 return mAms.checkComponentPermission(permission, pid, uid, owningUid, exported) ==
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 544 final int uid = Binder.getCallingUid(); 548 result = nativeInjectInputEvent(mPtr, event, displayId, pid, uid, mode, 1348 + ", uid=" + Binder.getCallingUid()); 1370 + ", uid=" + Binder.getCallingUid()
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobSchedulerService.java | 133 * still clean up. On reinstall the package will have a new uid. 145 Slog.d(TAG, "Removing jobs for uid: " + uidRemoved); 186 public List<JobInfo> getPendingJobs(int uid) { argument 192 if (job.getUid() == uid) { 212 * Entry point from client to cancel all jobs originating from their uid. 215 * @param uid Uid to check against for removal of a job. 217 public void cancelJobsForUid(int uid) { argument 220 jobsForUid = mJobs.getJobsByUid(uid); 232 * @param uid Uid of the calling client. 235 public void cancelJob(int uid, in argument 714 enforceValidJobRequest(int uid, JobInfo job) argument 735 canPersistJobs(int pid, int uid) argument [all...] |
H A D | JobStore.java | 198 * @param uid Uid of the requesting app. 199 * @return All JobStatus objects for a given uid from the master list. Never null. 201 public List<JobStatus> getJobsByUid(int uid) { argument 206 if (ts.getUid() == uid) { 214 * @param uid Uid of the requesting app. 218 public JobStatus getJobByUidAndJobId(int uid, int jobId) { argument 222 if (ts.getUid() == uid && ts.getJobId() == jobId) { 338 out.attribute(null, "uid", Integer.toString(jobStatus.getUid())); 515 int uid; 521 uid [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | JobStatus.java | 217 public boolean matches(int uid, int jobId) { argument 218 return this.job.getId() == jobId && this.uId == uid;
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeofenceManager.java | 120 int allowedResolutionLevel, int uid, String packageName) { 123 + ", intent=" + intent + ", uid=" + uid + ", packageName=" + packageName); 127 request.getExpireAt(), allowedResolutionLevel, uid, packageName, intent); 119 addFence(LocationRequest request, Geofence geofence, PendingIntent intent, int allowedResolutionLevel, int uid, String packageName) argument
|