Searched refs:PermissionMigrationPayload (Results 1 – 7 of 7) sorted by relevance
36 public final class PermissionMigrationPayload extends MigrationPayload implements Parcelable { class39 public static final Creator<PermissionMigrationPayload> CREATOR =42 public PermissionMigrationPayload createFromParcel(Parcel in) {44 return new PermissionMigrationPayload(in);48 public PermissionMigrationPayload[] newArray(int size) {49 return new PermissionMigrationPayload[size];57 private PermissionMigrationPayload( in PermissionMigrationPayload() method in PermissionMigrationPayload66 PermissionMigrationPayload(@NonNull Parcel in) { in PermissionMigrationPayload() method in PermissionMigrationPayload151 public PermissionMigrationPayload build() { in build()152 return new PermissionMigrationPayload( in build()
62 return new PermissionMigrationPayload(source);
20 import android.health.connect.migration.PermissionMigrationPayload;43 final PermissionMigrationPayload payload = in createdWithoutSetters_validData()44 new PermissionMigrationPayload.Builder( in createdWithoutSetters_validData()55 final PermissionMigrationPayload payload = in createdWithSetters_validData()56 new PermissionMigrationPayload.Builder("", Instant.now()) in createdWithSetters_validData()
75 import android.health.connect.migration.PermissionMigrationPayload;591 new PermissionMigrationPayload.Builder(APP_PACKAGE_NAME, Instant.now()) in migratePermissions_hasValidPermissions_validPermissionsGranted()614 new PermissionMigrationPayload.Builder(APP_PACKAGE_NAME, Instant.now()) in migratePermissions_allInvalidPermissions_throwsMigrationException()667 new PermissionMigrationPayload.Builder(APP_PACKAGE_NAME, Instant.now()) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()673 new PermissionMigrationPayload.Builder(APP_PACKAGE_NAME_2, Instant.now()) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
28 import android.health.connect.migration.PermissionMigrationPayload;122 } else if (payload instanceof PermissionMigrationPayload) { in migrateEntity()123 migratePermissions((PermissionMigrationPayload) payload); in migrateEntity()163 private void migratePermissions(@NonNull PermissionMigrationPayload payload) { in migratePermissions()
35 import android.health.connect.migration.PermissionMigrationPayload;92 new PermissionMigrationPayload.Builder(DEFAULT_APP_PACKAGE, firstGrantTime) in testMigratePermissions_permissionFirstGrantTimeMigrated()
289 …public final class PermissionMigrationPayload extends android.health.connect.migration.MigrationPa…294 …android.os.Parcelable.Creator<android.health.connect.migration.PermissionMigrationPayload> CREATOR;297 public static final class PermissionMigrationPayload.Builder {298 ctor public PermissionMigrationPayload.Builder(@NonNull String, @NonNull java.time.Instant);299 …method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder addPerm…300 method @NonNull public android.health.connect.migration.PermissionMigrationPayload build();301 …method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder setFirs…302 …method @NonNull public android.health.connect.migration.PermissionMigrationPayload.Builder setHold…