Home
last modified time | relevance | path

Searched refs:getAppInfoId (Results 1 – 13 of 13) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DMindfulSessionRecordInternalTest.java174 assertThat(decodedRecord.getAppInfoId()).isEqualTo(-1); in writeToParcel_populateUsing_allFieldsSet()
213 assertThat(decodedRecord.getAppInfoId()).isEqualTo(-1); in writeToParcel_populateUsing_optionalFieldsNotSet()
269 assertThat(internalRecord.getAppInfoId()).isEqualTo(-1); in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
306 assertThat(internalRecord.getAppInfoId()).isEqualTo(-1); in mindfulnessSessionRecord_toInternalRecord_optionalFieldsNotSet()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java132 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()
302 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testNewMaybeRemoveAppFromPriorityList_ifNoDataForApp_removesApp()
331 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testOldMaybeRemoveAppFromPriorityList_ifNoWritePermissionsForApp_removesApp()
425 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testNewUpdateHealthDataPriority_ifNoDataForApp_removesApp()
458 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testOldUpdateHealthDataPriority_ifNoWritePermissionsForApp_removesApp()
481 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testOldMaybeRemoveAppWithoutWritePermissionsFromPriorityList_removesApp()
501 when(mAppInfoHelper.getAppInfoId(APP_PACKAGE_NAME)).thenReturn(APP_PACKAGE_ID); in testNewMaybeRemoveAppWithoutWritePermissionsFromPriorityList_ifNoDataForApp_removesApp()
[all …]
DTransactionTestUtils.java81 assertThat(AppInfoHelper.getInstance().getAppInfoId(packageName)) in insertApp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseSessionRecordHelper.java401 long appId = AppInfoHelper.getInstance().getAppInfoId(packageName); in getExtraDataReadRequests()
505 .getAppInfoId(session.getPackageName()) in getReadRequestsForRecordsModifiedByUpsertion()
600 long appId = AppInfoHelper.getInstance().getAppInfoId(packageName); in getExerciseRouteReadAccessType()
DRecordHelper.java170 appInfoHelper.getAppInfoId(callingPackage), startDateAccess)); in getAggregateTableRequest()
706 long callingAppInfoId = appInfoHelper.getAppInfoId(callingPackageName); in getReadTableWhereClause()
832 recordContentValues.put(APP_INFO_ID_COLUMN_NAME, recordInternal.getAppInfoId()); in getContentValues()
DAccessLogsHelper.java137 APP_ID_COLUMN_NAME, AppInfoHelper.getInstance().getAppInfoId(packageName)); in getUpsertTableRequest()
DAppInfoHelper.java207 public long getAppInfoId(String packageName) { in getAppInfoId() method in AppInfoHelper
237 packageNames.forEach(packageName -> result.add(getAppInfoId(packageName))); in getAppInfoIds()
DHealthDataCategoryPriorityHelper.java488 newPriorityList.remove(AppInfoHelper.getInstance().getAppInfoId(packageName)); in maybeRemoveAppFromPriorityListInternal()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DDeleteTransactionRequest.java52 mRequestingPackageNameId = AppInfoHelper.getInstance().getAppInfoId(packageName); in DeleteTransactionRequest()
DUpsertTransactionRequest.java185 /* expected args value */ String.valueOf(recordInternal.getAppInfoId())); in generateWhereClausesForUpdate()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DStorageUtils.java348 .putLong(record.getAppInfoId()) in getDedupeByteBuffer()
362 .putLong(record.getAppInfoId()) in getDedupeByteBuffer()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java255 public long getAppInfoId() { in getAppInfoId() method in RecordInternal
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DTransactionManager.java187 upsertRequest.getRecordInternal().getAppInfoId(), in insertAll()
576 upsertRequest.getRecordInternal().getAppInfoId(), in updateAll()