Home
last modified time | relevance | path

Searched defs:permissions (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/java/android/net/
DNetworkStack.java71 ArrayList<String> permissions = new ArrayList<String>(Arrays.asList(otherPermissions)); in checkNetworkStackPermissionOr() local
78 final @NonNull String... permissions) { in enforceAnyPermissionOf()
86 final @NonNull String... permissions) { in checkAnyPermissionOf()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java58 SlicePermissionManager permissions = new SlicePermissionManager(mContext, in testGrant() local
79 SlicePermissionManager permissions = new SlicePermissionManager(mContext, in testBackup() local
123 SlicePermissionManager permissions = new SlicePermissionManager(mContext, in testInvalid() local
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattDescriptor.java136 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor()
149 int instance, int permissions) { in BluetoothGattDescriptor()
156 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor()
161 int instance, int permissions) { in initDescriptor()
DBluetoothGattCharacteristic.java246 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic()
257 int properties, int permissions) { in BluetoothGattCharacteristic()
267 int properties, int permissions) { in BluetoothGattCharacteristic()
273 int properties, int permissions) { in initCharacteristic()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java150 String... permissions) { in hasRestrictedNetworkPermission()
158 private static PackageInfo systemPackageInfoWithPermissions(String... permissions) { in systemPackageInfoWithPermissions()
163 private static PackageInfo vendorPackageInfoWithPermissions(String... permissions) { in vendorPackageInfoWithPermissions()
169 String[] permissions, String partition) { in packageInfoWithPermissions()
328 String... permissions) throws Exception { in assertBackgroundPermission()
635 private PackageInfo addPackage(String packageName, int uid, String[] permissions) in addPackage()
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/
DMainActivity.java64 RecipientEditTextView view, String[] permissions) { in onPermissionsRequestItemClicked()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceShellCommand.java88 String[] permissions = b.getStringArray(SliceProvider.EXTRA_RESULT); in runGetPermissions() local
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java126 String permissions[], int[] grantResults) { in onRequestPermissionsResult()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java448 int permissions = 0; in getNetdPermissionMask() local
598 void sendPackagePermissionsForUid(int uid, int permissions) { in sendPackagePermissionsForUid()
625 int permissions = netdPermissionsAppIds.valueAt(i); in sendPackagePermissionsToNetd() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java104 String lookupKey, String[] permissions) { in RecipientEntry()
113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { in RecipientEntry()
222 public static RecipientEntry constructPermissionEntry(String[] permissions) { in constructPermissionEntry()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java303 Set<String> permissions = new ArraySet<>(); in grantRuntimePermissionsForSystemPackage() local
755 ArrayList<String> packages, int userId, Set<String>... permissions) { in grantPermissionToEachSystemPackage()
759 grantPermissionsToSystemPackage(packages.get(i), userId, permissions); in grantPermissionToEachSystemPackage() local
973 private void grantRuntimePermissions(PackageInfo pkg, Set<String> permissions, in grantRuntimePermissions()
979 private void revokeRuntimePermissions(String packageName, Set<String> permissions, in revokeRuntimePermissions()
1093 final ArraySet<String> permissions = new ArraySet<>(permissionsWithoutSplits); in grantRuntimePermissions() local
1358 Set<String> permissions = null; in grantDefaultPermissionExceptions() local
DPermissionSettings.java108 ArrayMap<String, BasePermission> permissions = in transferPermissions() local
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl51 void adoptShellPermissionIdentity(int uid, in String[] permissions); in adoptShellPermissionIdentity()
DUiAutomation.java399 public void adoptShellPermissionIdentity(@Nullable String... permissions) { in adoptShellPermissionIdentity()
405 mUiAutomationConnection.adoptShellPermissionIdentity(Process.myUid(), permissions); in adoptShellPermissionIdentity() local
DUiAutomationConnection.java299 public void adoptShellPermissionIdentity(int uid, @Nullable String[] permissions) in adoptShellPermissionIdentity()
DFragmentHostCallback.java189 @NonNull String[] permissions, int requestCode) { in onRequestPermissionsFromFragment()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java272 public synchronized void onRequestPermissionsResult(int requestCode, String permissions[], in onRequestPermissionsResult()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java198 public PermissionInfo[] permissions; field in PackageInfo
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java99 final String[] permissions = { android.Manifest.permission.UPDATE_DEVICE_STATS }; in createAppidWhitelist() local
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java203 Set<PosixFilePermission> permissions = Files.getPosixFilePermissions(adbKeys); in writeBytesToFile() local
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java221 ArrayList<String> permissions = in onBind() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java164 public final List<String> permissions = callerPermissions; field in DpmMockContext
241 List<String> permissions = binder.callingPermissions.get(binder.getCallingUid()); in enforceCallingOrSelfPermission() local
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1045 ArraySet<String> permissions = grantMap.get(packageName); in readPrivAppPermissions() local
1088 ArrayMap<String, Boolean> permissions = mOemPermissions.get(packageName); in readOemPermissions() local
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java315 static void adoptShellPermissionIdentity(String... permissions) { in adoptShellPermissionIdentity()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java749 private void adoptShellPermissions(String... permissions) { in adoptShellPermissions()

123