Searched refs:createFakeResolveInfo (Results 1 – 5 of 5) 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
132 final ResolveInfo newTrustAgent = createFakeResolveInfo(newComponentName); in onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences()196 final ResolveInfo ri = createFakeResolveInfo(cn); in createFakeAvailableAgents()202 private ResolveInfo createFakeResolveInfo(ComponentName cn) { in createFakeResolveInfo() method in TrustAgentsPreferenceControllerTest
2353 ResolveInfo ri = createFakeResolveInfo(); in testOneInitialIntent_noAutolaunch()2389 .thenReturn(createFakeResolveInfo()); in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents()2420 .thenReturn(createFakeResolveInfo()); in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()2452 .thenReturn(createFakeResolveInfo()); in testWorkTab_noWorkAppsAvailable_nonSendIntent_emptyStateShown()2553 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in UnbundledChooserActivityTest