/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 141 getShadowPackageManager().addPackage(createPackageInfoWithApplicationInfo(PACKAGE_NAME)); in onStart_packageNotExplicitlyStopped_enablesForceStopButton() 151 getShadowPackageManager().addPackage(createPackageInfoWithApplicationInfo(PACKAGE_NAME)); in onStart_packageHasActiveAdmins_disablesForceStopButton() 163 getShadowPackageManager().addPackage(createPackageInfoWithApplicationInfo(PACKAGE_NAME)); in onStart_appsControlUserRestriction_disablesForceStopButton() 178 getShadowPackageManager().addPackage(packageInfo); in onStart_packageExplicitlyStopped_queriesPackageRestart() 195 getShadowPackageManager().addPackage(packageInfo); in onStart_packageExplicitlyStopped_success_enablesForceStopButton() 219 getShadowPackageManager().addPackage(packageInfo); in onStart_packageExplicitlyStopped_failure_disablesForceStopButton() 244 getShadowPackageManager().addPackage(packageInfo); in onStart_bundledApp_showsDisableButton() 258 getShadowPackageManager().addPackage(packageInfo); in onStart_bundledApp_notEnabled_showsEnableButton() 273 getShadowPackageManager().addPackage(packageInfo); in onStart_bundledApp_enabled_disableUntilUsed_showsEnableButton() 286 getShadowPackageManager().addPackage(packageInfo); in onStart_bundledApp_homePackage_disablesDisableButton() [all …]
|
D | AppPermissionsEntryPreferenceControllerTest.java | 163 getShadowPackageManager().addPackage(info); in setupPackageWithPermissions()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 100 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps() 101 addPackage(PACKAGE_NAME_2, 0, 100, 1000, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps() 112 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered() 124 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered() 136 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheIsNotIgnored() 163 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testUpdatedSystemAppCodeSizeIsCounted() 174 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_VIDEO); in testVideoAppsAreFiltered() 206 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_VIDEO); in testPackageIsNotDoubleCounted() 223 addPackage(PACKAGE_NAME_1, DEFAULT_QUOTA + 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheOveragesAreCountedAsFree() 231 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() method in StorageAsyncLoaderTest [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 92 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps() 93 addPackage(PACKAGE_NAME_2, 0, 100, 1000, ApplicationInfo.CATEGORY_UNDEFINED); in testLoadingApps() 104 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_GAME); in testGamesAreFiltered() 116 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testLegacyGamesAreFiltered() 128 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheIsNotIgnored() 156 addPackage(PACKAGE_NAME_1, 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testUpdatedSystemAppCodeSizeIsCounted() 167 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_VIDEO); in testVideoAppsAreFiltered() 199 addPackage(PACKAGE_NAME_1, 0, 1, 10, ApplicationInfo.CATEGORY_VIDEO); in testPackageIsNotDoubleCounted() 216 addPackage(PACKAGE_NAME_1, DEFAULT_QUOTA + 100, 1, 10, ApplicationInfo.CATEGORY_UNDEFINED); in testCacheOveragesAreCountedAsFree() 224 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() method in StorageAsyncLoaderTest
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailCleanupTest.java | 49 mPackageManager.addPackage(123456, TEST_PACKAGE_2); in testCleanupVoicemail() 110 mPackageManager.addPackage(10001, TEST_PACKAGE_1); in testRemoveStalePackagesAtStartUp() 111 mPackageManager.addPackage(10002, TEST_PACKAGE_2); in testRemoveStalePackagesAtStartUp()
|
D | ContactsActor.java | 522 mPackageManager.addPackage(1000, PACKAGE_GREY); in RestrictionMockContext() 523 mPackageManager.addPackage(2000, PACKAGE_RED); in RestrictionMockContext() 524 mPackageManager.addPackage(3000, PACKAGE_GREEN); in RestrictionMockContext() 525 mPackageManager.addPackage(4000, PACKAGE_BLUE); in RestrictionMockContext()
|
D | ContactsMockPackageManager.java | 54 public void addPackage(int packageUid, String packageName) { in addPackage() method in ContactsMockPackageManager
|
D | BaseVoicemailProviderTest.java | 50 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsPreferenceControllerTest.java | 187 getShadowApplicationManager().addPackage(packageInfo); in refreshUi_providerInfoDoesNotHaveLabel_shouldNotBeShown() 212 getShadowApplicationManager().addPackage(packageInfo); in refreshUi_providerLabelShouldBeSet() 535 getShadowApplicationManager().addPackage(packageInfo); in setUpVisibleSyncAdapters()
|
D | AccountDetailsWithSyncStatusPreferenceControllerTest.java | 164 getShadowApplicationManager().addPackage(packageInfo); in setUpVisibleSyncAdapters()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManagerTest.java | 373 getShadowPackageManager().addPackage(pkgInfo); in maybeShowHeadsUp_isSignedWithPlatformKey_returnsNotNull() 398 getShadowPackageManager().addPackage(pkgInfo); in maybeShowHeadsUp_isSystemApp_returnsNotNull() 479 getShadowPackageManager().addPackage(packageInfo); in setPackageInfo()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/ |
D | MediaSourcesLiveDataTest.java | 89 packageManager.addPackage(packageInfo); in setUp() 99 packageManager.addPackage(packageInfo); in setUp()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/ |
D | Utils.java | 50 shadowPackageManager.addPackage(autofillPackageInfo); in addAutofill()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelWorkerTest.java | 96 mPackageManager.addPackage(packageInfo); in mockInteractedPackageAsInstalled()
|
D | NotificationChannelSliceTest.java | 329 mPackageManager.addPackage(packageInfo); in addMockPackageToPackageManager()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/ |
D | DevicePrefFragmentTest.java | 136 shadowPackageManager.addPackage(packageInfo); in testUpdateCastSettings()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AllAppsList.java | 166 public void addPackage(Context context, String packageName, UserHandle user) { in addPackage() method in AllAppsList
|
D | PackageUpdatedTask.java | 113 appsList.addPackage(context, packages[i], mUser); in execute()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceControllerTest.java | 248 getShadowPackageManager().addPackage(packageInfo); in addNotificationListenerService()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsEntry.java | 118 public void addPackage(String packageName) { in addPackage() method in ProcStatsEntry
|
D | ProcStatsData.java | 304 ent.addPackage(st.mPackageName); in getProcs()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsEntry.java | 118 public void addPackage(String packageName) { in addPackage() method in ProcStatsEntry
|
D | ProcStatsData.java | 304 ent.addPackage(st.mPackageName); in getProcs()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/ |
D | WebViewAppPickerTest.java | 99 mPackageManager.addPackage(packageInfo); in setUp()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 402 spm.addPackage(testPackage); in addPackageToPackageManager()
|