Searched defs:uid (Results 1 - 25 of 179) sorted by relevance

12345678

/frameworks/base/core/java/android/net/
H A DCredentials.java26 /** uid of process. root peers may lie. */
27 private final int uid; field in class:Credentials
31 public Credentials (int pid, int uid, int gid) { argument
33 this.uid = uid;
42 return uid;
/frameworks/base/core/java/android/app/
H A DActivityManagerInternal.java29 String processName, String abiOverride, int uid, Runnable crashHandler);
28 startIsolatedProcess(String entryPoint, String[] mainArgs, String processName, String abiOverride, int uid, Runnable crashHandler) argument
H A DAppImportanceMonitor.java39 final int uid; field in class:AppImportanceMonitor.AppEntry
44 uid = _uid;
50 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) {
54 public void onProcessStateChanged(int pid, int uid, int procState) {
56 updateImportanceLocked(pid, uid,
63 public void onProcessDied(int pid, int uid) {
65 updateImportanceLocked(pid, uid,
98 updateImportanceLocked(app.uid, app.pid, app.importance, false);
103 public int getImportance(int uid) { argument
104 AppEntry ent = mApps.get(uid);
114 onImportanceChanged(int uid, int importance, int oldImportance) argument
117 updateImportanceLocked(int uid, int pid, int importance, boolean repChange) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java59 private void checkPermission(int pid, int uid, int monitoringType) { argument
60 if (mGeofenceHardwareImpl.getAllowedResolutionLevel(pid, uid) <
/frameworks/base/core/java/android/os/
H A DNullVibrator.java45 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
53 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, argument
H A DVibrator.java140 public abstract void vibrate(int uid, String opPkg, long milliseconds, argument
148 public abstract void vibrate(int uid, String opPkg, long[] pattern, int repeat, argument
H A DSystemVibrator.java62 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken);
78 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, argument
89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes),
/frameworks/base/core/java/com/android/internal/app/
H A DProcessMap.java26 public E get(String name, int uid) { argument
29 return uids.get(uid);
32 public E put(String name, int uid, E value) { argument
38 uids.put(uid, value);
42 public void remove(String name, int uid) { argument
45 uids.remove(uid);
/frameworks/base/core/jni/
H A Dandroid_server_NetworkManagementSocketTagger.cpp35 jint tagNum, jint uid) {
43 int res = qtaguid_tagSocket(userFd, tagNum, uid);
67 jint setNum, jint uid) {
69 int res = qtaguid_setCounterSet(setNum, uid);
77 jint tagNum, jint uid) {
79 int res = qtaguid_deleteTagData(tagNum, uid);
33 QTagUid_tagSocketFd(JNIEnv* env, jclass, jobject fileDescriptor, jint tagNum, jint uid) argument
66 QTagUid_setCounterSet(JNIEnv* env, jclass, jint setNum, jint uid) argument
76 QTagUid_deleteTagData(JNIEnv* env, jclass, jint tagNum, jint uid) argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingConfig.java19 int getPackagePriority(String packageName, int uid); argument
21 void setPackagePriority(String packageName, int uid, int priority); argument
23 int getPackageVisibilityOverride(String packageName, int uid); argument
25 void setPackageVisibilityOverride(String packageName, int uid, int visibility); argument
/frameworks/native/include/binder/
H A DPermissionCache.h31 * PermissionCache caches permission checks for a given uid.
44 uid_t uid; member in struct:android::PermissionCache::Entry
47 return (uid == e.uid) ? (name < e.name) : (uid < e.uid);
61 const String16& permission, uid_t uid) const;
63 void cache(const String16& permission, uid_t uid, bool granted);
74 pid_t pid, uid_t uid);
/frameworks/native/libs/binder/
H A DIPermissionController.cpp39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) argument
45 data.writeInt32(uid);
66 int32_t uid = data.readInt32(); local
67 bool res = checkPermission(permission, pid, uid);
H A DAppOpsManager.cpp68 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) argument
71 return service != NULL ? service->checkOperation(op, uid, callingPackage) : MODE_IGNORED;
74 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
76 return service != NULL ? service->noteOperation(op, uid, callingPackage) : MODE_IGNORED;
79 int32_t AppOpsManager::startOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
81 return service != NULL ? service->startOperation(getToken(service), op, uid, callingPackage)
85 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
88 service->finishOperation(getToken(service), op, uid, callingPackage); local
H A DIBatteryStats.cpp37 virtual void noteStartSensor(int uid, int sensor) { argument
40 data.writeInt32(uid);
45 virtual void noteStopSensor(int uid, int sensor) { argument
48 data.writeInt32(uid);
53 virtual void noteStartVideo(int uid) { argument
56 data.writeInt32(uid);
60 virtual void noteStopVideo(int uid) { argument
63 data.writeInt32(uid);
67 virtual void noteStartAudio(int uid) { argument
70 data.writeInt32(uid);
74 noteStopAudio(int uid) argument
104 int uid = data.readInt32(); local
112 int uid = data.readInt32(); local
120 int uid = data.readInt32(); local
127 int uid = data.readInt32(); local
134 int uid = data.readInt32(); local
141 int uid = data.readInt32(); local
[all...]
H A DPermissionCache.cpp38 const String16& permission, uid_t uid) const {
42 e.uid = uid;
52 uid_t uid, bool granted) {
64 e.uid = uid;
85 uid_t uid = ipcState->getCallingUid(); local
87 if (outUid) *outUid = uid;
88 return PermissionCache::checkPermission(permission, pid, uid);
92 const String16& permission, pid_t pid, uid_t uid) {
51 cache(const String16& permission, uid_t uid, bool granted) argument
91 checkPermission( const String16& permission, pid_t pid, uid_t uid) argument
[all...]
/frameworks/native/services/sensorservice/
H A DBatteryService.cpp41 bool BatteryService::addSensor(uid_t uid, int handle) { argument
43 Info key(uid, handle);
53 bool BatteryService::removeSensor(uid_t uid, int handle) { argument
55 ssize_t index = mActivations.indexOf(Info(uid, handle));
63 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument
65 if (addSensor(uid, handle)) {
67 mBatteryStatService->noteStartSensor(uid, handle);
72 void BatteryService::disableSensorImpl(uid_t uid, int handle) { argument
74 if (removeSensor(uid, handle)) {
76 mBatteryStatService->noteStopSensor(uid, handl
82 cleanupImpl(uid_t uid) argument
[all...]
H A DBatteryService.h33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
35 void cleanupImpl(uid_t uid);
38 uid_t uid; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } argument
44 return (uid == rhs.uid)
54 enableSensor(uid_t uid, int handle) argument
57 disableSensor(uid_t uid, int handle) argument
60 cleanup(uid_t uid) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaExtractor.h68 virtual void setUID(uid_t uid) { argument
/frameworks/av/media/libstagefright/
H A DHTTPBase.cpp113 void HTTPBase::RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag) { argument
114 int res = qtaguid_tagSocket(sockfd, kTag, uid);
116 ALOGE("Failed tagging socket %d for uid %d (My UID=%d)", sockfd, uid, geteuid());
129 void HTTPBase::RegisterSocketUserMark(int sockfd, uid_t uid) { argument
130 setNetworkForUser(uid, sockfd);
/frameworks/base/cmds/idmap/
H A Didmap.cpp116 uid_t uid = getuid(); local
119 return (uid == 0 && gid == 0) || (uid == AID_SYSTEM && gid == AID_SYSTEM);
216 ALOGD("%s:%d: uid=%d gid=%d argv=%s\n", __FILE__, __LINE__, getuid(), getgid(), buf);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputBinding.java55 * @param uid The user id of the client of this binding.
59 int uid, int pid) {
62 mUid = uid;
120 + " / uid " + mUid + " / pid " + mPid + "}";
58 InputBinding(InputConnection conn, IBinder connToken, int uid, int pid) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaProjectionPermissionActivity.java75 mUid = aInfo.uid;
141 private Intent getMediaProjectionIntent(int uid, String packageName, boolean permanentGrant) argument
143 IMediaProjection projection = mService.createProjection(uid, packageName,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java68 public void onPackageRemoved(String packageName, int uid) { argument
77 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DBasePermission.java43 int uid; field in class:BasePermission
H A DPackageVerificationState.java70 * @param uid user ID of sufficient verifier
72 public void addSufficientVerifier(int uid) { argument
73 mSufficientVerifierUids.put(uid, true);
80 * @param uid user ID of the verifying agent
83 public boolean setVerifierResponse(int uid, int code) { argument
84 if (uid == mRequiredVerifierUid) {
98 if (mSufficientVerifierUids.get(uid)) {
104 mSufficientVerifierUids.delete(uid);

Completed in 394 milliseconds

12345678