Home
last modified time | relevance | path

Searched refs:addPackage (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DProcessedPackagesJournalTest.java88 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in addPackage_addsPackageToObjectState()
95 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in addPackage_addsPackageToFileSystem()
102 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in getPackagesCopy_returnsTheCurrentState()
103 mProcessedPackagesJournal.addPackage(GMAIL); in getPackagesCopy_returnsTheCurrentState()
118 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in reset_removesAllPackagesFromObjectState()
119 mProcessedPackagesJournal.addPackage(GOOGLE_PLUS); in reset_removesAllPackagesFromObjectState()
120 mProcessedPackagesJournal.addPackage(GMAIL); in reset_removesAllPackagesFromObjectState()
131 mProcessedPackagesJournal.addPackage(GOOGLE_PHOTOS); in reset_removesAllPackagesFromFileSystem()
132 mProcessedPackagesJournal.addPackage(GOOGLE_PLUS); in reset_removesAllPackagesFromFileSystem()
133 mProcessedPackagesJournal.addPackage(GMAIL); in reset_removesAllPackagesFromFileSystem()
DDataChangedJournalTest.java70 mJournal.addPackage(GMAIL); in addPackage_addsPackagesToEndOfFile()
71 mJournal.addPackage(DOCS); in addPackage_addsPackagesToEndOfFile()
72 mJournal.addPackage(GOOGLE_PLUS); in addPackage_addsPackagesToEndOfFile()
84 mJournal.addPackage(GMAIL); in delete_deletesTheFile()
109 mJournal.addPackage(GMAIL); in forEach_iteratesThroughPackagesInFileInOrder()
110 mJournal.addPackage(DOCS); in forEach_iteratesThroughPackagesInFileInOrder()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplRebootTests.java54 addPackage(target(TARGET), USER); in alwaysInitializeAllPackages()
55 addPackage(target(otherTarget), USER); in alwaysInitializeAllPackages()
56 addPackage(overlay(OVERLAY, TARGET), USER); in alwaysInitializeAllPackages()
68 addPackage(target(TARGET), USER); in testImmutableEnabledChange()
69 addPackage(overlay(OVERLAY, TARGET), USER); in testImmutableEnabledChange()
101 addPackage(target(TARGET), USER); in testMutableEnabledChangeHasNoEffect()
102 addPackage(overlay(OVERLAY, TARGET), USER); in testMutableEnabledChangeHasNoEffect()
134 addPackage(target(TARGET), USER); in testMutableEnabledToImmutableEnabled()
135 addPackage(overlay(OVERLAY, TARGET), USER); in testMutableEnabledToImmutableEnabled()
183 addPackage(target(TARGET), USER); in testMutablePriorityChange()
[all …]
DOverlayManagerServiceImplTests.java239 addPackage(target(CONFIG_SIGNATURE_REFERENCE_PKG).setCertificate(CERT_CONFIG_OK), USER); in testConfigSignaturePolicyOk()
259 addPackage(target(CONFIG_SIGNATURE_REFERENCE_PKG).setCertificate(CERT_CONFIG_OK), USER); in testConfigSignaturePolicyCertNok()
276 addPackage(target(CONFIG_SIGNATURE_REFERENCE_PKG).setCertificate(CERT_CONFIG_OK), USER); in testConfigSignaturePolicyNoConfig()
312 addPackage(app(CONFIG_SIGNATURE_REFERENCE_PKG).setCertificate(CERT_CONFIG_OK), USER); in testConfigSignaturePolicyRefPkgNotSystem()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt92 service.addPackage(pkg1, null) in <lambda>()
124 service.addPackage(pkg1, null) in <lambda>()
125 service.addPackage(pkg2, null) in <lambda>()
202 service.addPackage(pkg1, null) in <lambda>()
252 service.addPackage(pkg1, null) in <lambda>()
311 service.addPackage(pkg1, null) in <lambda>()
325 service.addPackage(pkg1, null) in <lambda>()
349 service.addPackage(pkg1, null) in <lambda>()
363 service.addPackage(pkg1, DomainSet(setOf(DOMAIN_1, DOMAIN_3))) in <lambda>()
495 service.addPackage(pkgBefore, null) in <lambda>()
[all …]
DDomainVerificationUserSelectionOverrideTest.kt100 addPackage(pkg1, null)
101 addPackage(pkg2, null)
DDomainVerificationSettingsMutationTest.kt109 service.addPackage(mockPkgState(), null) in <lambda>()
DDomainVerificationEnforcerTest.kt152 service.addPackage(visiblePkgState, null) in <lambda>()
153 service.addPackage(invisiblePkgState, null) in <lambda>()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java502 assertTrue(iwapman.addPackage( in utAddPackage()
585 iwapman.addPackage(Integer.toString(mAppIdValue), in testAddPackage2()
588 iwapman.addPackage(Integer.toString(mAppIdValue + 10), in testAddPackage2()
591 iwapman.addPackage(Integer.toString(mAppIdValue), in testAddPackage2()
595 assertFalse(iwapman.addPackage(Integer.toString(mAppIdValue), in testAddPackage2()
598 assertFalse(iwapman.addPackage(Integer.toString(mAppIdValue + 10), in testAddPackage2()
601 assertFalse(iwapman.addPackage(Integer.toString(mAppIdValue), in testAddPackage2()
651 iwapman.addPackage(Integer.toString(mAppIdValue), in testUpdatePackage1()
655 iwapman.addPackage(Integer.toString(mAppIdValue), in testUpdatePackage1()
659 iwapman.addPackage(Integer.toString(mAppIdValue), in testUpdatePackage1()
[all …]
DClientTest.java69 if (!mWapPushMan.addPackage( in onCreate()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIWapPushManager.aidl34 boolean addPackage(String x_app_id, String content_type, in addPackage() method
/frameworks/base/services/backup/java/com/android/server/backup/
DProcessedPackagesJournal.java87 void addPackage(String packageName) { in addPackage() method in ProcessedPackagesJournal
DDataChangedJournal.java68 public void addPackage(String packageName) throws IOException { in addPackage() method in DataChangedJournal
/frameworks/base/core/java/android/service/notification/
DNotificationListenerFilter.java113 public void addPackage(VersionedPackage pkg) { in addPackage() method in NotificationListenerFilter
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFactory.java77 public void addPackage(String packageName) { in addPackage() method in FilterFactory
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterFactory.java71 public void addPackage(String packageName) { in addPackage() method in FilterFactory
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java895 addPackage(CALLING_PACKAGE_1, CALLING_UID_1, 1); in setUp()
896 addPackage(CALLING_PACKAGE_2, CALLING_UID_2, 2); in setUp()
897 addPackage(CALLING_PACKAGE_3, CALLING_UID_3, 3); in setUp()
898 addPackage(CALLING_PACKAGE_4, CALLING_UID_4, 10); in setUp()
899 addPackage(LAUNCHER_1, LAUNCHER_UID_1, 4); in setUp()
900 addPackage(LAUNCHER_2, LAUNCHER_UID_2, 5); in setUp()
901 addPackage(LAUNCHER_3, LAUNCHER_UID_3, 6); in setUp()
902 addPackage(LAUNCHER_4, LAUNCHER_UID_4, 10); in setUp()
1165 protected void addPackage(String packageName, int uid, int version) { in addPackage() method in BaseShortcutManagerTest
1166 addPackage(packageName, uid, version, packageName); in addPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DPackageList.java47 mProcess.getWindowProcessController().addPackage(key); in put()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java53 shadowOf(application.getPackageManager()).addPackage(packageInfo); in injectExternalResources()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationManagerInternal.java246 void addPackage(@NonNull PackageStateInternal newPkgSetting, in addPackage() method
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutUser.java150 private void addPackage(@NonNull ShortcutPackage p) { in addPackage() method in ShortcutUser
528 addPackage(sp); in mergeRestoredFile()
DAppsFilterImpl.java506 public void addPackage(Computer snapshot, PackageStateInternal newPkgSetting, in addPackage() method in AppsFilterImpl
1060 public void addPackage(Computer snapshot, PackageStateInternal newPkgSetting) { in addPackage() method in AppsFilterImpl
1061 addPackage(snapshot, newPkgSetting, false /* isReplace */, in addPackage()
DSharedUserSetting.java204 void addPackage(PackageSetting packageSetting) {
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java59 shadowOf(application.getPackageManager()).addPackage(packageInfo); in injectExternalResources()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java688 synchroniser.addPackage(pkg.getPackageName()); in synchronizeUidPermissionsAndAppOps()
704 (pkg) -> synchronizer.addPackage(pkg.getPackageName())); in synchronizePermissionsAndAppOpsForUser()
1054 void addPackage(@NonNull String pkgName) { in addPackage() method in PermissionPolicyService.PermissionToOpSynchroniser

123