/aosp14/frameworks/base/services/companion/java/com/android/server/companion/ |
H A D | RolesUtils.java | 57 final String deviceProfile = associationInfo.getDeviceProfile(); in addRoleHolderForAssociation() local 58 if (deviceProfile == null) return; in addRoleHolderForAssociation() 66 roleManager.addRoleHolderAsUser(deviceProfile, packageName, in addRoleHolderForAssociation() 77 final String deviceProfile = associationInfo.getDeviceProfile(); in removeRoleHolderForAssociation() local 78 if (deviceProfile == null) return; in removeRoleHolderForAssociation() 86 Slog.i(TAG, "Removing CDM role holder, role=" + deviceProfile in removeRoleHolderForAssociation() 90 roleManager.removeRoleHolderAsUser(deviceProfile, packageName, in removeRoleHolderForAssociation() 95 + " from the list of " + deviceProfile + " holders."); in removeRoleHolderForAssociation()
|
H A D | AssociationRequestsProcessor.java | 274 @Nullable String deviceProfile, @Nullable AssociatedDevice associatedDevice, in createAssociation() argument 281 macAddress, displayName, deviceProfile, associatedDevice, selfManaged, in createAssociation() 285 if (deviceProfile != null) { in createAssociation() 290 addAssociationToStore(association, deviceProfile); in createAssociation() 295 + " to the list of " + deviceProfile + " holders."); in createAssociation() 326 @Nullable String deviceProfile) { in addAssociationToStore() argument 333 logCreateAssociation(deviceProfile); in addAssociationToStore() 375 final String deviceProfile = request.getDeviceProfile(); in willAddRoleHolder() local 376 if (deviceProfile == null) return false; in willAddRoleHolder() 379 () -> isRoleHolder(mContext, userId, packageName, deviceProfile)); in willAddRoleHolder()
|
H A D | PermissionsUtils.java | 87 @NonNull Context context, @Nullable String deviceProfile, int packageUid) { in enforceRequestDeviceProfilePermissions() argument 89 if (deviceProfile == null) return; in enforceRequestDeviceProfilePermissions() 91 if (!DEVICE_PROFILE_TO_PERMISSION.containsKey(deviceProfile)) { in enforceRequestDeviceProfilePermissions() 92 throw new IllegalArgumentException("Unsupported device profile: " + deviceProfile); in enforceRequestDeviceProfilePermissions() 95 final String permission = DEVICE_PROFILE_TO_PERMISSION.get(deviceProfile); in enforceRequestDeviceProfilePermissions() 99 + "with a device with " + deviceProfile + " profile."); in enforceRequestDeviceProfilePermissions()
|
H A D | CompanionDeviceManagerService.java | 978 @Nullable String deviceProfile, boolean isSelfManaged) { in createNewAssociation() argument 980 displayName, deviceProfile, /* associatedDevice */ null, isSelfManaged, in createNewAssociation() 1059 final String deviceProfile = association.getDeviceProfile(); in disassociateInternal() local 1076 logRemoveAssociation(deviceProfile); in disassociateInternal() 1118 final String deviceProfile = association.getDeviceProfile(); in maybeRemoveRoleHolderForAssociation() local 1119 if (deviceProfile == null) { in maybeRemoveRoleHolderForAssociation() 1124 if (deviceProfile.equals(DEVICE_PROFILE_AUTOMOTIVE_PROJECTION)) { in maybeRemoveRoleHolderForAssociation() 1135 it -> deviceProfile.equals(it.getDeviceProfile()) && id != it.getId()); in maybeRemoveRoleHolderForAssociation()
|
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | CompanionDeviceActivity.java | 459 final String deviceProfile = mRequest.getDeviceProfile(); in initUiForSelfManagedAssociation() local 486 setupPermissionList(deviceProfile); in initUiForSelfManagedAssociation() 503 final String deviceProfile = mRequest.getDeviceProfile(); in initUiForSingleDevice() local 505 if (!SUPPORTED_PROFILES.contains(deviceProfile)) { in initUiForSingleDevice() 522 String deviceProfile, CharSequence appLabel) { in updateSingleDeviceUi() argument 542 final String deviceProfile = mRequest.getDeviceProfile(); in initUiForMultipleDevices() local 544 if (!SUPPORTED_PROFILES.contains(deviceProfile)) { in initUiForMultipleDevices() 550 if (deviceProfile == null) { in initUiForMultipleDevices() 629 } else if (deviceProfile == null) { in updatePermissionUi() 635 setupPermissionList(deviceProfile); in updatePermissionUi() [all …]
|
H A D | CompanionVendorHelperDialogFragment.java | 105 final String deviceProfile = request.getDeviceProfile(); in onViewCreated() local 128 switch (deviceProfile) { in onViewCreated() 149 throw new RuntimeException("Unsupported profile " + deviceProfile); in onViewCreated()
|
/aosp14/frameworks/base/core/java/android/companion/ |
H A D | AssociationRequest.java | 258 @Nullable @DeviceProfile String deviceProfile, in AssociationRequest() argument 264 mDeviceProfile = deviceProfile; in AssociationRequest() 405 public Builder setDeviceProfile(@NonNull @DeviceProfile String deviceProfile) { in setDeviceProfile() argument 407 mDeviceProfile = deviceProfile; in setDeviceProfile() 628 String deviceProfile = (flg & 0x10) == 0 ? null : in.readString(); in AssociationRequest() local 641 this.mDeviceProfile = deviceProfile; in AssociationRequest()
|
H A D | AssociationInfo.java | 82 @Nullable String deviceProfile, @Nullable AssociatedDevice associatedDevice, in AssociationInfo() argument 100 mDeviceProfile = deviceProfile; in AssociationInfo()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |