Loading apct-tests/perftests/core/Android.bp +6 −0 Original line number Diff line number Diff line Loading @@ -62,4 +62,10 @@ android_test { test_suites: ["device-tests"], certificate: "platform", errorprone: { javacflags: [ "-Xep:ReturnValueIgnored:WARN", ], }, } apct-tests/perftests/core/src/android/libcore/ReferencePerfTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class ReferencePerfTest { int got = count.get(); if (n != got) { throw new IllegalStateException( String.format("Only %i of %i objects finalized?", got, n)); String.format("Only %d of %d objects finalized?", got, n)); } } } core/java/android/app/SearchableInfo.java +11 −0 Original line number Diff line number Diff line Loading @@ -396,6 +396,17 @@ public final class SearchableInfo implements Parcelable { private final String mSuggestActionMsg; private final String mSuggestActionMsgColumn; public static final Parcelable.Creator<ActionKeyInfo> CREATOR = new Parcelable.Creator<ActionKeyInfo>() { public ActionKeyInfo createFromParcel(Parcel in) { return new ActionKeyInfo(in); } public ActionKeyInfo[] newArray(int size) { return new ActionKeyInfo[size]; } }; /** * Create one object using attributeset as input data. * @param activityContext runtime context of the activity that the action key information Loading core/java/android/content/ActivityNotFoundException.java +1 −2 Original line number Diff line number Diff line Loading @@ -31,5 +31,4 @@ public class ActivityNotFoundException extends RuntimeException { super(name); } }; } core/java/android/content/integrity/AtomicFormula.java +3 −3 Original line number Diff line number Diff line Loading @@ -261,8 +261,8 @@ public abstract class AtomicFormula extends IntegrityFormula { } LongAtomicFormula that = (LongAtomicFormula) o; return getKey() == that.getKey() && mValue == that.mValue && mOperator == that.mOperator; && Objects.equals(mValue, that.mValue) && Objects.equals(mOperator, that.mOperator); } @Override Loading Loading @@ -628,7 +628,7 @@ public abstract class AtomicFormula extends IntegrityFormula { return false; } BooleanAtomicFormula that = (BooleanAtomicFormula) o; return getKey() == that.getKey() && mValue == that.mValue; return getKey() == that.getKey() && Objects.equals(mValue, that.mValue); } @Override Loading Loading
apct-tests/perftests/core/Android.bp +6 −0 Original line number Diff line number Diff line Loading @@ -62,4 +62,10 @@ android_test { test_suites: ["device-tests"], certificate: "platform", errorprone: { javacflags: [ "-Xep:ReturnValueIgnored:WARN", ], }, }
apct-tests/perftests/core/src/android/libcore/ReferencePerfTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class ReferencePerfTest { int got = count.get(); if (n != got) { throw new IllegalStateException( String.format("Only %i of %i objects finalized?", got, n)); String.format("Only %d of %d objects finalized?", got, n)); } } }
core/java/android/app/SearchableInfo.java +11 −0 Original line number Diff line number Diff line Loading @@ -396,6 +396,17 @@ public final class SearchableInfo implements Parcelable { private final String mSuggestActionMsg; private final String mSuggestActionMsgColumn; public static final Parcelable.Creator<ActionKeyInfo> CREATOR = new Parcelable.Creator<ActionKeyInfo>() { public ActionKeyInfo createFromParcel(Parcel in) { return new ActionKeyInfo(in); } public ActionKeyInfo[] newArray(int size) { return new ActionKeyInfo[size]; } }; /** * Create one object using attributeset as input data. * @param activityContext runtime context of the activity that the action key information Loading
core/java/android/content/ActivityNotFoundException.java +1 −2 Original line number Diff line number Diff line Loading @@ -31,5 +31,4 @@ public class ActivityNotFoundException extends RuntimeException { super(name); } }; }
core/java/android/content/integrity/AtomicFormula.java +3 −3 Original line number Diff line number Diff line Loading @@ -261,8 +261,8 @@ public abstract class AtomicFormula extends IntegrityFormula { } LongAtomicFormula that = (LongAtomicFormula) o; return getKey() == that.getKey() && mValue == that.mValue && mOperator == that.mOperator; && Objects.equals(mValue, that.mValue) && Objects.equals(mOperator, that.mOperator); } @Override Loading Loading @@ -628,7 +628,7 @@ public abstract class AtomicFormula extends IntegrityFormula { return false; } BooleanAtomicFormula that = (BooleanAtomicFormula) o; return getKey() == that.getKey() && mValue == that.mValue; return getKey() == that.getKey() && Objects.equals(mValue, that.mValue); } @Override Loading