Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 25 of 105) sorted by relevance

12345

/system/core/gatekeeperd/
Dgatekeeperd.cpp77 void store_sid(uint32_t uid, uint64_t sid) { in store_sid()
103 void maybe_store_sid(uint32_t uid, uint64_t sid) { in maybe_store_sid()
111 uint64_t read_sid(uint32_t uid) { in read_sid()
122 void clear_sid(uint32_t uid) { in clear_sid()
131 virtual int enroll(uint32_t uid, in enroll()
187 virtual int verify(uint32_t uid, in verify()
197 virtual int verifyChallenge(uint32_t uid, uint64_t challenge, in verifyChallenge()
266 virtual uint64_t getSecureUserId(uint32_t uid) { in getSecureUserId()
284 virtual void clearSecureUserId(uint32_t uid) { in clearSecureUserId()
302 const int uid = ipc->getCallingUid(); in dump() local
DIGateKeeperService.cpp34 uint32_t uid = data.readInt32(); in onTransact() local
77 uint32_t uid = data.readInt32(); in onTransact() local
109 uint32_t uid = data.readInt32(); in onTransact() local
148 uint32_t uid = data.readInt32(); in onTransact() local
156 uint32_t uid = data.readInt32(); in onTransact() local
DSoftGateKeeperDevice.cpp21 int SoftGateKeeperDevice::enroll(uint32_t uid, in enroll()
71 int SoftGateKeeperDevice::verify(uint32_t uid, in verify()
/system/core/libprocessgroup/
Dprocessgroup.cpp87 static int convertUidToPath(char *path, size_t size, uid_t uid) in convertUidToPath()
95 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath()
105 static int initCtx(uid_t uid, int pid, struct ctx *ctx) in initCtx()
151 static pid_t getOneAppProcess(uid_t uid, int appProcessPid, struct ctx *ctx) in getOneAppProcess()
188 static int removeProcessGroup(uid_t uid, int pid) in removeProcessGroup()
204 DIR *uid = opendir(uid_path); in removeUidProcessGroups() local
256 static int killProcessGroupOnce(uid_t uid, int initialPid, int signal) in killProcessGroupOnce()
292 int killProcessGroup(uid_t uid, int initialPid, int signal) in killProcessGroup()
321 static int mkdirAndChown(const char *path, mode_t mode, uid_t uid, gid_t gid) in mkdirAndChown()
340 int createProcessGroup(uid_t uid, int initialPid) in createProcessGroup()
/system/security/keystore/
Dpermissions.cpp37 uid_t uid; member
46 uid_t uid; member
62 uid_t uid; member
108 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid) { in keystore_selinux_check_access()
141 uid_t get_keystore_euid(uid_t uid) { in get_keystore_euid()
152 bool has_permission(uid_t uid, perm_t perm, pid_t spid) { in has_permission()
Dkeystore_utils.cpp83 uid_t get_app_id(uid_t uid) { in get_app_id()
87 uid_t get_user_id(uid_t uid) { in get_user_id()
DIKeystoreService.cpp483 virtual int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength) in get()
517 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert()
542 virtual int32_t del(const String16& name, int uid) in del()
562 virtual int32_t exist(const String16& name, int uid) in exist()
582 virtual int32_t list(const String16& prefix, int uid, Vector<String16>* matches) in list()
703 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate()
736 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid, in import()
899 int64_t getmtime(const String16& name, int32_t uid) in getmtime()
961 virtual int32_t clear_uid(int64_t uid) in clear_uid()
1000 const uint8_t* entropy, size_t entropyLength, int uid, int flags, in generateKey()
[all …]
Dkeystore.h29 uint32_t uid; member
78 bool hasGrant(const char* filename, const uid_t uid) const { in hasGrant()
/system/core/libcutils/
Dmultiuser.c19 userid_t multiuser_get_user_id(uid_t uid) { in multiuser_get_user_id()
23 appid_t multiuser_get_app_id(uid_t uid) { in multiuser_get_app_id()
Duevent.c34 uid_t uid = -1; in uevent_kernel_multicast_recv() local
47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid) in uevent_kernel_multicast_uid_recv()
52 ssize_t uevent_kernel_recv(int socket, void *buffer, size_t length, bool require_group, uid_t *uid) in uevent_kernel_recv()
Dfs.c40 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl()
108 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
112 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict()
116 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
Dqtaguid.c101 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { in qtaguid_tagSocket()
136 int qtaguid_setCounterSet(int counterSetNum, uid_t uid) { in qtaguid_setCounterSet()
147 int qtaguid_deleteTagData(int tag, uid_t uid) { in qtaguid_deleteTagData()
Dcanned_fs_config.c29 unsigned uid; member
86 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { in canned_fs_config()
/system/extras/su/
Dsu.c30 void pwtoid(const char* tok, uid_t* uid, gid_t* gid) { in pwtoid()
45 void extract_uidgids(const char* uidgids, uid_t* uid, gid_t* gid, gid_t* gids, int* gids_count) { in extract_uidgids()
102 uid_t uid = 0; in main() local
/system/nativepower/daemon/
Dwake_lock_manager_stub.cc28 uid_t uid) { in ConstructRequestString()
49 uid_t uid) { in AddRequest()
Dwake_lock_manager.cc54 uid_t uid) in Request()
85 uid_t uid) { in AddRequest()
/system/core/logd/
DLogWhiteBlackList.cpp26 Prune::Prune(uid_t uid, pid_t pid) : mUid(uid), mPid(pid) { in Prune()
29 int Prune::cmp(uid_t uid, pid_t pid) const { in cmp()
157 uid_t uid = Prune::uid_all; in init() local
DLogStatistics.cpp217 uid_t uid = getUid(); in format() local
334 uid_t uid = getUid(); in format() local
371 uid_t uid = getUid(); in format() local
413 uid_t uid = getUid(); in format() local
436 std::string LogStatistics::format(uid_t uid, pid_t pid, in format()
555 int uid; in pidToUid() local
/system/netd/server/binder/android/net/
DUidRange.cpp70 void UidRange::setStart(int32_t uid) { in setStart()
77 void UidRange::setStop(int32_t uid) { in setStop()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp80 int TrustyGateKeeperDevice::Enroll(uint32_t uid, const uint8_t *current_password_handle, in Enroll()
123 int TrustyGateKeeperDevice::Verify(uint32_t uid, uint64_t challenge, in Verify()
188 int TrustyGateKeeperDevice::enroll(const struct gatekeeper_device *dev, uint32_t uid, in enroll()
215 int TrustyGateKeeperDevice::verify(const struct gatekeeper_device *dev, uint32_t uid, in verify()
/system/netd/server/
DNetlinkHandler.cpp125 const char *uid = evt->findParam("UID"); in onEvent() local
133 const char *uid = evt->findParam("UID"); in onEvent() local
184 const char *uid) { in notifyInterfaceClassActivity()
224 void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) { in notifyStrictCleartext()
DNetworkController.cpp257 unsigned netId, uid_t uid, struct android_net_context* netcontext) const { in getNetworkContext()
432 for (uid_t uid : uids) { in setPermissionForUsers() local
437 int NetworkController::checkUserNetworkAccess(uid_t uid, unsigned netId) const { in checkUserNetworkAccess()
501 const char* nexthop, bool legacy, uid_t uid) { in addRoute()
506 const char* nexthop, bool legacy, uid_t uid) { in removeRoute()
523 for (uid_t uid : uids) { in denyProtect() local
582 int NetworkController::checkUserNetworkAccessLocked(uid_t uid, unsigned netId) const { in checkUserNetworkAccessLocked()
610 const char* nexthop, bool add, bool legacy, uid_t uid) { in modifyRoute()
/system/gatekeeper/
Dgatekeeper.cpp34 uint32_t uid = request.user_id; in Enroll() local
122 uint32_t uid = request.user_id; in Verify() local
278 bool GateKeeper::ThrottleRequest(uint32_t uid, uint64_t timestamp, in ThrottleRequest()
306 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord()
/system/core/liblog/
Dlog_event_write.c28 int32_t uid, in __android_log_error_write()
/system/vold/
DCommandListener.cpp274 uid_t uid = atoi(argv[2]); in runCommand() local
631 static android::status_t getMountPath(uid_t uid, const std::string& name, std::string* path) { in getMountPath()
646 static android::status_t mountInNamespace(uid_t uid, int device_fd, const std::string& path) { in mountInNamespace()
674 uid_t uid, in runCommandInNamespace()
781 const uid_t uid = atoi(argv[2]); in runCommand() local
820 const uid_t uid = atoi(argv[2]); in runCommand() local

12345