/bionic/libc/bionic/ |
setuid.c | 33 int setuid(uid_t uid) 35 cpuacct_add(uid); 36 return __setuid(uid);
|
/frameworks/base/core/java/android/app/ |
IProcessObserver.aidl | 22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); 23 void onImportanceChanged(int pid, int uid, int importance); 24 void onProcessDied(int pid, int uid);
|
/frameworks/native/services/sensorservice/ |
BatteryService.h | 34 status_t noteStartSensor(int uid, int handle); 35 status_t noteStopSensor(int uid, int handle); 37 void enableSensorImpl(uid_t uid, int handle); 38 void disableSensorImpl(uid_t uid, int handle); 39 void cleanupImpl(uid_t uid); 42 uid_t uid; member in struct:android::BatteryService::Info 45 Info() : uid(0), handle(0), count(0) { } 46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { [all...] |
/frameworks/base/core/java/android/net/ |
Credentials.java | 26 /** 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) { 33 this.uid = uid; 42 return uid;
|
INetworkStatsService.aidl | 33 /** Return data layer snapshot of UID network usage. */ 34 NetworkStats getDataLayerSnapshotForUid(int uid); 38 /** Increment data layer count of operations performed for UID and tag. */ 39 void incrementOperationCount(int uid, int tag, int operationCount); 41 /** Mark given UID as being in foreground for stats purposes. */ 42 void setUidForeground(int uid, boolean uidForeground);
|
/libcore/luni/src/main/java/libcore/io/ |
StructUcred.java | 26 /** The peer process' uid. */ 27 public final int uid; field in class:StructUcred 32 private StructUcred(int pid, int uid, int gid) { 34 this.uid = uid; 39 return "StructUcred[pid=" + pid + ",uid=" + uid + ",gid=" + gid + "]";
|
/external/chromium_org/content/browser/android/ |
devtools_auth.cc | 11 bool CanUserConnectToDevTools(uid_t uid, gid_t gid) { 12 struct passwd* creds = getpwuid(uid); 14 LOG(WARNING) << "DevTools: can't obtain creds for uid " << uid; 17 if (gid == uid &&
|
/external/kernel-headers/original/linux/nfsd/ |
auth.h | 5 * uid/gid mapping not yet implemented. 15 #define nfsd_luid(rq, uid) ((u32)(uid)) 17 #define nfsd_ruid(rq, uid) ((u32)(uid))
|
/system/core/libcutils/ |
multiuser.c | 19 userid_t multiuser_get_user_id(uid_t uid) { 20 return uid / MULTIUSER_APP_PER_USER_RANGE; 23 appid_t multiuser_get_app_id(uid_t uid) { 24 return uid % MULTIUSER_APP_PER_USER_RANGE;
|
sockets.c | 37 if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) { 38 ALOGE("untrusted userid on other end of socket: userid %d\n", cr.uid);
|
/frameworks/base/core/java/android/os/ |
IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid);
|
IVibratorService.aidl | 23 void vibrate(int uid, String packageName, long milliseconds, IBinder token); 24 void vibratePattern(int uid, String packageName, in long[] pattern, int repeat, IBinder token);
|
/frameworks/native/include/binder/ |
PermissionCache.h | 31 * 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);
|
/external/chromium_org/cc/test/ |
fake_ui_resource_layer_tree_host_impl.h | 18 virtual void CreateUIResource(UIResourceId uid, 21 virtual void DeleteUIResource(UIResourceId uid) OVERRIDE; 24 UIResourceId uid) const OVERRIDE; 26 virtual bool IsUIResourceOpaque(UIResourceId uid) const OVERRIDE;
|
fake_ui_resource_layer_tree_host_impl.cc | 17 UIResourceId uid, 19 if (ResourceIdForUIResource(uid)) 20 DeleteUIResource(uid); 26 fake_ui_resource_map_[uid] = data; 29 void FakeUIResourceLayerTreeHostImpl::DeleteUIResource(UIResourceId uid) { 30 ResourceProvider::ResourceId id = ResourceIdForUIResource(uid); 32 fake_ui_resource_map_.erase(uid); 37 UIResourceId uid) const { 38 UIResourceMap::const_iterator iter = fake_ui_resource_map_.find(uid); 44 bool FakeUIResourceLayerTreeHostImpl::IsUIResourceOpaque(UIResourceId uid) [all...] |
/system/core/include/cutils/ |
qtaguid.h | 31 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid); 39 * For the given uid, switch counter sets. 43 extern int qtaguid_setCounterSet(int counterSetNum, uid_t uid); 46 * Delete all tag info that relates to the given tag an uid. 47 * If the tag is 0, then ALL info about the uid is freeded. 54 extern int qtaguid_deleteTagData(int tag, uid_t uid);
|
/frameworks/base/core/java/com/android/internal/app/ |
IBatteryStats.aidl | 26 void noteStartWakelock(int uid, int pid, String name, int type); 27 void noteStopWakelock(int uid, int pid, String name, int type); 31 void noteStartSensor(int uid, int sensor); 35 void noteStopSensor(int uid, int sensor); 40 void noteVibratorOn(int uid, long durationMillis); 41 void noteVibratorOff(int uid); 42 void noteStartGps(int uid); 43 void noteStopGps(int uid); 48 void noteUserActivity(int uid, int event); 61 void noteFullWifiLockAcquired(int uid); [all...] |
IAppOpsService.aidl | 25 int checkOperation(int code, int uid, String packageName); 26 int noteOperation(int code, int uid, String packageName); 27 int startOperation(IBinder token, int code, int uid, String packageName); 28 void finishOperation(IBinder token, int code, int uid, String packageName); 34 int checkPackage(int uid, String packageName); 36 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); 37 void setMode(int code, int uid, String packageName, int mode);
|
/external/libselinux/include/selinux/ |
android.h | 19 extern int selinux_android_setcontext(uid_t uid, 26 uid_t uid); 31 uid_t uid);
|
/frameworks/native/services/connectivitymanager/ |
ConnectivityManager.h | 34 void markSocketAsUserImpl(int fd, uid_t uid); 37 static void markSocketAsUser(int fd, uid_t uid) { 38 ConnectivityManager::getInstance().markSocketAsUserImpl(fd, uid);
|
/bionic/libc/private/ |
cpuacct.h | 37 extern int cpuacct_add(uid_t uid);
|
/external/chromium_org/cc/resources/ |
ui_resource_client.h | 27 virtual UIResourceBitmap GetBitmap(UIResourceId uid,
|
/external/chromium_org/content/public/browser/android/ |
devtools_auth.h | 16 CONTENT_EXPORT bool CanUserConnectToDevTools(uid_t uid, gid_t gid);
|
/frameworks/base/keystore/java/android/security/ |
IKeyChainService.aidl | 37 void setGrant(int uid, String alias, boolean value); 38 boolean hasGrant(int uid, String alias);
|
/frameworks/base/core/java/com/android/server/ |
NetworkManagementSocketTagger.java | 61 public static void setThreadSocketStatsUid(int uid) { 62 threadSocketTags.get().statsUid = uid; 76 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { 77 if (tag == -1 && uid == -1) return; 80 final int errno = native_tagSocketFd(fd, tag, uid); 84 + uid + ") failed with errno" + errno); 114 public static void setKernelCounterSet(int uid, int counterSet) { 116 final int errno = native_setCounterSet(counterSet, uid); 118 Log.w(TAG, "setKernelCountSet(" + uid + ", " + counterSet + ") failed with errno " 124 public static void resetKernelUidStats(int uid) { [all...] |