/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsRecentAccessPersistenceTest.java | 65 private AppOpsService mAppOpsService; 81 mAppOpsService = new AppOpsService(mRecentAccessFile, mRecentAccessFile, handler, mContext); in setUp() 92 SparseArray<AppOpsService.UidState> uidStates = new SparseArray<>(); in readAndWriteRecentAccesses() 106 SparseArray<AppOpsService.UidState> newUidStates = new SparseArray<>(); in readAndWriteRecentAccesses() 112 private void validateUidStates(SparseArray<AppOpsService.UidState> uidStates) { in validateUidStates() 115 AppOpsService.UidState uidState = uidStates.get(10001); in validateUidStates() 118 ArrayMap<String, AppOpsService.Ops> packageOps = uidState.pkgOps; in validateUidStates() 121 AppOpsService.Ops ops = packageOps.get("com.android.servicestests.apps.testapp"); in validateUidStates() 124 AppOpsService.Op op = ops.get(26); in validateUidStates()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsRecentAccessPersistence.java | 54 final AppOpsService mAppOpsService; 80 @NonNull AtomicFile recentAccessesFile, @NonNull AppOpsService appOpsService) { in AppOpsRecentAccessPersistence() 91 void readRecentAccesses(@NonNull SparseArray<AppOpsService.UidState> uidStates) { in readRecentAccesses() 156 TypedXmlPullParser parser, SparseArray<AppOpsService.UidState> uidStates) in readPackage() 179 SparseArray<AppOpsService.UidState> uidStates) in readUid() 182 final AppOpsService.UidState uidState = mAppOpsService.new UidState(uid); in readUid() 204 @NonNull AppOpsService.UidState uidState, @NonNull String pkgName) in readOp() 207 AppOpsService.Op op = mAppOpsService.new Op(uidState, pkgName, opCode, uidState.uid); in readOp() 226 AppOpsService.Ops ops = uidState.pkgOps.get(pkgName); in readOp() 228 ops = new AppOpsService.Ops(pkgName, uidState); in readOp() [all …]
|
D | AttributedOp.java | 45 private final @NonNull AppOpsService mAppOpsService; 48 public final @NonNull AppOpsService.Op parent; 86 AttributedOp(@NonNull AppOpsService appOpsService, @Nullable String tag, in AttributedOp() 87 @NonNull String persistentDeviceId, @NonNull AppOpsService.Op parent) { in AttributedOp() 242 PooledLambda.obtainRunnable(AppOpsService::onClientDeath, this, clientId), in startedOrPaused() 360 Slog.wtf(AppOpsService.TAG, "No ops running or paused"); in finishPossiblyPaused() 366 Slog.wtf(AppOpsService.TAG, "No op running or paused for the client"); in finishPossiblyPaused() 535 if (AppOpsService.DEBUG) { in onUidStateChanged() 536 Slog.e(AppOpsService.TAG, in onUidStateChanged() 590 Slog.w(AppOpsService.TAG, "Ignoring " + ignoredEvents.size() + " app-ops, running: " in add()
|
D | AppOpsService.java | 76 import static com.android.server.appop.AppOpsService.ModeCallback.ALL_OPS; 215 public class AppOpsService extends IAppOpsService.Stub { class 329 synchronized (AppOpsService.this) { 433 synchronized (AppOpsService.this) { in getUidStateTracker() 498 synchronized (AppOpsService.this) { in updateConstants() 658 attributedOp = new AttributedOp(AppOpsService.this, attributionTag, in getOrCreateAttribution() 965 public AppOpsService(File recentAccessesFile, File storageFile, Handler handler, in AppOpsService() method in AppOpsService 989 AppOpsService::notifyOpChangedForAllPkgsInUid, AppOpsService.this, in AppOpsService() 997 AppOpsService::notifyOpChangedForPkg, AppOpsService.this, in AppOpsService() 1044 synchronized (AppOpsService.this) { [all …]
|
D | AppOpsUidStateTrackerImpl.java | 68 private AppOpsService.Constants mConstants; 94 AppOpsService.Constants constants) { in AppOpsUidStateTrackerImpl() 111 DelayableExecutor executor, Clock clock, AppOpsService.Constants constants, in AppOpsUidStateTrackerImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | AppErrorDialogTest.java | 34 import com.android.server.appop.AppOpsService; 76 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in setUp()
|
D | CoreSettingsObserverTest.java | 41 import com.android.server.appop.AppOpsService; 182 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | AnrHelperTest.java | 42 import com.android.server.appop.AppOpsService; 88 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AccessCheckDelegateHelper.java | 24 import com.android.server.appop.AppOpsService; 37 private final AppOpsService mAppOpsService; 45 List<ActiveInstrumentation> activeInstrumentation, AppOpsService appOpsService, in AccessCheckDelegateHelper()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceTimeoutTest.java | 52 import com.android.server.appop.AppOpsService; 81 private AppOpsService mAppOpsService; 181 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | AsyncProcessStartTest.java | 54 import com.android.server.appop.AppOpsService; 87 private AppOpsService mAppOpsService; 163 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | ProcessObserverTest.java | 53 import com.android.server.appop.AppOpsService; 86 private AppOpsService mAppOpsService; 167 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | BaseBroadcastQueueTest.java | 54 import com.android.server.appop.AppOpsService; 103 AppOpsService mAppOpsService; 211 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | AppChildProcessTest.java | 43 import com.android.server.appop.AppOpsService; 69 @Mock private AppOpsService mAppOpsService; 250 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | ApplicationStartInfoTest.java | 47 import com.android.server.appop.AppOpsService; 87 @Mock private AppOpsService mAppOpsService; 588 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | ServiceBindingOomAdjPolicyTest.java | 75 import com.android.server.appop.AppOpsService; 123 private AppOpsService mAppOpsService; 617 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | CacheOomRankerTest.java | 44 import com.android.server.appop.AppOpsService; 80 private AppOpsService mAppOpsService; 795 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | CachedAppOptimizerTest.java | 46 import com.android.server.appop.AppOpsService; 75 private AppOpsService mAppOpsService; 1036 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
D | ApplicationExitInfoTest.java | 64 import com.android.server.appop.AppOpsService; 101 @Mock private AppOpsService mAppOpsService; 1088 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
|
/frameworks/base/services/ |
D | art-profile-boot | 1 Lcom/android/server/appop/AppOpsService;->readUidOps(Lorg/xmlpull/v1/XmlPullParser;)V 2 Lcom/android/server/appop/AppOpsService;->readOp(Lorg/xmlpull/v1/XmlPullParser;Lcom/android/server/… 3 Lcom/android/server/appop/AppOpsService$UidState;->evalForegroundOps(Landroid/util/SparseArray;)V 4 Lcom/android/server/appop/AppOpsService;->readUid(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)V 5 Lcom/android/server/appop/AppOpsService$Op;->updateProxyState(JILjava/lang/String;)V 6 Lcom/android/server/appop/AppOpsService$Op;->accessed(JILjava/lang/String;II)V 253 Lcom/android/server/appop/AppOpsService$Op;->access$100(Lcom/android/server/appop/AppOpsService$Op;… 280 Lcom/android/server/appop/AppOpsService;->evalAllForegroundOpsLocked()V 392 Lcom/android/server/appop/AppOpsService;->getUidStateLocked(IZ)Lcom/android/server/appop/AppOpsServ… 393 Lcom/android/server/appop/AppOpsService;->verifyIncomingUid(I)V [all …]
|
D | art-profile | 126 …l;]Lcom/android/internal/app/IAppOpsService;Lcom/android/server/appop/AppOpsService;]Lcom/android/… 289 …erver/am/ServiceRecord;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 335 …rver/am/UserController;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 403 …rver/am/UserController;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 452 …ActivityManagerService;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 456 …ce$IPackageManagerImpl;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 462 …am/BatteryStatsService;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 514 …r;]Lcom/android/internal/app/IAppOpsService;Lcom/android/server/appop/AppOpsService;]Lcom/android/… 801 …/ContentProviderHelper;]Lcom/android/server/appop/AppOpsService;Lcom/android/server/appop/AppOpsSe… 1146 HPLcom/android/server/appop/AppOpsService$$ExternalSyntheticLambda13;->accept(Ljava/lang/Object;Lja… [all …]
|
/frameworks/native/libs/permission/include/binder/ |
D | IAppOpsService.h | 35 DECLARE_META_INTERFACE(AppOpsService)
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 112 private AppOpsService mAppOpsService; 119 mAppOpsService = new AppOpsService(mRecentAccessesFile, mStorageFile, mHandler, in setupAppOpsService()
|
D | AppOpsLegacyRestrictionsTest.java | 51 AppOpsService.Constants mConstants;
|
/frameworks/native/libs/permission/ |
D | IAppOpsService.cpp | 182 IMPLEMENT_META_INTERFACE(AppOpsService, "com.android.internal.app.IAppOpsService")
|