/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | PropertyPermissionMapping.java | 193 private void map(String readPermission, String writePermission, Integer... propIds) { in map() argument 194 map(Permission.of(readPermission, writePermission), propIds); in map() 197 private void map(String readPermission, Integer... propIds) { in map() argument 198 map(Permission.of(readPermission), propIds); in map() 211 private Permission(String readPermission, String writePermission) { in Permission() argument 212 this.mReadPermission = readPermission; in Permission() 216 static Permission of(String readPermission, String writePermission) { in of() argument 217 return new Permission(readPermission, writePermission); in of() 220 static Permission of(String readPermission) { in of() argument 221 return new Permission(readPermission, readPermission); in of()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 351 String readPermission = propMgr.getReadPermission(cfg.getPropertyId()); in checkVendorPropertyPermission() local 354 assertThat(readPermission == null in checkVendorPropertyPermission() 355 || VENDOR_PERMISSIONS.contains(readPermission)).isTrue(); in checkVendorPropertyPermission() 359 assertThat(readPermission == null in checkVendorPropertyPermission() 360 || !VENDOR_PERMISSIONS.contains(readPermission)).isTrue(); in checkVendorPropertyPermission() 376 String readPermission = propMgr.getReadPermission(cfg.getPropertyId()); in checkSystemPropertyPermission() local 384 .that(readPermission).isNull(); in checkSystemPropertyPermission() 390 .that(readPermission).isNotNull(); in checkSystemPropertyPermission() 396 .that(readPermission).isNull(); in checkSystemPropertyPermission() 402 .that(readPermission).isNotNull(); in checkSystemPropertyPermission() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppFragmentTest.kt | 119 val readPermission = FitnessPermission(DISTANCE, READ) in <lambda>() constant 121 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 236 val readPermission = FitnessPermission(DISTANCE, READ) in <lambda>() constant 238 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 276 val readPermission = FitnessPermission(DISTANCE, READ) in <lambda>() constant 278 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 281 MutableLiveData(setOf(writePermission, readPermission)) in <lambda>() 309 val readPermission = FitnessPermission(DISTANCE, READ) in <lambda>() constant 311 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 336 val readPermission = FitnessPermission(DISTANCE, READ) in <lambda>() constant [all …]
|
/packages/services/Car/service/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigs.java | 308 PermissionCondition readPermission = propertyPermissions.getReadPermission(); in getVendorReadPermission() local 309 if (readPermission == null) { in getVendorReadPermission() 312 return readPermission; in getVendorReadPermission() 363 PermissionCondition readPermission = getReadPermission(halPropId); in isReadable() local 364 if (readPermission == null) { in isReadable() 368 return readPermission.isMet(context); in isReadable() 413 int readPermission = configArray[index++]; in customizeVendorPermission() local 416 readPermission, propId); in customizeVendorPermission() 523 PermissionCondition readPermission = null; in readPropertyObject() local 561 readPermission = parsePermissionCondition(reader); in readPropertyObject() [all …]
|
D | PropertyPermissionInfo.java | 83 private PropertyPermissions(@Nullable PermissionCondition readPermission, in PropertyPermissions() argument 85 mReadPermission = readPermission; in PropertyPermissions() 111 public Builder setReadPermission(PermissionCondition readPermission) { in setReadPermission() argument 112 mReadPermission = readPermission; in setReadPermission()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManageAppPermissionsFragmentTest.kt | 162 val readPermission = in <lambda>() constant 165 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 187 val readPermission = in <lambda>() constant 189 whenever(viewModel.appPermissions).then { MutableLiveData(listOf(readPermission)) } in <lambda>() 190 whenever(viewModel.grantedPermissions).then { MutableLiveData(setOf(readPermission)) } in <lambda>() 298 val readPermission = in <lambda>() constant 301 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 327 val readPermission = in <lambda>() constant 330 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>() 436 val readPermission = in <lambda>() constant [all …]
|
D | SettingsActivityTest.kt | 106 val readPermission = in <lambda>() constant 109 MutableLiveData(listOf(writePermission, readPermission)) in <lambda>()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigsUnitTest.java | 234 PermissionCondition readPermission = in testWritePermissionsExistInReadPermissionsForSystemProperty() local 236 if (readPermission == null) { in testWritePermissionsExistInReadPermissionsForSystemProperty() 247 if (readPermission.equals(writePermission)) { in testWritePermissionsExistInReadPermissionsForSystemProperty() 251 assertWithMessage("Read permission " + readPermission + " of property " in testWritePermissionsExistInReadPermissionsForSystemProperty() 254 .that(readPermission instanceof AnyOfPermissions).isTrue(); in testWritePermissionsExistInReadPermissionsForSystemProperty() 255 assertWithMessage("Read permission " + readPermission + " of property " in testWritePermissionsExistInReadPermissionsForSystemProperty() 258 .that(((AnyOfPermissions) readPermission) in testWritePermissionsExistInReadPermissionsForSystemProperty() 501 "readPermission": { in testParseJsonConfig_halPropIdDefaultEqualPropId() 535 "readPermission": { in testParseJsonConfig_dataFlags() 578 "readPermission": { in testParseJsonConfig_ignoreDeprecate() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/ |
D | ThemedIconUtils.java | 50 if (mProviderInfo != null && !TextUtils.isEmpty(mProviderInfo.readPermission)) { in ThemedIconUtils() 51 if (mContext.checkSelfPermission(mProviderInfo.readPermission) in ThemedIconUtils()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | PreviewUtils.kt | 69 if (!TextUtils.isEmpty(it.readPermission)) { in onPreviewRendered() 71 context.checkSelfPermission(it.readPermission) != in onPreviewRendered()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | PreIndexDataCollector.java | 355 final String readPermission = info.providerInfo.readPermission; in isWellKnownProvider() local 358 if (TextUtils.isEmpty(readPermission) || TextUtils.isEmpty(writePermission)) { in isWellKnownProvider() 362 if (!android.Manifest.permission.READ_SEARCH_INDEXABLES.equals(readPermission) || in isWellKnownProvider()
|
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/ |
D | VehiclePropertyIdsParser.java | 101 public PermissionType readPermission; field in VehiclePropertyIdsParser.PropertyConfig 117 .append("\n readPermission: ").append(readPermission) in toString() 166 config.readPermission = permission; in setPermission() 571 if (config.readPermission != null) { in main() 572 jsonProp.put("readPermission", config.readPermission.toJson()); in main()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | HealthPermissionsTest.java | 276 String readPermission = in testGetMedicalReadPermission_givenCategory_returnsPermission() local 278 assertThat(readPermission).isEqualTo(READ_MEDICAL_DATA_IMMUNIZATION); in testGetMedicalReadPermission_givenCategory_returnsPermission()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/ |
D | TrampolineActivityTest.kt | 138 val readPermission = in setup() constant 146 MutableLiveData(listOf(writePermission, readPermission)) in setup()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | InspectorProvider.java | 88 info.readPermission = android.Manifest.permission.MANAGE_DOCUMENTS; in attachInfo()
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/ |
D | LegacyMediaProvider.java | 67 if (!android.Manifest.permission.WRITE_MEDIA_STORAGE.equals(info.readPermission) in attachInfo()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
D | CloudProviderUtils.java | 145 if (!MANAGE_CLOUD_MEDIA_PROVIDERS_PERMISSION.equals(providerInfo.readPermission)) { in getAvailableCloudProvidersInternal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProviderTest.java | 66 info.readPermission = Manifest.permission.READ_SEARCH_INDEXABLES; in setUp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsCloudMediaViewModelTest.java | 366 providerInfo.readPermission = MANAGE_CLOUD_MEDIA_PROVIDERS_PERMISSION; in createProviderInfo()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PropertyHalService.java | 1137 PermissionCondition readPermission = in getReadPermission() local 1139 if (readPermission == null) { in getReadPermission() 1144 return readPermission.toString(); in getReadPermission()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersCache.java | 323 if (!android.Manifest.permission.MANAGE_DOCUMENTS.equals(provider.readPermission)
|