/system/core/libprocessgroup/ |
D | processgroup.cpp | 104 static int convertUidToPath(char *path, size_t size, uid_t uid) in convertUidToPath() 112 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath() 122 bool ProcessGroup::Open(uid_t uid, int pid) { in Open() 185 static int removeProcessGroup(uid_t uid, int pid) in removeProcessGroup() 201 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path), closedir); in removeUidProcessGroups() local 252 static int doKillProcessGroupOnce(uid_t uid, int initialPid, int signal) { in doKillProcessGroupOnce() 318 static int killProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in killProcessGroup() 364 int killProcessGroup(uid_t uid, int initialPid, int signal) { in killProcessGroup() 368 int killProcessGroupOnce(uid_t uid, int initialPid, int signal) { in killProcessGroupOnce() 372 static bool mkdirAndChown(const char *path, mode_t mode, uid_t uid, gid_t gid) in mkdirAndChown() [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 | 71 void store_sid(uint32_t uid, uint64_t sid) { in store_sid() 112 void maybe_store_sid(uint32_t uid, uint64_t sid) { in maybe_store_sid() 120 uint64_t read_sid(uint32_t uid) { in read_sid() 131 void clear_sid(uint32_t uid) { in clear_sid() 140 virtual int enroll(uint32_t uid, in enroll() 234 virtual int verify(uint32_t uid, in verify() 244 virtual int verifyChallenge(uint32_t uid, uint64_t challenge, in verifyChallenge() 337 virtual uint64_t getSecureUserId(uint32_t uid) { return read_sid(uid); } in getSecureUserId() 339 virtual void clearSecureUserId(uint32_t uid) { in clearSecureUserId() 369 const int uid = ipc->getCallingUid(); in dump() local
|
D | SoftGateKeeperDevice.cpp | 21 int SoftGateKeeperDevice::enroll(uint32_t uid, in enroll() 71 int SoftGateKeeperDevice::verify(uint32_t uid, in verify()
|
/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 | IKeystoreService.cpp | 137 KeyStoreServiceReturnCode get(const String16& name, int32_t uid, in get() 158 KeyStoreServiceReturnCode insert(const String16& name, const hidl_vec<uint8_t>& item, int uid, in insert() 179 KeyStoreServiceReturnCode del(const String16& name, int uid) override { in del() 197 KeyStoreServiceReturnCode exist(const String16& name, int uid) override { in exist() 215 KeyStoreServiceReturnCode list(const String16& prefix, int uid, in list() 326 KeyStoreServiceReturnCode generate(const String16& name, int32_t uid, int32_t keyType, in generate() 358 KeyStoreServiceReturnCode import(const String16& name, const hidl_vec<uint8_t>& key, int uid, in import() 481 int64_t getmtime(const String16& name, int32_t uid) override { in getmtime() 537 KeyStoreServiceReturnCode clear_uid(int64_t uid) override { in clear_uid() 573 const hidl_vec<uint8_t>& entropy, int uid, int flags, in generateKey() [all …]
|
D | keystore_utils.cpp | 90 uid_t get_app_id(uid_t uid) { in get_app_id() 94 uid_t get_user_id(uid_t uid) { in get_user_id()
|
/system/core/libcutils/ |
D | multiuser.c | 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() 64 gid_t multiuser_get_shared_app_gid(uid_t uid) { in multiuser_get_shared_app_gid()
|
D | uevent.c | 34 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()
|
D | fs.c | 41 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl() 109 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir() 113 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict() 117 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
|
D | qtaguid.c | 98 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { in qtaguid_tagSocket() 133 int qtaguid_setCounterSet(int counterSetNum, uid_t uid) { in qtaguid_setCounterSet() 144 int qtaguid_deleteTagData(int tag, uid_t uid) { in qtaguid_deleteTagData()
|
/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 | 30 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/netd/server/binder/android/net/metrics/ |
D | INetdEventListener.aidl | 50 in String[] ipAddresses, int ipAddressesCount, int uid); in onDnsEvent() 62 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() 72 void onWakeupEvent(String prefix, int uid, int gid, long timestampNs); in onWakeupEvent()
|
/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()
|
D | LogStatistics.cpp | 311 static void formatTmp(const LogStatistics& stat, const char* nameTmp, uid_t uid, in formatTmp() 336 uid_t uid = getUid(); in format() local 445 uid_t uid = getUid(); in format() local 470 uid_t uid = getUid(); in format() local 496 uid_t uid = getUid(); in format() local 544 uid_t uid = getUid(); in format() local 614 std::string LogStatistics::format(uid_t uid, pid_t pid, in format() 828 int uid = AID_LOGD; in pidToUid() local
|
/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/core/libcutils/include/private/ |
D | fs_config.h | 45 uint16_t uid; member 53 unsigned uid; member
|
/system/core/init/ |
D | descriptors.cpp | 37 DescriptorInfo::DescriptorInfo(const std::string& name, const std::string& type, uid_t uid, in DescriptorInfo() 74 SocketInfo::SocketInfo(const std::string& name, const std::string& type, uid_t uid, in SocketInfo() 97 FileInfo::FileInfo(const std::string& name, const std::string& type, uid_t uid, in FileInfo()
|
D | devices.h | 42 uid_t uid() const { return uid_; } in uid() function 59 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions()
|
/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()
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 128 const char *uid = evt->findParam("UID"); in onEvent() local 136 const char *uid = evt->findParam("UID"); in onEvent() local 187 const char *uid) { in notifyInterfaceClassActivity() 227 void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) { in notifyStrictCleartext()
|
/system/gatekeeper/ |
D | gatekeeper.cpp | 34 uint32_t uid = request.user_id; in Enroll() local 122 uint32_t uid = request.user_id; in Verify() local 283 bool GateKeeper::ThrottleRequest(uint32_t uid, uint64_t timestamp, in ThrottleRequest() 311 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord()
|