/system/core/libprocessgroup/ |
D | processgroup.cpp | 93 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/ |
D | IGateKeeperService.cpp | 34 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
|
D | gatekeeperd.cpp | 72 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/ |
D | IKeystoreService.aidl | 35 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/ |
D | permissions.cpp | 53 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()
|
D | keystore_utils.cpp | 93 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/ |
D | multiuser.cpp | 20 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()
|
D | uevent.cpp | 36 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()
|
D | fs.cpp | 42 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()
|
D | qtaguid.cpp | 94 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/ |
D | media_id_map.h | 34 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/ |
D | run-as.cpp | 68 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/ |
D | su.cpp | 29 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/ |
D | TrafficControllerTest.cpp | 130 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/ |
D | qtaguid.c | 80 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/ |
D | LogWhiteBlackList.cpp | 26 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
|
D | LogTags.cpp | 129 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 …]
|
D | LogBuffer.h | 147 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/ |
D | UidRange.cpp | 70 void UidRange::setStart(int32_t uid) { in setStart() 77 void UidRange::setStop(int32_t uid) { in setStop()
|
/system/netd/server/binder/android/net/metrics/ |
D | INetdEventListener.aidl | 50 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/ |
D | bpf_kern.h | 43 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/ |
D | fs_config.h | 46 uint16_t uid; member 54 unsigned uid; member
|
/system/core/init/ |
D | descriptors.cpp | 36 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/ |
D | NetdClient.cpp | 235 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/ |
D | trusty_gatekeeper.cpp | 82 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()
|