Home
last modified time | relevance | path

Searched refs:READ_SMS (Results 1 – 24 of 24) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImplTest.java25 import static android.Manifest.permission.READ_SMS;
495 .addVisibleToPermissions(ImmutableSet.of(SetSchemaRequest.READ_SMS)) in testSetSchema_visibleToPermissions()
500 mUiAutomation.adoptShellPermissionIdentity(READ_SMS); in testSetSchema_visibleToPermissions()
530 .addVisibleToPermissions(ImmutableSet.of(SetSchemaRequest.READ_SMS)) in testSetSchema_enterpriseNotVisibleToPermissions_withoutEnterpriseAccessPermission()
535 mUiAutomation.adoptShellPermissionIdentity(READ_SMS); in testSetSchema_enterpriseNotVisibleToPermissions_withoutEnterpriseAccessPermission()
558 ImmutableSet.of(SetSchemaRequest.READ_SMS, ENTERPRISE_ACCESS)) in testSetSchema_enterpriseVisibleToPermissions_withEnterpriseAccessPermission()
563 mUiAutomation.adoptShellPermissionIdentity(READ_SMS); in testSetSchema_enterpriseVisibleToPermissions_withEnterpriseAccessPermission()
712 ImmutableSet.of(SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testSetSchema_visibleToPermissions_anyCombinations()
719 mUiAutomation.adoptShellPermissionIdentity(READ_SMS, READ_CALENDAR); in testSetSchema_visibleToPermissions_anyCombinations()
733 mUiAutomation.adoptShellPermissionIdentity(READ_SMS); in testSetSchema_visibleToPermissions_anyCombinations()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImpl.java24 import static android.Manifest.permission.READ_SMS;
315 case SetSchemaRequest.READ_SMS: in doesCallerHoldsAllRequiredPermissions()
362 case SetSchemaRequest.READ_SMS: in doesCallerHavePermissionForDataDelivery()
363 permission = READ_SMS; in doesCallerHavePermissionForDataDelivery()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/
DAdminRestrictedPermissionsUtils.java69 if (um.isManagedProfile(userId) && Manifest.permission.READ_SMS.equals(permission)) { in mayAdminGrantPermission()
88 if (isManagedProfile && Manifest.permission.READ_SMS.equals(permission)) { in mayAdminGrantPermission()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV1Test.java108 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from1()
160 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from1()
DVisibilityStoreMigrationFromV2Test.java136 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from2()
194 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from2()
DVisibilityToDocumentConverterTest.java247 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testToVisibilityConfig()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionUpgradeTest.kt50 android.Manifest.permission.READ_SMS, in assertAllPermissionsGrantedByDefault()
132 android.Manifest.permission.READ_SMS, in assertAppHasAllOrNoPermissions()
DPermissionTest23.kt268 android.Manifest.permission.READ_SMS, in testNoResidualPermissionsOnUninstall()
395 android.Manifest.permission.READ_SMS, in assertAppHasAllOrNoPermissions()
DEnhancedConfirmationManagerTest.kt278 private const val GROUP_2_PERMISSION_2_RESTRICTED = Manifest.permission.READ_SMS
DBaseUsePermissionTest.kt258 android.Manifest.permission.READ_SMS to "@android:string/permgrouplab_sms", in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java226 return hasPermission(Manifest.permission.READ_SMS); in hasSmsPermission()
265 Manifest.permission.READ_SMS,
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRuntimePermissionProperties.kt44 import android.Manifest.permission.READ_SMS
134 READ_SMS, in runtimePermissionsShouldHaveBeenSplitFromPreviousPermission()
DRestrictedPermissionsTest.java21 import static android.Manifest.permission.READ_SMS;
399 () -> assertThat(isGranted(PKG_USES_SMS_RESTRICTED_SHARED_UID, READ_SMS)).isTrue()); in shareUidBetweenRestrictedAndNotRestrictedApp()
401 assertThat(isGranted(PKG_USES_SMS_NOT_RESTRICTED_SHARED_UID, READ_SMS)).isTrue(); in shareUidBetweenRestrictedAndNotRestrictedApp()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSetSchemaRequest.java101 READ_SMS,
117 public static final int READ_SMS = 1; field in SetSchemaRequest
447 permission, READ_SMS, MANAGED_PROFILE_CONTACTS_ACCESS, "permission"); in addRequiredPermissionsForSchemaTypeVisibility()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothMapClient.java653 android.Manifest.permission.READ_SMS,
718 android.Manifest.permission.READ_SMS,
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMapClientService.java590 Manifest.permission.READ_SMS, "Need READ_SMS permission"); in getUnreadMessages()
616 Manifest.permission.READ_SMS, "Need READ_SMS permission"); in setMessageStatus()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DProviderPermissionTest.java148 android.Manifest.permission.READ_SMS); in testReadSms()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java319 case Manifest.permission.READ_SMS: in isMutableGranularPermission()
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java122 PROTECTED_SETTINGS.add(Manifest.permission.READ_SMS);
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DPermissionMapping.kt87 PLATFORM_PERMISSIONS[Manifest.permission.READ_SMS] = Manifest.permission_group.SMS
DUtils.java746 || Manifest.permission.READ_SMS.equals(permission) in isPermissionIndividuallyControlled()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java27 import static android.Manifest.permission.READ_SMS;
3222 if (mContext.checkCallingOrSelfPermission(READ_SMS) == PackageManager.PERMISSION_GRANTED in canReadPhoneNumbers()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java26 import static android.Manifest.permission.READ_SMS;
2065 grantPermissionAndAppOp(READ_SMS, AppOpsManager.OPSTR_READ_SMS); in testGetLine1NumberWithReadSmsTargetR()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt662 field public static final int READ_SMS = 1; // 0x1