Searched refs:previousUid (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 523 Integer previousUid = user.persistentServices.get(info.type); in generateServicesMap() local 524 if (previousUid == null) { in generateServicesMap() 534 } else if (previousUid == info.uid) { in generateServicesMap() 540 || !containsTypeAndUid(serviceInfos, info.type, previousUid)) { in generateServicesMap()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 678 static bool chown_app_dir(const std::string& path, uid_t uid, uid_t previousUid, gid_t cacheGid) { in chown_app_dir() argument 700 if (p->fts_statp->st_uid == previousUid) { in chown_app_dir() 706 << p->fts_statp->st_uid << " instead of " << previousUid; in chown_app_dir() 765 int32_t previousUid, int32_t cacheGid, in createAppDataDirs() argument 778 if (previousUid > 0 && previousUid != uid) { in createAppDataDirs() 779 if (!chown_app_dir(path, uid, previousUid, cacheGid)) { in createAppDataDirs() 832 int32_t previousUid = in createAppDataLocked() local 850 auto status = createAppDataDirs(path, uid, uid, previousUid, cacheGid, seInfo, targetMode, in createAppDataLocked() 877 auto status = createAppDataDirs(path, uid, uid, previousUid, cacheGid, seInfo, targetMode, in createAppDataLocked() 882 if (previousUid > 0 && previousUid != uid) { in createAppDataLocked()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 10004 Integer previousUid = sBinderThreadCallingUid.get(); in pauseNotedAppOpsCollection() local 10005 if (previousUid != null) { in pauseNotedAppOpsCollection() 10012 return new PausedNotedAppOpsCollection(previousUid, previousCollectedNotedAppOps); in pauseNotedAppOpsCollection()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 8766 final int previousUid = mMockContext.binder.callingUid; 8775 mMockContext.binder.callingUid = previousUid;
|