Home | History | Annotate | Download | only in packages

Lines Matching refs:UidMap

22 #include "packages/UidMap.h"
64 UidMap::UidMap() : mBytesUsed(0) {}
66 UidMap::~UidMap() {}
68 bool UidMap::hasApp(int uid, const string& packageName) const {
75 string UidMap::normalizeAppName(const string& appName) const {
81 std::set<string> UidMap::getAppNamesFromUid(const int32_t& uid, bool returnNormalized) const {
86 std::set<string> UidMap::getAppNamesFromUidLocked(const int32_t& uid, bool returnNormalized) const {
96 int64_t UidMap::getAppVersion(int uid, const string& packageName) const {
106 void UidMap::updateMap(const int64_t& timestamp, const vector<int32_t>& uid,
152 void UidMap::updateApp(const int64_t& timestamp, const String16& app_16, const int32_t& uid,
192 void UidMap::ensureBytesUsedBelowLimit() {
209 void UidMap::getListenerListCopyLocked(vector<wp<PackageInfoListener>>* output) {
217 VLOG("The UidMap listener is gone, remove it now");
222 void UidMap::removeApp(const int64_t& timestamp, const String16& app_16, const int32_t& uid) {
259 void UidMap::addListener(wp<PackageInfoListener> producer) {
264 void UidMap::removeListener(wp<PackageInfoListener> producer) {
269 void UidMap::assignIsolatedUid(int isolatedUid, int parentUid) {
275 void UidMap::removeIsolatedUid(int isolatedUid, int parentUid) {
284 int UidMap::getHostUidOrSelf(int uid) const {
294 void UidMap::clearOutput() {
302 int64_t UidMap::getMinimumTimestampNs() {
314 size_t UidMap::getBytesUsed() const {
318 void UidMap::appendUidMap(const int64_t& timestamp, const ConfigKey& key,
389 void UidMap::printUidMap(FILE* out) const {
400 void UidMap::OnConfigUpdated(const ConfigKey& key) {
404 void UidMap::OnConfigRemoved(const ConfigKey& key) {
408 set<int32_t> UidMap::getAppUid(const string& package) const {
423 const std::map<string, uint32_t> UidMap::sAidToUidMapping = {{"AID_ROOT", 0},