Searched refs:uid (Results 226 - 250 of 275) sorted by relevance

1234567891011

/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.h206 void removeNotificationClient(uid_t uid);
480 uid_t uid);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp719 const int uid = IPCThreadState::self()->getCallingUid(); local
721 "can't disable transmit LED pid=%d, uid=%d", pid, uid);
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java264 final int uid; field in class:VoiceInteractionSession.Caller
268 uid = _uid;
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java562 int uid, int initialPid, String message, int userId) {
570 pkg, tag, id, uid, initialPid, message, userId);
696 + ", uid=" + Binder.getCallingUid());
561 onNotificationError(String pkg, String tag, int id, int uid, int initialPid, String message, int userId) argument
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java657 + ", uid=" + Binder.getCallingUid());
688 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) {
689 return super.onHandleForceStop(intent, packages, uid, doit);
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h64 void setUID(uid_t uid);
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java215 * to the AccountAuthenticators. The uid of the caller will be known by the
217 * verify that the package is consistent with the uid (a uid might be shared by many
441 * @param uid the uid of the calling app.
444 public Account[] getAccountsForPackage(String packageName, int uid) { argument
446 return mService.getAccountsForPackage(packageName, uid);
501 * Change whether or not an app (identified by its uid) is allowed to retrieve an authToken
507 * @param uid The uid tha
511 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java93 int launchedFromUid; // always the uid who started the activity.
391 userId = UserHandle.getUserId(aInfo.applicationInfo.uid);
461 && (aInfo.applicationInfo.uid == Process.SYSTEM_UID
462 || aInfo.applicationInfo.uid == _caller.info.uid)) {
H A DProcessStatsService.java111 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 DActivityStack.java505 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
588 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
1024 bsi.getProcessStatsLocked(prev.info.applicationInfo.uid,
1592 final int lastUid = mLastStartedActivity.info.applicationInfo.uid;
1593 final int nextUid = next.info.applicationInfo.uid;
2008 proc = mService.mProcessNames.get(r.processName, r.info.applicationInfo.uid);
2657 if (r.info.applicationInfo.uid > 0) {
2658 mService.grantUriPermissionFromIntentLocked(r.info.applicationInfo.uid,
2927 parent.deliverNewIntentLocked(srec.info.applicationInfo.uid, destIntent,
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java1630 * Extra field name for the uid of who is requesting to install
1800 * @hide Return the uid associated with the given package name for the
1810 * @return Returns an integer uid who owns the given package name.
2279 * @param uid The user id for which you would like to retrieve the
2285 public abstract String[] getPackagesForUid(int uid); argument
2294 * @param uid The user id for which you would like to retrieve a name.
2298 public abstract String getNameForUid(int uid); argument
2303 * end up using a common uid. This might be used for new applications
2304 * that use an existing shared user name and need to know the uid of the
2307 * @param sharedUserName The shared user name whose uid i
2658 queryContentProviders( String processName, int uid, int flags) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java881 int getAllowedResolutionLevel(int pid, int uid) { argument
883 pid, uid) == PackageManager.PERMISSION_GRANTED) {
886 pid, uid) == PackageManager.PERMISSION_GRANTED) {
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp763 int uid = (int)(token>>32); local
764 if (uid > 0 && uid < 999) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DComponentTest.java600 pi.applicationInfo.uid, 0);
618 pi.applicationInfo.uid, 0);
624 pi.applicationInfo.uid, GET_DISABLED_COMPONENTS);
/frameworks/av/services/audioflinger/
H A DThreads.cpp629 void AudioFlinger::ThreadBase::acquireWakeLock(int uid) argument
632 acquireWakeLock_l(uid);
654 void AudioFlinger::ThreadBase::acquireWakeLock_l(int uid) argument
660 if (uid >= 0) {
665 uid,
1361 int uid,
1510 sessionId, uid, *flags, TrackBase::TYPE_DEFAULT);
1513 channelMask, frameCount, sharedBuffer, sessionId, uid);
1653 mWakeLockUids.add(track->uid());
2689 mWakeLockUids.remove(track->uid());
1350 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, int uid, status_t *status) argument
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java623 // 2. they run as a system-level uid but do not supply their own backup agent
624 if ((app.uid < Process.FIRST_APPLICATION_UID) && (app.backupAgentName == null)) {
1064 // Build our mapping of uid to backup client services. This implicitly
1766 final int uid = extras.getInt(Intent.EXTRA_UID);
1771 // under the old uid and fall through to re-add.
1772 removePackageParticipantsLocked(pkgList, uid);
1813 removePackageParticipantsLocked(pkgList, uid);
1930 int uid = pkg.applicationInfo.uid;
1931 HashSet<String> set = mBackupParticipants.get(uid);
[all...]
/frameworks/base/core/java/android/app/
H A DLoadedApk.java134 mResDir = aInfo.uid == myUid ? aInfo.sourceDir : aInfo.publicSourceDir;
136 mSplitResDirs = aInfo.uid == myUid ? aInfo.splitSourceDirs : aInfo.splitPublicSourceDirs;
138 if (!UserHandle.isSameUser(aInfo.uid, myUid) && !Process.isIsolated()) {
H A DActivityThread.java726 Slog.v(TAG, "scheduleBindService token=" + token + " intent=" + intent + " uid="
1684 + "/" + mBoundApplication.appInfo.uid);
1708 boolean securityViolation = includeCode && ai.uid != 0
1709 && ai.uid != Process.SYSTEM_UID && (mBoundApplication != null
1710 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid)
1718 + " (with uid " + ai.uid + ")";
1721 + mBoundApplication.processName + " (with uid "
1722 + mBoundApplication.appInfo.uid
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp238 "can't dump SensorService from pid=%d, uid=%d\n",
663 uid_t uid = IPCThreadState::self()->getCallingUid(); local
664 sp<SensorEventConnection> result(new SensorEventConnection(this, uid));
1034 const sp<SensorService>& service, uid_t uid)
1035 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false),
1068 result.appendFormat("\t WakeLockRefCount %d | uid %d | cache size %d | max cache size %d\n",
1033 SensorEventConnection( const sp<SensorService>& service, uid_t uid) argument
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp47 ARTSPConnection::ARTSPConnection(bool uidValid, uid_t uid) argument
49 mUID(uid),
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java606 * for a given uid. This is for internal use only to avoid spying
610 * for the given uid or {@code null} if no default network is
611 * available for the specified uid.
617 public NetworkInfo getActiveNetworkInfoForUid(int uid) { argument
619 return mService.getActiveNetworkInfoForUid(uid);
/frameworks/base/core/java/android/widget/
H A DAppSecurityPermissions.java275 if((pkgInfo.applicationInfo != null) && (pkgInfo.applicationInfo.uid != -1)) {
276 getAllUsedPermissions(pkgInfo.applicationInfo.uid, permSet);
/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java184 public final int uid; field in class:ProcessCpuTracker.Stats
246 uid = FileUtils.getUid(statFile.toString());
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java1287 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/pm/
H A DPackageInstallerSession.java863 final int uid = mPm.getPackageUid(PackageManagerService.DEFAULT_CONTAINER_PACKAGE,
865 final int gid = UserHandle.getSharedAppGid(uid);

Completed in 1234 milliseconds

1234567891011