/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 103 int uid, @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionManager() argument 105 packageName, attributionTag, in checkPermissionManager() 127 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteStorage() argument 129 packageName, attributionTag, in checkPermissionWriteStorage() 134 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadStorage() argument 136 packageName, attributionTag, in checkPermissionReadStorage() 145 int uid, @NonNull String packageName, @Nullable String attributionTag, in checkPermissionAccessMediaLocation() argument 148 attributionTag, generateAppOpMessage(packageName, sOpDescription.get())) in checkPermissionAccessMediaLocation() 150 attributionTag, isTargetSdkAtLeastT); in checkPermissionAccessMediaLocation() 158 int uid, @NonNull String packageName, @Nullable String attributionTag, in checkPermissionAccessMediaCompatGrant() argument [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 80 private final @Nullable String attributionTag; field in LocalCallingIdentity 87 String packageNameUnchecked, @Nullable String attributionTag) { in LocalCallingIdentity() argument 93 this.attributionTag = attributionTag; in LocalCallingIdentity() 171 int uid, String packageName, @Nullable String attributionTag) { in fromExternal() argument 181 return new LocalCallingIdentity(context, -1, uid, user, packageName, attributionTag); in fromExternal() 377 return checkPermissionManager(context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal() 392 context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal() 396 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 399 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 402 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() [all …]
|
D | PermissionActivity.java | 410 @NonNull String packageName, @Nullable String attributionTag, @NonNull String verb) { in shouldShowActionDialog() argument 411 return shouldShowActionDialog(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 419 @NonNull String packageName, @Nullable String attributionTag, @NonNull String verb, in shouldShowActionDialog() argument 431 if (!checkPermissionManager(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog() 435 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 442 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 449 packageName, attributionTag, isTargetSdkAtLeastT)) { in shouldShowActionDialog() 456 && !checkPermissionReadAudio(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 458 && !checkPermissionReadVideo(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog() 466 if (!checkPermissionReadStorage(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | OpUsageLiveData.kt | 64 for ((attributionTag, attributedOpEntry) in opEntry.attributedOpEntries) { in loadDataAndPostValue() constant 92 proxyAccess = OpAccess(proxy.packageName!!, proxy.attributionTag, in loadDataAndPostValue() 95 accessList.add(OpAccess(packageOp.packageName, attributionTag, in loadDataAndPostValue() 100 "${packageOp.packageName}/$attributionTag, access time of " + in loadDataAndPostValue() 106 "${packageOp.packageName}/$attributionTag, access time of " + in loadDataAndPostValue() 158 val attributionTag: String?, constant in com.android.permissioncontroller.permission.data.OpAccess 167 parcel.writeString(attributionTag) in writeToParcel() 171 parcel.writeString(proxyAccess?.attributionTag) in writeToParcel() 186 val attributionTag = parcel.readString() in createFromParcel() constant 197 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 | 110 String packageName, @Nullable String attributionTag) { in registerScanListener() argument 113 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in registerScanListener() 121 @Nullable String attributionTag) { in unregisterScanListener() argument 124 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in unregisterScanListener() 132 IBroadcastListener listener, String packageName, @Nullable String attributionTag) { in startBroadcast() argument 136 mContext, CallerIdentity.fromBinder(mContext, packageName, attributionTag)); in startBroadcast() 144 @Nullable String attributionTag) { in stopBroadcast() argument 147 CallerIdentity identity = CallerIdentity.fromBinder(mContext, packageName, attributionTag); in stopBroadcast()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | INearbyManager.aidl | 33 String packageName, @nullable String attributionTag); in registerScanListener() argument 35 …gisterScanListener(in IScanListener listener, String packageName, @nullable String attributionTag); in unregisterScanListener() argument 38 in IBroadcastListener callback, String packageName, @nullable String attributionTag); in startBroadcast() argument 40 …stopBroadcast(in IBroadcastListener callback, String packageName, @nullable String attributionTag); in stopBroadcast() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | ReviewOngoingUsageViewModel.kt | 89 val attributionTag: String?, in <lambda>() constant in PackageAttribution 197 Triple(it.attributionTag, it.packageName, it.user) } in <lambda>() 198 val toAddLabelLiveDatas = (usages.map { Triple(it.attributionTag, it.packageName, in <lambda>() 293 val labelResId = attributionLabelLiveDatas[Triple(access.attributionTag, in <lambda>() 538 return PackageAttribution(usage.attributionTag, usage.packageName, usage.user) in <lambda>()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 224 SparseArray<WifiAwareClientState> clients, int callerType, String attributionTag) { in recordAttachSession() argument 242 recordAttachStatus(NanStatusCode.SUCCESS, callerType, attributionTag, uid); in recordAttachSession() 249 public void recordAttachStatus(int status, int callerType, String attributionTag, int uid) { in recordAttachStatus() argument 253 convertNanStatusCodeToWifiStatsLogEnum(status), callerType, attributionTag, in recordAttachStatus() 372 String attributionTag) { in recordDiscoveryStatus() argument 374 attributionTag); in recordDiscoveryStatus() 381 int callerType, String attributionTag) { in recordDiscoveryStatus() argument 395 mDiscoveryAttributionTagMap.put(sessionId, attributionTag); in recordDiscoveryStatus()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | AppPermissionUsage.java | 339 String attributionTag = attributedOp.getTag(); in getAttributionLabelledGroupUsages() local 358 labelDiscreteAccessMap.get(label).addAttributionTag(attributionTag); in getAttributionLabelledGroupUsages() 432 @NonNull Builder addAttributionTag(String attributionTag) { in addAttributionTag() argument 433 mAttributionTags.add(attributionTag); in addAttributionTag()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v31/ |
D | AllLightPackageOpsLiveData.kt | 135 attributionTag: String?, in <lambda>()
|
D | AllLightHistoricalPackageOpsLiveData.kt | 141 attributionTag: String?, in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 437 public NotificationHistory getNotificationHistory(String pkg, String attributionTag) { in getNotificationHistory() argument 439 return sINM.getNotificationHistory(pkg, attributionTag); in getNotificationHistory()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 248 intent.putExtra(Intent.EXTRA_ATTRIBUTION_TAGS, arrayOf(usage.attributionTag.toString())) in getStartViewPermissionUsageIntent()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 217 long messageId, String attributionTag) { 296 long messageId, String attributionTag) {
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 140 @Nullable String attributionTag, Bundle extras) { in getAvailableChannels() argument 145 enforcePermission(uid, packageName, attributionTag, false, false, false); in getAvailableChannels() 599 private void enforcePermission(int uid, String packageName, @Nullable String attributionTag, in enforcePermission() argument 612 attributionTag, uid, shouldIgnoreLocationSettings, shouldHideFromApps); in enforcePermission()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 138 public Context createAttributionContext(String attributionTag) { return this; } in createAttributionContext() argument
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 4298 String attributionTag = mContext.getAttributionTag(); in startScan() local 4299 return mService.startScan(packageName, attributionTag); in startScan()
|