18662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate/* 28662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * Copyright (C) 2012 The Android Open Source Project 38662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * 48662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * Licensed under the Apache License, Version 2.0 (the "License"); 58662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * you may not use this file except in compliance with the License. 68662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * You may obtain a copy of the License at 78662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * 88662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * http://www.apache.org/licenses/LICENSE-2.0 98662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * 108662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * Unless required by applicable law or agreed to in writing, software 118662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * distributed under the License is distributed on an "AS IS" BASIS, 128662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 138662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * See the License for the specific language governing permissions and 148662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * limitations under the License. 158662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate */ 168662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate 178662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tatepackage android.os; 188662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate 198662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate/** 208662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * Direct interface to the UpdateLockService's functionality 218662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * 228662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate * {@hide} 238662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate */ 248662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tateinterface IUpdateLock { 258662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate void acquireUpdateLock(IBinder token, String tag); 268662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate void releaseUpdateLock(IBinder token); 278662cab5c6a01ea5c426512e6f6d2cf3e158aea0Christopher Tate} 28