/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DatabaseMerger.java | 46 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 95 try (Cursor cursor = read(stagedDatabase, new ReadTableRequest(AppInfoHelper.TABLE_NAME))) { in merge() 98 String packageName = getCursorString(cursor, AppInfoHelper.PACKAGE_COLUMN_NAME); in merge() 99 String appName = getCursorString(cursor, AppInfoHelper.APPLICATION_COLUMN_NAME); in merge() 100 byte[] icon = getCursorBlob(cursor, AppInfoHelper.APP_ICON_COLUMN_NAME); in merge() 105 AppInfoHelper.getInstance() in merge() 158 AppInfoHelper.getInstance().syncAppInfoRecordTypesUsed(); in merge()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | TransactionTestUtils.java | 23 import static com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper.PACKAGE_COLUMN… 24 import static com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper.UNIQUE_COLUMN_… 79 AppInfoHelper.TABLE_NAME, contentValues, UNIQUE_COLUMN_INFO)); in insertApp() 80 AppInfoHelper.getInstance().clearCache(); in insertApp() 81 assertThat(AppInfoHelper.getInstance().getAppInfoId(packageName)) in insertApp()
|
D | MedicalDataSourceHelperTest.java | 53 AppInfoHelper.TABLE_NAME, in getCreateTableRequest_correctResult()
|
D | HealthDataCategoryPriorityHelperTest.java | 97 .mockStatic(AppInfoHelper.class) 107 @Mock private AppInfoHelper mAppInfoHelper; 123 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in setUp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthDataCategoryPriorityHelper.java | 116 long appInfoId = AppInfoHelper.getInstance().getOrInsertAppInfoId(packageName, context); in appendToPriorityList() 223 return AppInfoHelper.getInstance().getPackageNames(getAppIdPriorityOrder(type)); in getPriorityOrder() 250 AppInfoHelper.getInstance().getAppInfoIds(packagePriorityOrder); in setPriorityOrder() 422 AppInfoHelper appInfoHelper = AppInfoHelper.getInstance(); in reSyncHealthDataPriorityTable() 488 newPriorityList.remove(AppInfoHelper.getInstance().getAppInfoId(packageName)); in maybeRemoveAppFromPriorityListInternal() 517 dataCategory, AppInfoHelper.getInstance().getPackageName(appInfoId)); in maybeRemoveAppsFromPriorityList() 648 AppInfoHelper.getInstance().getRecordTypesToContributingPackagesMap(); in getDataCategoriesWithDataForPackage() 670 AppInfoHelper.getInstance().getRecordTypesToContributingPackagesMap(); in getAllContributorApps()
|
D | AccessLogsHelper.java | 75 final AppInfoHelper appInfoHelper = AppInfoHelper.getInstance(); in queryAccessLogs() 137 APP_ID_COLUMN_NAME, AppInfoHelper.getInstance().getAppInfoId(packageName)); in getUpsertTableRequest()
|
D | RecordHelper.java | 139 AppInfoHelper appInfoHelper = AppInfoHelper.getInstance(); in getAggregateTableRequest() 229 AppInfoHelper.TABLE_NAME, in getCreateTableRequest() 564 : AppInfoHelper.getInstance().getPackageName(appInfoId); in getRecord() 601 AppInfoHelper.getInstance().getAppInfoIds(packageFilters)) in getDeleteTableRequest() 705 AppInfoHelper appInfoHelper = AppInfoHelper.getInstance(); in getReadTableWhereClause()
|
D | AppInfoHelper.java | 84 public final class AppInfoHelper extends DatabaseHelper { class 96 private static volatile AppInfoHelper sAppInfoHelper; 114 private AppInfoHelper() {} in AppInfoHelper() method in AppInfoHelper 686 public static synchronized AppInfoHelper getInstance() { in getInstance() 688 sAppInfoHelper = new AppInfoHelper(); in getInstance()
|
D | DatabaseHelper.java | 37 AppInfoHelper.getInstance(), in getDatabaseHelpers()
|
D | MedicalDataSourceHelper.java | 64 AppInfoHelper.TABLE_NAME, in getCreateTableRequest()
|
D | ExerciseSessionRecordHelper.java | 401 long appId = AppInfoHelper.getInstance().getAppInfoId(packageName); in getExtraDataReadRequests() 504 + AppInfoHelper.getInstance() in getReadRequestsForRecordsModifiedByUpsertion() 600 long appId = AppInfoHelper.getInstance().getAppInfoId(packageName); in getExerciseRouteReadAccessType()
|
D | ChangeLogsHelper.java | 116 AppInfoHelper.getInstance() in getChangeLogs()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | AutoDeleteServiceTest.java | 37 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 109 .mockStatic(AppInfoHelper.class) 117 @Mock private AppInfoHelper mAppInfoHelper; 136 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in testStartAutoDelete_getPreferenceReturnNull() 159 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in testStartAutoDelete_getPreferenceReturnNonNull()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | AutoDeleteService.java | 25 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 71 AppInfoHelper.getInstance().syncAppInfoRecordTypesUsed(); in startAutoDelete()
|
D | DatabaseUpgradeHelper.java | 34 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 155 requests.add(AppInfoHelper.getCreateTableRequest()); in getInitialCreateTableRequests()
|
D | TransactionManager.java | 53 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 621 AppInfoHelper appInfoHelper = AppInfoHelper.getInstance(); in getDistinctPackageNamesForRecordsTable()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | DataMigrationManager.java | 39 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 67 private final AppInfoHelper mAppInfoHelper; 77 @NonNull AppInfoHelper appInfoHelper, in DataMigrationManager()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | DeleteTransactionRequest.java | 29 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 52 mRequestingPackageNameId = AppInfoHelper.getInstance().getAppInfoId(packageName); in DeleteTransactionRequest()
|
D | UpsertTransactionRequest.java | 35 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 123 AppInfoHelper.getInstance() in UpsertTransactionRequest()
|
D | AggregateTableRequest.java | 40 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 350 List<String> packageNames = AppInfoHelper.getInstance().getPackageNames(packageIds); in updateResultWithDataOriginPackageNames()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | PriorityMigrationTest.java | 39 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 74 @Mock AppInfoHelper mAppInfoHelper;
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/ |
D | BackupRestoreTest.java | 88 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 121 .mockStatic(AppInfoHelper.class) 129 @Mock private AppInfoHelper mAppInfoHelper; 152 when(AppInfoHelper.getInstance()).thenReturn(mAppInfoHelper); in setUp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 154 import com.android.server.healthconnect.storage.datatypehelpers.AppInfoHelper; 214 private final AppInfoHelper mAppInfoHelper; 249 mAppInfoHelper = AppInfoHelper.getInstance(); in HealthConnectServiceImpl()
|