Searched defs:permissions (Results 1 - 10 of 10) sorted by path

/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java13 * See the License for the specific language governing permissions and
513 String[] permissions, int flags) {
517 permissions, flags, userId);
512 getPackagesHoldingPermissions( String[] permissions, int flags) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java13 * See the License for the specific language governing permissions and
188 * Characteristic permissions.
229 * @param permissions Permissions for this characteristic
231 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { argument
232 initCharacteristic(null, uuid, 0, properties, permissions);
241 int properties, int permissions) {
242 initCharacteristic(service, uuid, instanceId, properties, permissions);
247 int properties, int permissions) {
251 mPermissions = permissions;
348 * Returns the permissions fo
239 BluetoothGattCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
245 initCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
[all...]
H A DBluetoothGattDescriptor.java13 * See the License for the specific language governing permissions and
122 * @param permissions Permissions for this descriptor
124 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument
125 initDescriptor(null, uuid, 0, permissions);
134 * @param permissions Permissions for this descriptor
137 int instance, int permissions) {
138 initDescriptor(characteristic, uuid, instance, permissions);
142 int instance, int permissions) {
146 mPermissions = permissions;
190 * Returns the permissions fo
136 BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
141 initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java13 * See the License for the specific language governing permissions and
733 * @param permissions Array of path permission descriptions.
735 protected final void setPathPermissions(PathPermission[] permissions) { argument
736 mPathPermissions = permissions;
740 * Return the path-based permissions required for read and/or write access to
978 * <p>Note that there are no permissions needed for an application to
980 * write permissions, or is not exported, all applications can still call
981 * this method regardless of their access permissions. This allows them
1736 * individual permissions. Any implementation of this method <strong>must</strong>
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java13 * See the License for the specific language governing permissions and
152 public PermissionInfo[] permissions; field in class:PackageInfo
159 * all permissions requested, even those that were not granted or known
178 * disable it. Currently all permissions are required.
312 dest.writeTypedArray(permissions, parcelableFlags);
361 permissions = source.createTypedArray(PermissionInfo.CREATOR);
H A DPackageManager.java13 * See the License for the specific language governing permissions and
162 * permissions in the package in
163 * {@link PackageInfo#permissions}.
1671 * Extra field name for the list of permissions, which the user must approve.
1833 * Query for all of the permissions associated with a particular group.
1840 * find all of the permissions not associated with a group.
1842 * retrieve any meta-data associated with the permissions.
1845 * about all of the permissions in the given group.
1852 * permissions.
2037 * holding any of the given permissions
2065 getPackagesHoldingPermissions( String[] permissions, int flags) argument
2189 buildPermissionRequestIntent(String... permissions) argument
[all...]
H A DPackageParser.java13 * See the License for the specific language governing permissions and
140 * List of new permissions that have been added since 1.0.
141 * NOTE: These must be declared in SDK version order, with permissions
157 * List of permissions that have been split into more granular or dependent
158 * permissions.
557 int N = p.permissions.size();
559 pi.permissions = new PermissionInfo[N];
561 pi.permissions[i] = generatePermissionInfo(p.permissions.get(i), flags);
1739 } else if (tagName.equals("adopt-permissions")) {
4220 public final ArrayList<Permission> permissions = new ArrayList<Permission>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java13 * See the License for the specific language governing permissions and
3042 /** Succeeds if any of the specified permissions are granted. */
3043 private void checkBinderPermission(String... permissions) { argument
3046 for (String perm : permissions) {
3055 String msg = "caller uid " + uid + " lacks any of " + TextUtils.join(",", permissions);
3221 * which is in the system. This means we don't need to protect it with permissions.
3256 * which is in the system. This means we don't need to protect it with permissions.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java13 * See the License for the specific language governing permissions and
1659 * Otherwise, just revoke their system-level permissions.
1752 // cases get permissions that the user didn't initially explicitly
1759 + "; regranting permissions for internal storage");
2411 * or INTERACT_ACROSS_USERS_FULL permissions, if the userid is not for the caller.
2527 // We calculate the max size of permissions defined by this uid and throw
2712 //XXX we should only revoke for the calling user's app permissions,
3829 String[] permissions, boolean[] tmp, int flags, int userId) {
3832 for (int i=0; i<permissions.length; i++) {
3833 if (gp.grantedPermissions.contains(permissions[
3828 addPackageHoldingPermissions(ArrayList<PackageInfo> list, PackageSetting ps, String[] permissions, boolean[] tmp, int flags, int userId) argument
3871 getPackagesHoldingPermissions( String[] permissions, int flags, int userId) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java13 * See the License for the specific language governing permissions and
161 public List<PackageInfo> getPackagesHoldingPermissions(String[] permissions, argument

Completed in 780 milliseconds