Home
last modified time | relevance | path

Searched refs:mPackageState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java120 private PackageStateInternal mPackageState; field in PackageArchiverTest
162 mPackageState); in setUp()
170 when(mPackageState.getPackageName()).thenReturn(PACKAGE); in setUp()
171 when(mPackageState.getInstallSource()).thenReturn(mInstallSource); in setUp()
177 when(mPackageState.getUserStateOrDefault(eq(mUserId))).thenReturn(mUserState); in setUp()
178 when(mPackageState.getUserStates()).thenReturn(new SparseArray<>()); in setUp()
290 when(mPackageState.getInstallSource()).thenReturn(otherInstallSource); in archiveApp_noInstallerFound()
511 when(mPackageState.getInstallSource()).thenReturn(otherInstallSource); in unarchiveApp_noInstallerFound()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java1166 private PackageState mPackageState; field in OverlayManagerService.PackageManagerHelperImpl.PackageStateUsers
1169 this.mPackageState = packageState; in PackageStateUsers()
1211 userPackages.put(mCache.keyAt(i), pkg.mPackageState); in initializeForUser()
1223 return pkg.mPackageState; in getPackageStateForUser()
1257 pkgUsers.mPackageState = pkg; in addPackageUser()
1260 return pkgUsers.mPackageState; in addPackageUser()
1277 mCache.remove(pkg.mPackageState.getPackageName()); in removePackageUser()
1420 pw.print(TAB1 + packageName + ": " + pkg.mPackageState + " users="); in dump()
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java46 private final ProcessStats.PackageState mPackageState; field in AssociationState
565 mPackageState = packageState; in AssociationState()
572 return mPackageState.mUid; in getUid()
576 return mPackageState.mPackageName; in getPackage()
1198 + " " + mName + " pkg=" + mPackageState.mPackageName + " proc=" in toString()