1 /** 2 * Copyright (c) 2023, The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.devicelockcontroller.storage; 18 19 /** 20 * Binder interface to access global parameters. 21 * {@hide} 22 */ 23 interface IGlobalParametersService { clear()24 void clear(); getLockTaskAllowlist()25 List<String> getLockTaskAllowlist(); setLockTaskAllowlist(in List<String> allowlist)26 void setLockTaskAllowlist(in List<String> allowlist); needCheckIn()27 boolean needCheckIn(); setNeedCheckIn(boolean needCheckIn)28 void setNeedCheckIn(boolean needCheckIn); getRegisteredDeviceId()29 String getRegisteredDeviceId(); setRegisteredDeviceId(String registeredDeviceId)30 void setRegisteredDeviceId(String registeredDeviceId); isProvisionForced()31 boolean isProvisionForced(); setProvisionForced(boolean isForced)32 void setProvisionForced(boolean isForced); getEnrollmentToken()33 String getEnrollmentToken(); setEnrollmentToken(String token)34 void setEnrollmentToken(String token); getKioskSignature()35 String getKioskSignature(); setKioskSignature(String signature)36 void setKioskSignature(String signature); getLastReceivedProvisionState()37 int getLastReceivedProvisionState(); setLastReceivedProvisionState(int provisionState)38 void setLastReceivedProvisionState(int provisionState); 39 }