Lines Matching defs:permission
24 * The DRM permission of play.
29 * The DRM permission of display.
34 * The DRM permission of execute.
39 * The DRM permission of print.
66 * Get the constraint of the given permission on this rights object.
68 * @param permission the given permission.
72 public DrmConstraintInfo getConstraint(int permission) {
76 int res = nativeGetConstraintInfo(permission, c);
85 * Consume the rights of the given permission.
87 * @param permission the given permission.
92 public boolean consumeRights(int permission) {
94 int res = nativeConsumeRights(permission);
104 * native method: get the constraint information of the given permission.
106 * @param permission the given permission.
112 private native int nativeGetConstraintInfo(int permission, DrmConstraintInfo constraint);
115 * native method: consume the rights of the given permission.
117 * @param permission the given permission.
122 private native int nativeConsumeRights(int permission);