Loading core/java/android/app/AlarmManager.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,6 @@ import android.os.Handler; import android.os.Parcel; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable; import android.os.RemoteException; import android.os.RemoteException; import android.os.UserHandle; import android.os.WorkSource; import android.os.WorkSource; import android.text.TextUtils; import android.text.TextUtils; import android.util.ArrayMap; import android.util.ArrayMap; Loading Loading @@ -1150,7 +1149,9 @@ public class AlarmManager { public void writeToProto(ProtoOutputStream proto, long fieldId) { public void writeToProto(ProtoOutputStream proto, long fieldId) { final long token = proto.start(fieldId); final long token = proto.start(fieldId); proto.write(AlarmClockInfoProto.TRIGGER_TIME_MS, mTriggerTime); proto.write(AlarmClockInfoProto.TRIGGER_TIME_MS, mTriggerTime); if (mShowIntent != null) { mShowIntent.writeToProto(proto, AlarmClockInfoProto.SHOW_INTENT); mShowIntent.writeToProto(proto, AlarmClockInfoProto.SHOW_INTENT); } proto.end(token); proto.end(token); } } } } Loading core/java/android/content/res/Configuration.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -1096,7 +1096,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration protoOutputStream.write(FONT_SCALE, fontScale); protoOutputStream.write(FONT_SCALE, fontScale); protoOutputStream.write(MCC, mcc); protoOutputStream.write(MCC, mcc); protoOutputStream.write(MNC, mnc); protoOutputStream.write(MNC, mnc); if (mLocaleList != null) { mLocaleList.writeToProto(protoOutputStream, LOCALES); mLocaleList.writeToProto(protoOutputStream, LOCALES); } protoOutputStream.write(SCREEN_LAYOUT, screenLayout); protoOutputStream.write(SCREEN_LAYOUT, screenLayout); protoOutputStream.write(COLOR_MODE, colorMode); protoOutputStream.write(COLOR_MODE, colorMode); protoOutputStream.write(TOUCHSCREEN, touchscreen); protoOutputStream.write(TOUCHSCREEN, touchscreen); Loading @@ -1111,7 +1113,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration protoOutputStream.write(SCREEN_HEIGHT_DP, screenHeightDp); protoOutputStream.write(SCREEN_HEIGHT_DP, screenHeightDp); protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); protoOutputStream.write(DENSITY_DPI, densityDpi); protoOutputStream.write(DENSITY_DPI, densityDpi); if (windowConfiguration != null) { windowConfiguration.writeToProto(protoOutputStream, WINDOW_CONFIGURATION); windowConfiguration.writeToProto(protoOutputStream, WINDOW_CONFIGURATION); } protoOutputStream.end(token); protoOutputStream.end(token); } } Loading core/java/android/os/Looper.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -386,7 +386,9 @@ public final class Looper { final long looperToken = proto.start(fieldId); final long looperToken = proto.start(fieldId); proto.write(LooperProto.THREAD_NAME, mThread.getName()); proto.write(LooperProto.THREAD_NAME, mThread.getName()); proto.write(LooperProto.THREAD_ID, mThread.getId()); proto.write(LooperProto.THREAD_ID, mThread.getId()); if (mQueue != null) { mQueue.writeToProto(proto, LooperProto.QUEUE); mQueue.writeToProto(proto, LooperProto.QUEUE); } proto.end(looperToken); proto.end(looperToken); } } Loading Loading
core/java/android/app/AlarmManager.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,6 @@ import android.os.Handler; import android.os.Parcel; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable; import android.os.RemoteException; import android.os.RemoteException; import android.os.UserHandle; import android.os.WorkSource; import android.os.WorkSource; import android.text.TextUtils; import android.text.TextUtils; import android.util.ArrayMap; import android.util.ArrayMap; Loading Loading @@ -1150,7 +1149,9 @@ public class AlarmManager { public void writeToProto(ProtoOutputStream proto, long fieldId) { public void writeToProto(ProtoOutputStream proto, long fieldId) { final long token = proto.start(fieldId); final long token = proto.start(fieldId); proto.write(AlarmClockInfoProto.TRIGGER_TIME_MS, mTriggerTime); proto.write(AlarmClockInfoProto.TRIGGER_TIME_MS, mTriggerTime); if (mShowIntent != null) { mShowIntent.writeToProto(proto, AlarmClockInfoProto.SHOW_INTENT); mShowIntent.writeToProto(proto, AlarmClockInfoProto.SHOW_INTENT); } proto.end(token); proto.end(token); } } } } Loading
core/java/android/content/res/Configuration.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -1096,7 +1096,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration protoOutputStream.write(FONT_SCALE, fontScale); protoOutputStream.write(FONT_SCALE, fontScale); protoOutputStream.write(MCC, mcc); protoOutputStream.write(MCC, mcc); protoOutputStream.write(MNC, mnc); protoOutputStream.write(MNC, mnc); if (mLocaleList != null) { mLocaleList.writeToProto(protoOutputStream, LOCALES); mLocaleList.writeToProto(protoOutputStream, LOCALES); } protoOutputStream.write(SCREEN_LAYOUT, screenLayout); protoOutputStream.write(SCREEN_LAYOUT, screenLayout); protoOutputStream.write(COLOR_MODE, colorMode); protoOutputStream.write(COLOR_MODE, colorMode); protoOutputStream.write(TOUCHSCREEN, touchscreen); protoOutputStream.write(TOUCHSCREEN, touchscreen); Loading @@ -1111,7 +1113,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration protoOutputStream.write(SCREEN_HEIGHT_DP, screenHeightDp); protoOutputStream.write(SCREEN_HEIGHT_DP, screenHeightDp); protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); protoOutputStream.write(DENSITY_DPI, densityDpi); protoOutputStream.write(DENSITY_DPI, densityDpi); if (windowConfiguration != null) { windowConfiguration.writeToProto(protoOutputStream, WINDOW_CONFIGURATION); windowConfiguration.writeToProto(protoOutputStream, WINDOW_CONFIGURATION); } protoOutputStream.end(token); protoOutputStream.end(token); } } Loading
core/java/android/os/Looper.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -386,7 +386,9 @@ public final class Looper { final long looperToken = proto.start(fieldId); final long looperToken = proto.start(fieldId); proto.write(LooperProto.THREAD_NAME, mThread.getName()); proto.write(LooperProto.THREAD_NAME, mThread.getName()); proto.write(LooperProto.THREAD_ID, mThread.getId()); proto.write(LooperProto.THREAD_ID, mThread.getId()); if (mQueue != null) { mQueue.writeToProto(proto, LooperProto.QUEUE); mQueue.writeToProto(proto, LooperProto.QUEUE); } proto.end(looperToken); proto.end(looperToken); } } Loading