1 /* 2 * Copyright (C) 2021 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 android.app; 18 19 public class AppOpsManager { 20 noteOp(String op, int uid, String packageName)21 public int noteOp(String op, int uid, String packageName) { 22 throw new UnsupportedOperationException(); 23 } 24 noteOp(int op)25 public int noteOp(int op) { 26 throw new UnsupportedOperationException(); 27 } 28 noteOp(int op, int uid, String packageName)29 public int noteOp(int op, int uid, String packageName) { 30 throw new UnsupportedOperationException(); 31 } 32 noteOp(String op, int uid, String packageName, String attributionTag, String message)33 public int noteOp(String op, int uid, String packageName, 34 String attributionTag, String message) { 35 throw new UnsupportedOperationException(); 36 } 37 noteOp(int op, int uid, String packageName, String attributionTag, String message)38 public int noteOp(int op, int uid, String packageName, 39 String attributionTag, String message) { 40 throw new UnsupportedOperationException(); 41 } 42 noteOpNoThrow(String op, int uid, String packageName)43 public int noteOpNoThrow(String op, int uid, String packageName) { 44 throw new UnsupportedOperationException(); 45 } 46 noteOpNoThrow(int op, int uid, String packageName)47 public int noteOpNoThrow(int op, int uid, String packageName) { 48 throw new UnsupportedOperationException(); 49 } 50 startOp(int op)51 public int startOp(int op) { 52 throw new UnsupportedOperationException(); 53 } 54 startOp(int op, int uid, String packageName)55 public int startOp(int op, int uid, String packageName) { 56 throw new UnsupportedOperationException(); 57 } 58 startOp(int op, int uid, String packageName, boolean startIfModeDefault)59 public int startOp(int op, int uid, String packageName, boolean startIfModeDefault) { 60 throw new UnsupportedOperationException(); 61 } 62 startOp(String op, int uid, String packageName)63 public int startOp(String op, int uid, String packageName) { 64 throw new UnsupportedOperationException(); 65 } 66 startOpNoThrow(String op, int uid, String packageName)67 public int startOpNoThrow(String op, int uid, String packageName) { 68 throw new UnsupportedOperationException(); 69 } 70 startOpNoThrow(int op, int uid, String packageName)71 public int startOpNoThrow(int op, int uid, String packageName) { 72 throw new UnsupportedOperationException(); 73 } 74 startOpNoThrow(int op, int uid, String packageName, boolean startIfModeDefault)75 public int startOpNoThrow(int op, int uid, String packageName, boolean startIfModeDefault) { 76 throw new UnsupportedOperationException(); 77 } 78 noteProxyOp(String op, String proxiedPackageName)79 public int noteProxyOp(String op, String proxiedPackageName) { 80 throw new UnsupportedOperationException(); 81 } 82 noteProxyOp(int op, String proxiedPackageName)83 public int noteProxyOp(int op, String proxiedPackageName) { 84 throw new UnsupportedOperationException(); 85 } 86 noteProxyOpNoThrow(String op, String proxiedPackageName)87 public int noteProxyOpNoThrow(String op, String proxiedPackageName) { 88 throw new UnsupportedOperationException(); 89 } 90 noteProxyOpNoThrow(String op, String proxiedPackageName, int proxiedUid)91 public int noteProxyOpNoThrow(String op, String proxiedPackageName, 92 int proxiedUid) { 93 throw new UnsupportedOperationException(); 94 } 95 finishOp(int op)96 public void finishOp(int op) { 97 throw new UnsupportedOperationException(); 98 } 99 finishOp(String op, int uid, String packageName)100 public void finishOp(String op, int uid, String packageName) { 101 throw new UnsupportedOperationException(); 102 } 103 finishOp(int op, int uid, String packageName)104 public void finishOp(int op, int uid, String packageName) { 105 throw new UnsupportedOperationException(); 106 } 107 } 108