HomeSort by relevance Sort by last modified time
    Searched refs:permissions (Results 1 - 25 of 4051) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/v17/leanback/api23/android/support/v17/leanback/app/
PermissionHelper23.java 11 * or implied. See the License for the specific language governing permissions and limitations under
18 public static void requestPermissions(android.app.Fragment fragment, String[] permissions,
20 fragment.requestPermissions(permissions, requestCode);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
PermissionHelper.java 11 * or implied. See the License for the specific language governing permissions and limitations under
23 public static void requestPermissions(android.app.Fragment fragment, String[] permissions,
26 PermissionHelper23.requestPermissions(fragment, permissions, requestCode);
31 String[] permissions, int requestCode) {
32 fragment.requestPermissions(permissions, requestCode);
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
PermissionsTest.groovy 13 * See the License for the specific language governing permissions and
21 * Tests for the Permissions class
55 assert new Permissions('rwxrwxrwx').hashCode() == Permissions.DEFAULT.hashCode()
56 assert new Permissions('---------').hashCode() == Permissions.NONE.hashCode()
60 assert new Permissions('rwxrwxrwx').equals(Permissions.DEFAULT)
61 assert new Permissions('---------').equals(Permissions.NONE)
    [all...]
DirectoryEntryTest.groovy 13 * See the License for the specific language governing permissions and
33 entry.permissions = PERMISSIONS
41 assert clone.permissions == PERMISSIONS
  /frameworks/support/v13/api23/android/support/v13/app/
FragmentCompat23.java 13 * See the License for the specific language governing permissions and
22 public static void requestPermissions(Fragment fragment, String[] permissions,
24 fragment.requestPermissions(permissions, requestCode);
  /libcore/ojluni/src/main/java/java/security/
ProtectionDomain.java 36 PermissionCollection permissions) { }
39 PermissionCollection permissions,
UnresolvedPermissionCollection.java 36 * of UnresolvedPermission permissions.
39 * @see java.security.Permissions
95 * get any unresolved permissions of the same type as p,
105 * always returns false for unresolved permissions
124 // Get iterator of Map values (which are lists of permissions)
140 // private Hashtable permissions; // keyed on type
143 * @serialField permissions java.util.Hashtable
145 * of permissions
148 new ObjectStreamField("permissions", Hashtable.class),
163 Hashtable<String, Vector<UnresolvedPermission>> permissions local
200 Hashtable<String, Vector<UnresolvedPermission>> permissions = local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/
PermissionsUtil.java 13 * See the License for the specific language governing permissions and
17 package com.android.inputmethod.latin.permissions;
31 * Utility class for permissions.
36 * Returns the list of permissions not granted from the given list of permissions.
38 * @param permissions list of permissions to check.
39 * @return the list of permissions that do not have permission to use.
42 String... permissions) {
44 for (String permission : permissions) {
    [all...]
  /frameworks/base/data/etc/
Android.mk 13 # See the License for the specific language governing permissions and
26 # This will install the file in /system/etc/permissions
28 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
41 # This will install the file in /system/etc/permissions
43 #LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ServiceDeclaration.java 13 * See the License for the specific language governing permissions and
36 int permissions = 0; field in class:ServiceDeclaration.Entry
57 Entry(UUID uuid, int properties, int permissions, int instance) {
61 this.permissions = permissions;
65 Entry(UUID uuid, int permissions) {
68 this.permissions = permissions;
98 void addCharacteristic(UUID uuid, int properties, int permissions) {
100 mEntries.add(new Entry(uuid, properties, permissions, 0 /*instance*/))
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattDescriptor.java 13 * See the License for the specific language governing permissions and
103 * Permissions for this descriptor
125 * @param permissions Permissions for this descriptor
127 public BluetoothGattDescriptor(UUID uuid, int permissions) {
128 initDescriptor(null, uuid, 0, permissions);
137 * @param permissions Permissions for this descriptor
140 int instance, int permissions) {
141 initDescriptor(characteristic, uuid, instance, permissions);
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
BasePermissionActivity.java 13 * See the License for the specific language governing permissions and
35 public final String[] permissions; field in class:BasePermissionActivity.Result
38 public Result(int requestCode, String[] permissions, int[] grantResults) {
40 this.permissions = permissions;
57 public void onRequestPermissionsResult(int requestCode, String[] permissions,
60 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS);
UsePermissionTest23.java 13 * See the License for the specific language governing permissions and
105 assertEquals(Manifest.permission.READ_EXTERNAL_STORAGE, result.permissions[0]);
106 assertEquals(Manifest.permission.WRITE_EXTERNAL_STORAGE, result.permissions[1]);
131 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; local
134 BasePermissionActivity.Result result = requestPermissions(permissions,
148 permissions, new boolean[] {true});
150 // Make sure no undeclared as used permissions are granted
163 String[] permissions = new String[] {Manifest.permission.RECEIVE_SMS}; local
168 BasePermissionActivity.Result result = requestPermissions(permissions,
182 permissions, new boolean[] {true})
196 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; local
222 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; local
256 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; local
332 String[] permissions = new String[] {Manifest.permission.READ_CALENDAR}; local
402 String[] permissions = new String[] {Manifest.permission.BIND_PRINT_SERVICE}; local
419 String[] permissions = new String[] {"permission.does.not.exist"}; local
438 String[] permissions = new String[] { local
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
AbstractFileSystemEntry.java 13 * See the License for the specific language governing permissions and
61 public Permissions getPermissions() {
62 return permissions;
65 public void setPermissions(Permissions permissions) {
66 this.permissions = permissions;
69 private Permissions permissions; field in class:AbstractFileSystemEntry
119 this.permissions = new Permissions(permissionsString);
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
UserAccount.java 13 * See the License for the specific language governing permissions and
20 import org.mockftpserver.fake.filesystem.Permissions;
26 * directory, list of groups to which this user belongs, and default permissions applied to
37 * The default value for <code>defaultPermissionsForNewFile</code> is read and write permissions for
39 * write and execute permissions for all (user/group/world).
60 public static final Permissions DEFAULT_PERMISSIONS_FOR_NEW_FILE = new Permissions("rw-rw-rw-");
61 public static final Permissions DEFAULT_PERMISSIONS_FOR_NEW_DIRECTORY = Permissions.ALL;
70 private Permissions defaultPermissionsForNewFile = DEFAULT_PERMISSIONS_FOR_NEW_FILE;
214 Permissions permissions = entry.getPermissions(); local
235 Permissions permissions = entry.getPermissions(); local
256 Permissions permissions = entry.getPermissions(); local
    [all...]
  /libcore/ojluni/src/main/java/sun/net/ftp/
FtpDirEntry.java 63 private boolean[][] permissions = null; field in class:FtpDirEntry
218 if (permissions != null) {
219 return permissions[p.value][0];
231 if (permissions != null) {
232 return permissions[p.value][1];
244 if (permissions != null) {
245 return permissions[p.value][2];
251 * Sets the permissions for that file. Intended mostly to be used
253 * The permissions array is a 3x3 {@code boolean} array, the first index being
256 * <p>E.G.: {@code permissions[1][2]} is the group/execute permission.</p
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
FileUtils.java 13 * See the License for the specific language governing permissions and
114 StringBuilder permissions = new StringBuilder("-rwxrwxrwx"); local
120 permissions.setCharAt(0, typeSymbols[i]);
129 permissions.setCharAt(1 + i, '-');
135 permissions.setCharAt(3, hasModeFlag(mode, S_IXUSR) ? 's' : 'S');
139 permissions.setCharAt(6, hasModeFlag(mode, S_IXGRP) ? 's' : 'S');
143 permissions.setCharAt(9, hasModeFlag(mode, S_IXOTH) ? 't' : 'T');
146 return permissions.toString();
  /external/autotest/frontend/afe/
management.py 19 Create a basic admin group with permissions for managing basic autotest
24 admin_group.save() # must save before adding permissions
26 have_permissions = list(admin_group.permissions.all())
31 permissions = list(PermissionModel.objects.filter(
33 if len(permissions) == 0:
37 for permission in permissions:
41 admin_group.permissions.add(permission)
  /external/libchrome/sandbox/linux/syscall_broker/
broker_policy.cc 22 const std::vector<BrokerFilePermission>& permissions)
24 permissions_(permissions),
25 num_of_permissions_(permissions.size()) {
41 // Note: access() being a system call to check permissions, this can get a bit
  /frameworks/support/v13/java/android/support/v13/app/
FragmentCompat.java 13 * See the License for the specific language governing permissions and
38 void requestPermissions(Fragment fragment, String[] permissions, int requestCode);
50 public void requestPermissions(final Fragment fragment, final String[] permissions,
56 final int[] grantResults = new int[permissions.length];
63 final int permissionCount = permissions.length;
66 permissions[i], packageName);
73 requestCode, permissions, grantResults);
99 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) {
100 FragmentCompat23.requestPermissions(fragment, permissions, requestCode);
137 * Callback for the result from requesting permissions. This metho
    [all...]
  /cts/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/
ManifestGeneratorTest.java 13 * See the License for the specific language governing permissions and
53 List<String> permissions = new ArrayList<>(); local
54 permissions.add(PERMISSION_A);
55 permissions.add(PERMISSION_B);
72 permissions, activities);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/activity/
RequestPermissionsActivity.java 13 * See the License for the specific language governing permissions and
27 * Activity that requests permissions needed for activities exported from Contacts.
63 int requestCode, String permissions[], int[] grantResults) {
64 if (permissions != null && permissions.length > 0
65 && isAllGranted(permissions, grantResults)) {
  /system/core/libbacktrace/
BacktraceMap.cpp 13 * See the License for the specific language governing permissions and
51 char permissions[5]; local
60 &start, &end, permissions, &name_pos) != 3) {
67 &start, &end, permissions, &name_pos) != 3) {
75 if (permissions[0] == 'r') {
78 if (permissions[1] == 'w') {
81 if (permissions[2] == 'x') {
  /device/google/dragon/
device.mk 13 # See the License for the specific language governing permissions and
55 $(LOCAL_PATH)/com.nvidia.nvsi.xml:system/etc/permissions/com.nvidia.nvsi.xml
76 frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
77 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
78 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
79 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
80 frameworks/native/data/etc/android.hardware.camera.full.xml:system/etc/permissions/android.hardware.camera.full.xml \
81 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
82 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
83 frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
AbstractStoreFileCommandHandlerTestCase.groovy 13 * See the License for the specific language governing permissions and
24 import org.mockftpserver.fake.filesystem.Permissions
46 fileSystem.getEntry(FILE).permissions = Permissions.NONE
52 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
59 fileSystem.getEntry(DIR).permissions = new Permissions('rw-rw-rw-')
97 assert fileEntry.permissions == userAccount.defaultPermissionsForNewFile

Completed in 673 milliseconds

1 2 3 4 5 6 7 8 91011>>