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
71 ResolveInfo info = createFakeResolveInfo(); in isGetProvisioningModeActivityResolvable_resolvableActivity_returnsTrue()91 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_returnsTrue()105 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent()125 ResolveInfo info = createFakeResolveInfo(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_includesAdditionalExtras()141 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in GetProvisioningModeUtilsTest
85 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_allConditionsMet_returnsTrue()98 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_noPolicyComplianceScreen_returnsFalse()109 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_noGetProvisioningModeScreen_returnsFalse()121 ResolveInfo info = createFakeResolveInfo(); in shouldPerformAdminIntegratedFlow_nfcProvisioning_returnsFalse()245 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
2107 ResolveInfo ri = createFakeResolveInfo(); in testOneInitialIntent_noAutolaunch()2136 .thenReturn(createFakeResolveInfo()); in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents()2165 .thenReturn(createFakeResolveInfo()); in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()2195 .thenReturn(createFakeResolveInfo()); in testWorkTab_noWorkAppsAvailable_nonSendIntent_emptyStateShown()2415 private ResolveInfo createFakeResolveInfo() { in createFakeResolveInfo() method in ChooserActivityTest