Home
last modified time | relevance | path

Searched refs:mMyUid (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appops/
DAppOpsServiceTest.java61 private int mMyUid; field in AppOpsServiceTest
77 mMyUid = Process.myUid(); in setUp()
91 mAppOpsService.setMode(OP_READ_SMS, mMyUid, mMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
92 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage()
95 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, mMyPackageName); in testNoteOperationAndGetOpsForPackage()
100 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, mMyPackageName); in testNoteOperationAndGetOpsForPackage()
109 mAppOpsService.setMode(OP_READ_SMS, mMyUid, mMyPackageName, MODE_ALLOWED); in testStatePersistence()
110 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); in testStatePersistence()
111 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, mMyPackageName); in testStatePersistence()
112 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, mMyPackageName); in testStatePersistence()
[all …]
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DCompatPermissionManager.java48 private final int mMyUid; field in CompatPermissionManager
55 mMyUid = myUid; in CompatPermissionManager()
64 if (uid == mMyUid) { in checkSlicePermission()
/frameworks/base/core/java/android/content/
DContentProvider.java109 private int mMyUid; field in ContentProvider
563 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceReadPermissionInner()
610 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
645 if (UserHandle.isSameApp(uid, mMyUid)) { in enforceWritePermissionInner()
1908 mMyUid = Process.myUid(); in attachInfo()