Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 63) sorted by relevance

123

/hardware/google/pixel/perfstatsd/
Dio_usage.cpp69 static bool isAppUid(uint32_t uid) { in isAppUid() argument
70 if (uid >= AID_APP_START) { in isAppUid()
154 uint32_t uid = (uint32_t)std::stoi(strUid); in update() local
155 mUidNameMapping[uid] = pname; in update()
159 bool ProcPidIoStats::getNameForUid(uint32_t uid, std::string *name) { in getNameForUid() argument
160 if (mUidNameMapping.find(uid) != mUidNameMapping.end()) { in getNameForUid()
161 *name = mUidNameMapping[uid]; in getNameForUid()
199 uint32_t uid = mUnknownUidList[i]; in updateUnknownUidList() local
200 if (isAppUid(uid)) { in updateUnknownUidList()
203 if (!mProcIoStats.getNameForUid(uid, &pname)) { in updateUnknownUidList()
[all …]
/hardware/google/pixel/perfstatsd/include/
Dio_usage.h44 bool getNameForUid(uint32_t uid, std::string *name);
48 uint32_t uid; member
57 uid = other.uid;
69 r.uid = uid;
81 r.uid = uid;
96 uid = 0; in reset()
/hardware/google/pixel/power-libperfmgr/aidl/
DAppHintDesc.h31 AppHintDesc(int64_t sessionId, int32_t tgid, int32_t uid, const std::vector<int32_t> &threadIds, in AppHintDesc()
35 uid(uid), in AppHintDesc()
48 const int32_t uid; member
DPower.h43 ndk::ScopedAStatus createHintSession(int32_t tgid, int32_t uid,
48 int32_t tgid, int32_t uid, const std::vector<int32_t> &threadIds, int64_t durationNanos,
52 ndk::ScopedAStatus getSessionChannel(int32_t tgid, int32_t uid,
54 ndk::ScopedAStatus closeSessionChannel(int32_t tgid, int32_t uid) override;
/hardware/google/gfxstream/guest/mesa/include/android_stub/log/
Dlog_safetynet.h28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument
29 __android_log_error_write(tag, subTag, uid, data, dataLen)
31 int __android_log_error_write(int tag, const char* subTag, int32_t uid,
/hardware/interfaces/power/aidl/android/hardware/power/
DIPower.aidl99 in int tgid, in int uid, in int[] threadIds, in long durationNanos); in createHintSession() argument
124 IPowerHintSession createHintSessionWithConfig(in int tgid, in int uid, in int[] threadIds, in createHintSessionWithConfig() argument
137 ChannelConfig getSessionChannel(in int tgid, in int uid); in getSessionChannel() argument
146 oneway void closeSessionChannel(in int tgid, in int uid); in closeSessionChannel() argument
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/5/android/hardware/power/
DIPower.aidl41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession() argument
43 …android.hardware.power.IPowerHintSession createHintSessionWithConfig(in int tgid, in int uid, in i… in createHintSessionWithConfig() argument
44 android.hardware.power.ChannelConfig getSessionChannel(in int tgid, in int uid); in getSessionChannel() argument
45 oneway void closeSessionChannel(in int tgid, in int uid); in closeSessionChannel() argument
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/
DIPower.aidl41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession() argument
43 …android.hardware.power.IPowerHintSession createHintSessionWithConfig(in int tgid, in int uid, in i… in createHintSessionWithConfig() argument
44 android.hardware.power.ChannelConfig getSessionChannel(in int tgid, in int uid); in getSessionChannel() argument
45 oneway void closeSessionChannel(in int tgid, in int uid); in closeSessionChannel() argument
/hardware/interfaces/gatekeeper/aidl/aidl_api/android.hardware.gatekeeper/current/android/hardware/gatekeeper/
DIGatekeeper.aidl38 void deleteUser(in int uid); in deleteUser() argument
39 …android.hardware.gatekeeper.GatekeeperEnrollResponse enroll(in int uid, in byte[] currentPasswordH… in enroll() argument
40 …android.hardware.gatekeeper.GatekeeperVerifyResponse verify(in int uid, in long challenge, in byte… in verify() argument
/hardware/interfaces/gatekeeper/aidl/aidl_api/android.hardware.gatekeeper/1/android/hardware/gatekeeper/
DIGatekeeper.aidl38 void deleteUser(in int uid); in deleteUser() argument
39 …android.hardware.gatekeeper.GatekeeperEnrollResponse enroll(in int uid, in byte[] currentPasswordH… in enroll() argument
40 …android.hardware.gatekeeper.GatekeeperVerifyResponse verify(in int uid, in long challenge, in byte… in verify() argument
/hardware/interfaces/gatekeeper/aidl/android/hardware/gatekeeper/
DIGatekeeper.aidl66 void deleteUser(in int uid); in deleteUser() argument
105 GatekeeperEnrollResponse enroll(in int uid, in byte[] currentPasswordHandle, in enroll() argument
144 GatekeeperVerifyResponse verify(in int uid, in long challenge, in byte[] enrolledPasswordHandle, in verify() argument
/hardware/interfaces/power/aidl/default/
DPower.h35 ndk::ScopedAStatus createHintSession(int32_t tgid, int32_t uid,
40 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos,
44 ndk::ScopedAStatus getSessionChannel(int32_t tgid, int32_t uid,
46 ndk::ScopedAStatus closeSessionChannel(int32_t tgid, int32_t uid) override;
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp55 Return<void> Gatekeeper::enroll(uint32_t uid, in enroll() argument
65 int ret = device->enroll(device, uid, in enroll()
85 Return<void> Gatekeeper::verify(uint32_t uid, in verify() argument
96 int ret = device->verify(device, uid, challenge, in verify()
118 Return<void> Gatekeeper::deleteUser(uint32_t uid, deleteUser_cb cb) { in deleteUser() argument
122 int ret = device->delete_user(device, uid); in deleteUser()
DGatekeeper.h47 Return<void> enroll(uint32_t uid,
52 Return<void> verify(uint32_t uid,
57 Return<void> deleteUser(uint32_t uid, deleteUser_cb _hidl_cb) override;
/hardware/interfaces/gatekeeper/aidl/software/
DGateKeeper.h36 ::ndk::ScopedAStatus enroll(int32_t uid, const std::vector<uint8_t>& currentPasswordHandle,
53 ::ndk::ScopedAStatus verify(int32_t uid, int64_t challenge,
60 ::ndk::ScopedAStatus deleteUser(int32_t uid) override;
DSoftGateKeeper.h117 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord() argument
119 failure_record_t* stored = &failure_map_[uid]; in GetFailureRecord()
129 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord() argument
130 failure_record_t* stored = &failure_map_[uid]; in ClearFailureRecord()
137 virtual bool WriteFailureRecord(uint32_t uid, failure_record_t* record, bool /* secure */) { in WriteFailureRecord() argument
138 failure_map_[uid] = *record; in WriteFailureRecord()
DGateKeeper.cpp61 ::ndk::ScopedAStatus SoftGateKeeperDevice::enroll(int32_t uid, in enroll() argument
78 EnrollRequest request(uid, vec2sized_buffer(currentPasswordHandle), in enroll()
103 int32_t uid, int64_t challenge, const std::vector<uint8_t>& enrolledPasswordHandle, in verify() argument
117 VerifyRequest request(uid, challenge, vec2sized_buffer(enrolledPasswordHandle), in verify()
/hardware/interfaces/gatekeeper/1.0/software/
DSoftGateKeeper.h101 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord() argument
103 failure_record_t* stored = &failure_map_[uid]; in GetFailureRecord()
113 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord() argument
114 failure_record_t* stored = &failure_map_[uid]; in ClearFailureRecord()
121 virtual bool WriteFailureRecord(uint32_t uid, failure_record_t* record, bool /* secure */) { in WriteFailureRecord() argument
122 failure_map_[uid] = *record; in WriteFailureRecord()
DSoftGateKeeperDevice.h46 uint32_t uid, const ::android::hardware::hidl_vec<uint8_t>& currentPasswordHandle,
65 uint32_t uid, uint64_t challenge,
70 ::android::hardware::Return<void> deleteUser(uint32_t uid, deleteUser_cb _hidl_cb) override;
DSoftGateKeeperDevice.cpp44 Return<void> SoftGateKeeperDevice::enroll(uint32_t uid, in enroll() argument
54 EnrollRequest request(uid, hidl_vec2sized_buffer(currentPasswordHandle), in enroll()
74 uint32_t uid, uint64_t challenge, in verify() argument
82 VerifyRequest request(uid, challenge, hidl_vec2sized_buffer(enrolledPasswordHandle), in verify()
/hardware/libhardware/include/hardware/
Dgatekeeper.h91 int (*enroll)(const struct gatekeeper_device *dev, uint32_t uid,
141 int (*verify)(const struct gatekeeper_device *dev, uint32_t uid, uint64_t challenge,
159 int (*delete_user)(const struct gatekeeper_device *dev, uint32_t uid);
/hardware/libhardware/include_all/hardware/
Dgatekeeper.h91 int (*enroll)(const struct gatekeeper_device *dev, uint32_t uid,
141 int (*verify)(const struct gatekeeper_device *dev, uint32_t uid, uint64_t challenge,
159 int (*delete_user)(const struct gatekeeper_device *dev, uint32_t uid);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
DrunDocker20 uid=`id -u`
31 docker run --network=host --user ${uid}:${gid} -it --rm -v ${repopath}:/vulkan $image /bin/bash
/hardware/google/pixel/powerstats/dataproviders/
DPowerStatsEnergyAttribution.cpp52 int32_t uid; in readUidTimeInState() local
53 if (!::android::base::ParseInt(uidInfos[0], &uid)) { in readUidTimeInState()
70 attrStats->uidTimeInStats.emplace(uid, uidStats); in readUidTimeInState()
/hardware/interfaces/gatekeeper/1.0/
DIGatekeeper.hal31 * @param uid The Android user identifier
53 enroll(uint32_t uid,
68 * @param uid The Android user identifier
90 verify(uint32_t uid, uint64_t challenge,
96 * Deletes the enrolledPasswordHandle associated with the uid. Once deleted
100 * @param uid The Android user identifier
109 deleteUser(uint32_t uid) generates (GatekeeperResponse response);
112 * Deletes all the enrolled_password_handles for all uid's. Once called,

123