/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | RolesUtils.java | 65 final String deviceProfile = associationInfo.getDeviceProfile(); in addRoleHolderForAssociation() local 66 if (deviceProfile == null) { in addRoleHolderForAssociation() 78 roleManager.addRoleHolderAsUser(deviceProfile, packageName, in addRoleHolderForAssociation() 87 @NonNull Context context, int userId, String packageName, String deviceProfile) { in removeRoleHolderForAssociation() argument 88 if (deviceProfile == null) return; in removeRoleHolderForAssociation() 94 Slog.i(TAG, "Removing CDM role=" + deviceProfile in removeRoleHolderForAssociation() 98 roleManager.removeRoleHolderAsUser(deviceProfile, packageName, in removeRoleHolderForAssociation() 103 + packageName + " from the list of " + deviceProfile in removeRoleHolderForAssociation()
|
D | PermissionsUtils.java | 98 @NonNull Context context, @Nullable String deviceProfile, int packageUid) { in enforcePermissionForRequestingProfile() argument 100 if (deviceProfile == null) return; in enforcePermissionForRequestingProfile() 102 if (!DEVICE_PROFILE_TO_PERMISSION.containsKey(deviceProfile)) { in enforcePermissionForRequestingProfile() 103 throw new IllegalArgumentException("Unsupported device profile: " + deviceProfile); in enforcePermissionForRequestingProfile() 106 final String permission = DEVICE_PROFILE_TO_PERMISSION.get(deviceProfile); in enforcePermissionForRequestingProfile() 110 + "with a device with " + deviceProfile + " profile."); in enforcePermissionForRequestingProfile()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionAssociationActivity.java | 428 final String deviceProfile = mRequest.getDeviceProfile(); in initUiForSelfManagedAssociation() local 435 if (!SUPPORTED_SELF_MANAGED_PROFILES.contains(deviceProfile)) { in initUiForSelfManagedAssociation() 436 throw new RuntimeException("Unsupported profile " + deviceProfile); in initUiForSelfManagedAssociation() 454 title = getHtmlFromResources(this, PROFILE_TITLES.get(deviceProfile), deviceName); in initUiForSelfManagedAssociation() 456 if (PROFILE_SUMMARIES.containsKey(deviceProfile)) { in initUiForSelfManagedAssociation() 457 final int summaryResourceId = PROFILE_SUMMARIES.get(deviceProfile); in initUiForSelfManagedAssociation() 465 setupPermissionList(deviceProfile); in initUiForSelfManagedAssociation() 480 final String deviceProfile = mRequest.getDeviceProfile(); in initUiForSingleDevice() local 482 if (!SUPPORTED_PROFILES.contains(deviceProfile)) { in initUiForSingleDevice() 483 throw new RuntimeException("Unsupported profile " + deviceProfile); in initUiForSingleDevice() [all …]
|
D | CompanionVendorHelperDialogFragment.java | 106 final String deviceProfile = request.getDeviceProfile(); in onViewCreated() local 129 switch (deviceProfile) { in onViewCreated() 152 throw new RuntimeException("Unsupported profile " + deviceProfile); in onViewCreated()
|
/frameworks/base/services/companion/java/com/android/server/companion/association/ |
D | DisassociationProcessor.java | 103 final String deviceProfile = association.getDeviceProfile(); in disassociate() local 105 final boolean isRoleInUseByOtherAssociations = deviceProfile != null in disassociate() 107 it -> deviceProfile.equals(it.getDeviceProfile()) && id != it.getId()); in disassociate() 110 if (packageProcessImportance <= IMPORTANCE_VISIBLE && deviceProfile != null in disassociate() 133 if (!isRoleInUseByOtherAssociations && deviceProfile != null && !deviceProfile.equals( in disassociate()
|
D | AssociationRequestsProcessor.java | 284 @Nullable String deviceProfile, @Nullable AssociatedDevice associatedDevice, in createAssociation() argument 291 /* tag */ null, macAddress, displayName, deviceProfile, associatedDevice, in createAssociation() 397 final String deviceProfile = request.getDeviceProfile(); in willAddRoleHolder() local 398 if (deviceProfile == null) return false; in willAddRoleHolder() 401 () -> isRoleHolder(mContext, userId, packageName, deviceProfile)); in willAddRoleHolder()
|
/frameworks/base/core/java/android/companion/ |
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()
|
D | AssociationInfo.java | 95 @Nullable CharSequence displayName, @Nullable String deviceProfile, in AssociationInfo() argument 113 mDeviceProfile = deviceProfile; in AssociationInfo() 543 public Builder setDeviceProfile(@Nullable String deviceProfile) { in setDeviceProfile() argument 544 mDeviceProfile = deviceProfile; in setDeviceProfile()
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | DevicePresenceProcessor.java | 850 final String deviceProfile = association.getDeviceProfile(); in notifySelfManagedDevicePresenceEvent() local 851 if (DEVICE_PROFILE_AUTOMOTIVE_PROJECTION.equals(deviceProfile)) { in notifySelfManagedDevicePresenceEvent() 852 Slog.i(TAG, "Enable hint mode for device device profile: " + deviceProfile); in notifySelfManagedDevicePresenceEvent() 869 final String deviceProfile = association.getDeviceProfile(); in onBinderDied() local 870 if (DEVICE_PROFILE_AUTOMOTIVE_PROJECTION.equals(deviceProfile)) { in onBinderDied() 871 Slog.i(TAG, "Disable hint mode for device profile: " + deviceProfile); in onBinderDied()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceShellCommand.java | 105 String deviceProfile = getNextArg(); in onCommand() local 108 deviceProfile, deviceProfile, /* associatedDevice */ null, false, in onCommand()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 2033 private AssociationInfo createAssociationInfo(int associationId, String deviceProfile) { in createAssociationInfo() argument 2035 associationId, deviceProfile, /* displayName= */ deviceProfile); in createAssociationInfo() 2038 private AssociationInfo createAssociationInfo(int associationId, String deviceProfile, in createAssociationInfo() argument 2041 /* tag= */ null, MacAddress.BROADCAST_ADDRESS, displayName, deviceProfile, in createAssociationInfo()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 14940 @AssociationRequest.DeviceProfile String deviceProfile, boolean canSetGlobalPolicy) 14952 .setDeviceProfile(deviceProfile) 15054 @AssociationRequest.DeviceProfile String deviceProfile, boolean canSetGlobalPolicy) 15066 .setDeviceProfile(deviceProfile)
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |