Loading AconfigFlags.bp +14 −0 Original line number Diff line number Diff line Loading @@ -910,6 +910,8 @@ java_aconfig_library { aconfig_declarations { name: "android.service.notification.flags-aconfig", package: "android.service.notification", exportable: true, container: "system", srcs: ["core/java/android/service/notification/flags.aconfig"], } Loading @@ -919,6 +921,18 @@ java_aconfig_library { defaults: ["framework-minus-apex-aconfig-java-defaults"], } java_aconfig_library { name: "android.service.notification.flags-aconfig-export-java", aconfig_declarations: "android.service.notification.flags-aconfig", defaults: ["framework-minus-apex-aconfig-java-defaults"], mode: "exported", min_sdk_version: "30", apex_available: [ "//apex_available:platform", "com.android.extservices", ], } // Smartspace aconfig_declarations { name: "android.app.smartspace.flags-aconfig", Loading Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -508,7 +508,6 @@ java_library { lint: { baseline_filename: "lint-baseline.xml", }, // For jarjar repackaging jarjar_prefix: "com.android.internal.hidden_from_bootclasspath", } Loading api/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ combined_apis { "framework-nfc", "framework-ondevicepersonalization", "framework-pdf", "framework-pdf-v", "framework-permission", "framework-permission-s", "framework-profiling", Loading cmds/am/src/com/android/commands/am/Am.java +2 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,8 @@ public class Am extends BaseCommand { instrument.disableTestApiChecks = false; } else if (opt.equals("--no-isolated-storage")) { instrument.disableIsolatedStorage = true; } else if (opt.equals("--no-logcat")) { instrument.captureLogcat = false; } else if (opt.equals("--user")) { instrument.userId = parseUserArg(nextArgRequired()); } else if (opt.equals("--abi")) { Loading cmds/am/src/com/android/commands/am/Instrument.java +11 −8 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ public class Instrument { public String profileFile = null; public boolean wait = false; public boolean rawMode = false; public boolean captureLogcat = true; boolean protoStd = false; // write proto to stdout boolean protoFile = false; // write proto to a file String logPath = null; Loading Loading @@ -266,16 +267,18 @@ public class Instrument { proto.write(InstrumentationData.TestStatus.RESULT_CODE, resultCode); writeBundle(proto, InstrumentationData.TestStatus.RESULTS, results); if (captureLogcat) { if (resultCode == STATUS_TEST_STARTED) { // Logcat -T takes wall clock time (!?) mTestStartMs = System.currentTimeMillis(); } else { if (mTestStartMs > 0) { proto.write(InstrumentationData.TestStatus.LOGCAT, readLogcat(mTestStartMs)); proto.write(InstrumentationData.TestStatus.LOGCAT, readLogcat(mTestStartMs)); } mTestStartMs = 0; } } proto.end(testStatusToken); outputProto(proto); Loading Loading
AconfigFlags.bp +14 −0 Original line number Diff line number Diff line Loading @@ -910,6 +910,8 @@ java_aconfig_library { aconfig_declarations { name: "android.service.notification.flags-aconfig", package: "android.service.notification", exportable: true, container: "system", srcs: ["core/java/android/service/notification/flags.aconfig"], } Loading @@ -919,6 +921,18 @@ java_aconfig_library { defaults: ["framework-minus-apex-aconfig-java-defaults"], } java_aconfig_library { name: "android.service.notification.flags-aconfig-export-java", aconfig_declarations: "android.service.notification.flags-aconfig", defaults: ["framework-minus-apex-aconfig-java-defaults"], mode: "exported", min_sdk_version: "30", apex_available: [ "//apex_available:platform", "com.android.extservices", ], } // Smartspace aconfig_declarations { name: "android.app.smartspace.flags-aconfig", Loading
Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -508,7 +508,6 @@ java_library { lint: { baseline_filename: "lint-baseline.xml", }, // For jarjar repackaging jarjar_prefix: "com.android.internal.hidden_from_bootclasspath", } Loading
api/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,7 @@ combined_apis { "framework-nfc", "framework-ondevicepersonalization", "framework-pdf", "framework-pdf-v", "framework-permission", "framework-permission-s", "framework-profiling", Loading
cmds/am/src/com/android/commands/am/Am.java +2 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,8 @@ public class Am extends BaseCommand { instrument.disableTestApiChecks = false; } else if (opt.equals("--no-isolated-storage")) { instrument.disableIsolatedStorage = true; } else if (opt.equals("--no-logcat")) { instrument.captureLogcat = false; } else if (opt.equals("--user")) { instrument.userId = parseUserArg(nextArgRequired()); } else if (opt.equals("--abi")) { Loading
cmds/am/src/com/android/commands/am/Instrument.java +11 −8 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ public class Instrument { public String profileFile = null; public boolean wait = false; public boolean rawMode = false; public boolean captureLogcat = true; boolean protoStd = false; // write proto to stdout boolean protoFile = false; // write proto to a file String logPath = null; Loading Loading @@ -266,16 +267,18 @@ public class Instrument { proto.write(InstrumentationData.TestStatus.RESULT_CODE, resultCode); writeBundle(proto, InstrumentationData.TestStatus.RESULTS, results); if (captureLogcat) { if (resultCode == STATUS_TEST_STARTED) { // Logcat -T takes wall clock time (!?) mTestStartMs = System.currentTimeMillis(); } else { if (mTestStartMs > 0) { proto.write(InstrumentationData.TestStatus.LOGCAT, readLogcat(mTestStartMs)); proto.write(InstrumentationData.TestStatus.LOGCAT, readLogcat(mTestStartMs)); } mTestStartMs = 0; } } proto.end(testStatusToken); outputProto(proto); Loading