Home
last modified time | relevance | path

Searched refs:getStagedApexInfos (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java461 () -> mStagingManager.getStagedApexInfos(null)); in getStagedApexInfos_validatePreConditions()
471 () -> mStagingManager.getStagedApexInfos(session)); in getStagedApexInfos_validatePreConditions()
481 () -> mStagingManager.getStagedApexInfos(session)); in getStagedApexInfos_validatePreConditions()
489 Map<String, ApexInfo> result = mStagingManager.getStagedApexInfos(session); in getStagedApexInfos_validatePreConditions()
499 Map<String, ApexInfo> result = mStagingManager.getStagedApexInfos(session); in getStagedApexInfos_validatePreConditions()
520 when(mApexManager.getStagedApexInfos(any())).thenReturn(fakeApexInfos); in getStagedApexInfos_nonParentSession()
523 Map<String, ApexInfo> result = mStagingManager.getStagedApexInfos(validSession); in getStagedApexInfos_nonParentSession()
528 verify(mApexManager, times(1)).getStagedApexInfos(argumentCaptor.capture()); in getStagedApexInfos_nonParentSession()
544 when(mApexManager.getStagedApexInfos(any())).thenReturn(fakeApexInfos); in getStagedApexInfos_parentSession()
547 Map<String, ApexInfo> result = mStagingManager.getStagedApexInfos(parentSession); in getStagedApexInfos_parentSession()
[all …]
DApexManagerTest.java277 doThrow(RemoteException.class).when(mApexService).getStagedApexInfos(any()); in testGetStagedApexInfos_throwRunTimeException()
280 () -> mApexManager.getStagedApexInfos(testParamsWithChildren())); in testGetStagedApexInfos_throwRunTimeException()
285 doThrow(ServiceSpecificException.class).when(mApexService).getStagedApexInfos(any()); in testGetStagedApexInfos_returnsEmptyArrayOnError()
287 assertThat(mApexManager.getStagedApexInfos(testParamsWithChildren())).hasLength(0); in testGetStagedApexInfos_returnsEmptyArrayOnError()
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java817 Map<String, ApexInfo> getStagedApexInfos(@NonNull StagedSession session) { in getStagedApexInfos() method in StagingManager
842 ApexInfo[] infos = mApexManager.getStagedApexInfos(params); in getStagedApexInfos()
862 result.addAll(getStagedApexInfos(session).keySet()); in getStagedApexModuleNames()
880 ApexInfo ai = getStagedApexInfos(session).get(moduleName); in getStagedApexInfo()
DApexManager.java200 abstract ApexInfo[] getStagedApexInfos(ApexSessionParams params); in getStagedApexInfos() method in ApexManager
631 ApexInfo[] getStagedApexInfos(ApexSessionParams params) { in getStagedApexInfos() method in ApexManager.ApexManagerImpl
633 return waitForApexService().getStagedApexInfos(params); in getStagedApexInfos()