Browse Source

All Parcelable CREATOR fields are @NonNull.

If they were null, then the Parcelable would fail to work.

Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
ten
Jeff Sharkey 2 years ago
parent
commit
9e8f83db6d
100 changed files with 676 additions and 676 deletions
  1. 381
    381
      api/current.txt
  2. 1
    1
      api/removed.txt
  3. 147
    147
      api/system-current.txt
  4. 31
    31
      api/test-current.txt
  5. 1
    1
      core/java/android/accessibilityservice/AccessibilityServiceInfo.java
  6. 2
    2
      core/java/android/accessibilityservice/GestureDescription.java
  7. 1
    1
      core/java/android/accounts/Account.java
  8. 1
    1
      core/java/android/accounts/AccountAuthenticatorResponse.java
  9. 1
    1
      core/java/android/accounts/AccountManagerResponse.java
  10. 1
    1
      core/java/android/accounts/AuthenticatorDescription.java
  11. 9
    9
      core/java/android/app/ActivityManager.java
  12. 1
    1
      core/java/android/app/AlarmManager.java
  13. 6
    6
      core/java/android/app/AppOpsManager.java
  14. 2
    2
      core/java/android/app/ApplicationErrorReport.java
  15. 1
    1
      core/java/android/app/AuthenticationRequiredException.java
  16. 1
    1
      core/java/android/app/AutomaticZenRule.java
  17. 1
    1
      core/java/android/app/BackStackRecord.java
  18. 1
    1
      core/java/android/app/ContentProviderHolder.java
  19. 1
    1
      core/java/android/app/FragmentManager.java
  20. 1
    1
      core/java/android/app/FragmentState.java
  21. 1
    1
      core/java/android/app/GrantedUriPermission.java
  22. 3
    3
      core/java/android/app/Notification.java
  23. 1
    1
      core/java/android/app/NotificationChannel.java
  24. 1
    1
      core/java/android/app/NotificationChannelGroup.java
  25. 1
    1
      core/java/android/app/NotificationManager.java
  26. 1
    1
      core/java/android/app/PendingIntent.java
  27. 1
    1
      core/java/android/app/Person.java
  28. 1
    1
      core/java/android/app/PictureInPictureArgs.java
  29. 1
    1
      core/java/android/app/PictureInPictureParams.java
  30. 1
    1
      core/java/android/app/ProcessMemoryHighWaterMark.java
  31. 1
    1
      core/java/android/app/ProcessMemoryState.java
  32. 1
    1
      core/java/android/app/ProfilerInfo.java
  33. 1
    1
      core/java/android/app/RecoverableSecurityException.java
  34. 1
    1
      core/java/android/app/RemoteAction.java
  35. 1
    1
      core/java/android/app/RemoteInput.java
  36. 1
    1
      core/java/android/app/ResultInfo.java
  37. 1
    1
      core/java/android/app/SearchableInfo.java
  38. 1
    1
      core/java/android/app/ServiceStartArgs.java
  39. 2
    2
      core/java/android/app/VoiceInteractor.java
  40. 1
    1
      core/java/android/app/Vr2dDisplayProperties.java
  41. 1
    1
      core/java/android/app/WaitResult.java
  42. 1
    1
      core/java/android/app/WallpaperColors.java
  43. 1
    1
      core/java/android/app/WallpaperInfo.java
  44. 1
    1
      core/java/android/app/WindowConfiguration.java
  45. 1
    1
      core/java/android/app/admin/ConnectEvent.java
  46. 1
    1
      core/java/android/app/admin/DeviceAdminInfo.java
  47. 1
    1
      core/java/android/app/admin/DnsEvent.java
  48. 1
    1
      core/java/android/app/admin/NetworkEvent.java
  49. 1
    1
      core/java/android/app/admin/PasswordMetrics.java
  50. 1
    1
      core/java/android/app/admin/SecurityLog.java
  51. 1
    1
      core/java/android/app/admin/SystemUpdateInfo.java
  52. 2
    2
      core/java/android/app/admin/SystemUpdatePolicy.java
  53. 1
    1
      core/java/android/app/assist/AssistContent.java
  54. 2
    2
      core/java/android/app/assist/AssistStructure.java
  55. 1
    1
      core/java/android/app/backup/BackupProgress.java
  56. 1
    1
      core/java/android/app/backup/RestoreDescription.java
  57. 1
    1
      core/java/android/app/backup/RestoreSet.java
  58. 1
    1
      core/java/android/app/contentsuggestions/ClassificationsRequest.java
  59. 1
    1
      core/java/android/app/contentsuggestions/ContentClassification.java
  60. 1
    1
      core/java/android/app/contentsuggestions/ContentSelection.java
  61. 1
    1
      core/java/android/app/contentsuggestions/SelectionsRequest.java
  62. 2
    2
      core/java/android/app/job/JobInfo.java
  63. 1
    1
      core/java/android/app/job/JobParameters.java
  64. 1
    1
      core/java/android/app/job/JobSnapshot.java
  65. 1
    1
      core/java/android/app/job/JobWorkItem.java
  66. 1
    1
      core/java/android/app/prediction/AppPredictionContext.java
  67. 1
    1
      core/java/android/app/prediction/AppPredictionSessionId.java
  68. 1
    1
      core/java/android/app/prediction/AppTarget.java
  69. 1
    1
      core/java/android/app/prediction/AppTargetEvent.java
  70. 1
    1
      core/java/android/app/prediction/AppTargetId.java
  71. 1
    1
      core/java/android/app/servertransaction/ActivityConfigurationChangeItem.java
  72. 1
    1
      core/java/android/app/servertransaction/ActivityRelaunchItem.java
  73. 1
    1
      core/java/android/app/servertransaction/ActivityResultItem.java
  74. 1
    1
      core/java/android/app/servertransaction/ClientTransaction.java
  75. 1
    1
      core/java/android/app/servertransaction/ConfigurationChangeItem.java
  76. 1
    1
      core/java/android/app/servertransaction/DestroyActivityItem.java
  77. 1
    1
      core/java/android/app/servertransaction/LaunchActivityItem.java
  78. 1
    1
      core/java/android/app/servertransaction/MoveToDisplayItem.java
  79. 1
    1
      core/java/android/app/servertransaction/MultiWindowModeChangeItem.java
  80. 1
    1
      core/java/android/app/servertransaction/NewIntentItem.java
  81. 1
    1
      core/java/android/app/servertransaction/PauseActivityItem.java
  82. 1
    1
      core/java/android/app/servertransaction/PipModeChangeItem.java
  83. 1
    1
      core/java/android/app/servertransaction/ResumeActivityItem.java
  84. 1
    1
      core/java/android/app/servertransaction/StopActivityItem.java
  85. 1
    1
      core/java/android/app/servertransaction/TopResumedActivityChangeItem.java
  86. 1
    1
      core/java/android/app/servertransaction/WindowVisibilityItem.java
  87. 1
    1
      core/java/android/app/slice/Slice.java
  88. 1
    1
      core/java/android/app/slice/SliceItem.java
  89. 1
    1
      core/java/android/app/slice/SliceSpec.java
  90. 1
    1
      core/java/android/app/timedetector/TimeSignal.java
  91. 1
    1
      core/java/android/app/timezone/DistroFormatVersion.java
  92. 1
    1
      core/java/android/app/timezone/DistroRulesVersion.java
  93. 1
    1
      core/java/android/app/timezone/RulesState.java
  94. 1
    1
      core/java/android/app/usage/AppStandbyInfo.java
  95. 1
    1
      core/java/android/app/usage/CacheQuotaHint.java
  96. 1
    1
      core/java/android/app/usage/ConfigurationStats.java
  97. 1
    1
      core/java/android/app/usage/EventStats.java
  98. 1
    1
      core/java/android/app/usage/ExternalStorageStats.java
  99. 1
    1
      core/java/android/app/usage/StorageStats.java
  100. 0
    0
      core/java/android/app/usage/UsageEvents.java

+ 381
- 381
api/current.txt
File diff suppressed because it is too large
View File


+ 1
- 1
api/removed.txt View File

@@ -32,7 +32,7 @@ package android.app {
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final int CONTENTS_FILE_DESCRIPTOR = 1; // 0x1
field public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR;
field public static final int PARCELABLE_WRITE_RETURN_VALUE = 1; // 0x1
}


+ 147
- 147
api/system-current.txt
File diff suppressed because it is too large
View File


+ 31
- 31
api/test-current.txt View File

@@ -217,7 +217,7 @@ package android.app {
method @NonNull public String getOpName();
method public long getRejectCount(int);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR;
}

public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
@@ -233,7 +233,7 @@ package android.app {
method public void increaseRejectCount(int, int, @NonNull String, int, long);
method public void offsetBeginAndEndTime(long);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR;
}

public static final class AppOpsManager.HistoricalOpsRequest {
@@ -254,7 +254,7 @@ package android.app {
method public int getOpCount();
method @NonNull public String getPackageName();
method public void writeToParcel(@NonNull android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR;
}

public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable {
@@ -264,7 +264,7 @@ package android.app {
method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(int);
method public int getUid();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR;
}

public static interface AppOpsManager.OnOpActiveChangedListener {
@@ -396,7 +396,7 @@ package android.app.prediction {
method public int getPredictedTargetCount();
method public String getUiSurface();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR;
}

public static final class AppPredictionContext.Builder {
@@ -414,7 +414,7 @@ package android.app.prediction {
public final class AppPredictionSessionId implements android.os.Parcelable {
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR;
}

public final class AppPredictor {
@@ -442,7 +442,7 @@ package android.app.prediction {
method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
method @NonNull public android.os.UserHandle getUser();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR;
}

public final class AppTargetEvent implements android.os.Parcelable {
@@ -454,7 +454,7 @@ package android.app.prediction {
field public static final int ACTION_DISMISS = 2; // 0x2
field public static final int ACTION_LAUNCH = 1; // 0x1
field public static final int ACTION_PIN = 3; // 0x3
field public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
}

public static final class AppTargetEvent.Builder {
@@ -467,7 +467,7 @@ package android.app.prediction {
ctor public AppTargetId(@NonNull String);
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR;
}

}
@@ -521,7 +521,7 @@ package android.content {
method public int describeContents();
method public static android.content.AutofillOptions forWhitelistingItself();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
field public boolean augmentedEnabled;
field public final boolean compatModeEnabled;
field public final int loggingLevel;
@@ -532,7 +532,7 @@ package android.content {
method public int describeContents();
method public static android.content.ContentCaptureOptions forWhitelistingItself();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR;
field public final int idleFlushingFrequencyMs;
field public final int logHistorySize;
field public final int loggingLevel;
@@ -741,7 +741,7 @@ package android.hardware.display {
method public java.time.LocalDate getLocalDate();
method public float[] getStats();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
}

public class AmbientDisplayConfiguration {
@@ -754,7 +754,7 @@ package android.hardware.display {
public final class BrightnessChangeEvent implements android.os.Parcelable {
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR;
field public final float batteryLevel;
field public final float brightness;
field public final long colorSampleDuration;
@@ -777,7 +777,7 @@ package android.hardware.display {
method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String);
method public android.util.Pair<float[],float[]> getCurve();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
}

public static class BrightnessConfiguration.Builder {
@@ -795,7 +795,7 @@ package android.hardware.display {
method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float);
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR;
}

public final class DisplayManager {
@@ -914,7 +914,7 @@ package android.location {
field public static final int ACCURACY_BLOCK = 102; // 0x66
field public static final int ACCURACY_CITY = 104; // 0x68
field public static final int ACCURACY_FINE = 100; // 0x64
field public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR;
field public static final int POWER_HIGH = 203; // 0xcb
field public static final int POWER_LOW = 201; // 0xc9
field public static final int POWER_NONE = 200; // 0xc8
@@ -945,7 +945,7 @@ package android.media {
method public int getInitialMarkMs();
method public int getResumePlaybackMarkMs();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.media.BufferingParams> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.media.BufferingParams> CREATOR;
}

public static class BufferingParams.Builder {
@@ -1159,7 +1159,7 @@ package android.net {
method public void setGateway(java.net.InetAddress);
method public void setIpAddress(android.net.LinkAddress);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR;
}

public class TrafficStats {
@@ -1582,7 +1582,7 @@ package android.os {
method public long getPrivacyPolicy();
method public long getTimestamp();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR;
}

public static class IncidentManager.PendingReport {
@@ -1606,7 +1606,7 @@ package android.os {
method public void setAll(boolean);
method public void setPrivacyPolicy(int);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR;
}

public final class MessageQueue {
@@ -1653,7 +1653,7 @@ package android.os {
method public int describeContents();
method public void sendResult(@Nullable android.os.Bundle);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR;
}

public static interface RemoteCallback.OnResultListener {
@@ -1678,7 +1678,7 @@ package android.os {
method public Class<? extends android.os.strictmode.Violation> getViolationClass();
method public String getViolationDetails();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR;
field public String broadcastIntentAction;
field public int durationMillis;
field public int numAnimationsRunning;
@@ -1733,7 +1733,7 @@ package android.os {
method public android.os.VibrationEffect.OneShot scale(float, int);
method public void validate();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.VibrationEffect.OneShot> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.OneShot> CREATOR;
}

public static class VibrationEffect.Prebaked extends android.os.VibrationEffect implements android.os.Parcelable {
@@ -1746,7 +1746,7 @@ package android.os {
method public boolean shouldFallback();
method public void validate();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Prebaked> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Prebaked> CREATOR;
}

public static class VibrationEffect.Waveform extends android.os.VibrationEffect implements android.os.Parcelable {
@@ -1759,7 +1759,7 @@ package android.os {
method public android.os.VibrationEffect.Waveform scale(float, int);
method public void validate();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Waveform> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Waveform> CREATOR;
}

public class VintfObject {
@@ -1833,7 +1833,7 @@ package android.os.health {
method public int describeContents();
method public android.os.health.HealthStats getHealthStats();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR;
}

public class HealthStatsWriter {
@@ -2109,7 +2109,7 @@ package android.service.autofill {
method public android.util.ArrayMap<java.lang.String,android.os.Bundle> getFieldClassificationArgs();
method public String[] getValues();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR;
}

public final class CustomDescription implements android.os.Parcelable {
@@ -2255,7 +2255,7 @@ package android.service.contentcapture {
method @NonNull public android.os.Bundle getAssistData();
method @NonNull public android.app.assist.AssistStructure getAssistStructure();
method public void writeToParcel(@NonNull android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR;
}

}
@@ -2278,7 +2278,7 @@ package android.service.notification {
method public CharSequence getExplanation();
method public String getId();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR;
}

}
@@ -2389,7 +2389,7 @@ package android.telephony.mbms {
method public android.net.Uri getContentUri();
method public android.net.Uri getFilePathUri();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR;
}

}
@@ -2876,7 +2876,7 @@ package android.view.contentcapture {
method public int getType();
method @Nullable public android.view.contentcapture.ViewNode getViewNode();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR;
field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR;
field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6
field public static final int TYPE_SESSION_PAUSED = 8; // 0x8
field public static final int TYPE_SESSION_RESUMED = 7; // 0x7

+ 1
- 1
core/java/android/accessibilityservice/AccessibilityServiceInfo.java View File

@@ -1225,7 +1225,7 @@ public class AccessibilityServiceInfo implements Parcelable {
/**
* @see Parcelable.Creator
*/
public static final Parcelable.Creator<AccessibilityServiceInfo> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<AccessibilityServiceInfo> CREATOR =
new Parcelable.Creator<AccessibilityServiceInfo>() {
public AccessibilityServiceInfo createFromParcel(Parcel parcel) {
AccessibilityServiceInfo info = new AccessibilityServiceInfo();

+ 2
- 2
core/java/android/accessibilityservice/GestureDescription.java View File

@@ -455,7 +455,7 @@ public final class GestureDescription {
dest.writeFloat(mY);
}

public static final Parcelable.Creator<TouchPoint> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<TouchPoint> CREATOR
= new Parcelable.Creator<TouchPoint>() {
public TouchPoint createFromParcel(Parcel in) {
return new TouchPoint(in);
@@ -509,7 +509,7 @@ public final class GestureDescription {
dest.writeParcelableArray(touchPoints, flags);
}

public static final Parcelable.Creator<GestureStep> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<GestureStep> CREATOR
= new Parcelable.Creator<GestureStep>() {
public GestureStep createFromParcel(Parcel in) {
return new GestureStep(in);

+ 1
- 1
core/java/android/accounts/Account.java View File

@@ -124,7 +124,7 @@ public class Account implements Parcelable {
dest.writeString(accessId);
}

public static final Creator<Account> CREATOR = new Creator<Account>() {
public static final @android.annotation.NonNull Creator<Account> CREATOR = new Creator<Account>() {
public Account createFromParcel(Parcel source) {
return new Account(source);
}

+ 1
- 1
core/java/android/accounts/AccountAuthenticatorResponse.java View File

@@ -87,7 +87,7 @@ public class AccountAuthenticatorResponse implements Parcelable {
dest.writeStrongBinder(mAccountAuthenticatorResponse.asBinder());
}

public static final Creator<AccountAuthenticatorResponse> CREATOR =
public static final @android.annotation.NonNull Creator<AccountAuthenticatorResponse> CREATOR =
new Creator<AccountAuthenticatorResponse>() {
public AccountAuthenticatorResponse createFromParcel(Parcel source) {
return new AccountAuthenticatorResponse(source);

+ 1
- 1
core/java/android/accounts/AccountManagerResponse.java View File

@@ -66,7 +66,7 @@ public class AccountManagerResponse implements Parcelable {
}

/** @hide */
public static final Creator<AccountManagerResponse> CREATOR =
public static final @android.annotation.NonNull Creator<AccountManagerResponse> CREATOR =
new Creator<AccountManagerResponse>() {
public AccountManagerResponse createFromParcel(Parcel source) {
return new AccountManagerResponse(source);

+ 1
- 1
core/java/android/accounts/AuthenticatorDescription.java View File

@@ -134,7 +134,7 @@ public class AuthenticatorDescription implements Parcelable {
}

/** Used to create the object from a parcel. */
public static final Creator<AuthenticatorDescription> CREATOR =
public static final @android.annotation.NonNull Creator<AuthenticatorDescription> CREATOR =
new Creator<AuthenticatorDescription>() {
/** @inheritDoc */
public AuthenticatorDescription createFromParcel(Parcel source) {

+ 9
- 9
core/java/android/app/ActivityManager.java View File

@@ -1345,7 +1345,7 @@ public class ActivityManager {
mIconFilename = source.readInt() > 0 ? source.readString() : null;
}

public static final Creator<TaskDescription> CREATOR
public static final @android.annotation.NonNull Creator<TaskDescription> CREATOR
= new Creator<TaskDescription>() {
public TaskDescription createFromParcel(Parcel source) {
return new TaskDescription(source);
@@ -1431,7 +1431,7 @@ public class ActivityManager {
super.writeToParcel(dest, flags);
}

public static final Creator<RecentTaskInfo> CREATOR
public static final @android.annotation.NonNull Creator<RecentTaskInfo> CREATOR
= new Creator<RecentTaskInfo>() {
public RecentTaskInfo createFromParcel(Parcel source) {
return new RecentTaskInfo(source);
@@ -1601,7 +1601,7 @@ public class ActivityManager {
super.writeToParcel(dest, flags);
}

public static final Creator<RunningTaskInfo> CREATOR = new Creator<RunningTaskInfo>() {
public static final @android.annotation.NonNull Creator<RunningTaskInfo> CREATOR = new Creator<RunningTaskInfo>() {
public RunningTaskInfo createFromParcel(Parcel source) {
return new RunningTaskInfo(source);
}
@@ -1936,7 +1936,7 @@ public class ActivityManager {
+ " mIsTranslucent=" + mIsTranslucent;
}

public static final Creator<TaskSnapshot> CREATOR = new Creator<TaskSnapshot>() {
public static final @android.annotation.NonNull Creator<TaskSnapshot> CREATOR = new Creator<TaskSnapshot>() {
public TaskSnapshot createFromParcel(Parcel source) {
return new TaskSnapshot(source);
}
@@ -2177,7 +2177,7 @@ public class ActivityManager {
clientLabel = source.readInt();
}

public static final Creator<RunningServiceInfo> CREATOR = new Creator<RunningServiceInfo>() {
public static final @android.annotation.NonNull Creator<RunningServiceInfo> CREATOR = new Creator<RunningServiceInfo>() {
public RunningServiceInfo createFromParcel(Parcel source) {
return new RunningServiceInfo(source);
}
@@ -2309,7 +2309,7 @@ public class ActivityManager {
foregroundAppThreshold = source.readLong();
}

public static final Creator<MemoryInfo> CREATOR
public static final @android.annotation.NonNull Creator<MemoryInfo> CREATOR
= new Creator<MemoryInfo>() {
public MemoryInfo createFromParcel(Parcel source) {
return new MemoryInfo(source);
@@ -2440,7 +2440,7 @@ public class ActivityManager {
configuration.readFromParcel(source);
}

public static final Creator<StackInfo> CREATOR = new Creator<StackInfo>() {
public static final @android.annotation.NonNull Creator<StackInfo> CREATOR = new Creator<StackInfo>() {
@Override
public StackInfo createFromParcel(Parcel source) {
return new StackInfo(source);
@@ -2646,7 +2646,7 @@ public class ActivityManager {
stackTrace = source.readString();
}

public static final Creator<ProcessErrorStateInfo> CREATOR =
public static final @android.annotation.NonNull Creator<ProcessErrorStateInfo> CREATOR =
new Creator<ProcessErrorStateInfo>() {
public ProcessErrorStateInfo createFromParcel(Parcel source) {
return new ProcessErrorStateInfo(source);
@@ -3110,7 +3110,7 @@ public class ActivityManager {
lastActivityTime = source.readLong();
}

public static final Creator<RunningAppProcessInfo> CREATOR =
public static final @android.annotation.NonNull Creator<RunningAppProcessInfo> CREATOR =
new Creator<RunningAppProcessInfo>() {
public RunningAppProcessInfo createFromParcel(Parcel source) {
return new RunningAppProcessInfo(source);

+ 1
- 1
core/java/android/app/AlarmManager.java View File

@@ -1135,7 +1135,7 @@ public class AlarmManager {
dest.writeParcelable(mShowIntent, flags);
}

public static final Creator<AlarmClockInfo> CREATOR = new Creator<AlarmClockInfo>() {
public static final @android.annotation.NonNull Creator<AlarmClockInfo> CREATOR = new Creator<AlarmClockInfo>() {
@Override
public AlarmClockInfo createFromParcel(Parcel in) {
return new AlarmClockInfo(in);

+ 6
- 6
core/java/android/app/AppOpsManager.java View File

@@ -1984,7 +1984,7 @@ public class AppOpsManager {
}
}

public static final Creator<PackageOps> CREATOR = new Creator<PackageOps>() {
public static final @android.annotation.NonNull Creator<PackageOps> CREATOR = new Creator<PackageOps>() {
@Override public PackageOps createFromParcel(Parcel source) {
return new PackageOps(source);
}
@@ -2192,7 +2192,7 @@ public class AppOpsManager {
mProxyPackageName = source.readString();
}

public static final Creator<OpEntry> CREATOR = new Creator<OpEntry>() {
public static final @android.annotation.NonNull Creator<OpEntry> CREATOR = new Creator<OpEntry>() {
@Override public OpEntry createFromParcel(Parcel source) {
return new OpEntry(source);
}
@@ -2725,7 +2725,7 @@ public class AppOpsManager {
+ mBeginTimeMillis + " to:" + mEndTimeMillis + "]";
}

public static final Creator<HistoricalOps> CREATOR = new Creator<HistoricalOps>() {
public static final @android.annotation.NonNull Creator<HistoricalOps> CREATOR = new Creator<HistoricalOps>() {
@Override
public @NonNull HistoricalOps createFromParcel(@NonNull Parcel parcel) {
return new HistoricalOps(parcel);
@@ -2935,7 +2935,7 @@ public class AppOpsManager {
}


public static final Creator<HistoricalUidOps> CREATOR = new Creator<HistoricalUidOps>() {
public static final @android.annotation.NonNull Creator<HistoricalUidOps> CREATOR = new Creator<HistoricalUidOps>() {
@Override
public @NonNull HistoricalUidOps createFromParcel(@NonNull Parcel parcel) {
return new HistoricalUidOps(parcel);
@@ -3167,7 +3167,7 @@ public class AppOpsManager {
return op;
}

public static final Creator<HistoricalPackageOps> CREATOR =
public static final @android.annotation.NonNull Creator<HistoricalPackageOps> CREATOR =
new Creator<HistoricalPackageOps>() {
@Override
public @NonNull HistoricalPackageOps createFromParcel(@NonNull Parcel parcel) {
@@ -3589,7 +3589,7 @@ public class AppOpsManager {
}
}

public static final Creator<HistoricalOp> CREATOR = new Creator<HistoricalOp>() {
public static final @android.annotation.NonNull Creator<HistoricalOp> CREATOR = new Creator<HistoricalOp>() {
@Override
public @NonNull HistoricalOp createFromParcel(@NonNull Parcel source) {
return new HistoricalOp(source);

+ 2
- 2
core/java/android/app/ApplicationErrorReport.java View File

@@ -492,7 +492,7 @@ public class ApplicationErrorReport implements Parcelable {
return 0;
}

public static final Parcelable.Creator<ParcelableCrashInfo> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<ParcelableCrashInfo> CREATOR =
new Parcelable.Creator<ParcelableCrashInfo>() {
@Override
public ParcelableCrashInfo createFromParcel(Parcel in) {
@@ -666,7 +666,7 @@ public class ApplicationErrorReport implements Parcelable {
}
}

public static final Parcelable.Creator<ApplicationErrorReport> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<ApplicationErrorReport> CREATOR
= new Parcelable.Creator<ApplicationErrorReport>() {
public ApplicationErrorReport createFromParcel(Parcel source) {
return new ApplicationErrorReport(source);

+ 1
- 1
core/java/android/app/AuthenticationRequiredException.java View File

@@ -81,7 +81,7 @@ public final class AuthenticationRequiredException extends SecurityException imp
mUserAction.writeToParcel(dest, flags);
}

public static final Creator<AuthenticationRequiredException> CREATOR =
public static final @android.annotation.NonNull Creator<AuthenticationRequiredException> CREATOR =
new Creator<AuthenticationRequiredException>() {
@Override
public AuthenticationRequiredException createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/AutomaticZenRule.java View File

@@ -304,7 +304,7 @@ public final class AutomaticZenRule implements Parcelable {
configurationActivity, mZenPolicy, mModified, creationTime);
}

public static final Parcelable.Creator<AutomaticZenRule> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<AutomaticZenRule> CREATOR
= new Parcelable.Creator<AutomaticZenRule>() {
@Override
public AutomaticZenRule createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/BackStackRecord.java View File

@@ -155,7 +155,7 @@ final class BackStackState implements Parcelable {
dest.writeInt(mReorderingAllowed ? 1 : 0);
}

public static final Parcelable.Creator<BackStackState> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<BackStackState> CREATOR
= new Parcelable.Creator<BackStackState>() {
public BackStackState createFromParcel(Parcel in) {
return new BackStackState(in);

+ 1
- 1
core/java/android/app/ContentProviderHolder.java View File

@@ -61,7 +61,7 @@ public class ContentProviderHolder implements Parcelable {
dest.writeInt(noReleaseNeeded ? 1 : 0);
}

public static final Parcelable.Creator<ContentProviderHolder> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<ContentProviderHolder> CREATOR
= new Parcelable.Creator<ContentProviderHolder>() {
@Override
public ContentProviderHolder createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/FragmentManager.java View File

@@ -623,7 +623,7 @@ final class FragmentManagerState implements Parcelable {
dest.writeInt(mNextFragmentIndex);
}
public static final Parcelable.Creator<FragmentManagerState> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<FragmentManagerState> CREATOR
= new Parcelable.Creator<FragmentManagerState>() {
public FragmentManagerState createFromParcel(Parcel in) {
return new FragmentManagerState(in);

+ 1
- 1
core/java/android/app/FragmentState.java View File

@@ -122,7 +122,7 @@ final class FragmentState implements Parcelable {
dest.writeBundle(mSavedFragmentState);
}

public static final Parcelable.Creator<FragmentState> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<FragmentState> CREATOR =
new Parcelable.Creator<FragmentState>() {
@Override
public FragmentState createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/GrantedUriPermission.java View File

@@ -54,7 +54,7 @@ public class GrantedUriPermission implements Parcelable {
out.writeString(packageName);
}

public static final Parcelable.Creator<GrantedUriPermission> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<GrantedUriPermission> CREATOR =
new Parcelable.Creator<GrantedUriPermission>() {
@Override
public GrantedUriPermission createFromParcel(Parcel in) {

+ 3
- 3
core/java/android/app/Notification.java View File

@@ -1802,7 +1802,7 @@ public class Notification implements Parcelable
out.writeInt(mIsContextual ? 1 : 0);
}

public static final Parcelable.Creator<Action> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<Action> CREATOR =
new Parcelable.Creator<Action>() {
public Action createFromParcel(Parcel in) {
return new Action(in);
@@ -2731,7 +2731,7 @@ public class Notification implements Parcelable
/**
* Parcelable.Creator that instantiates Notification objects
*/
public static final Parcelable.Creator<Notification> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<Notification> CREATOR
= new Parcelable.Creator<Notification>()
{
public Notification createFromParcel(Parcel parcel)
@@ -8567,7 +8567,7 @@ public class Notification implements Parcelable
return (mFlags & FLAG_SUPPRESS_INITIAL_NOTIFICATION) != 0;
}

public static final Parcelable.Creator<BubbleMetadata> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<BubbleMetadata> CREATOR =
new Parcelable.Creator<BubbleMetadata>() {

@Override

+ 1
- 1
core/java/android/app/NotificationChannel.java View File

@@ -942,7 +942,7 @@ public final class NotificationChannel implements Parcelable {
return sb.toString();
}

public static final Creator<NotificationChannel> CREATOR = new Creator<NotificationChannel>() {
public static final @android.annotation.NonNull Creator<NotificationChannel> CREATOR = new Creator<NotificationChannel>() {
@Override
public NotificationChannel createFromParcel(Parcel in) {
return new NotificationChannel(in);

+ 1
- 1
core/java/android/app/NotificationChannelGroup.java View File

@@ -272,7 +272,7 @@ public final class NotificationChannelGroup implements Parcelable {
return record;
}

public static final Creator<NotificationChannelGroup> CREATOR =
public static final @android.annotation.NonNull Creator<NotificationChannelGroup> CREATOR =
new Creator<NotificationChannelGroup>() {
@Override
public NotificationChannelGroup createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/NotificationManager.java View File

@@ -1842,7 +1842,7 @@ public class NotificationManager {
}
}

public static final Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() {
public static final @android.annotation.NonNull Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() {
@Override
public Policy createFromParcel(Parcel in) {
return new Policy(in);

+ 1
- 1
core/java/android/app/PendingIntent.java View File

@@ -1208,7 +1208,7 @@ public final class PendingIntent implements Parcelable {

}

public static final Parcelable.Creator<PendingIntent> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<PendingIntent> CREATOR
= new Parcelable.Creator<PendingIntent>() {
public PendingIntent createFromParcel(Parcel in) {
IBinder target = in.readStrongBinder();

+ 1
- 1
core/java/android/app/Person.java View File

@@ -278,7 +278,7 @@ public final class Person implements Parcelable {
}
}

public static final Creator<Person> CREATOR = new Creator<Person>() {
public static final @android.annotation.NonNull Creator<Person> CREATOR = new Creator<Person>() {
@Override
public Person createFromParcel(Parcel in) {
return new Person(in);

+ 1
- 1
core/java/android/app/PictureInPictureArgs.java View File

@@ -346,7 +346,7 @@ public final class PictureInPictureArgs implements Parcelable {
}
}

public static final Creator<PictureInPictureArgs> CREATOR =
public static final @android.annotation.NonNull Creator<PictureInPictureArgs> CREATOR =
new Creator<PictureInPictureArgs>() {
public PictureInPictureArgs createFromParcel(Parcel in) {
return new PictureInPictureArgs(in);

+ 1
- 1
core/java/android/app/PictureInPictureParams.java View File

@@ -275,7 +275,7 @@ public final class PictureInPictureParams implements Parcelable {
}
}

public static final Creator<PictureInPictureParams> CREATOR =
public static final @android.annotation.NonNull Creator<PictureInPictureParams> CREATOR =
new Creator<PictureInPictureParams>() {
public PictureInPictureParams createFromParcel(Parcel in) {
return new PictureInPictureParams(in);

+ 1
- 1
core/java/android/app/ProcessMemoryHighWaterMark.java View File

@@ -40,7 +40,7 @@ public final class ProcessMemoryHighWaterMark implements Parcelable {
rssHighWaterMarkInBytes = in.readLong();
}

public static final Creator<ProcessMemoryHighWaterMark> CREATOR =
public static final @android.annotation.NonNull Creator<ProcessMemoryHighWaterMark> CREATOR =
new Creator<ProcessMemoryHighWaterMark>() {
@Override
public ProcessMemoryHighWaterMark createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/ProcessMemoryState.java View File

@@ -60,7 +60,7 @@ public final class ProcessMemoryState implements Parcelable {
startTimeNanos = in.readLong();
}

public static final Creator<ProcessMemoryState> CREATOR = new Creator<ProcessMemoryState>() {
public static final @android.annotation.NonNull Creator<ProcessMemoryState> CREATOR = new Creator<ProcessMemoryState>() {
@Override
public ProcessMemoryState createFromParcel(Parcel in) {
return new ProcessMemoryState(in);

+ 1
- 1
core/java/android/app/ProfilerInfo.java View File

@@ -148,7 +148,7 @@ public class ProfilerInfo implements Parcelable {
proto.end(token);
}

public static final Parcelable.Creator<ProfilerInfo> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<ProfilerInfo> CREATOR =
new Parcelable.Creator<ProfilerInfo>() {
@Override
public ProfilerInfo createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/RecoverableSecurityException.java View File

@@ -190,7 +190,7 @@ public final class RecoverableSecurityException extends SecurityException implem
mUserAction.writeToParcel(dest, flags);
}

public static final Creator<RecoverableSecurityException> CREATOR =
public static final @android.annotation.NonNull Creator<RecoverableSecurityException> CREATOR =
new Creator<RecoverableSecurityException>() {
@Override
public RecoverableSecurityException createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/RemoteAction.java View File

@@ -152,7 +152,7 @@ public final class RemoteAction implements Parcelable {
pw.println();
}

public static final Parcelable.Creator<RemoteAction> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<RemoteAction> CREATOR =
new Parcelable.Creator<RemoteAction>() {
public RemoteAction createFromParcel(Parcel in) {
return new RemoteAction(in);

+ 1
- 1
core/java/android/app/RemoteInput.java View File

@@ -561,7 +561,7 @@ public final class RemoteInput implements Parcelable {
out.writeArraySet(mAllowedDataTypes);
}

public static final Creator<RemoteInput> CREATOR = new Creator<RemoteInput>() {
public static final @android.annotation.NonNull Creator<RemoteInput> CREATOR = new Creator<RemoteInput>() {
@Override
public RemoteInput createFromParcel(Parcel in) {
return new RemoteInput(in);

+ 1
- 1
core/java/android/app/ResultInfo.java View File

@@ -67,7 +67,7 @@ public class ResultInfo implements Parcelable {
}

@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
public static final Parcelable.Creator<ResultInfo> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<ResultInfo> CREATOR
= new Parcelable.Creator<ResultInfo>() {
public ResultInfo createFromParcel(Parcel in) {
return new ResultInfo(in);

+ 1
- 1
core/java/android/app/SearchableInfo.java View File

@@ -800,7 +800,7 @@ public final class SearchableInfo implements Parcelable {
/**
* Support for parcelable and aidl operations.
*/
public static final Parcelable.Creator<SearchableInfo> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<SearchableInfo> CREATOR
= new Parcelable.Creator<SearchableInfo>() {
public SearchableInfo createFromParcel(Parcel in) {
return new SearchableInfo(in);

+ 1
- 1
core/java/android/app/ServiceStartArgs.java View File

@@ -58,7 +58,7 @@ public class ServiceStartArgs implements Parcelable {
}
}

public static final Parcelable.Creator<ServiceStartArgs> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<ServiceStartArgs> CREATOR
= new Parcelable.Creator<ServiceStartArgs>() {
public ServiceStartArgs createFromParcel(Parcel in) {
return new ServiceStartArgs(in);

+ 2
- 2
core/java/android/app/VoiceInteractor.java View File

@@ -500,7 +500,7 @@ public final class VoiceInteractor {
dest.writeBundle(mExtras);
}

public static final Parcelable.Creator<Option> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<Option> CREATOR
= new Parcelable.Creator<Option>() {
public Option createFromParcel(Parcel in) {
return new Option(in);
@@ -869,7 +869,7 @@ public final class VoiceInteractor {
dest.writeCharSequence(mVisualPrompt);
}

public static final Creator<Prompt> CREATOR
public static final @android.annotation.NonNull Creator<Prompt> CREATOR
= new Creator<Prompt>() {
public Prompt createFromParcel(Parcel in) {
return new Prompt(in);

+ 1
- 1
core/java/android/app/Vr2dDisplayProperties.java View File

@@ -112,7 +112,7 @@ public final class Vr2dDisplayProperties implements Parcelable {
dest.writeInt(mRemovedFlags);
}

public static final Parcelable.Creator<Vr2dDisplayProperties> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<Vr2dDisplayProperties> CREATOR
= new Parcelable.Creator<Vr2dDisplayProperties>() {
@Override
public Vr2dDisplayProperties createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/WaitResult.java View File

@@ -86,7 +86,7 @@ public class WaitResult implements Parcelable {
dest.writeInt(launchState);
}

public static final Parcelable.Creator<WaitResult> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<WaitResult> CREATOR
= new Parcelable.Creator<WaitResult>() {
@Override
public WaitResult createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/WallpaperColors.java View File

@@ -260,7 +260,7 @@ public final class WallpaperColors implements Parcelable {
mColorHints = colorHints;
}

public static final Creator<WallpaperColors> CREATOR = new Creator<WallpaperColors>() {
public static final @android.annotation.NonNull Creator<WallpaperColors> CREATOR = new Creator<WallpaperColors>() {
@Override
public WallpaperColors createFromParcel(Parcel in) {
return new WallpaperColors(in);

+ 1
- 1
core/java/android/app/WallpaperInfo.java View File

@@ -423,7 +423,7 @@ public final class WallpaperInfo implements Parcelable {
/**
* Used to make this class parcelable.
*/
public static final Parcelable.Creator<WallpaperInfo> CREATOR = new Parcelable.Creator<WallpaperInfo>() {
public static final @android.annotation.NonNull Parcelable.Creator<WallpaperInfo> CREATOR = new Parcelable.Creator<WallpaperInfo>() {
public WallpaperInfo createFromParcel(Parcel source) {
return new WallpaperInfo(source);
}

+ 1
- 1
core/java/android/app/WindowConfiguration.java View File

@@ -239,7 +239,7 @@ public class WindowConfiguration implements Parcelable, Comparable<WindowConfigu
}

/** @hide */
public static final Creator<WindowConfiguration> CREATOR = new Creator<WindowConfiguration>() {
public static final @android.annotation.NonNull Creator<WindowConfiguration> CREATOR = new Creator<WindowConfiguration>() {
@Override
public WindowConfiguration createFromParcel(Parcel in) {
return new WindowConfiguration(in);

+ 1
- 1
core/java/android/app/admin/ConnectEvent.java View File

@@ -72,7 +72,7 @@ public final class ConnectEvent extends NetworkEvent implements Parcelable {
mPackageName);
}

public static final Parcelable.Creator<ConnectEvent> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<ConnectEvent> CREATOR
= new Parcelable.Creator<ConnectEvent>() {
@Override
public ConnectEvent createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/admin/DeviceAdminInfo.java View File

@@ -525,7 +525,7 @@ public final class DeviceAdminInfo implements Parcelable {
/**
* Used to make this class parcelable.
*/
public static final Parcelable.Creator<DeviceAdminInfo> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<DeviceAdminInfo> CREATOR =
new Parcelable.Creator<DeviceAdminInfo>() {
public DeviceAdminInfo createFromParcel(Parcel source) {
return new DeviceAdminInfo(source);

+ 1
- 1
core/java/android/app/admin/DnsEvent.java View File

@@ -101,7 +101,7 @@ public final class DnsEvent extends NetworkEvent implements Parcelable {
mIpAddressesCount, mTimestamp, mPackageName);
}

public static final Parcelable.Creator<DnsEvent> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<DnsEvent> CREATOR
= new Parcelable.Creator<DnsEvent>() {
@Override
public DnsEvent createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/admin/NetworkEvent.java View File

@@ -85,7 +85,7 @@ public abstract class NetworkEvent implements Parcelable {
return 0;
}

public static final Parcelable.Creator<NetworkEvent> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<NetworkEvent> CREATOR
= new Parcelable.Creator<NetworkEvent>() {
public NetworkEvent createFromParcel(Parcel in) {
final int initialPosition = in.dataPosition();

+ 1
- 1
core/java/android/app/admin/PasswordMetrics.java View File

@@ -210,7 +210,7 @@ public class PasswordMetrics implements Parcelable {
dest.writeInt(nonLetter);
}

public static final Parcelable.Creator<PasswordMetrics> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<PasswordMetrics> CREATOR
= new Parcelable.Creator<PasswordMetrics>() {
public PasswordMetrics createFromParcel(Parcel in) {
return new PasswordMetrics(in);

+ 1
- 1
core/java/android/app/admin/SecurityLog.java View File

@@ -602,7 +602,7 @@ public class SecurityLog {
dest.writeByteArray(mEvent.getBytes());
}

public static final Parcelable.Creator<SecurityEvent> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<SecurityEvent> CREATOR =
new Parcelable.Creator<SecurityEvent>() {
@Override
public SecurityEvent createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/admin/SystemUpdateInfo.java View File

@@ -111,7 +111,7 @@ public final class SystemUpdateInfo implements Parcelable {
return mSecurityPatchState;
}

public static final Creator<SystemUpdateInfo> CREATOR =
public static final @android.annotation.NonNull Creator<SystemUpdateInfo> CREATOR =
new Creator<SystemUpdateInfo>() {
@Override
public SystemUpdateInfo createFromParcel(Parcel in) {

+ 2
- 2
core/java/android/app/admin/SystemUpdatePolicy.java View File

@@ -280,7 +280,7 @@ public final class SystemUpdatePolicy implements Parcelable {
dest.writeString(getMessage());
}

public static final Parcelable.Creator<ValidationFailedException> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<ValidationFailedException> CREATOR =
new Parcelable.Creator<ValidationFailedException>() {
@Override
public ValidationFailedException createFromParcel(Parcel source) {
@@ -710,7 +710,7 @@ public final class SystemUpdatePolicy implements Parcelable {
}
}

public static final Parcelable.Creator<SystemUpdatePolicy> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<SystemUpdatePolicy> CREATOR =
new Parcelable.Creator<SystemUpdatePolicy>() {

@Override

+ 1
- 1
core/java/android/app/assist/AssistContent.java View File

@@ -216,7 +216,7 @@ public class AssistContent implements Parcelable {
writeToParcelInternal(dest, flags);
}

public static final Parcelable.Creator<AssistContent> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<AssistContent> CREATOR
= new Parcelable.Creator<AssistContent>() {
public AssistContent createFromParcel(Parcel in) {
return new AssistContent(in);

+ 2
- 2
core/java/android/app/assist/AssistStructure.java View File

@@ -2074,7 +2074,7 @@ public class AssistStructure implements Parcelable {
}

@SuppressWarnings("hiding")
public static final Creator<HtmlInfoNode> CREATOR = new Creator<HtmlInfoNode>() {
public static final @android.annotation.NonNull Creator<HtmlInfoNode> CREATOR = new Creator<HtmlInfoNode>() {
@Override
public HtmlInfoNode createFromParcel(Parcel parcel) {
// Always go through the builder to ensure the data ingested by
@@ -2430,7 +2430,7 @@ public class AssistStructure implements Parcelable {
}
}

public static final Parcelable.Creator<AssistStructure> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<AssistStructure> CREATOR
= new Parcelable.Creator<AssistStructure>() {
@Override
public AssistStructure createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/backup/BackupProgress.java View File

@@ -52,7 +52,7 @@ public class BackupProgress implements Parcelable {
out.writeLong(bytesTransferred);
}

public static final Creator<BackupProgress> CREATOR = new Creator<BackupProgress>() {
public static final @android.annotation.NonNull Creator<BackupProgress> CREATOR = new Creator<BackupProgress>() {
public BackupProgress createFromParcel(Parcel in) {
return new BackupProgress(in);
}

+ 1
- 1
core/java/android/app/backup/RestoreDescription.java View File

@@ -89,7 +89,7 @@ public class RestoreDescription implements Parcelable {
out.writeInt(mDataType);
}

public static final Parcelable.Creator<RestoreDescription> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<RestoreDescription> CREATOR
= new Parcelable.Creator<RestoreDescription>() {
public RestoreDescription createFromParcel(Parcel in) {
final RestoreDescription unparceled = new RestoreDescription(in);

+ 1
- 1
core/java/android/app/backup/RestoreSet.java View File

@@ -69,7 +69,7 @@ public class RestoreSet implements Parcelable {
out.writeLong(token);
}

public static final Parcelable.Creator<RestoreSet> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<RestoreSet> CREATOR
= new Parcelable.Creator<RestoreSet>() {
public RestoreSet createFromParcel(Parcel in) {
return new RestoreSet(in);

+ 1
- 1
core/java/android/app/contentsuggestions/ClassificationsRequest.java View File

@@ -71,7 +71,7 @@ public final class ClassificationsRequest implements Parcelable {
dest.writeBundle(mExtras);
}

public static final Creator<ClassificationsRequest> CREATOR =
public static final @android.annotation.NonNull Creator<ClassificationsRequest> CREATOR =
new Creator<ClassificationsRequest>() {
@Override
public ClassificationsRequest createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/contentsuggestions/ContentClassification.java View File

@@ -71,7 +71,7 @@ public final class ContentClassification implements Parcelable {
dest.writeBundle(mExtras);
}

public static final Creator<ContentClassification> CREATOR =
public static final @android.annotation.NonNull Creator<ContentClassification> CREATOR =
new Creator<ContentClassification>() {
@Override
public ContentClassification createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/contentsuggestions/ContentSelection.java View File

@@ -71,7 +71,7 @@ public final class ContentSelection implements Parcelable {
dest.writeBundle(mExtras);
}

public static final Creator<ContentSelection> CREATOR =
public static final @android.annotation.NonNull Creator<ContentSelection> CREATOR =
new Creator<ContentSelection>() {
@Override
public ContentSelection createFromParcel(Parcel source) {

+ 1
- 1
core/java/android/app/contentsuggestions/SelectionsRequest.java View File

@@ -81,7 +81,7 @@ public final class SelectionsRequest implements Parcelable {
dest.writeBundle(mExtras);
}

public static final Creator<SelectionsRequest> CREATOR =
public static final @android.annotation.NonNull Creator<SelectionsRequest> CREATOR =
new Creator<SelectionsRequest>() {
@Override
public SelectionsRequest createFromParcel(Parcel source) {

+ 2
- 2
core/java/android/app/job/JobInfo.java View File

@@ -870,7 +870,7 @@ public class JobInfo implements Parcelable {
out.writeInt(this.flags);
}

public static final Creator<JobInfo> CREATOR = new Creator<JobInfo>() {
public static final @android.annotation.NonNull Creator<JobInfo> CREATOR = new Creator<JobInfo>() {
@Override
public JobInfo createFromParcel(Parcel in) {
return new JobInfo(in);
@@ -963,7 +963,7 @@ public class JobInfo implements Parcelable {
out.writeInt(mFlags);
}

public static final Creator<TriggerContentUri> CREATOR = new Creator<TriggerContentUri>() {
public static final @android.annotation.NonNull Creator<TriggerContentUri> CREATOR = new Creator<TriggerContentUri>() {
@Override
public TriggerContentUri createFromParcel(Parcel in) {
return new TriggerContentUri(in);

+ 1
- 1
core/java/android/app/job/JobParameters.java View File

@@ -344,7 +344,7 @@ public class JobParameters implements Parcelable {
dest.writeString(debugStopReason);
}

public static final Creator<JobParameters> CREATOR = new Creator<JobParameters>() {
public static final @android.annotation.NonNull Creator<JobParameters> CREATOR = new Creator<JobParameters>() {
@Override
public JobParameters createFromParcel(Parcel in) {
return new JobParameters(in);

+ 1
- 1
core/java/android/app/job/JobSnapshot.java View File

@@ -105,7 +105,7 @@ public class JobSnapshot implements Parcelable {
out.writeBoolean(mIsRunnable);
}

public static final Creator<JobSnapshot> CREATOR = new Creator<JobSnapshot>() {
public static final @android.annotation.NonNull Creator<JobSnapshot> CREATOR = new Creator<JobSnapshot>() {
@Override
public JobSnapshot createFromParcel(Parcel in) {
return new JobSnapshot(in);

+ 1
- 1
core/java/android/app/job/JobWorkItem.java View File

@@ -214,7 +214,7 @@ final public class JobWorkItem implements Parcelable {
out.writeInt(mWorkId);
}

public static final Parcelable.Creator<JobWorkItem> CREATOR
public static final @android.annotation.NonNull Parcelable.Creator<JobWorkItem> CREATOR
= new Parcelable.Creator<JobWorkItem>() {
public JobWorkItem createFromParcel(Parcel in) {
return new JobWorkItem(in);

+ 1
- 1
core/java/android/app/prediction/AppPredictionContext.java View File

@@ -101,7 +101,7 @@ public final class AppPredictionContext implements Parcelable {
/**
* @see Parcelable.Creator
*/
public static final Parcelable.Creator<AppPredictionContext> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<AppPredictionContext> CREATOR =
new Parcelable.Creator<AppPredictionContext>() {
public AppPredictionContext createFromParcel(Parcel parcel) {
return new AppPredictionContext(parcel);

+ 1
- 1
core/java/android/app/prediction/AppPredictionSessionId.java View File

@@ -75,7 +75,7 @@ public final class AppPredictionSessionId implements Parcelable {
/**
* @see Parcelable.Creator
*/
public static final Parcelable.Creator<AppPredictionSessionId> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<AppPredictionSessionId> CREATOR =
new Parcelable.Creator<AppPredictionSessionId>() {
public AppPredictionSessionId createFromParcel(Parcel parcel) {
return new AppPredictionSessionId(parcel);

+ 1
- 1
core/java/android/app/prediction/AppTarget.java View File

@@ -183,7 +183,7 @@ public final class AppTarget implements Parcelable {
/**
* @see Parcelable.Creator
*/
public static final Parcelable.Creator<AppTarget> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<AppTarget> CREATOR =
new Parcelable.Creator<AppTarget>() {
public AppTarget createFromParcel(Parcel parcel) {
return new AppTarget(parcel);

+ 1
- 1
core/java/android/app/prediction/AppTargetEvent.java View File

@@ -122,7 +122,7 @@ public final class AppTargetEvent implements Parcelable {
/**
* @see Creator
*/
public static final Creator<AppTargetEvent> CREATOR =
public static final @android.annotation.NonNull Creator<AppTargetEvent> CREATOR =
new Creator<AppTargetEvent>() {
public AppTargetEvent createFromParcel(Parcel parcel) {
return new AppTargetEvent(parcel);

+ 1
- 1
core/java/android/app/prediction/AppTargetId.java View File

@@ -83,7 +83,7 @@ public final class AppTargetId implements Parcelable {
/**
* @see Creator
*/
public static final Creator<AppTargetId> CREATOR =
public static final @android.annotation.NonNull Creator<AppTargetId> CREATOR =
new Creator<AppTargetId>() {
public AppTargetId createFromParcel(Parcel parcel) {
return new AppTargetId(parcel);

+ 1
- 1
core/java/android/app/servertransaction/ActivityConfigurationChangeItem.java View File

@@ -86,7 +86,7 @@ public class ActivityConfigurationChangeItem extends ClientTransactionItem {
mConfiguration = in.readTypedObject(Configuration.CREATOR);
}

public static final Creator<ActivityConfigurationChangeItem> CREATOR =
public static final @android.annotation.NonNull Creator<ActivityConfigurationChangeItem> CREATOR =
new Creator<ActivityConfigurationChangeItem>() {
public ActivityConfigurationChangeItem createFromParcel(Parcel in) {
return new ActivityConfigurationChangeItem(in);

+ 1
- 1
core/java/android/app/servertransaction/ActivityRelaunchItem.java View File

@@ -130,7 +130,7 @@ public class ActivityRelaunchItem extends ClientTransactionItem {
mPreserveWindow = in.readBoolean();
}

public static final Creator<ActivityRelaunchItem> CREATOR =
public static final @android.annotation.NonNull Creator<ActivityRelaunchItem> CREATOR =
new Creator<ActivityRelaunchItem>() {
public ActivityRelaunchItem createFromParcel(Parcel in) {
return new ActivityRelaunchItem(in);

+ 1
- 1
core/java/android/app/servertransaction/ActivityResultItem.java View File

@@ -88,7 +88,7 @@ public class ActivityResultItem extends ClientTransactionItem {
mResultInfoList = in.createTypedArrayList(ResultInfo.CREATOR);
}

public static final Parcelable.Creator<ActivityResultItem> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<ActivityResultItem> CREATOR =
new Parcelable.Creator<ActivityResultItem>() {
public ActivityResultItem createFromParcel(Parcel in) {
return new ActivityResultItem(in);

+ 1
- 1
core/java/android/app/servertransaction/ClientTransaction.java View File

@@ -204,7 +204,7 @@ public class ClientTransaction implements Parcelable, ObjectPoolItem {
}
}

public static final Creator<ClientTransaction> CREATOR =
public static final @android.annotation.NonNull Creator<ClientTransaction> CREATOR =
new Creator<ClientTransaction>() {
public ClientTransaction createFromParcel(Parcel in) {
return new ClientTransaction(in);

+ 1
- 1
core/java/android/app/servertransaction/ConfigurationChangeItem.java View File

@@ -78,7 +78,7 @@ public class ConfigurationChangeItem extends ClientTransactionItem {
mConfiguration = in.readTypedObject(Configuration.CREATOR);
}

public static final Creator<ConfigurationChangeItem> CREATOR =
public static final @android.annotation.NonNull Creator<ConfigurationChangeItem> CREATOR =
new Creator<ConfigurationChangeItem>() {
public ConfigurationChangeItem createFromParcel(Parcel in) {
return new ConfigurationChangeItem(in);

+ 1
- 1
core/java/android/app/servertransaction/DestroyActivityItem.java View File

@@ -92,7 +92,7 @@ public class DestroyActivityItem extends ActivityLifecycleItem {
mConfigChanges = in.readInt();
}

public static final Creator<DestroyActivityItem> CREATOR =
public static final @android.annotation.NonNull Creator<DestroyActivityItem> CREATOR =
new Creator<DestroyActivityItem>() {
public DestroyActivityItem createFromParcel(Parcel in) {
return new DestroyActivityItem(in);

+ 1
- 1
core/java/android/app/servertransaction/LaunchActivityItem.java View File

@@ -148,7 +148,7 @@ public class LaunchActivityItem extends ClientTransactionItem {
in.readTypedObject(ProfilerInfo.CREATOR));
}

public static final Creator<LaunchActivityItem> CREATOR =
public static final @android.annotation.NonNull Creator<LaunchActivityItem> CREATOR =
new Creator<LaunchActivityItem>() {
public LaunchActivityItem createFromParcel(Parcel in) {
return new LaunchActivityItem(in);

+ 1
- 1
core/java/android/app/servertransaction/MoveToDisplayItem.java View File

@@ -83,7 +83,7 @@ public class MoveToDisplayItem extends ClientTransactionItem {
mConfiguration = in.readTypedObject(Configuration.CREATOR);
}

public static final Creator<MoveToDisplayItem> CREATOR = new Creator<MoveToDisplayItem>() {
public static final @android.annotation.NonNull Creator<MoveToDisplayItem> CREATOR = new Creator<MoveToDisplayItem>() {
public MoveToDisplayItem createFromParcel(Parcel in) {
return new MoveToDisplayItem(in);
}

+ 1
- 1
core/java/android/app/servertransaction/MultiWindowModeChangeItem.java View File

@@ -81,7 +81,7 @@ public class MultiWindowModeChangeItem extends ClientTransactionItem {
mOverrideConfig = in.readTypedObject(Configuration.CREATOR);
}

public static final Creator<MultiWindowModeChangeItem> CREATOR =
public static final @android.annotation.NonNull Creator<MultiWindowModeChangeItem> CREATOR =
new Creator<MultiWindowModeChangeItem>() {
public MultiWindowModeChangeItem createFromParcel(Parcel in) {
return new MultiWindowModeChangeItem(in);

+ 1
- 1
core/java/android/app/servertransaction/NewIntentItem.java View File

@@ -92,7 +92,7 @@ public class NewIntentItem extends ClientTransactionItem {
mIntents = in.createTypedArrayList(ReferrerIntent.CREATOR);
}

public static final Parcelable.Creator<NewIntentItem> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<NewIntentItem> CREATOR =
new Parcelable.Creator<NewIntentItem>() {
public NewIntentItem createFromParcel(Parcel in) {
return new NewIntentItem(in);

+ 1
- 1
core/java/android/app/servertransaction/PauseActivityItem.java View File

@@ -130,7 +130,7 @@ public class PauseActivityItem extends ActivityLifecycleItem {
mDontReport = in.readBoolean();
}

public static final Creator<PauseActivityItem> CREATOR =
public static final @android.annotation.NonNull Creator<PauseActivityItem> CREATOR =
new Creator<PauseActivityItem>() {
public PauseActivityItem createFromParcel(Parcel in) {
return new PauseActivityItem(in);

+ 1
- 1
core/java/android/app/servertransaction/PipModeChangeItem.java View File

@@ -79,7 +79,7 @@ public class PipModeChangeItem extends ClientTransactionItem {
mOverrideConfig = in.readTypedObject(Configuration.CREATOR);
}

public static final Creator<PipModeChangeItem> CREATOR =
public static final @android.annotation.NonNull Creator<PipModeChangeItem> CREATOR =
new Creator<PipModeChangeItem>() {
public PipModeChangeItem createFromParcel(Parcel in) {
return new PipModeChangeItem(in);

+ 1
- 1
core/java/android/app/servertransaction/ResumeActivityItem.java View File

@@ -128,7 +128,7 @@ public class ResumeActivityItem extends ActivityLifecycleItem {
mIsForward = in.readBoolean();
}

public static final Creator<ResumeActivityItem> CREATOR =
public static final @android.annotation.NonNull Creator<ResumeActivityItem> CREATOR =
new Creator<ResumeActivityItem>() {
public ResumeActivityItem createFromParcel(Parcel in) {
return new ResumeActivityItem(in);

+ 1
- 1
core/java/android/app/servertransaction/StopActivityItem.java View File

@@ -95,7 +95,7 @@ public class StopActivityItem extends ActivityLifecycleItem {
mConfigChanges = in.readInt();
}

public static final Creator<StopActivityItem> CREATOR =
public static final @android.annotation.NonNull Creator<StopActivityItem> CREATOR =
new Creator<StopActivityItem>() {
public StopActivityItem createFromParcel(Parcel in) {
return new StopActivityItem(in);

+ 1
- 1
core/java/android/app/servertransaction/TopResumedActivityChangeItem.java View File

@@ -97,7 +97,7 @@ public class TopResumedActivityChangeItem extends ClientTransactionItem {
mOnTop = in.readBoolean();
}

public static final Creator<TopResumedActivityChangeItem> CREATOR =
public static final @android.annotation.NonNull Creator<TopResumedActivityChangeItem> CREATOR =
new Creator<TopResumedActivityChangeItem>() {
public TopResumedActivityChangeItem createFromParcel(Parcel in) {
return new TopResumedActivityChangeItem(in);

+ 1
- 1
core/java/android/app/servertransaction/WindowVisibilityItem.java View File

@@ -76,7 +76,7 @@ public class WindowVisibilityItem extends ClientTransactionItem {
mShowWindow = in.readBoolean();
}

public static final Creator<WindowVisibilityItem> CREATOR =
public static final @android.annotation.NonNull Creator<WindowVisibilityItem> CREATOR =
new Creator<WindowVisibilityItem>() {
public WindowVisibilityItem createFromParcel(Parcel in) {
return new WindowVisibilityItem(in);

+ 1
- 1
core/java/android/app/slice/Slice.java View File

@@ -543,7 +543,7 @@ public final class Slice implements Parcelable {
}
}

public static final Creator<Slice> CREATOR = new Creator<Slice>() {
public static final @android.annotation.NonNull Creator<Slice> CREATOR = new Creator<Slice>() {
@Override
public Slice createFromParcel(Parcel in) {
return new Slice(in);

+ 1
- 1
core/java/android/app/slice/SliceItem.java View File

@@ -378,7 +378,7 @@ public final class SliceItem implements Parcelable {
throw new RuntimeException("Unsupported type " + type);
}

public static final Creator<SliceItem> CREATOR = new Creator<SliceItem>() {
public static final @android.annotation.NonNull Creator<SliceItem> CREATOR = new Creator<SliceItem>() {
@Override
public SliceItem createFromParcel(Parcel in) {
return new SliceItem(in);

+ 1
- 1
core/java/android/app/slice/SliceSpec.java View File

@@ -108,7 +108,7 @@ public final class SliceSpec implements Parcelable {
return String.format("SliceSpec{%s,%d}", mType, mRevision);
}

public static final Creator<SliceSpec> CREATOR = new Creator<SliceSpec>() {
public static final @android.annotation.NonNull Creator<SliceSpec> CREATOR = new Creator<SliceSpec>() {
@Override
public SliceSpec createFromParcel(Parcel source) {
return new SliceSpec(source);

+ 1
- 1
core/java/android/app/timedetector/TimeSignal.java View File

@@ -33,7 +33,7 @@ import java.util.Objects;
*/
public final class TimeSignal implements Parcelable {

public static final Parcelable.Creator<TimeSignal> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<TimeSignal> CREATOR =
new Parcelable.Creator<TimeSignal>() {
public TimeSignal createFromParcel(Parcel in) {
return TimeSignal.createFromParcel(in);

+ 1
- 1
core/java/android/app/timezone/DistroFormatVersion.java View File

@@ -45,7 +45,7 @@ public final class DistroFormatVersion implements Parcelable {
mMinorVersion = Utils.validateVersion("minor", minorVersion);
}

public static final Creator<DistroFormatVersion> CREATOR = new Creator<DistroFormatVersion>() {
public static final @android.annotation.NonNull Creator<DistroFormatVersion> CREATOR = new Creator<DistroFormatVersion>() {
public DistroFormatVersion createFromParcel(Parcel in) {
int majorVersion = in.readInt();
int minorVersion = in.readInt();

+ 1
- 1
core/java/android/app/timezone/DistroRulesVersion.java View File

@@ -46,7 +46,7 @@ public final class DistroRulesVersion implements Parcelable {
mRevision = validateVersion("revision", revision);
}

public static final Creator<DistroRulesVersion> CREATOR = new Creator<DistroRulesVersion>() {
public static final @android.annotation.NonNull Creator<DistroRulesVersion> CREATOR = new Creator<DistroRulesVersion>() {
public DistroRulesVersion createFromParcel(Parcel in) {
String rulesVersion = in.readString();
int revision = in.readInt();

+ 1
- 1
core/java/android/app/timezone/RulesState.java View File

@@ -182,7 +182,7 @@ public final class RulesState implements Parcelable {
return mBaseRulesVersion.compareTo(distroRulesVersion.getRulesVersion()) > 0;
}

public static final Parcelable.Creator<RulesState> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<RulesState> CREATOR =
new Parcelable.Creator<RulesState>() {
public RulesState createFromParcel(Parcel in) {
return RulesState.createFromParcel(in);

+ 1
- 1
core/java/android/app/usage/AppStandbyInfo.java View File

@@ -50,7 +50,7 @@ public final class AppStandbyInfo implements Parcelable {
dest.writeInt(mStandbyBucket);
}

public static final Creator<AppStandbyInfo> CREATOR = new Creator<AppStandbyInfo>() {
public static final @android.annotation.NonNull Creator<AppStandbyInfo> CREATOR = new Creator<AppStandbyInfo>() {
@Override
public AppStandbyInfo createFromParcel(Parcel source) {
return new AppStandbyInfo(source);

+ 1
- 1
core/java/android/app/usage/CacheQuotaHint.java View File

@@ -140,7 +140,7 @@ public final class CacheQuotaHint implements Parcelable {
}
}

public static final Parcelable.Creator<CacheQuotaHint> CREATOR =
public static final @android.annotation.NonNull Parcelable.Creator<CacheQuotaHint> CREATOR =
new Creator<CacheQuotaHint>() {
@Override
public CacheQuotaHint createFromParcel(Parcel in) {

+ 1
- 1
core/java/android/app/usage/ConfigurationStats.java View File

@@ -146,7 +146,7 @@ public final class ConfigurationStats implements Parcelable {
dest.writeInt(mActivationCount);
}

public static final Creator<ConfigurationStats> CREATOR = new Creator<ConfigurationStats>() {
public static final @android.annotation.NonNull Creator<ConfigurationStats> CREATOR = new Creator<ConfigurationStats>() {
@Override
public ConfigurationStats createFromParcel(Parcel source) {
ConfigurationStats stats = new ConfigurationStats();

+ 1
- 1
core/java/android/app/usage/EventStats.java View File

@@ -160,7 +160,7 @@ public final class EventStats implements Parcelable {
dest.writeInt(mCount);
}

public static final Creator<EventStats> CREATOR = new Creator<EventStats>() {
public static final @android.annotation.NonNull Creator<EventStats> CREATOR = new Creator<EventStats>() {
@Override
public EventStats createFromParcel(Parcel in) {
EventStats stats = new EventStats();

+ 1
- 1
core/java/android/app/usage/ExternalStorageStats.java View File

@@ -131,7 +131,7 @@ public final class ExternalStorageStats implements Parcelable {
dest.writeLong(obbBytes);
}

public static final Creator<ExternalStorageStats> CREATOR = new Creator<ExternalStorageStats>() {
public static final @android.annotation.NonNull Creator<ExternalStorageStats> CREATOR = new Creator<ExternalStorageStats>() {
@Override
public ExternalStorageStats createFromParcel(Parcel in) {
return new ExternalStorageStats(in);

+ 1
- 1
core/java/android/app/usage/StorageStats.java View File

@@ -106,7 +106,7 @@ public final class StorageStats implements Parcelable {
dest.writeLong(cacheBytes);
}

public static final Creator<StorageStats> CREATOR = new Creator<StorageStats>() {
public static final @android.annotation.NonNull Creator<StorageStats> CREATOR = new Creator<StorageStats>() {
@Override
public StorageStats createFromParcel(Parcel in) {
return new StorageStats(in);

+ 0
- 0
core/java/android/app/usage/UsageEvents.java View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save