/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 88 int uid, @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionManager() argument 90 packageName, attributionTag, in checkPermissionManager() 112 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteStorage() argument 114 packageName, attributionTag, in checkPermissionWriteStorage() 119 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadStorage() argument 121 packageName, attributionTag, in checkPermissionReadStorage() 130 int uid, @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionAccessMediaLocation() argument 132 attributionTag, generateAppOpMessage(packageName, sOpDescription.get())); in checkPermissionAccessMediaLocation() 140 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionManageMedia() argument 142 attributionTag, generateAppOpMessage(packageName, sOpDescription.get())); in checkPermissionManageMedia() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 76 private final @Nullable String attributionTag; field in LocalCallingIdentity 80 String packageNameUnchecked, @Nullable String attributionTag) { in LocalCallingIdentity() argument 86 this.attributionTag = attributionTag; in LocalCallingIdentity() 163 int uid, String packageName, @Nullable String attributionTag) { in fromExternal() argument 173 return new LocalCallingIdentity(context, -1, uid, user, packageName, attributionTag); in fromExternal() 322 return checkPermissionManager(context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal() 337 context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal() 341 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 344 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 347 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() [all …]
|
D | PermissionActivity.java | 411 @NonNull String packageName, @Nullable String attributionTag, @NonNull String verb) { in shouldShowActionDialog() argument 412 return shouldShowActionDialog(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 420 @NonNull String packageName, @Nullable String attributionTag, @NonNull String verb, in shouldShowActionDialog() argument 432 if (!checkPermissionManager(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog() 436 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 443 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 450 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 457 && !checkPermissionReadAudio(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 459 && !checkPermissionReadVideo(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 467 if (!checkPermissionReadStorage(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | OpUsageLiveData.kt | 63 for ((attributionTag, attributedOpEntry) in opEntry.attributedOpEntries) { in loadDataAndPostValue() constant 91 proxyAccess = OpAccess(proxy.packageName!!, proxy.attributionTag, in loadDataAndPostValue() 94 accessList.add(OpAccess(packageOp.packageName, attributionTag, in loadDataAndPostValue() 99 "${packageOp.packageName}/$attributionTag, access time of " + in loadDataAndPostValue() 105 "${packageOp.packageName}/$attributionTag, access time of " + in loadDataAndPostValue() 157 val attributionTag: String?, constant in com.android.permissioncontroller.permission.data.OpAccess 166 parcel.writeString(attributionTag) in writeToParcel() 170 parcel.writeString(proxyAccess?.attributionTag) in writeToParcel() 185 val attributionTag = parcel.readString() in createFromParcel() constant 196 return OpAccess(packageName, attributionTag, user, lastAccessTime, proxyAccess) in createFromParcel()
|
D | AttributionLabelLiveData.kt | 48 private val attributionTag: String?, constant in com.android.permissioncontroller.permission.data.AttributionLabelLiveData 59 if (attributionTag == null) { in loadDataAndPostValue() 111 if (parser.getAttributeValue(ANDROID_NS, TAG_ATTR) == attributionTag) { in loadDataAndPostValue() 171 operator fun get(attributionTag: String?, packageName: String, user: UserHandle): 173 get(Triple(attributionTag, packageName, user))
|
D | PermGroupUsageLiveData.kt | 75 val key = access.packageName to access.attributionTag in <lambda>()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/identity/ |
D | CallerIdentity.java | 42 @Nullable String attributionTag) { in fromBinder() argument 47 return fromBinderUnsafe(packageName, attributionTag); in fromBinder() 55 @Nullable String attributionTag) { in forTest() argument 56 return new CallerIdentity(uid, pid, packageName, attributionTag); in forTest() 66 @Nullable String attributionTag) { in fromBinderUnsafe() argument 68 packageName, attributionTag); in fromBinderUnsafe() 81 @Nullable String attributionTag) { in CallerIdentity() argument 85 this.mAttributionTag = attributionTag; in CallerIdentity()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/ |
D | NearbyService.java | 97 String packageName, @Nullable String attributionTag) { in registerScanListener() argument 100 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in registerScanListener() 111 @Nullable String attributionTag) { in unregisterScanListener() argument 114 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in unregisterScanListener() 122 IBroadcastListener listener, String packageName, @Nullable String attributionTag) { in startBroadcast() argument 126 mContext, CallerIdentity.fromBinder(mContext, packageName, attributionTag)); in startBroadcast() 134 @Nullable String attributionTag) { in stopBroadcast() argument 137 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in stopBroadcast()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | INearbyManager.aidl | 32 String packageName, @nullable String attributionTag); in registerScanListener() argument 34 …gisterScanListener(in IScanListener listener, String packageName, @nullable String attributionTag); in unregisterScanListener() argument 37 in IBroadcastListener callback, String packageName, @nullable String attributionTag); in startBroadcast() argument 39 …stopBroadcast(in IBroadcastListener callback, String packageName, @nullable String attributionTag); in stopBroadcast() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | ReviewOngoingUsageViewModel.kt | 89 val attributionTag: String?, in <lambda>() constant in PackageAttribution 205 Triple(it.attributionTag, it.packageName, it.user) } in <lambda>() 206 val toAddLabelLiveDatas = (usages.map { Triple(it.attributionTag, it.packageName, in <lambda>() 301 val labelResId = attributionLabelLiveDatas[Triple(access.attributionTag, in <lambda>() 546 return PackageAttribution(usage.attributionTag, usage.packageName, usage.user) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | AppPermissionUsage.java | 405 String attributionTag = attributedOp.getTag(); in getAttributionLabelledGroupUsages() local 424 labelDiscreteAccessMap.get(label).addAttributionTag(attributionTag); in getAttributionLabelledGroupUsages() 498 @NonNull Builder addAttributionTag(String attributionTag) { in addAttributionTag() argument 499 mAttributionTags.add(attributionTag); in addAttributionTag()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 455 public NotificationHistory getNotificationHistory(String pkg, String attributionTag) { in getNotificationHistory() argument 457 return sINM.getNotificationHistory(pkg, attributionTag); in getNotificationHistory()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v33/ |
D | SafetyCenterQsViewModel.kt | 187 intent.putExtra(Intent.EXTRA_ATTRIBUTION_TAGS, arrayOf(usage.attributionTag.toString())) in getStartViewPermissionUsageIntent()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 214 long messageId, String attributionTag) { 292 long messageId, String attributionTag) {
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 123 @Nullable String attributionTag) { in getAvailableChannels() argument 127 enforcePermission(uid, packageName, attributionTag, false, false, false); in getAvailableChannels() 251 private void enforcePermission(int uid, String packageName, @Nullable String attributionTag, in enforcePermission() argument 264 attributionTag, uid, shouldIgnoreLocationSettings, shouldHideFromApps); in enforcePermission()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 3629 String attributionTag = mContext.getAttributionTag(); in startScan() local 3630 return mService.startScan(packageName, attributionTag); in startScan()
|