/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 11 import android.app.AppOpsManager.PackageOps; 78 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in setUp() 101 PackageOps androidSystemPackageOps = in testGetAppList_shouldNotShowAndroidOS() 110 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in testGetAppList_shouldNotShowAndroidOS() 137 private List<PackageOps> createTestPackageOpsList(String[] packageNameList, long[] time) { in createTestPackageOpsList() 138 List<PackageOps> packageOpsList = new ArrayList<>(); in createTestPackageOpsList() 140 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() 151 private PackageOps createPackageOps( in createPackageOps() 153 return new PackageOps( in createPackageOps()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccessesTest.java | 29 import android.app.AppOpsManager.PackageOps; 119 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in setUp() 196 PackageOps androidSystemPackageOps = in testGetAppList_shouldNotShowAndroidOS() 204 List<PackageOps> appOps = createTestPackageOpsList(TEST_PACKAGE_NAMES, testRequestTime); in testGetAppList_shouldNotShowAndroidOS() 231 private List<PackageOps> createTestPackageOpsList(String[] packageNameList, long[] time) { in createTestPackageOpsList() 232 List<PackageOps> packageOpsList = new ArrayList<>(); in createTestPackageOpsList() 234 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() 244 private PackageOps createPackageOps(String packageName, int uid, int op, long time) { in createPackageOps() 245 return new PackageOps( in createPackageOps()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 53 import android.app.AppOpsManager.PackageOps; 261 List<PackageOps> loggedOps = getLoggedOps(); in testNoteOperationAndGetOpsForPackage() 328 List<PackageOps> loggedOps = getLoggedOps(); in testStatePersistence() 344 List<PackageOps> loggedOps = getLoggedOps(); in testShutdown() 354 List<PackageOps> loggedOps = mAppOpsService.getOpsForPackage( in testGetOpsForPackage() 382 List<PackageOps> loggedOps = getLoggedOps(); in testPackageRemoved() 437 List<PackageOps> loggedOps = getLoggedOps(); in testUidRemoved() 449 List<PackageOps> ops = mAppOpsService.getOpsForPackage(mMyUid, sMyPackageName, in testUidStateInitializationDoesntClearState() 463 private List<PackageOps> getLoggedOps() { in getLoggedOps() 467 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, in assertContainsOp() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 85 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() 87 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() 108 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps() 165 …List<AppOpsManager.PackageOps> getPackagesForOpsForDevice(in int[] ops, String persistentDeviceId); in getPackagesForOpsForDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 197 AppOpsManager.PackageOps packageOps = createPackageOp( in startListening_fetchesCurrentActive_oneActive() 220 AppOpsManager.PackageOps packageOps1 = createPackageOp( in startListening_fetchesCurrentActive_multiplePackages() 225 AppOpsManager.PackageOps packageOps2 = createPackageOp( in startListening_fetchesCurrentActive_multiplePackages() 230 AppOpsManager.PackageOps packageOps3 = createPackageOp( in startListening_fetchesCurrentActive_multiplePackages() 259 AppOpsManager.PackageOps packageOps = mock(AppOpsManager.PackageOps.class); in startListening_fetchesCurrentActive_multipleEntries() 307 AppOpsManager.PackageOps packageOps = mock(AppOpsManager.PackageOps.class); in startListening_fetchesCurrentActive_multipleAttributes() 344 AppOpsManager.PackageOps packageOps1 = createPackageOp( in addCallback_existingCallbacksNotifiedOfCurrentActive() 349 AppOpsManager.PackageOps packageOps2 = createPackageOp( in addCallback_existingCallbacksNotifiedOfCurrentActive() 354 AppOpsManager.PackageOps packageOps3 = createPackageOp( in addCallback_existingCallbacksNotifiedOfCurrentActive() 1030 private AppOpsManager.PackageOps createPackageOp( in createPackageOp() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
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 | 3407 public static final class PackageOps implements Parcelable { class in AppOpsManager 3416 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps() method in AppOpsManager.PackageOps 3458 PackageOps(Parcel source) { in PackageOps() method in AppOpsManager.PackageOps 3468 public static final @android.annotation.NonNull Creator<PackageOps> CREATOR = 3469 new Creator<PackageOps>() { 3470 @Override public PackageOps createFromParcel(Parcel source) { 3471 return new PackageOps(source); 3474 @Override public PackageOps[] newArray(int size) { 3475 return new PackageOps[size]; 7819 public @NonNull List<AppOpsManager.PackageOps> getPackagesForOps(@Nullable String[] ops) { in getPackagesForOps() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccess.java | 122 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(mOps); in getAppList() 134 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() 227 AppOpsManager.PackageOps ops) { in getAccessFromOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsDeviceAwareServiceTest.java | 127 List<AppOpsManager.PackageOps> packagesOps = in noteProxyOpWithDeviceId() 132 AppOpsManager.PackageOps packageOps = in noteProxyOpWithDeviceId()
|
D | AppOpsActiveWatcherTest.java | 235 List<AppOpsManager.PackageOps> packages in isCameraOn() 241 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in isCameraOn()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 43 import android.app.AppOpsManager.PackageOps; 203 private Answer<List<PackageOps>> mGetPackagesForOps = 204 inv -> new ArrayList<PackageOps>(); 972 final List<PackageOps> ops = new ArrayList<>(); in loadPersistedAppOps() 985 ops.add(new PackageOps(PACKAGE_1, UID_1, entries)); in loadPersistedAppOps() 994 ops.add(new PackageOps(PACKAGE_2, UID_2, entries)); in loadPersistedAppOps() 1003 ops.add(new PackageOps(PACKAGE_1, UID_10_1, entries)); in loadPersistedAppOps() 1016 ops.add(new PackageOps(PACKAGE_3, UID_10_3, entries)); in loadPersistedAppOps()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1731 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() 1736 public List<AppOpsManager.PackageOps> getPackagesForOpsForDevice(int[] ops, in getPackagesForOpsForDevice() 1743 ArrayList<AppOpsManager.PackageOps> res = null; in getPackagesForOpsForDevice() 1766 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getPackagesForOpsForDevice() 1777 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in getOpsForPackage() 1795 ArrayList<AppOpsManager.PackageOps> res = new ArrayList<AppOpsManager.PackageOps>(); in getOpsForPackage() 1796 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getOpsForPackage() 1961 public List<AppOpsManager.PackageOps> getUidOps(int uid, int[] ops) { in getUidOps() 1973 ArrayList<AppOpsManager.PackageOps> res = new ArrayList<AppOpsManager.PackageOps>(); in getUidOps() 1974 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getUidOps() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 23 import android.app.AppOpsManager.PackageOps; 591 final List<PackageOps> ops = mAppOpsManager.getPackagesForOps( in refreshForcedAppStandbyUidPackagesLocked() 599 final AppOpsManager.PackageOps pkg = ops.get(i); in refreshForcedAppStandbyUidPackagesLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 231 List<AppOpsManager.PackageOps> packageOps = mAppOps.getPackagesForOps(OPS); in fetchCurrentActiveOps() 235 for (AppOpsManager.PackageOps op : packageOps) { in fetchCurrentActiveOps()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 486 List<AppOpsManager.PackageOps> ops; in getOpUsagesByDevice() 513 AppOpsManager.PackageOps pkgOps = ops.get(pkgOpNum); in getOpUsagesByDevice()
|
/frameworks/base/core/api/ |
D | system-removed.txt | 5 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag…
|
D | system-current.txt | 629 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackag… 630 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForO… 631 …ion.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getPackagesForO… 882 public static final class AppOpsManager.PackageOps implements android.os.Parcelable { 888 …ll public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 8601 final AppOpsManager.PackageOps vpnOp = new AppOpsManager.PackageOps(userVpnPackage, in setupVpnAuthorization()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1369 final List<AppOpsManager.PackageOps> allVpnOps = mInjector.getAppOpsManager() in clearUserConfiguredVpns() 1374 for (AppOpsManager.PackageOps pkgOps : allVpnOps) { in clearUserConfiguredVpns()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 1090 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/AppO… 1091 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 1092 HSPLandroid/app/AppOpsManager$PackageOps;-><init>(Landroid/os/Parcel;)V 1093 HSPLandroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List; 1094 HSPLandroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; 22728 Landroid/app/AppOpsManager$PackageOps$1; 22729 Landroid/app/AppOpsManager$PackageOps;
|
D | preloaded-classes | 354 android.app.AppOpsManager$PackageOps$1 355 android.app.AppOpsManager$PackageOps
|
/frameworks/base/config/ |
D | preloaded-classes | 354 android.app.AppOpsManager$PackageOps$1 355 android.app.AppOpsManager$PackageOps
|
D | boot-image-profile.txt | 1090 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/AppO… 1091 HSPLandroid/app/AppOpsManager$PackageOps$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 1092 HSPLandroid/app/AppOpsManager$PackageOps;-><init>(Landroid/os/Parcel;)V 1093 HSPLandroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List; 1094 HSPLandroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; 32858 Landroid/app/AppOpsManager$PackageOps$1; 32859 Landroid/app/AppOpsManager$PackageOps;
|
/frameworks/base/services/ |
D | art-profile | 1215 …anager$OpEventProxyInfo;]Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$PackageO…
|