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

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattDescriptor.java13 * See the License for the specific language governing permissions and
116 * @param permissions Permissions for this descriptor
118 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument
119 initDescriptor(null, uuid, permissions);
128 * @param permissions Permissions for this descriptor
131 int permissions) {
132 initDescriptor(characteristic, uuid, permissions);
136 int permissions) {
139 mPermissions = permissions;
168 * Returns the permissions fo
130 BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int permissions) argument
135 initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int permissions) argument
[all...]
H A DBluetoothGattCharacteristic.java13 * See the License for the specific language governing permissions and
189 * Characteristic permissions.
230 * @param permissions Permissions for this characteristic
232 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { argument
233 initCharacteristic(null, uuid, 0, properties, permissions);
242 int properties, int permissions) {
243 initCharacteristic(service, uuid, instanceId, properties, permissions);
248 int properties, int permissions) {
252 mPermissions = permissions;
335 * Returns the permissions fo
240 BluetoothGattCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
246 initCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java13 * 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
157 * disable it. Currently all permissions are required.
263 dest.writeTypedArray(permissions, parcelableFlags);
304 permissions = source.createTypedArray(PermissionInfo.CREATOR);
H A DPackageParser.java13 * See the License for the specific language governing permissions and
105 * List of new permissions that have been added since 1.0.
106 * NOTE: These must be declared in SDK version order, with permissions
122 * List of permissions that have been split into more granular or dependent
123 * permissions.
412 int N = p.permissions.size();
414 pi.permissions = new PermissionInfo[N];
416 pi.permissions[i] = generatePermissionInfo(p.permissions.get(i), flags);
1266 } else if (tagName.equals("adopt-permissions")) {
3269 public final ArrayList<Permission> permissions = new ArrayList<Permission>(0); field in class:PackageParser.Package
[all...]
H A DPackageManager.java13 * See the License for the specific language governing permissions and
151 * permissions in the package in
152 * {@link PackageInfo#permissions}.
1284 * Extra field name for the list of permissions, which the user must approve.
1414 * Query for all of the permissions associated with a particular group.
1421 * find all of the permissions not associated with a group.
1423 * retrieve any meta-data associated with the permissions.
1426 * about all of the permissions in the given group.
1433 * permissions.
1618 * holding any of the given permissions
1646 getPackagesHoldingPermissions( String[] permissions, int flags) argument
1770 buildPermissionRequestIntent(String... permissions) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java13 * See the License for the specific language governing permissions and
509 * @param permissions Array of path permission descriptions.
511 protected final void setPathPermissions(PathPermission[] permissions) { argument
512 mPathPermissions = permissions;
516 * Return the path-based permissions required for read and/or write access to
756 * <p>Note that there are no permissions needed for an application to
758 * write permissions, or is not exported, all applications can still call
759 * this method regardless of their access permissions. This allows them
1263 * individual permissions. Any implementation of this method <strong>must</strong>
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java13 * See the License for the specific language governing permissions and
150 public List<PackageInfo> getPackagesHoldingPermissions(String[] permissions, argument
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java13 * See the License for the specific language governing permissions and
440 String[] permissions, int flags) {
444 permissions, flags, userId);
439 getPackagesHoldingPermissions( String[] permissions, int flags) argument
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountManagerService.java13 * See the License for the specific language governing permissions and
2512 /** Succeeds if any of the specified permissions are granted. */
2513 private void checkBinderPermission(String... permissions) { argument
2516 for (String perm : permissions) {
2525 String msg = "caller uid " + uid + " lacks any of " + TextUtils.join(",", permissions);
2678 * which is in the system. This means we don't need to protect it with permissions.
2713 * which is in the system. This means we don't need to protect it with permissions.
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java13 * See the License for the specific language governing permissions and
336 // Group-ids that are given to all packages as read from etc/permissions/*.xml.
340 // etc/permissions.xml file.
355 // etc/permissions.xml file.
363 // etc/permissions.xml file.
1342 * Otherwise, just revoke their system-level permissions.
1383 // cases get permissions that the user didn't initially explicitly
1390 + "; regranting permissions for internal storage");
1496 // Read permissions from .../etc/permission directory.
1497 File libraryDir = new File(Environment.getRootDirectory(), "etc/permissions");
3055 addPackageHoldingPermissions(ArrayList<PackageInfo> list, PackageSetting ps, String[] permissions, boolean[] tmp, int flags, int userId) argument
3094 getPackagesHoldingPermissions( String[] permissions, int flags, int userId) argument
[all...]

Completed in 164 milliseconds