Home
last modified time | relevance | path

Searched refs:mPermissions (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/
DPermissionContextImpl.java31 private final Permissions mPermissions; field in PermissionContextImpl
38 mPermissions = permissions; in PermissionContextImpl()
64 mPermissions.clearPermissions(); in withPermission()
72 mPermissions.applyPermissions(); in withPermission()
123 mPermissions.clearPermissions(); in withoutPermission()
137 mPermissions.applyPermissions(); in withoutPermission()
149 mPermissions.clearPermissions(); in withAppOp()
157 mPermissions.applyPermissions(); in withAppOp()
206 mPermissions.clearPermissions(); in withoutAppOp()
214 mPermissions.applyPermissions(); in withoutAppOp()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAdoptShellPermissionsRule.java40 private final String[] mPermissions; field in AdoptShellPermissionsRule
53 mPermissions = permissions; in AdoptShellPermissionsRule()
62 if (mPermissions != null) { in apply()
63 mUiAutomation.adoptShellPermissionIdentity(mPermissions); in apply()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DXmlHandler.java48 private HashMap<String, PermissionList> mPermissions; field in XmlHandler
58 mPermissions = new HashMap<String, PermissionList>(); in XmlHandler()
74 return mPermissions; in getPermissions()
148 mPermissions.put(PERMISSION_TAG, mPermissionListBuilder.build()); in endElement()
151 mPermissions.put(ASSIGN_PERMISSION_TAG, mAssignPermissionsListBuilder.build()); in endElement()
154 mPermissions.put(LIBRARY_TAG, mLibraryListBuilder.build()); in endElement()
157 mPermissions.put(ALLOW_IN_POWER_SAVE_TAG, mAllowInPowerSaveListBuilder.build()); in endElement()
160 mPermissions.put( in endElement()
164 mPermissions.put(FEATURE_TAG, mFeatureListBuilder.build()); in endElement()
DXmlParser.java32 private HashMap<String, PermissionList> mPermissions; field in XmlParser
52 if (mPermissions == null) { in getPermissions()
55 return mPermissions; in getPermissions()
67 mPermissions = mHandler.getPermissions(); in parse()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DEnterprisePolicyWrapper.java29 private EnterprisePolicy.Permission[] mPermissions; field in EnterprisePolicyWrapper
38 this.mPermissions = permissions; in EnterprisePolicyWrapper()
52 return mPermissions; in permissions()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppDetails.java35 final Set<String> mPermissions = new HashSet<>(); field in TestAppDetails
75 + ", mPermissions=" + mPermissions in toString()
DTestAppQueryBuilder.java47 SetQueryHelper<TestAppQueryBuilder, String> mPermissions = field in TestAppQueryBuilder
152 return mPermissions; in wherePermissions()
274 && Queryable.isEmptyQuery(mPermissions) in isEmptyQuery()
322 if (!SetQueryHelper.matches(mPermissions, details.mPermissions)) { in matches()
385 mPermissions.describeQuery("permissions"), in describeQuery()
DTestApp.java223 return mDetails.mPermissions; in permissions()
DTestAppProvider.java137 details.mPermissions.add(app.getPermissions(i).getName()); in loadApk()