Searched refs:createFakeResolveInfo (Results 1 – 8 of 8) sorted by relevance
107 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_DEBUGGABLE)); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem()118 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()131 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnRequestHealthCheck()145 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnCancelHealthCheck()158 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetSupportedPackages()171 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileNoRequest()183 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileHasRequest()194 private List<ResolveInfo> createFakeResolveInfo(int flags) { in createFakeResolveInfo() method in ExplicitHealthCheckServiceImplUnitTest
72 ResolveInfo info = createFakeResolveInfo(); in isGetProvisioningModeActivityResolvable_resolvableActivity_returnsTrue()93 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_returnsTrue()108 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent()129 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_includesAdditionalExtras()145 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in GetProvisioningModeUtilsTest
81 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_allConditionsMet_returnsTrue()94 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_noPolicyComplianceScreen_returnsFalse()105 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_noGetProvisioningModeScreen_returnsFalse()222 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in UtilsRoboTest
20 import static com.android.server.appsearch.appsindexer.TestUtils.createFakeResolveInfo;54 fakeActivities.add(createFakeResolveInfo(i)); in testBuildAppsFromPackageInfos_ReturnsNonNullList()
145 public static ResolveInfo createFakeResolveInfo(int variant) { in createFakeResolveInfo() method in TestUtils169 resolveInfoList.add(createFakeResolveInfo(i)); in createFakeResolveInfos()
25 import static com.android.server.appsearch.appsindexer.TestUtils.createFakeResolveInfo;243 fakeActivities.add(createFakeResolveInfo(numFakePackages)); in testAddPackage()
135 final ResolveInfo newTrustAgent = createFakeResolveInfo(newComponentName); in onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences()201 final ResolveInfo ri = createFakeResolveInfo(cn); in createFakeAvailableAgents()207 private ResolveInfo createFakeResolveInfo(ComponentName cn) { in createFakeResolveInfo() method in TrustAgentsPreferenceControllerTest
2593 mPackageManager = createFakePackageManager(createFakeResolveInfo()); in testOneInitialIntent_noAutolaunch()2618 mPackageManager = createFakePackageManager(createFakeResolveInfo()); in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents()2643 mPackageManager = createFakePackageManager(createFakeResolveInfo()); in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()2670 mPackageManager = createFakePackageManager(createFakeResolveInfo()); in testWorkTab_noWorkAppsAvailable_nonSendIntent_emptyStateShown()2814 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in ChooserActivityTest