Lines Matching defs:allowed
47 * Sets whether the carrier has allowed this device to be OEM unlocked.
55 * @param allowed Whether the device should be allowed to be unlocked.
63 public void setOemUnlockAllowedByCarrier(boolean allowed, @Nullable byte[] signature) {
65 mService.setOemUnlockAllowedByCarrier(allowed, signature);
72 * Returns whether the carrier has allowed this device to be OEM unlocked.
73 * @return Whether OEM unlock is allowed by the carrier, or true if no OEM lock is present.
87 * Sets whether the user has allowed this device to be unlocked.
91 * @param allowed Whether the device should be allowed to be unlocked.
92 * @throws SecurityException if the user is not allowed to unlock the device.
97 public void setOemUnlockAllowedByUser(boolean allowed) {
99 mService.setOemUnlockAllowedByUser(allowed);
106 * Returns whether, or not, the user has allowed this device to be OEM unlocked.
107 * @return Whether OEM unlock is allowed by the user, or true if no OEM lock is present.