Home
last modified time | relevance | path

Searched refs:entities (Results 1 – 25 of 62) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryUsageSlotDaoTest.java69 final List<BatteryUsageSlotEntity> entities = mBatteryUsageSlotDao.getAll(); in getAll_normalFlow_expectedBehavior() local
70 assertThat(entities).hasSize(2); in getAll_normalFlow_expectedBehavior()
71 assertThat(entities.get(0).timestamp).isEqualTo(TIMESTAMP1); in getAll_normalFlow_expectedBehavior()
72 assertThat(entities.get(0).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING1); in getAll_normalFlow_expectedBehavior()
73 assertThat(entities.get(1).timestamp).isEqualTo(TIMESTAMP2); in getAll_normalFlow_expectedBehavior()
74 assertThat(entities.get(1).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING2); in getAll_normalFlow_expectedBehavior()
98 final List<BatteryUsageSlotEntity> entities = mBatteryUsageSlotDao.getAll(); in clearAllBefore_normalFlow_expectedBehavior() local
99 assertThat(entities).hasSize(1); in clearAllBefore_normalFlow_expectedBehavior()
100 assertThat(entities.get(0).timestamp).isEqualTo(TIMESTAMP2); in clearAllBefore_normalFlow_expectedBehavior()
101 assertThat(entities.get(0).batteryUsageSlot).isEqualTo(BATTERY_USAGE_SLOT_STRING2); in clearAllBefore_normalFlow_expectedBehavior()
DAppUsageEventDaoTest.java75 final List<AppUsageEventEntity> entities = mAppUsageEventDao.getAllAfter(TIMESTAMP1); in appUsageEventDao_insertAll() local
76 assertThat(entities).hasSize(2); in appUsageEventDao_insertAll()
78 assertAppUsageEvent(entities.get(0), TIMESTAMP3, PACKAGE_NAME3); in appUsageEventDao_insertAll()
79 assertAppUsageEvent(entities.get(1), TIMESTAMP2, PACKAGE_NAME2); in appUsageEventDao_insertAll()
135 final List<AppUsageEventEntity> entities = mAppUsageEventDao.getAllAfter(0); in appUsageEventDao_clearAllBefore() local
136 assertThat(entities).hasSize(1); in appUsageEventDao_clearAllBefore()
138 assertAppUsageEvent(entities.get(0), TIMESTAMP3, PACKAGE_NAME3); in appUsageEventDao_clearAllBefore()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProviderTest.java369 final List<AppUsageEventEntity> entities = in insert_appUsageEvent_returnsExpectedResult() local
371 assertThat(entities).hasSize(1); in insert_appUsageEvent_returnsExpectedResult()
372 assertThat(entities.get(0).uid).isEqualTo(101L); in insert_appUsageEvent_returnsExpectedResult()
373 assertThat(entities.get(0).userId).isEqualTo(1001L); in insert_appUsageEvent_returnsExpectedResult()
374 assertThat(entities.get(0).timestamp).isEqualTo(10001L); in insert_appUsageEvent_returnsExpectedResult()
375 assertThat(entities.get(0).appUsageEventType).isEqualTo(1); in insert_appUsageEvent_returnsExpectedResult()
376 assertThat(entities.get(0).packageName).isEqualTo("com.android.settings1"); in insert_appUsageEvent_returnsExpectedResult()
377 assertThat(entities.get(0).instanceId).isEqualTo(100001L); in insert_appUsageEvent_returnsExpectedResult()
378 assertThat(entities.get(0).taskRootPackageName).isEqualTo("com.android.settings2"); in insert_appUsageEvent_returnsExpectedResult()
395 final List<BatteryEventEntity> entities = in insertAndQuery_batteryEvent_returnsExpectedResult() local
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java117 final List<BatteryUsageSlotEntity> entities = in dumpBatteryUsageSlotDatabaseHist() local
121 entities, in dumpBatteryUsageSlotDatabaseHist()
130 final List<BatteryEventEntity> entities = in dumpBatteryEventDatabaseHist() local
132 dumpListItems(writer, entities, entity -> entity); in dumpBatteryEventDatabaseHist()
154 final List<BatteryReattributeEntity> entities = in dumpBatteryReattributeDatabaseHist() local
157 if (entities != null && !entities.isEmpty()) { in dumpBatteryReattributeDatabaseHist()
158 dumpListItems(writer, entities, entity -> entity); in dumpBatteryReattributeDatabaseHist()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/
DIntegrationTestUtils.java54 public static void writeMigrationData(List<MigrationEntity> entities) { in writeMigrationData() argument
56 getHealthConnectManager().writeMigrationData(entities, newSingleThreadExecutor(), outcome); in writeMigrationData()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/storage/
Dentity_metadata.proto38 * Encompasses metadata related to entities which may be useful for policy
62 * or entities it was derived-from.
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/migration/
DHealthConnectPermissionsMigrationTest.java115 private void migrate(MigrationEntity... entities) { in migrate() argument
121 () -> IntegrationTestUtils.writeMigrationData(List.of(entities)), in migrate()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DCobaltDatabase.java28 entities = {
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/model/
DAppShareabilityDatabase.java32 @Database(entities = {AppShareabilityStatus.class}, exportSchema = false, version = 1)
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DRkpdDatabase.java31 @Database(entities = {ProvisionedKey.class}, exportSchema = false, version = 1)
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryStateDatabase.java29 entities = {
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAdSelectionDebugReportingDatabase.java32 entities = {DBAdSelectionDebugReport.class},
DSharedStorageDatabase.java34 entities = {
DAdSelectionServerDatabase.java36 entities = {
DAdSelectionDatabase.java34 entities = {
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/
DKAnonDatabase.java32 entities = {DBServerParameters.class, DBClientParameters.class, DBKAnonMessage.class},
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DDataMigrationManager.java95 public void apply(@NonNull Collection<MigrationEntity> entities) throws EntityWriteException { in apply() argument
102 for (MigrationEntity entity : entities) { in apply()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DProtectedSignalsDatabase.java30 entities = {
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DCacheDatabase.java37 entities = {DBCacheEntry.class},
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDatabase.java38 entities = {
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DMetadataDatabase.java35 entities = {Metadata.class},
/packages/apps/Contacts/
DNOTICE58 d. "Licensor" means the individual, individuals, entity or entities that
61 the individual, individuals, entity or entities who created the Work
248 Individuals or entities who have received Adaptations or Collections
250 terminated provided such individuals or entities remain in full
344 other entities that control, are controlled by, or are under common
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectManager.java1718 @NonNull List<MigrationEntity> entities, in writeMigrationData()
1722 Objects.requireNonNull(entities); in writeMigrationData()
1729 new MigrationEntityParcel(entities), in writeMigrationData()
/packages/modules/AdServices/adservices/linter/documentation/
DRoomDatabaseMigrationDetector.md5 entities = {},
/packages/modules/Virtualization/docs/
Dupdatable_vm.md79 entities with DICE chain that adheres to those policies can access the secrets.

123