HomeSort by relevance Sort by last modified time
    Searched refs:uid (Results 26 - 50 of 1208) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/native/libs/binder/
PermissionCache.cpp 38 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) {
    [all...]
  /external/chromium_org/remoting/host/installer/mac/Scripts/
remoting_preflight.sh 26 ps -eo uid,command | awk -v script="$SCRIPT_FILE" '
53 for uid in $(find_users_with_active_hosts); do
54 if [[ -n "$uid" ]]; then
55 echo "$uid" >> "$USERS_TMP_FILE"
56 if [[ "$uid" = "0" ]]; then
61 pid="$(find_login_window_for_user "$uid")"
63 launchctl bsexec "$pid" sudo -u "#$uid" launchctl stop "$SERVICE_NAME"
64 launchctl bsexec "$pid" sudo -u "#$uid" launchctl unload -w -S \
  /frameworks/base/core/java/android/net/
INetworkPolicyListener.aidl 22 void onUidRulesChanged(int uid, int uidRules);
  /system/core/include/cutils/
multiuser.h 33 extern userid_t multiuser_get_user_id(uid_t uid);
34 extern appid_t multiuser_get_app_id(uid_t uid);
  /system/core/run-as/
package.h 30 uid_t uid; member in struct:__anon60981
40 extern int check_data_path(const char* dataDir, uid_t uid);
run-as.c 46 * until the uid/gid has been dropped to that of a normal user
111 int myuid, uid, gid; local
132 if (info.uid < AID_APP) {
144 if (check_data_path(info.dataDir, info.uid) < 0) {
152 uid = gid = info.uid;
153 if(setresgid(gid,gid,gid) || setresuid(uid,uid,uid)) {
158 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0)
    [all...]
  /frameworks/base/core/java/android/os/
UserHandle.java 81 * @param uid1 uid to compare
82 * @param uid2 other uid to compare
91 public static final boolean isIsolated(int uid) {
92 if (uid > 0) {
93 final int appId = getAppId(uid);
101 public static boolean isApp(int uid) {
102 if (uid > 0) {
103 final int appId = getAppId(uid);
111 * Returns the user id for a given uid.
114 public static final int getUserId(int uid) {
    [all...]
  /frameworks/native/services/sensorservice/
BatteryService.cpp 41 status_t BatteryService::noteStartSensor(int uid, int handle) {
44 data.writeInt32(uid);
52 status_t BatteryService::noteStopSensor(int uid, int handle) {
55 data.writeInt32(uid);
63 bool BatteryService::addSensor(uid_t uid, int handle) {
65 Info key(uid, handle);
75 bool BatteryService::removeSensor(uid_t uid, int handle) {
77 ssize_t index = mActivations.indexOf(Info(uid, handle));
85 void BatteryService::enableSensorImpl(uid_t uid, int handle) {
87 if (addSensor(uid, handle))
    [all...]
  /external/openssh/openbsd-compat/
pwcache.c 48 user_from_uid(uid_t uid, int nouser)
51 uid_t uid; member in struct:ncache
59 cp = c_uid + (uid & MASK);
60 if (cp->uid != uid || cp->name == NULL) {
67 if ((pw = getpwuid(uid)) == NULL) {
70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid);
72 cp->uid = uid;
  /system/extras/su/
su.c 35 void pwtoid(const char *tok, uid_t *uid, gid_t *gid)
40 if (uid) *uid = pw->pw_uid;
44 if (uid) *uid = tmpid;
49 void extract_uidgids(const char *uidgids, uid_t *uid, gid_t *gid, gid_t *gids,
58 *gid = *uid = 0;
66 pwtoid(tok, uid, gid);
89 * SU can be given a specific command to exec. UID _must_ be
96 * su [uid[,gid[,group1]...] [cmd]
105 uid_t uid, myuid; local
    [all...]
  /bionic/libc/kernel/arch-arm/asm/
ipcbuf.h 25 __kernel_uid32_t uid; member in struct:ipc64_perm
  /bionic/libc/kernel/arch-mips/asm/
ipcbuf.h 25 __kernel_uid_t uid; member in struct:ipc64_perm
  /bionic/libc/kernel/arch-x86/asm/
ipcbuf.h 25 __kernel_uid32_t uid; member in struct:ipc64_perm
  /development/ndk/platforms/android-3/arch-arm/include/asm/
ipcbuf.h 18 __kernel_uid32_t uid; member in struct:ipc64_perm
  /development/ndk/platforms/android-9/arch-mips/include/asm/
ipcbuf.h 25 __kernel_uid_t uid; member in struct:ipc64_perm
  /development/ndk/platforms/android-9/arch-x86/include/asm/
ipcbuf.h 25 __kernel_uid32_t uid; member in struct:ipc64_perm
  /external/kernel-headers/original/asm-arm/
ipcbuf.h 17 __kernel_uid32_t uid; member in struct:ipc64_perm
  /external/kernel-headers/original/asm-mips/
ipcbuf.h 17 __kernel_uid_t uid; member in struct:ipc64_perm
  /external/kernel-headers/original/asm-x86/
ipcbuf.h 17 __kernel_uid32_t uid; member in struct:ipc64_perm
  /packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
IKeyChainServiceTestSupport.aidl 37 void revokeAppPermission(int uid, String alias);
38 void grantAppPermission(int uid, String alias);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/asm/
ipcbuf.h 17 __kernel_uid32_t uid; member in struct:ipc64_perm
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
smb_mount.h 19 __kernel_uid_t uid; member in struct:smb_mount_data
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/asm/
ipcbuf.h 17 __kernel_uid32_t uid; member in struct:ipc64_perm
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
smb_mount.h 19 __kernel_uid_t uid; member in struct:smb_mount_data
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/asm/
ipcbuf.h 17 __kernel_uid32_t uid; member in struct:ipc64_perm

Completed in 939 milliseconds

12 3 4 5 6 7 8 91011>>