summaryrefslogtreecommitdiff
path: root/core/java/android/os/PatternMatcher.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix permanent denial of service via apis with illegal intent filterRhed Jao2022-11-241-0/+18
| | | | | | | | | | Bug: 246749702 Bug: 246749764 Bug: 246749936 Bug: 246750467 Bug: 249094310 Test: atest android.security.cts.PackageManagerBadIntentFilterTest Change-Id: I632ebd1342e0f39da494a02ffabc690ad242e14a
* Add support for pathSuffixPatrick Baumann2021-01-121-0/+11
| | | | | | | | | | | | | | | | | | This change adds support for a simple pathSuffix attribute in an app's intent filter that can be applied to the path or ssp to match the end of either. This enables filters that match based on file extensions as a common use case. This change additionally finally exposes the pathAdvancedPattern attribute to enable more complex matching logic. This feature was added back in API 26, but never exposed as a supported attribute in app manifests, essentially making it useless to the average developer. Test: atest IntentFilterTest Bug: 139934742 Bug: 35193418 Change-Id: Ib58d5fb5419e621497e402b16a3a31c0c73f77cd
* Rename writeToProto to be dumpDebugJeffrey Huang2019-12-051-1/+1
| | | | | | | | | We want to eventually migrate some of these APIs to be @SystemApi for mainline modules. The #dumpDebug name is more appropriate than #writeToProto. Bug: 142279786 Test: Manual Change-Id: I60793e91cedf6b720d4ecef6a8484f4fed4ff30f
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | 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
* Implement Activity Manager Broadcasts dump protosYi Jin2017-10-111-3/+13
| | | | | | | Bug: 66729158 Test: Manually build and flash the system.img and test "activity --proto broadcasts" Change-Id: I3cb7474c4a3ab092f38ed6a121b4d034cadfc402
* Expose Instant App API defined in MR1Todd Kennedy2017-03-071-4/+2
| | | | | | | | | | | These were created in MR1 but couldn't be submitted because they were defined too late [after API freeze]. Change-Id: Ie6884236776bd26e9d0b557fd125b8c77b0ad93b Fixes: 34890162 Fixes: 35193180 Fixes: 35193418 Test: manual
* Adding advanced pattern support to PatternMatcherPatrick Baumann2016-09-151-8/+374
| | | | | | | | | | This change adds a new pathMatch attribute to the intent-filter tag that supports a subset of regular expression syntax. Supported tokens include dot (.) and set ([]) and supported modifiers include zero-or-more (*), one-or-more(+) and ranges ({}). Change-Id: I2ec3bc8a9eb3e94d21caf34a1ed0f3fd3fb33a35 Bug: 30805203
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+197
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-197/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+197