/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImplTest.java | 25 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/ |
D | VisibilityCheckerImpl.java | 24 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/ |
D | AdminRestrictedPermissionsUtils.java | 69 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/ |
D | VisibilityStoreMigrationHelperFromV1Test.java | 108 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from1() 160 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from1()
|
D | VisibilityStoreMigrationFromV2Test.java | 136 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from2() 194 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from2()
|
D | VisibilityToDocumentConverterTest.java | 247 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testToVisibilityConfig()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | PermissionUpgradeTest.kt | 50 android.Manifest.permission.READ_SMS, in assertAllPermissionsGrantedByDefault() 132 android.Manifest.permission.READ_SMS, in assertAppHasAllOrNoPermissions()
|
D | PermissionTest23.kt | 268 android.Manifest.permission.READ_SMS, in testNoResidualPermissionsOnUninstall() 395 android.Manifest.permission.READ_SMS, in assertAppHasAllOrNoPermissions()
|
D | EnhancedConfirmationManagerTest.kt | 278 private const val GROUP_2_PERMISSION_2_RESTRICTED = Manifest.permission.READ_SMS
|
D | BaseUsePermissionTest.kt | 258 android.Manifest.permission.READ_SMS to "@android:string/permgrouplab_sms", in <lambda>()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 226 return hasPermission(Manifest.permission.READ_SMS); in hasSmsPermission() 265 Manifest.permission.READ_SMS,
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | RuntimePermissionProperties.kt | 44 import android.Manifest.permission.READ_SMS 134 READ_SMS, in runtimePermissionsShouldHaveBeenSplitFromPreviousPermission()
|
D | RestrictedPermissionsTest.java | 21 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/ |
D | SetSchemaRequest.java | 101 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/ |
D | BluetoothMapClient.java | 653 android.Manifest.permission.READ_SMS, 718 android.Manifest.permission.READ_SMS,
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 590 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/ |
D | ProviderPermissionTest.java | 148 android.Manifest.permission.READ_SMS); in testReadSms()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 319 case Manifest.permission.READ_SMS: in isMutableGranularPermission()
|
/packages/modules/Permission/service/java/com/android/ecm/ |
D | EnhancedConfirmationService.java | 122 PROTECTED_SETTINGS.add(Manifest.permission.READ_SMS);
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | PermissionMapping.kt | 87 PLATFORM_PERMISSIONS[Manifest.permission.READ_SMS] = Manifest.permission_group.SMS
|
D | Utils.java | 746 || Manifest.permission.READ_SMS.equals(permission) in isPermissionIndividuallyControlled()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 27 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/ |
D | TelecomServiceImplTest.java | 26 import static android.Manifest.permission.READ_SMS; 2065 grantPermissionAndAppOp(READ_SMS, AppOpsManager.OPSTR_READ_SMS); in testGetLine1NumberWithReadSmsTargetR()
|
/packages/modules/AppSearch/framework/api/ |
D | current.txt | 662 field public static final int READ_SMS = 1; // 0x1
|