Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DRevokedHealthPermissionRule.java28 private final String mPermission; field in RevokedHealthPermissionRule
33 this.mPermission = permission; in RevokedHealthPermissionRule()
41 mIsPermissionGranted = grantedPermissions.contains(mPermission); in before()
46 .revokeRuntimePermission(mPackageName, mPermission); in before()
55 .grantRuntimePermission(mPackageName, mPermission); in after()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRequiredComponent.java70 private final String mPermission; field in RequiredComponent
91 mPermission = permission; in RequiredComponent()
135 return mPermission; in getPermission()
210 if (mPermission != null) { in getQualifyingComponentsAsUserInternal()
212 if (!Objects.equals(componentPermission, mPermission)) { in getQualifyingComponentsAsUserInternal()
305 + ", mPermission='" + mPermission + '\'' in toString()
323 && Objects.equals(mPermission, that.mPermission) in equals()
330 return Objects.hash(mIntentFilterData, mMinTargetSdkVersion, mFlags, mPermission, in hashCode()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java55 private final String mPermission; field in AppStateAppOpsBridge
79 mPermission = permission; in AppStateAppOpsBridge()
120 + mPermission, e); in getPackageToStateMapsByProfileId()
130 if (requestedPermissions[i].equals(mPermission) && in getPermissionState()
143 mIPackageManager.getPackagesHoldingPermissions(new String[]{mPermission}, in getPackageInfos()
148 String[] appOpPkgs = mIPackageManager.getAppOpPermissionPackages(mPermission, profileId); in getPackageInfos()
171 || !ArrayUtils.contains(packageInfo.requestedPermissions, mPermission); in shouldIgnorePackage()
195 + mPermission + " access"); in loadAppOpModes()
DAppOpsPreferenceController.java93 private String mPermission; field in AppOpsPreferenceController
134 mPermission = permission; in init()
154 if (mPermission == null) { in checkInitialized()
165 mPermission); in onCreateInternal()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DServiceListing.java49 private final String mPermission; field in ServiceListing
67 mPermission = permission; in ServiceListing()
147 if (!mPermission.equals(info.permission)) { in reload()
151 + mPermission); in reload()
200 private String mPermission; field in ServiceListing.Builder
225 mPermission = permission; in setPermission()
248 return new ServiceListing(mContext, mTag, mSetting, mIntentAction, mPermission, mNoun, in build()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DDiscoveringPackage.java24 private @Nullable String mPermission; field in DiscoveringPackage
32 mPermission = permission; in DiscoveringPackage()
41 return mPermission; in getPermission()
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyPermissionInfo.java345 private final String mPermission; field in PropertyPermissionInfo.SinglePermission
348 mPermission = permission; in SinglePermission()
358 return context.checkCallingOrSelfPermission(mPermission) in isMet()
364 return mPermission; in toString()
376 return mPermission.equals(((SinglePermission) object).mPermission); in equals()
381 return mPermission.hashCode() + "single".hashCode(); in hashCode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java145 private int mPermission = BluetoothDevice.ACCESS_UNKNOWN; field in BluetoothMapService
182 mPermission = BluetoothDevice.ACCESS_UNKNOWN; in closeService()
334 mPermission = BluetoothDevice.ACCESS_UNKNOWN; in stopObexServerSessions()
491 Log.d(TAG, "mPermission = " + mPermission); in onConnectHandler()
492 if (mPermission == BluetoothDevice.ACCESS_ALLOWED) { in onConnectHandler()
939 mPermission = sRemoteDevice.getMessageAccessPermission(); in onConnect()
940 if (mPermission == BluetoothDevice.ACCESS_UNKNOWN) { in onConnect()
944 } else if (mPermission == BluetoothDevice.ACCESS_REJECTED) { in onConnect()
946 } else if (mPermission == BluetoothDevice.ACCESS_ALLOWED) { in onConnect()
991 } else if (mPermission == BluetoothDevice.ACCESS_ALLOWED) { in onConnect()
[all …]
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java268 private String mPermission; field in ManagedServiceSettings.Config.Builder
296 mPermission = permission; in setPermission()
321 return new Config(mTag, mSetting, mIntentAction, mConfigIntentAction, mPermission, in build()