Home
last modified time | relevance | path

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

123456

/system/core/libprocessgroup/
Dprocessgroup.cpp93 static std::string ConvertUidToPath(uid_t uid) { in ConvertUidToPath()
97 static std::string ConvertUidPidToPath(uid_t uid, int pid) { in ConvertUidPidToPath()
101 static int RemoveProcessGroup(uid_t uid, int pid) { in RemoveProcessGroup()
114 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path.c_str()), closedir); in RemoveUidProcessGroups() local
162 static int DoKillProcessGroupOnce(uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce()
228 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in KillProcessGroup()
274 int killProcessGroup(uid_t uid, int initialPid, int signal) { in killProcessGroup()
278 int killProcessGroupOnce(uid_t uid, int initialPid, int signal) { in killProcessGroupOnce()
282 static bool MkdirAndChown(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { in MkdirAndChown()
297 int createProcessGroup(uid_t uid, int initialPid) in createProcessGroup()
[all …]
/system/core/gatekeeperd/
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
Dgatekeeperd.cpp72 void store_sid(uint32_t uid, uint64_t sid) { in store_sid()
113 void maybe_store_sid(uint32_t uid, uint64_t sid) { in maybe_store_sid()
121 uint64_t read_sid(uint32_t uid) { in read_sid()
132 void clear_sid(uint32_t uid) { in clear_sid()
141 virtual int enroll(uint32_t uid, in enroll()
235 virtual int verify(uint32_t uid, in verify()
245 virtual int verifyChallenge(uint32_t uid, uint64_t challenge, in verifyChallenge()
342 virtual uint64_t getSecureUserId(uint32_t uid) { return read_sid(uid); } in getSecureUserId()
344 virtual void clearSecureUserId(uint32_t uid) { in clearSecureUserId()
374 const int uid = ipc->getCallingUid(); in dump() local
/system/security/keystore/binder/android/security/
DIKeystoreService.aidl35 byte[] get(String name, int uid); in get()
36 int insert(String name, in byte[] item, int uid, int flags); in insert()
37 int del(String name, int uid); in del()
38 int exist(String name, int uid); in exist()
39 String[] list(String namePrefix, int uid); in list()
45 int generate(String name, int uid, int keyType, int keySize, int flags, in generate()
47 int import_key(String name, in byte[] data, int uid, int flags); in import_key()
53 long getmtime(String name, int uid); in getmtime()
55 int clear_uid(long uid); in clear_uid()
59 int generateKey(String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey()
[all …]
/system/security/keystore/
Dpermissions.cpp53 uid_t uid; member
63 uid_t uid; member
80 uid_t uid; member
120 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid) { in keystore_selinux_check_access()
149 uid_t get_keystore_euid(uid_t uid) { in get_keystore_euid()
160 bool has_permission(uid_t uid, perm_t perm, pid_t spid) { in has_permission()
Dkeystore_utils.cpp93 uid_t get_app_id(uid_t uid) { in get_app_id()
97 uid_t get_user_id(uid_t uid) { in get_user_id()
101 void log_key_integrity_violation(const char* name, uid_t uid) { in log_key_integrity_violation()
/system/core/libcutils/
Dmultiuser.cpp20 userid_t multiuser_get_user_id(uid_t uid) { in multiuser_get_user_id()
24 appid_t multiuser_get_app_id(uid_t uid) { in multiuser_get_app_id()
66 gid_t multiuser_get_shared_app_gid(uid_t uid) { in multiuser_get_shared_app_gid()
Duevent.cpp36 uid_t uid = -1; in uevent_kernel_multicast_recv() local
49 ssize_t uevent_kernel_multicast_uid_recv(int socket, void* buffer, size_t length, uid_t* uid) { in uevent_kernel_multicast_uid_recv()
53 ssize_t uevent_kernel_recv(int socket, void* buffer, size_t length, bool require_group, uid_t* uid)… in uevent_kernel_recv()
Dfs.cpp42 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl()
115 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
119 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict()
123 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
Dqtaguid.cpp94 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { in qtaguid_tagSocket()
118 int qtaguid_setCounterSet(int counterSetNum, uid_t uid) { in qtaguid_setCounterSet()
123 int qtaguid_deleteTagData(int tag, uid_t uid) { in qtaguid_deleteTagData()
/system/bt/profile/avrcp/
Dmedia_id_map.h34 std::string get_media_id(uint64_t uid) { in get_media_id()
51 uint64_t uid = media_id_to_uid_.size() + 1; in insert() local
/system/core/run-as/
Drun-as.cpp68 static bool check_directory(const char* path, uid_t uid) { in check_directory()
91 static bool check_data_path(const char* data_path, uid_t uid) { in check_data_path()
192 uid_t uid = userAppId; in main() local
/system/extras/su/
Dsu.cpp29 void pwtoid(const char* tok, uid_t* uid, gid_t* gid) { in pwtoid()
44 void extract_uidgids(const char* uidgids, uid_t* uid, gid_t* gid, gid_t* gids, int* gids_count) { in extract_uidgids()
101 uid_t uid = 0; in main() local
/system/netd/server/
DTrafficControllerTest.cpp130 int setUpSocketAndTag(int protocol, uint64_t* cookie, uint32_t tag, uid_t uid) { in setUpSocketAndTag()
139 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { in expectUidTag()
150 void populateFakeStats(uint64_t cookie, uint32_t uid, uint32_t tag, StatsKey* key) { in populateFakeStats()
166 uint32_t uid = TEST_UID; in checkUidOwnerRuleForChain() local
198 for (uint32_t uid : uids) { in checkEachUidValue() local
305 uid_t uid = TEST_UID; in TEST_F() local
318 uid_t uid = TEST_UID; in TEST_F() local
327 uid_t uid = TEST_UID; in TEST_F() local
352 uid_t uid = TEST_UID; in TEST_F() local
370 uid_t uid = TEST_UID; in TEST_F() local
[all …]
/system/core/libqtaguid/
Dqtaguid.c80 int legacy_tagSocket(int sockfd, int tag, uid_t uid) { in legacy_tagSocket()
115 int legacy_setCounterSet(int counterSetNum, uid_t uid) { in legacy_setCounterSet()
126 int legacy_deleteTagData(int tag, uid_t uid) { in legacy_deleteTagData()
/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
DLogTags.cpp129 void LogTags::AddEventLogTags(uint32_t tag, uid_t uid, const std::string& Name, in AddEventLogTags()
244 uid_t uid = AID_ROOT; in ReadFileEventLogTags() local
311 uid_t uid = (log_msg.entry.hdr_size >= sizeof(logger_entry_v4)) in ReadPersistEventLogTags() local
502 void LogTags::WritePmsgEventLogTags(uint32_t tag, uid_t uid) { in WritePmsgEventLogTags()
593 void LogTags::WriteDynamicEventLogTags(uint32_t tag, uid_t uid) { in WriteDynamicEventLogTags()
615 void LogTags::WriteDebugEventLogTags(uint32_t tag, uid_t uid) { in WriteDebugEventLogTags()
640 void LogTags::WritePersistEventLogTags(uint32_t tag, uid_t uid, in WritePersistEventLogTags()
680 uint32_t LogTags::nameToTag(uid_t uid, const char* name, const char* format) { in nameToTag()
795 std::string LogTags::formatEntry(uint32_t tag, uid_t uid, const char* name, in formatEntry()
809 std::string LogTags::formatEntry_locked(uint32_t tag, uid_t uid, in formatEntry_locked()
[all …]
DLogBuffer.h147 std::string formatGetEventTag(uid_t uid, const char* name, in formatGetEventTag()
151 std::string formatEntry(uint32_t tag, uid_t uid) { in formatEntry()
168 const char* uidToName(uid_t uid) { in uidToName()
/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/netd/server/binder/android/net/metrics/
DINetdEventListener.aidl50 in String[] ipAddresses, int ipAddressesCount, int uid); in onDnsEvent()
73 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent()
90 void onWakeupEvent(String prefix, int uid, int ethertype, int ipNextHeader, in byte[] dstHw, in onWakeupEvent()
/system/netd/bpfloader/
Dbpf_kern.h43 uint32_t uid; member
48 uint32_t uid; member
101 static inline int bpf_owner_match(struct __sk_buff* skb, uint32_t uid) { in bpf_owner_match()
177 uint32_t uid, tag; in bpf_traffic_account() local
/system/core/libcutils/include/private/
Dfs_config.h46 uint16_t uid; member
54 unsigned uid; member
/system/core/init/
Ddescriptors.cpp36 DescriptorInfo::DescriptorInfo(const std::string& name, const std::string& type, uid_t uid, in DescriptorInfo()
73 SocketInfo::SocketInfo(const std::string& name, const std::string& type, uid_t uid, in SocketInfo()
95 FileInfo::FileInfo(const std::string& name, const std::string& type, uid_t uid, in FileInfo()
/system/netd/client/
DNetdClient.cpp235 extern "C" int setNetworkForUser(uid_t uid, int socketFd) { in setNetworkForUser()
243 extern "C" int queryUserAccess(uid_t uid, unsigned netId) { in queryUserAccess()
248 extern "C" int tagSocket(int socketFd, uint32_t tag, uid_t uid) { in tagSocket()
258 extern "C" int setCounterSet(uint32_t counterSet, uid_t uid) { in setCounterSet()
263 extern "C" int deleteTagData(uint32_t tag, uid_t uid) { in deleteTagData()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp82 int TrustyGateKeeperDevice::Enroll(uint32_t uid, const uint8_t *current_password_handle, in Enroll()
125 int TrustyGateKeeperDevice::Verify(uint32_t uid, uint64_t challenge, in Verify()
190 int TrustyGateKeeperDevice::enroll(const struct gatekeeper_device *dev, uint32_t uid, in enroll()
217 int TrustyGateKeeperDevice::verify(const struct gatekeeper_device *dev, uint32_t uid, in verify()

123456