Home
last modified time | relevance | path

Searched refs:setPackageUid (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDynamicCodeLoggerTests.java191 setPackageUid(OWNING_PACKAGE_NAME, -1); in testOneLoader_pathTraversal()
202 setPackageUid("other.package.name", 1001); in testOneLoader_differentOwner()
215 setPackageUid("other.package.name", -1); in testOneLoader_differentOwner_uninstalled()
245 setPackageUid("other.package.name1", 1001); in testMultipleLoadersAndFiles()
246 setPackageUid("other.package.name2", 1002); in testMultipleLoadersAndFiles()
290 private void setPackageUid(String packageName, int uid) throws Exception { in setPackageUid() method in DynamicCodeLoggerTests
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DBackgroundJobsControllerTest.java154 setPackageUid(ALTERNATE_UID, ALTERNATE_SOURCE_PACKAGE); in setUp()
155 setPackageUid(SOURCE_UID, SOURCE_PACKAGE); in setUp()
165 private void setPackageUid(final int uid, final String pkgName) throws Exception { in setPackageUid() method in BackgroundJobsControllerTest
DFlexibilityControllerTest.java1155 setPackageUid(carrier1Pkg1, 1); in testCarrierPrivilegedAppBypass()
1156 setPackageUid(carrier1Pkg2, 11); in testCarrierPrivilegedAppBypass()
1157 setPackageUid(carrier2Pkg, 2); in testCarrierPrivilegedAppBypass()
1158 setPackageUid(nonCarrierPkg, 3); in testCarrierPrivilegedAppBypass()
1937 private void setPackageUid(final String pkgName, final int uid) throws Exception { in setPackageUid() method in FlexibilityControllerTest
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java65 public static void setPackageUid(String packageName, int packageUid) { in setPackageUid() method in ShadowApplicationPackageManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java312 setPackageUid(sourcePkgName, uid); in testDetermineAssignments_allRegular()
345 setPackageUid(sourcePkgName, uid); in testDetermineAssignments_allPreferredUidOnly_shortTimeLeft()
397 setPackageUid(sourcePkgName, uid); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()
469 setPackageUid(sourcePkgName, uid); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning()
531 setPackageUid(sourcePkgName, uid); in testDetermineAssignments_allPreferredUidOnly_longTimeLeft()
1052 private void setPackageUid(final String pkgName, final int uid) throws Exception { in setPackageUid() method in JobConcurrencyManagerTest
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java532 info.setPackageUid(mUid); in toAppExitInfo()
/frameworks/base/core/java/android/app/
DApplicationStartInfo.java369 public void setPackageUid(final int uid) { in setPackageUid() method in ApplicationStartInfo
DApplicationExitInfo.java942 public void setPackageUid(final int uid) { in setPackageUid() method in ApplicationExitInfo
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java583 ShadowApplicationPackageManager.setPackageUid(transportPackage, PACKAGE_UID); in setUpForUpdateTransportAttributes()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java484 start.setPackageUid(app.info.uid); in addBaseFieldsFromProcessRecord()
DAppExitInfoTracker.java1037 info.setPackageUid(app.info.uid); in obtainRawRecord()