- Dec 08, 2023
-
-
Jiangyou Li authored
test: monkey Change-Id: Ifa02ef7d5315e819862059d2ef910c0e1a123278
-
- Nov 03, 2023
-
-
Nino Jagar authored
Bug: 308610589 Test: Units Flag: EXEMPT Change-Id: I066549740051378acfdc3bd400b6afc6c7de2684
-
- Nov 02, 2023
-
-
Nino Jagar authored
Bug: 302188079 Test: Unit tests and manual end-to-end Change-Id: I4cfc3023b14ad09137ae785b43e45b3f8dd072b1
-
- Oct 30, 2023
-
-
Nino Jagar authored
Bug: 302188546 Test: Unit tests and extracted from a larger end-to-end commit Change-Id: I6acc7dc36c9453ef4c6ae14dbdf4a2158f188203
-
- Oct 27, 2023
-
-
Nino Jagar authored
Bug: 302380608 Test: Unit tests Change-Id: I7af7f3ee725a8c822cf62ece4063cc25c1e0aab2
-
Nino Jagar authored
Bug: 302188278 Test: Unit tests and end-to-end from a larger commit Change-Id: I1767b91204ebe76486f7f15c125110943a924ebe
-
- Oct 24, 2023
-
-
Nino Jagar authored
Bug: 302188278 Test: Unit tests Change-Id: I38f24477e6906d507bbff4403dcc44cec027d432
-
- Oct 16, 2023
-
-
Nino Jagar authored
Bug: 302188072 Test: Unit tests and manual adb/test app Change-Id: I7db9c44ba8cd9b77dcf9ffeca856fd495ec1a869
-
- Oct 13, 2023
-
-
Nino Jagar authored
Bug: 302187922 Test: Unit tests and manual adb Change-Id: Iecaa23adf0afe62184eed75ee60cccdc03b32861
-
- Oct 11, 2023
-
-
Nino Jagar authored
Bug: 302187976 Test: Unit tests Change-Id: I20b948deb1576a84c716ad35281510853c8f286a
-
- Aug 16, 2023
-
-
Nino Jagar authored
Bug: 296285231 Test: Manual Change-Id: I38ddef4ce2bcf0a4b5c1534184e01cf914f5da2c
-
- Jul 14, 2023
-
-
Nino Jagar authored
Specifically: 1. Package verifier user consent wasn't denied 2. User is not organization managed BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing code Bug: 289127231 Test: New units, manual end-to-end with Test DPC Change-Id: Ice005233cbbb440a09efa162060de40607d8380a
-
- Jun 08, 2023
-
-
Nino Jagar authored
BYPASS_INCLUSIVE_LANGUAGE_REASON=All issues are in the existing code which is already in production. New code has no issues. Bug: 275732576 Test: Manual Change-Id: Ie4599828cd663d51e1037183e66d18aa7b214d28
-
- Jun 05, 2023
-
-
Nino Jagar authored
Bug: 275732576 Test: Added tests and manual end to end Change-Id: I5eba46c8e75df4d2b27f919fdc061412c9873862
-
- Jun 02, 2023
-
-
Nino Jagar authored
BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing code in production Bug: 275732576 Test: Added tests Change-Id: I910460bb6fece38f38ffefa7eed4e8cad3f43277
-
- May 31, 2023
-
-
Nino Jagar authored
BYPASS_INCLUSIVE_LANGUAGE_REASON=All issues are in the existing code which is already in production. New code has no issues. Bug: 275732576 Test: Added new tests Change-Id: I4f62a63aba34dcfcc1a76a0b4b58f4d1f5432f82
-
- May 30, 2023
-
-
Nino Jagar authored
Bug: 275732576 Test: Added new tests Change-Id: Iad7fbc4727621233517a649bce8469519e243d6f
-
- May 24, 2023
-
-
Nino Jagar authored
BYPASS_INCLUSIVE_LANGUAGE_REASON=All issues are in the existing code which is already in production. New code has no issues. Bug: 275732576 Test: Added new tests Change-Id: I1273107f2d925586271da2638d36094a1ab84c60
-
- May 19, 2023
-
-
Nino Jagar authored
Bug: 275732576 Test: Added a new test Change-Id: Ic4be6f72ffea61fe8edfa4399246d5aadf669868
-
- May 17, 2023
-
-
Nino Jagar authored
Bug: 275732576 Test: Added a new test Change-Id: I07c3bbb8c85f55be57843fed788cbdf0245aa750
-
- Mar 22, 2023
-
-
Kai Li authored
This can mitigate the IPC spam by half, since the view tree appearing event always comes with a view tree appeared event, and we just need to flush at the view tree appeared time. BYPASS_INCLUSIVE_LANGUAGE_REASON=existing API Bug: 269435271 Change-Id: I0ba3f7df7d6b511d155ac9509826d39633b668f6 Merged-in: I0ba3f7df7d6b511d155ac9509826d39633b668f6 Test: some unit tests & I've manually tested it locally. (cherry picked from commit 624070c9)
-
- Feb 22, 2023
-
-
Kai Li authored
This can mitigate the IPC spam by half, since the view tree appearing event always comes with a view tree appeared event, and we just need to flush at the view tree appeared time. BYPASS_INCLUSIVE_LANGUAGE_REASON=existing API Bug: 269435271 Change-Id: I0ba3f7df7d6b511d155ac9509826d39633b668f6 Test: some unit tests & I've manually tested it locally.
-
- Nov 15, 2022
-
-
Cole Faust authored
This commit is part of a large scale change to fix errorprone errors that have been downgraded to warnings in the android source tree, so that they can be promoted to errors again. The full list of changes include the following, but not all will be present in any one individual commit: BadAnnotationImplementation BadShiftAmount BanJNDI BoxedPrimitiveEquality ComparableType ComplexBooleanConstant CollectionToArraySafeParameter ConditionalExpressionNumericPromotion DangerousLiteralNull DoubleBraceInitialization DurationFrom DurationTemporalUnit EmptyTopLevelDeclaration EqualsNull EqualsReference FormatString FromTemporalAccessor GetClassOnAnnotation GetClassOnClass HashtableContains IdentityBinaryExpression IdentityHashMapBoxing InstantTemporalUnit InvalidTimeZoneID InvalidZoneId IsInstanceIncompatibleType JUnitParameterMethodNotFound LockOnBoxedPrimitive MathRoundIntLong MislabeledAndroidString MisusedDayOfYear MissingSuperCall MisusedWeekYear ModifyingCollectionWithItself NoCanIgnoreReturnValueOnClasses NonRuntimeAnnotation NullableOnContainingClass NullTernary OverridesJavaxInjectableMethod ParcelableCreator PeriodFrom PreconditionsInvalidPlaceholder ProtoBuilderReturnValueIgnored ProtoFieldNullComparison RandomModInteger RectIntersectReturnValueIgnored ReturnValueIgnored SelfAssignment SelfComparison SelfEquals SizeGreaterThanOrEqualsZero StringBuilderInitWithChar TreeToString TryFailThrowable UnnecessaryCheckNotNull UnusedCollectionModifiedInPlace XorPower See https://errorprone.info/bugpatterns for more information on the checks. Bug: 253827323 Test: m RUN_ERROR_PRONE=true javac-check Change-Id: I8446f9076a45ebf7e7ffa06cb0d4ddb1001b6c00
-
- Nov 02, 2022
-
-
Joanne authored
Bug: 256998476 Test: manual. No see binder warning log when force stop app Change-Id: Ic8e0ae17966c162743e36f2ce8b15b5299ef8a23
-
- Oct 12, 2022
-
-
Joanne authored
Currently, the ActivityEvent only reports ComponentName and the event type. It may be a problem when launching the split mode for tablet. If the Activity launch mode is standard or singleTop, system allows to launch the same Activity in split mode. The ContentCaptureService cannot identify two different Activities instances in the split mode. To resolve this problem, the system will also report ActivityId in ActivityEvent to help ContentCaptureService to identify the Activity. Bug: 245023463 Test: atest CtsContentCaptureServiceTestCases Change-Id: I8a79633a8ff0e5a99dc154bb4002a418b2e98219
-
- Sep 20, 2022
-
-
Joanne authored
Add event log for content capute connect and set allowlist to help the debugging. Some examples: I cc_connect_state_changed( 1762): [com.google.android.as/com.google .android.apps.miphone.aiai.app.AiAiContentCaptureService,1] I cc_set_allowlist: [14,0] Doesn't have MemoryOnBoot regression for com.google.intelligence.sense after this change. The reason is caused by the crash when the service calling set allowlist. This change fixes the NPE when calling set allowlist, the result is as below: before: go/cc_eventlog_memtest_before after: go/cc_eventlog_memtest_after issue: go/cc_eventlog_memtest_issue Bug: 233040086 Test: manual. To watch event log Test: atest CtsContentCaptureServiceTestCases BYPASS_INCLUSIVE_LANGUAGE_REASON=existing APIs Change-Id: I9b3a97b808c65902d8ff346e6aa890be852fa598
-
- Jul 21, 2022
-
-
Chris Kuiper authored
This reverts commit 9fa9fc8b. Reason for revert: Break Android tests. Change-Id: I40bfba94ef1a8a5991feedfd24122ff45ba37912
-
- Jul 20, 2022
-
-
Joanne Chung authored
Add event log for content capute connect and set allowlist to help the debugging. Some examples: I cc_connect_state_changed( 1762): [com.google.android.as/com.google .android.apps.miphone.aiai.app.AiAiContentCaptureService,1] I cc_set_allowlist: [14,0] Bug: 233040086 Test: manual. To watch event log Change-Id: I9e836928896bd34ae41289059e83c74bf7aa3969
-
- Jul 01, 2022
-
-
Hani Kazmi authored
Part of go/safer-parcel. Follow up to ag/16639043. Migrates the following unsafe APIs: * Parcel.readArray() * Parcel.readParcelableArray() * Bundle.getSerializable() * Bundle.getParcelable() * Bundle.getParcelableArrayList() * Bundle.getParcelableArray() * Bundle.getSparseParcelableArray() * Intent.getSerializableExtra() * Intent.getParcelableExtra() * Intent.getParcelableArrayExtra() * Intent.getParcelableArrayListExtra Bug: 227458983 Test: m and presubmit pass Change-Id: I72f206cb18eb5c669a7fff07a6845bed1c433fdb
-
- May 26, 2022
-
-
Joanne Chung authored
This reverts commit 4fc5c86b. We introduce a rebind mechanism to rebind died ContentCaptureService because the apps tht has dependency with ContentCaptureService. But it looks like the rate is raised for app to get the null content capture manager. Because the underlying issue is fixed, we don't need this workaround now. We can also monitor if the null content capture sympton is resolved. Bug: 227353916 Test: manual. Add dependency and update the app, the ContentCapture can be rebind without the this fix. Reason for revert: To monitor if the null content capture issue caused by this change. Change-Id: Ibe5d6e2b5f1434243b655289fdc60174ff33a5c0
-
- May 23, 2022
-
-
Adam Bookatz authored
Previously, SystemService's isUserSupported() used isManagedProfile, but in many cases, it makes more sense to use isProfile: most of the particular cases already done probably just care about profile, not managed profile. So we introduce an isProfile(). We also modify how the userType is stored in this class, to make it more extensible in the future. Bug: 170249807 Test: treehugger. This is a no-op since there currently aren't really other supported profile types anyway Change-Id: I43168939001d0e68ed6de95127161f1197683b10
-
- May 13, 2022
-
-
Joanne Chung authored
Bug: 231634467 Test: manual. build pass and local log the count. Change-Id: Id4076b60df60426e50cf90132880e67a2b09d70a
-
Joanne Chung authored
Bug: 231634467 Test: manual. build pass and local log doesn't pass the packagename. Change-Id: I35a103ac55f77a05a3700db34460aa8d98361e52
-
- Nov 02, 2021
-
-
Sergey Volnov authored
happens at write() or start(). Bug: 203784652 Test: atest CtsContentCaptureServiceTestCases Change-Id: I35d8c8056dc126c44f03b74a04090861224a9407 (cherry picked from commit 39d8062a)
-
Joanne Chung authored
If the ContentCaptureService has package dependency with other package, if the package is updating, ContentCaptureService will also be killed. In the normal case, if the service will be reconnected but in this case the binding is cleared without any notification to the ContentCaptureManagerService. The bug is in the core platform infra. In the Content Capture code, we only see the binderDied. This change is a short term solution in S, we will rebind the service when the binderDied. To avoid crash loop, we only bind the service with limit rebind counts. Bug: 199609306 Test: manual. Add addPackageDependency to package and update the package. Make sure the state is not zombie. Change-Id: I09a4cf6281a5a259a9a759ca640d6f075726e562
-
- Nov 01, 2021
-
-
Sergey Volnov authored
happens at write() or start(). Bug: 203784652 Test: atest CtsContentCaptureServiceTestCases Change-Id: I35d8c8056dc126c44f03b74a04090861224a9407
-
- Oct 01, 2021
-
-
Jieru Shi authored
Test: manual Bug: 201480600 Change-Id: I91ecee33681449d5360660e8bcb330bba929813f
-
- Sep 22, 2021
-
-
Adam He authored
Bug: 189477723 Test: atest CtsContentCaptureTestCases Change-Id: I70a0be583faae1a18c61e70c72a3d2a8e9e46438
-
- Jul 27, 2021
-
-
Sergey Volnov authored
Bug: 194534612 Test: local repro Change-Id: I58e5c68ea486b4da2f82b9d89440f86a8d507727
-
- Mar 18, 2021
-
-
Alex Mang authored
Increases complexity, but given the limited # of apps a user has, this shouldn't be a big problem. Bug: 162609730 Tested: atest WhitelistTest, Manually on device Change-Id: I4504b7eb7b503a95d663c375f481c997022d23fe
-