/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAccessesTest.java | 11 import android.app.AppOpsManager.PackageOps; 77 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in setUp() 103 PackageOps androidSystemPackageOps = in testGetAppList_shouldNotShowAndroidOS() 111 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in testGetAppList_shouldNotShowAndroidOS() 138 private List<PackageOps> createTestPackageOpsList(String[] packageNameList, long[] time) { in createTestPackageOpsList() 139 List<PackageOps> packageOpsList = new ArrayList<>(); in createTestPackageOpsList() 141 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() 151 private PackageOps createPackageOps(String packageName, int uid, int op, long time) { in createPackageOps() 152 return new PackageOps( in createPackageOps()
|
D | RecentLocationAppsTest.java | 10 import android.app.AppOpsManager.PackageOps; 77 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in setUp() 100 PackageOps androidSystemPackageOps = in testGetAppList_shouldNotShowAndroidOS() 109 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in testGetAppList_shouldNotShowAndroidOS() 136 private List<PackageOps> createTestPackageOpsList(String[] packageNameList, long[] time) { in createTestPackageOpsList() 137 List<PackageOps> packageOpsList = new ArrayList<>(); in createTestPackageOpsList() 139 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() 150 private PackageOps createPackageOps( in createPackageOps() 152 return new PackageOps( in createPackageOps()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 46 import android.app.AppOpsManager.PackageOps; 178 List<PackageOps> loggedOps = getLoggedOps(); in testNoteOperationAndGetOpsForPackage() 227 List<PackageOps> loggedOps = getLoggedOps(); in testStatePersistence() 244 List<PackageOps> loggedOps = getLoggedOps(); in testShutdown() 254 List<PackageOps> loggedOps = mAppOpsService.getOpsForPackage( in testGetOpsForPackage() 282 List<PackageOps> loggedOps = getLoggedOps(); in testPackageRemoved() 334 List<PackageOps> loggedOps = getLoggedOps(); in testUidRemoved() 443 private List<PackageOps> getLoggedOps() { in getLoggedOps() 447 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, in assertContainsOp() 451 for (PackageOps pkgOps : loggedOps) { in assertContainsOp()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 52 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() 54 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() 64 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 88 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_OPS); in getAppList() 99 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() 160 AppOpsManager.PackageOps ops) { in getAccessFromOps()
|
D | RecentLocationApps.java | 81 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_REQUEST_OPS); in getAppList() 92 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() 167 AppOpsManager.PackageOps ops) { in getRequestFromOps()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.aidl | 19 parcelable AppOpsManager.PackageOps;
|
D | AppOpsManager.java | 2215 public static final class PackageOps implements Parcelable { class in AppOpsManager 2224 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps() method in AppOpsManager.PackageOps 2266 PackageOps(Parcel source) { in PackageOps() method in AppOpsManager.PackageOps 2276 …blic static final @android.annotation.NonNull Creator<PackageOps> CREATOR = new Creator<PackageOps… 2277 @Override public PackageOps createFromParcel(Parcel source) { 2278 return new PackageOps(source); 2281 @Override public PackageOps[] newArray(int size) { 2282 return new PackageOps[size]; 4387 public @NonNull List<AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[] ops) { in getPackagesForOps() 4393 final List<AppOpsManager.PackageOps> result = getPackagesForOps(opCodes); in getPackagesForOps() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 130 List<AppOpsManager.PackageOps> packages in isCameraOn() 136 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in isCameraOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 154 List<AppOpsManager.PackageOps> packages in areActiveHighPowerLocationRequests() 160 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in areActiveHighPowerLocationRequests()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 43 import android.app.AppOpsManager.PackageOps; 196 private Answer<List<PackageOps>> mGetPackagesForOps = 197 inv -> new ArrayList<PackageOps>(); 682 final List<PackageOps> ops = new ArrayList<>(); in loadPersistedAppOps() 693 ops.add(new PackageOps(PACKAGE_1, UID_1, entries)); in loadPersistedAppOps() 701 ops.add(new PackageOps(PACKAGE_2, UID_2, entries)); in loadPersistedAppOps() 709 ops.add(new PackageOps(PACKAGE_1, UID_10_1, entries)); in loadPersistedAppOps() 720 ops.add(new PackageOps(PACKAGE_3, UID_10_3, entries)); in loadPersistedAppOps()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1094 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() 1097 ArrayList<AppOpsManager.PackageOps> res = null; in getPackagesForOps() 1112 res = new ArrayList<AppOpsManager.PackageOps>(); in getPackagesForOps() 1114 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getPackagesForOps() 1125 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in getOpsForPackage() 1143 ArrayList<AppOpsManager.PackageOps> res = new ArrayList<AppOpsManager.PackageOps>(); in getOpsForPackage() 1144 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getOpsForPackage() 1210 public List<AppOpsManager.PackageOps> getUidOps(int uid, int[] ops) { in getUidOps() 1222 ArrayList<AppOpsManager.PackageOps> res = new ArrayList<AppOpsManager.PackageOps>(); in getUidOps() 1223 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getUidOps() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 22 import android.app.AppOpsManager.PackageOps; 518 final List<PackageOps> ops = mAppOpsManager.getPackagesForOps( in refreshForcedAppStandbyUidPackagesLocked() 526 final AppOpsManager.PackageOps pkg = ops.get(i); in refreshForcedAppStandbyUidPackagesLocked()
|
D | StorageManagerService.java | 1651 final List<AppOpsManager.PackageOps> pkgs = manager.getOpsForPackage(uid, packageName, ops); in getLastAccessTime() 1652 for (AppOpsManager.PackageOps pkg : CollectionUtils.emptyIfNull(pkgs)) { in getLastAccessTime()
|
/frameworks/base/non-updatable-api/ |
D | system-removed.txt | 13 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag…
|
D | system-current.txt | 333 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag… 334 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForO… 484 public static final class AppOpsManager.PackageOps implements android.os.Parcelable { 490 …ll public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR;
|
/frameworks/base/api/ |
D | system-removed.txt | 13 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag…
|
D | system-current.txt | 333 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag… 334 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForO… 484 public static final class AppOpsManager.PackageOps implements android.os.Parcelable { 490 …ll public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 939 HSPLandroid/app/AppOpsManager$PackageOps$1;-><init>()V 940 HSPLandroid/app/AppOpsManager$PackageOps;->writeToParcel(Landroid/os/Parcel;I)V 32227 Landroid/app/AppOpsManager$PackageOps$1; 32228 Landroid/app/AppOpsManager$PackageOps; 40821 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/AppO… 40822 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 40823 HSPLandroid/app/AppOpsManager$PackageOps;-><init>(Landroid/os/Parcel;)V
|
D | hiddenapi-greylist-max-o.txt | 3782 Landroid/app/AppOpsManager$PackageOps;-><init>(Landroid/os/Parcel;)V 3783 Landroid/app/AppOpsManager$PackageOps;->mEntries:Ljava/util/List; 3784 Landroid/app/AppOpsManager$PackageOps;->mPackageName:Ljava/lang/String; 3785 Landroid/app/AppOpsManager$PackageOps;->mUid:I
|