Home
last modified time | relevance | path

Searched refs:AppOpsService (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsRecentAccessPersistenceTest.java65 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/
DAppOpsRecentAccessPersistence.java54 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 …]
DAttributedOp.java45 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()
DAppOpsService.java76 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 …]
DAppOpsUidStateTrackerImpl.java68 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/
DAppErrorDialogTest.java34 import com.android.server.appop.AppOpsService;
76 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in setUp()
DCoreSettingsObserverTest.java41 import com.android.server.appop.AppOpsService;
182 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DAnrHelperTest.java42 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/
DAccessCheckDelegateHelper.java24 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/
DServiceTimeoutTest.java52 import com.android.server.appop.AppOpsService;
81 private AppOpsService mAppOpsService;
181 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DAsyncProcessStartTest.java54 import com.android.server.appop.AppOpsService;
87 private AppOpsService mAppOpsService;
163 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DProcessObserverTest.java53 import com.android.server.appop.AppOpsService;
86 private AppOpsService mAppOpsService;
167 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DBaseBroadcastQueueTest.java54 import com.android.server.appop.AppOpsService;
103 AppOpsService mAppOpsService;
211 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DAppChildProcessTest.java43 import com.android.server.appop.AppOpsService;
69 @Mock private AppOpsService mAppOpsService;
250 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DApplicationStartInfoTest.java47 import com.android.server.appop.AppOpsService;
87 @Mock private AppOpsService mAppOpsService;
588 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DServiceBindingOomAdjPolicyTest.java75 import com.android.server.appop.AppOpsService;
123 private AppOpsService mAppOpsService;
617 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DCacheOomRankerTest.java44 import com.android.server.appop.AppOpsService;
80 private AppOpsService mAppOpsService;
795 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DCachedAppOptimizerTest.java46 import com.android.server.appop.AppOpsService;
75 private AppOpsService mAppOpsService;
1036 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
DApplicationExitInfoTest.java64 import com.android.server.appop.AppOpsService;
101 @Mock private AppOpsService mAppOpsService;
1088 public AppOpsService getAppOpsService(File recentAccessesFile, File storageFile, in getAppOpsService()
/frameworks/base/services/
Dart-profile-boot1 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 …]
Dart-profile126 …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/
DIAppOpsService.h35 DECLARE_META_INTERFACE(AppOpsService)
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java112 private AppOpsService mAppOpsService;
119 mAppOpsService = new AppOpsService(mRecentAccessesFile, mStorageFile, mHandler, in setupAppOpsService()
DAppOpsLegacyRestrictionsTest.java51 AppOpsService.Constants mConstants;
/frameworks/native/libs/permission/
DIAppOpsService.cpp182 IMPLEMENT_META_INTERFACE(AppOpsService, "com.android.internal.app.IAppOpsService")

12