Searched refs:permissions (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DPermissionHelper.java11 * or implied. See the License for the specific language governing permissions and limitations under
27 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, argument
30 fragment.requestPermissions(permissions, requestCode);
35 String[] permissions, int requestCode) {
36 fragment.requestPermissions(permissions, requestCode);
34 requestPermissions(android.support.v4.app.Fragment fragment, String[] permissions, int requestCode) argument
/frameworks/base/data/etc/
H A DAndroid.mk13 # See the License for the specific language governing permissions and
31 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
37 LOCAL_MODULE := privapp-permissions-platform.xml
39 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattDescriptor.java13 * See the License for the specific language governing permissions and
125 * @param permissions Permissions for this descriptor
127 public BluetoothGattDescriptor(UUID uuid, int permissions) { argument
128 initDescriptor(null, uuid, 0, permissions);
137 * @param permissions Permissions for this descriptor
140 int instance, int permissions) {
141 initDescriptor(characteristic, uuid, instance, permissions);
147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { argument
148 initDescriptor(null, uuid, instance, permissions);
152 int instance, int permissions) {
139 BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
151 initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
[all...]
H A DBluetoothGattCharacteristic.java13 * See the License for the specific language governing permissions and
191 * Characteristic permissions.
232 * @param permissions Permissions for this characteristic
234 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { argument
235 initCharacteristic(null, uuid, 0, properties, permissions);
244 int properties, int permissions) {
245 initCharacteristic(service, uuid, instanceId, properties, permissions);
253 int properties, int permissions) {
254 initCharacteristic(null, uuid, instanceId, properties, permissions);
259 int properties, int permissions) {
242 BluetoothGattCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
252 BluetoothGattCharacteristic(UUID uuid, int instanceId, int properties, int permissions) argument
257 initCharacteristic(BluetoothGattService service, UUID uuid, int instanceId, int properties, int permissions) argument
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentCompat.java13 * See the License for the specific language governing permissions and
36 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); argument
45 public void requestPermissions(final Fragment fragment, final String[] permissions, argument
51 final int[] grantResults = new int[permissions.length];
58 final int permissionCount = permissions.length;
61 permissions[i], packageName);
68 requestCode, permissions, grantResults);
89 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { argument
90 fragment.requestPermissions(permissions, requestCode);
126 * Callback for the result from requesting permissions
139 onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) argument
213 requestPermissions(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DPermissionsSummaryHelper.java13 * See the License for the specific language governing permissions and
37 @NonNull List<RuntimePermissionPresentationInfo> permissions) {
38 final int permissionCount = permissions.size();
46 RuntimePermissionPresentationInfo permission = permissions.get(i);
/frameworks/base/core/java/android/permissionpresenterservice/
H A DRuntimePermissionPresenterService.java13 * See the License for the specific language governing permissions and
38 * This service presents information regarding runtime permissions that is
39 * used for presenting them in the UI. Runtime permissions are presented as
41 * permissions.
69 * Gets the runtime permissions for an app.
125 List<RuntimePermissionPresentationInfo> permissions =
127 if (permissions != null && !permissions.isEmpty()) {
130 permissions);
/frameworks/base/location/lib/
H A DAndroid.mk13 # See the License for the specific language governing permissions and
40 # This will install the file in /system/etc/permissions
42 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/base/media/lib/remotedisplay/
H A DAndroid.mk13 # See the License for the specific language governing permissions and
40 # This will install the file in /system/etc/permissions
42 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/base/media/lib/signer/
H A DAndroid.mk13 # See the License for the specific language governing permissions and
40 # This will install the file in /system/etc/permissions
42 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/base/media/lib/tvremote/
H A DAndroid.mk13 # See the License for the specific language governing permissions and
42 # This will install the file in /system/etc/permissions
44 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityCompat.java13 * See the License for the specific language governing permissions and
54 * Callback for the result from requesting permissions. This method
58 * <strong>Note:</strong> It is possible that the permissions request interaction
59 * with the user is interrupted. In this case you will receive empty permissions
65 * @param permissions The requested permissions. Never null.
66 * @param grantResults The grant results for the corresponding permissions
72 void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, argument
321 * Requests permissions to be granted to this application. These permissions
387 requestPermissions(final @NonNull Activity activity, final @NonNull String[] permissions, final @IntRange(from = 0) int requestCode) argument
[all...]
/frameworks/base/vr/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
37 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
/frameworks/opt/net/lowpan/tests/
H A Dprepdevice.sh25 cp ${ANDROID_BUILD_TOP}/frameworks/native/data/etc/android.hardware.lowpan.xml ${ANDROID_PRODUCT_OUT}/system/etc/permissions/android.hardware.lowpan.xml
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/
H A DMainActivity.java13 * See the License for the specific language governing permissions and
64 RecipientEditTextView view, String[] permissions) {
65 requestPermissions(permissions, 0 /* requestCode */);
63 onPermissionsRequestItemClicked( RecipientEditTextView view, String[] permissions) argument
/frameworks/rs/cpu_ref/
H A DrsCpuBLAS.inc13 * See the License for the specific language governing permissions and
/frameworks/base/core/java/android/content/pm/permission/
H A DRuntimePermissionPresenter.java13 * See the License for the specific language governing permissions and
42 * This class provides information about runtime permissions for a specific
44 * and does not necessarily reflect the individual permissions requested/
45 * granted to an app as the platform may be grouping permissions to improve
47 * runtime permissions in the same permission group may be presented as a
69 * @param permissions The permissions list.
72 List<RuntimePermissionPresentationInfo> permissions) {
104 * Gets the runtime permissions for an app.
216 List<RuntimePermissionPresentationInfo> permissions
71 onGetAppPermissions(@onNull List<RuntimePermissionPresentationInfo> permissions) argument
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEntry.java13 * See the License for the specific language governing permissions and
44 * Entry of this type represents the item in auto-complete that asks user to grant permissions
104 String lookupKey, String[] permissions) {
107 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions);
113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) {
130 mPermissions = permissions;
165 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
175 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */);
187 isValid, null /* lookupKey */, null /* permissions */);
197 null /* permissions */);
101 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) argument
110 RecipientEntry(int entryType, String displayName, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean shouldDisplayIcon, boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) argument
222 constructPermissionEntry(String[] permissions) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageParserTest.java13 * See the License for the specific language governing permissions and
378 assertEquals(1, p.permissions.size());
381 packageName, PermissionInfo.PROTECTION_NORMAL, p.permissions.get(0));
425 assertEquals(1, parent.permissions.size());
427 PermissionInfo.PROTECTION_NORMAL, parent.permissions.get(0));
435 assertEquals(0, firstChild.permissions.size()); // Child APKs cannot declare permissions.
443 assertEquals(0, secondChild.permissions.size()); // Child APKs cannot declare permissions.
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dasm_common.S13 @ See the License for the specific language governing permissions and
/frameworks/base/apct-tests/perftests/multiuser/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/test-apps/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk12 # See the License for the specific language governing permissions and
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/
H A DAndroid.mk12 # See the License for the specific language governing permissions and

Completed in 1227 milliseconds

1234567891011>>