Searched refs:setAppOps (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 291 private void setAppOps(int uid, String packageName, boolean restrict) throws RemoteException { in setAppOps() method in AppStateTrackerTest 408 setAppOps(UID_1, PACKAGE_1, true); in testAll() 409 setAppOps(UID_10_2, PACKAGE_2, true); in testAll() 435 setAppOps(UID_1, PACKAGE_1, false); in testAll() 436 setAppOps(UID_10_2, PACKAGE_2, false); in testAll() 673 setAppOps(UID_1, PACKAGE_1, true); in testExempt() 816 setAppOps(UID_10_2, PACKAGE_2, true); in testAllListeners() 828 setAppOps(UID_10_2, PACKAGE_2, false); in testAllListeners() 840 setAppOps(UID_10_2, PACKAGE_2, false); in testAllListeners() 855 setAppOps(UID_10_2, PACKAGE_2, true); in testAllListeners() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 1164 public final void setAppOps(int readOp, int writeOp) { in setAppOps() method in ContentProvider
|