Searched refs:AppInfoMigrationPayload (Results 1 – 7 of 7) sorted by relevance
33 public final class AppInfoMigrationPayload extends MigrationPayload implements Parcelable { class36 public static final Creator<AppInfoMigrationPayload> CREATOR =39 public AppInfoMigrationPayload createFromParcel(Parcel in) {41 return new AppInfoMigrationPayload(in);45 public AppInfoMigrationPayload[] newArray(int size) {46 return new AppInfoMigrationPayload[size];55 private AppInfoMigrationPayload( in AppInfoMigrationPayload() method in AppInfoMigrationPayload62 AppInfoMigrationPayload(@NonNull Parcel in) { in AppInfoMigrationPayload() method in AppInfoMigrationPayload146 public AppInfoMigrationPayload build() { in build()147 return new AppInfoMigrationPayload(mPackageName, mAppName, mAppIcon); in build()
66 return new AppInfoMigrationPayload(source);
19 import android.health.connect.migration.AppInfoMigrationPayload;36 private static final AppInfoMigrationPayload APP_INFO_PAYLOAD =37 new AppInfoMigrationPayload.Builder(DEFAULT_PACKAGE_NAME, DEFAULT_APP_NAME)49 mExpect.that(entity.getPayload()).isInstanceOf(AppInfoMigrationPayload.class); in createdViaConstructor_validData()51 AppInfoMigrationPayload payload = (AppInfoMigrationPayload) entity.getPayload(); in createdViaConstructor_validData()
19 import android.health.connect.migration.AppInfoMigrationPayload;40 final AppInfoMigrationPayload payload = in createdWithoutSetters_validData()41 new AppInfoMigrationPayload.Builder(PACKAGE_NAME, APP_NAME).build(); in createdWithoutSetters_validData()50 final AppInfoMigrationPayload payload = in createdWithSetters_validData()51 new AppInfoMigrationPayload.Builder("", "") in createdWithSetters_validData()
71 import android.health.connect.migration.AppInfoMigrationPayload;830 new AppInfoMigrationPayload.Builder(PACKAGE_NAME_NOT_INSTALLED, APP_NAME) in migrateAppInfo_notInstalledAppAndRecordsMigrated_appInfoSaved()855 new AppInfoMigrationPayload.Builder( in migrateAppInfo_notInstalledAppAndRecordsNotMigrated_appInfoNotSaved()885 new AppInfoMigrationPayload.Builder(APP_PACKAGE_NAME, APP_NAME_NEW) in migrateAppInfo_installedAppAndRecordsMigrated_appInfoNotSaved()
24 import android.health.connect.migration.AppInfoMigrationPayload;124 } else if (payload instanceof AppInfoMigrationPayload) { in migrateEntity()125 migrateAppInfo((AppInfoMigrationPayload) payload); in migrateEntity()202 private void migrateAppInfo(@NonNull AppInfoMigrationPayload payload) { in migrateAppInfo()
235 …public final class AppInfoMigrationPayload extends android.health.connect.migration.MigrationPaylo…240 …al android.os.Parcelable.Creator<android.health.connect.migration.AppInfoMigrationPayload> CREATOR;243 public static final class AppInfoMigrationPayload.Builder {244 ctor public AppInfoMigrationPayload.Builder(@NonNull String, @NonNull String);245 method @NonNull public android.health.connect.migration.AppInfoMigrationPayload build();246 …method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setAppIcon…247 …method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setAppName…248 …method @NonNull public android.health.connect.migration.AppInfoMigrationPayload.Builder setPackage…