/libcore/support/src/test/java/tests/support/ |
Support_IOTestSecurityManager.java | 14 * See the License for the specific language governing permissions and 26 private ArrayList<Permission> permissions; field in class:Support_IOTestSecurityManager 29 permissions = new ArrayList<Permission>(2); 30 permissions.add(new SerializablePermission("enableSubclassImplementation")); 31 permissions.add(new SerializablePermission("enableSubstitution")); 35 for (Iterator<Permission> i = permissions.iterator(); i.hasNext(); ) {
|
/libcore/luni/src/main/java/java/security/ |
ProtectionDomain.java | 14 * See the License for the specific language governing permissions and 21 * {@code ProtectionDomain} represents all permissions that are granted to a 34 // Static permissions for this ProtectionDomain 35 private PermissionCollection permissions; field in class:ProtectionDomain 44 // permissions, true otherwise. 49 * code source and the specified static permissions. 51 * If {@code permissions} is not {@code null}, the {@code permissions} 59 * If {@code permissions} is {@code null}, the method {@link 65 * @param permissions [all...] |
UnresolvedPermissionCollection.java | 14 * See the License for the specific language governing permissions and 46 new ObjectStreamField("permissions", Hashtable.class), }; 100 * Returns true if this collection contains unresolved permissions 108 * Resolves all permissions of the same class as the specified target 110 * collection is {@code null} and some unresolved permissions were resolved, 112 * permissions are removed from this unresolved collection, and collection 116 * a kind of permissions to be resolved. 118 * an existing collection for storing resolved permissions. 119 * @return a collection containing resolved permissions (if any found) 154 Hashtable permissions = new Hashtable() local 171 Map permissions = (Map)fields.get("permissions", null); local [all...] |
Policy.java | 14 * See the License for the specific language governing permissions and 28 * security policy. The {@code Policy} specifies which permissions apply to 302 "attempt to add a Permission to a readonly Permissions object"); 307 return new Permissions().elements(); 334 * Returns a {@code PermissionCollection} describing what permissions are 340 * full permissions (i.e. AllPermission). This can not be changed by 344 * the {@code CodeSource} to compute the permissions for. 345 * @return the permissions that are granted to the specified {@code 363 * Returns a {@code PermissionCollection} describing what permissions are 369 * given full permissions (i.e. AllPermission). This can not be changed b 378 Permissions permissions = new Permissions(); local [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoExecutePermissionTest.java | 13 * See the License for the specific language governing permissions and 45 String permissions = fields[1]; local 49 heapPermissions = permissions; 51 stackPermissions = permissions;
|
/libcore/luni/src/main/java/java/io/ |
FilePermissionCollection.java | 14 * See the License for the specific language governing permissions and 34 Vector<Permission> permissions = new Vector<Permission>(); field in class:FilePermissionCollection 61 permissions.addElement(permission); 68 * Returns an enumeration for the collection of permissions. 75 return permissions.elements(); 79 * Indicates whether this permissions collection implies a specific 92 while (i < permissions.size() 95 matchedMask |= ((FilePermission) permissions.elementAt(i))
|
/libcore/luni/src/main/java/java/security/acl/ |
AclEntry.java | 14 * See the License for the specific language governing permissions and 53 * The permissions in this ACL entry will be denied to the principal 98 * Returns the list of permissions of this ACL entry. 100 * @return the list of permissions of this ACL entry, 102 Enumeration<Permission> permissions(); method in interface:AclEntry
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
PolicyEntry.java | 14 * See the License for the specific language governing permissions and 37 * and a set of granted Permissions. 49 // Permissions collection 50 private final Collection<Permission> permissions; field in class:PolicyEntry 57 Collection<? extends Permission> permissions) { 61 this.permissions = (permissions == null || permissions.isEmpty()) ? null 62 : Collections.unmodifiableCollection(permissions); 108 * Returns unmodifiable collection of permissions defined by thi [all...] |
DefaultPolicyScanner.java | 14 * See the License for the specific language governing permissions and 183 * readPermissionEntries() method to read the permissions of this clause. 232 ge.permissions = readPermissionEntries(st); 304 Collection<PermissionEntry> permissions = new HashSet<PermissionEntry>(); local 336 permissions.add(pe); 355 return permissions; 442 public Collection<PermissionEntry> permissions; field in class:DefaultPolicyScanner.GrantEntry
|
/libcore/luni/src/main/java/java/net/ |
SocketPermissionCollection.java | 14 * See the License for the specific language governing permissions and 34 private Vector<Permission> permissions = new Vector<Permission>(); field in class:SocketPermissionCollection 50 permissions.addElement(permission); 53 // Returns an enumeration of the permissions 56 return permissions.elements(); 72 int i = 0, count = permissions.size(); 74 sp = (SocketPermission) permissions.elementAt(i);
|
/libcore/luni/src/main/java/java/util/ |
PropertyPermissionCollection.java | 14 * See the License for the specific language governing permissions and 34 Hashtable<String, Permission> permissions = new Hashtable<String, Permission>( field in class:PropertyPermissionCollection 40 Permission prev = permissions.put(perm.getName(), perm); 48 permissions.put(perm.getName(), np); 57 return permissions.elements(); 71 * permissions with one representing a parent directory. 79 new ObjectStreamField("permissions", Hashtable.class), 84 fields.put("permissions", permissions); 93 permissions = (Hashtable<String, Permission>) fields.get [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageInfo.java | 13 * See the License for the specific language governing permissions and 131 public PermissionInfo[] permissions; field in class:PackageInfo 138 * all permissions requested, even those that were not granted or known 230 dest.writeTypedArray(permissions, parcelableFlags); 267 permissions = source.createTypedArray(PermissionInfo.CREATOR);
|
PackageParser.java | 13 * See the License for the specific language governing permissions and 76 * List of new permissions that have been added since 1.0. 77 * NOTE: These must be declared in SDK version order, with permissions 312 int N = p.permissions.size(); 314 pi.permissions = new PermissionInfo[N]; 316 pi.permissions[i] = generatePermissionInfo(p.permissions.get(i), flags); 2728 public final ArrayList<Permission> permissions = new ArrayList<Permission>(0); field in class:PackageParser.Package [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
FileUtils.java | 13 * See the License for the specific language governing permissions and 109 StringBuilder permissions = new StringBuilder("-rwxrwxrwx"); local 115 permissions.setCharAt(0, typeSymbols[i]); 124 permissions.setCharAt(1 + i, '-'); 130 permissions.setCharAt(3, hasModeFlag(mode, S_IXUSR) ? 's' : 'S'); 134 permissions.setCharAt(6, hasModeFlag(mode, S_IXGRP) ? 's' : 'S'); 138 permissions.setCharAt(9, hasModeFlag(mode, S_IXOTH) ? 't' : 'T'); 141 return permissions.toString();
|
/frameworks/base/core/java/android/webkit/ |
PluginManager.java | 13 * See the License for the specific language governing permissions and 162 // check if the plugin has the required permissions 163 String permissions[] = pkgInfo.requestedPermissions; local 164 if (permissions == null) { 168 for (String permit : permissions) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
DefaultPolicyParser.java | 14 * See the License for the specific language governing permissions and 163 * <li> Iterate over <code>permissions</code> collection. For each PermissionEntry, 172 * of resolved URL, Certificates and Principals to a set of granted Permissions. 191 Set<Permission>permissions = new HashSet<Permission>(); local 216 if (ge.permissions != null) { 217 for (Iterator<PermissionEntry> iter = ge.permissions.iterator(); iter.hasNext();) { 221 permissions.add(resolvePermission(pe, ge, ks, system, 230 permissions);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
UnresolvedPermissionTest.java | 14 * See the License for the specific language governing permissions and 399 Enumeration<Permission> permissions = pc.elements(); local 400 assertNotNull(permissions);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
FileListingService.java | 13 * See the License for the specific language governing permissions and 131 String permissions; field in class:FileListingService.FileEntry 204 return permissions; 456 String permissions = m.group(1); local 466 switch (permissions.charAt(0)) { 529 entry.permissions = permissions;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 13 * See the License for the specific language governing permissions and 162 List<PermissionInfo> permissions = mPackageManager.queryPermissionsByGroup( local 164 checkPermissionInfoName(PERMISSION_NAME, permissions); 201 private void checkPermissionInfoName(String expectedName, List<PermissionInfo> permissions) { 203 Iterator<PermissionInfo> infoIterator = permissions.iterator(); [all...] |
/prebuilt/common/osgi/ |
osgi.jar | |
/frameworks/base/services/java/com/android/server/ |
PackageManagerService.java | 13 * See the License for the specific language governing permissions and 285 // Group-ids that are given to all packages as read from etc/permissions/*.xml. 289 // etc/permissions.xml file. 294 // etc/permissions.xml file. 301 // etc/permissions.xml file. 8218 HashMap<String, BasePermission> permissions = local [all...] |
/prebuilt/common/ddmlib/ |
ddmlib-prebuilt.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |