Searched refs:mAppInfoHelper (Results 1 – 6 of 6) sorted by relevance
107 @Mock private AppInfoHelper mAppInfoHelper; field in HealthDataCategoryPriorityHelperTest123 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in setUp()124 when(mAppInfoHelper.getOrInsertAppInfoId(eq(APP_PACKAGE_NAME), any())) in setUp()126 when(mAppInfoHelper.getOrInsertAppInfoId(eq(APP_PACKAGE_NAME_2), any())) in setUp()128 when(mAppInfoHelper.getOrInsertAppInfoId(eq(APP_PACKAGE_NAME_3), any())) in setUp()130 when(mAppInfoHelper.getOrInsertAppInfoId(eq(APP_PACKAGE_NAME_4), any())) in setUp()132 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in setUp()133 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME_2)).thenReturn(APP_PACKAGE_ID_2); in setUp()134 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME_3)).thenReturn(APP_PACKAGE_ID_3); in setUp()135 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME_4)).thenReturn(APP_PACKAGE_ID_4); in setUp()[all …]
74 @Mock AppInfoHelper mAppInfoHelper; field in PriorityMigrationTest105 mAppInfoHelper, in setUp()139 when(mAppInfoHelper.getPackageNames(List.of(APP_PACKAGE_ID_4, APP_PACKAGE_ID_3))) in testMigratePriority_preMigrationPriorityNewAppsInPayload_priorityMigrated()175 when(mAppInfoHelper.getPackageNames( in testMigratePriority_preMigrationPriorityWithChangedOrderInPayload_priorityMigrated()218 when(mAppInfoHelper.getPackageNames( in testMigratePriority_preMigrationPriorityNewAppChangedOrderInPayload_priorityMigrated()252 when(mAppInfoHelper.getPackageNames( in testMigratePriority_preMigrationPriorityWithNoAppsInPayload_priorityNotMigrated()
67 private final AppInfoHelper mAppInfoHelper; field in DataMigrationManager85 mAppInfoHelper = appInfoHelper; in DataMigrationManager()151 mAppInfoHelper.populateAppInfoId(record, mUserContext, false); in parseRecord()203 mAppInfoHelper.addOrUpdateAppInfoIfNotInstalled( in migrateAppInfo()282 mAppInfoHelper.getPackageNames( in migratePriority()
117 @Mock private AppInfoHelper mAppInfoHelper; field in AutoDeleteServiceTest136 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in testStartAutoDelete_getPreferenceReturnNull()150 verify(mAppInfoHelper).syncAppInfoRecordTypesUsed(); in testStartAutoDelete_getPreferenceReturnNull()159 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in testStartAutoDelete_getPreferenceReturnNonNull()181 verify(mAppInfoHelper).syncAppInfoRecordTypesUsed(); in testStartAutoDelete_getPreferenceReturnNonNull()
214 private final AppInfoHelper mAppInfoHelper; field in HealthConnectServiceImpl249 mAppInfoHelper = AppInfoHelper.getInstance(); in HealthConnectServiceImpl()447 mAppInfoHelper.updateAppInfoRecordTypesUsedOnInsert( in postInsertTasks()1475 mAppInfoHelper.getApplicationInfosWithRecordTypes(); in getContributorApplicationsInfo()1692 mAppInfoHelper.syncAppInfoRecordTypesUsed(); in finishMigration()2391 mAppInfoHelper, in getDataMigrationManager()2480 mAppInfoHelper.getRecordTypesToContributingPackagesMap(); in getPopulatedRecordTypeInfoResponses()2593 mAppInfoHelper.syncAppInfoRecordTypesUsed(new HashSet<>(recordTypeIdsToDelete)); in postDeleteTasks()
129 @Mock private AppInfoHelper mAppInfoHelper; field in BackupRestoreTest152 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in setUp()