1// Copyright (C) 2021 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// TODO(b/176993670): hacky DevicePolicyManager implementation that uses ordered broadcasts and a 16// Mockito spy to implement the IPC between users (so tests running on current user can call the 17// device owner running on system user), but before S is shipped it should be replaced by using the 18// connected apps SDK or the new CTS infrastructure. 19package { 20 default_applicable_licenses: ["Android-Apache-2.0"], 21} 22 23java_library { 24 name: "DpmWrapper", 25 platform_apis: true, 26 srcs: [ 27 "src/main/java/**/*.java", 28 ], 29 static_libs: [ 30 "androidx.localbroadcastmanager_localbroadcastmanager", 31 "mockito-target-minus-junit4", 32 "compatibility-device-util-axt", 33 ], 34} 35