Home
last modified time | relevance | path

Searched refs:isPathPrefixMatch (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java760 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch( in testPathPrefixMatch()
762 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch( in testPathPrefixMatch()
764 assertTrue(Uri.parse("content://com.example///path///").isPathPrefixMatch( in testPathPrefixMatch()
766 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch( in testPathPrefixMatch()
770 assertTrue(Uri.parse("content://com.example/path/to/child").isPathPrefixMatch( in testPathPrefixMatch()
772 assertTrue(Uri.parse("content://com.example/path/to/child").isPathPrefixMatch( in testPathPrefixMatch()
776 assertTrue(Uri.parse("content://com.example/path#fragment").isPathPrefixMatch( in testPathPrefixMatch()
778 assertTrue(Uri.parse("content://com.example/path?q=v").isPathPrefixMatch( in testPathPrefixMatch()
780 assertTrue(Uri.parse("content://com.example/path/?q=v").isPathPrefixMatch( in testPathPrefixMatch()
784 assertFalse(Uri.parse("content://com.example/path").isPathPrefixMatch( in testPathPrefixMatch()
[all …]
/frameworks/base/core/java/android/net/
DUri.java2356 public boolean isPathPrefixMatch(Uri prefix) { in isPathPrefixMatch() method in Uri
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7931 if (perm.uri.prefix && grantUri.uri.isPathPrefixMatch(perm.uri.uri) in checkUriPermissionLocked()
8360 && perm.uri.uri.isPathPrefixMatch(grantUri.uri)) { in revokeUriPermissionLocked()
8392 && perm.uri.uri.isPathPrefixMatch(grantUri.uri)) { in revokeUriPermissionLocked()