Home
last modified time | relevance | path

Searched refs:mAttributionTag (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java46 final String mAttributionTag = "test-attribution-tag"; field in AppOpsLegacyRestrictionsTest
149 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, false)); in testSetAndGetSingleUserRestriction()
151 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, true)); in testSetAndGetSingleUserRestriction()
161 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, false)); in testSetAndGetSingleUserRestriction()
163 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, true)); in testSetAndGetSingleUserRestriction()
173 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, false)); in testSetAndGetSingleUserRestriction()
187 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, false)); in testSetAndGetDoubleUserRestriction()
189 mClientToken, mUserId1, mOpCode1, mPackageName, mAttributionTag, true)); in testSetAndGetDoubleUserRestriction()
191 mClientToken, mUserId1, mOpCode2, mPackageName, mAttributionTag, false)); in testSetAndGetDoubleUserRestriction()
193 mClientToken, mUserId1, mOpCode2, mPackageName, mAttributionTag, true)); in testSetAndGetDoubleUserRestriction()
[all …]
/frameworks/base/location/java/android/location/util/identity/
DCallerIdentity.java140 @Nullable private final String mAttributionTag; field in CallerIdentity
149 this.mAttributionTag = attributionTag; in CallerIdentity()
175 return mAttributionTag; in getAttributionTag()
225 if (mAttributionTag != null) { in toString()
226 length += mAttributionTag.length(); in toString()
231 if (mAttributionTag != null) { in toString()
233 if (mAttributionTag.startsWith(mPackageName)) { in toString()
234 builder.append(mAttributionTag.substring(mPackageName.length())); in toString()
236 builder.append(mAttributionTag); in toString()
258 && Objects.equals(mAttributionTag, that.mAttributionTag) in equals()
[all …]
/frameworks/base/core/java/android/app/
DSyncNotedAppOp.java54 private final @Nullable String mAttributionTag; field in SyncNotedAppOp
73 this.mAttributionTag = attributionTag; in SyncNotedAppOp()
146 return mAttributionTag; in getAttributionTag()
168 "attributionTag = " + mAttributionTag + ", " + in toString()
188 && java.util.Objects.equals(mAttributionTag, that.mAttributionTag) in equals()
201 _hash = 31 * _hash + java.util.Objects.hashCode(mAttributionTag); in hashCode()
213 if (mAttributionTag != null) flg |= 0x4; in writeToParcel()
218 if (mAttributionTag != null) dest.writeString(mAttributionTag); in writeToParcel()
245 this.mAttributionTag = attributionTag; in SyncNotedAppOp()
DAsyncNotedAppOp.java53 private final @Nullable String mAttributionTag; field in AsyncNotedAppOp
123 this.mAttributionTag = attributionTag; in AsyncNotedAppOp()
147 return mAttributionTag; in getAttributionTag()
175 "attributionTag = " + mAttributionTag + ", " + in toString()
196 && java.util.Objects.equals(mAttributionTag, that.mAttributionTag) in equals()
210 _hash = 31 * _hash + java.util.Objects.hashCode(mAttributionTag); in hashCode()
223 if (mAttributionTag != null) flg |= 0x4; in writeToParcel()
227 if (mAttributionTag != null) dest.writeString(mAttributionTag); in writeToParcel()
258 this.mAttributionTag = attributionTag; in AsyncNotedAppOp()
DRuntimeAppOpAccessMessage.java45 private final @Nullable String mAttributionTag; field in RuntimeAppOpAccessMessage
91 this.mAttributionTag = attributionTag; in RuntimeAppOpAccessMessage()
139 return mAttributionTag; in getAttributionTag()
165 if (mAttributionTag != null) flg |= 0x8; in writeToParcel()
170 if (mAttributionTag != null) dest.writeString(mAttributionTag); in writeToParcel()
206 this.mAttributionTag = attributionTag; in RuntimeAppOpAccessMessage()
/frameworks/base/core/java/android/content/
DContextParams.java53 private final @Nullable String mAttributionTag; field in ContextParams
65 mAttributionTag = attributionTag; in ContextParams()
77 return mAttributionTag; in getAttributionTag()
117 private @Nullable String mAttributionTag; field in ContextParams.Builder
147 mAttributionTag = params.mAttributionTag; in Builder()
160 mAttributionTag = attributionTag; in setAttributionTag()
238 return new ContextParams(mAttributionTag, mNext, in build()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintAuthenticateOptions.java84 @Nullable private String mAttributionTag; field in FingerprintAuthenticateOptions
131 this.mAttributionTag = attributionTag; in FingerprintAuthenticateOptions()
187 return mAttributionTag; in getAttributionTag()
231 mAttributionTag = value; in setAttributionTag()
265 && java.util.Objects.equals(mAttributionTag, that.mAttributionTag) in equals()
281 _hash = 31 * _hash + java.util.Objects.hashCode(mAttributionTag); in hashCode()
294 if (mAttributionTag != null) flg |= 0x20; in writeToParcel()
301 if (mAttributionTag != null) dest.writeString(mAttributionTag); in writeToParcel()
334 this.mAttributionTag = attributionTag; in FingerprintAuthenticateOptions()
366 private @Nullable String mAttributionTag; field in FingerprintAuthenticateOptions.Builder
[all …]
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java117 private String mAttributionTag; field in FaceAuthenticateOptions
231 this.mAttributionTag = attributionTag; in FaceAuthenticateOptions()
298 return mAttributionTag; in getAttributionTag()
331 mAttributionTag = value; in setAttributionTag()
354 && java.util.Objects.equals(mAttributionTag, that.mAttributionTag); in equals()
370 _hash = 31 * _hash + java.util.Objects.hashCode(mAttributionTag); in hashCode()
381 if (mAttributionTag != null) flg |= 0x40; in writeToParcel()
389 if (mAttributionTag != null) dest.writeString(mAttributionTag); in writeToParcel()
451 this.mAttributionTag = attributionTag; in FaceAuthenticateOptions()
483 private @Nullable String mAttributionTag; field in FaceAuthenticateOptions.Builder
[all …]
/frameworks/base/core/java/android/permission/
DPermissionGroupUsage.java49 private final @Nullable CharSequence mAttributionTag; field in PermissionGroupUsage
96 this.mAttributionTag = attributionTag; in PermissionGroupUsage()
160 return mAttributionTag; in getAttributionTag()
198 "attributionTag = " + mAttributionTag + ", " + in toString()
224 && java.util.Objects.equals(mAttributionTag, that.mAttributionTag) in equals()
243 _hash = 31 * _hash + java.util.Objects.hashCode(mAttributionTag); in hashCode()
259 if (mAttributionTag != null) flg |= 0x40; in writeToParcel()
267 if (mAttributionTag != null) dest.writeCharSequence(mAttributionTag); in writeToParcel()
306 this.mAttributionTag = attributionTag; in PermissionGroupUsage()
/frameworks/base/location/lib/java/android/location/
DGeocoderParams.java44 private final @Nullable String mAttributionTag; field in GeocoderParams
59 mAttributionTag = attributionTag; in GeocoderParams()
81 return mAttributionTag; in getClientAttributionTag()
122 parcel.writeString8(mAttributionTag); in writeToParcel()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp50 mAttributionTag = other.mAttributionTag; in copyFrom()
318 ALOGD("mAttributionTag = %s", !mAttributionTag.has_value() ? in dump()
319 "(null)" : mAttributionTag.value().c_str()); in dump()
DAAudioStreamParameters.h158 return mAttributionTag; in getAttributionTag()
162 mAttributionTag = attributionTag; in setAttributionTag()
235 std::optional<std::string> mAttributionTag = {}; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DAssistContentRequester.java66 private final String mAttributionTag; field in AssistContentRequester
79 mAttributionTag = context.getAttributionTag(); in AssistContentRequester()
94 mAttributionTag); in requestAssistContent()
/frameworks/base/core/java/android/hardware/camera2/extension/
DCameraExtensionService.java56 private final String mAttributionTag = getAttributionTag(); field in CameraExtensionService.CameraTracker
63 mAttributionTag, "Camera extensions"); in startCameraOperation()
71 mAttributionTag); in finishCameraOperation()
/frameworks/base/location/java/android/location/provider/
DLocationProviderBase.java112 final @Nullable String mAttributionTag; field in LocationProviderBase
123 mAttributionTag = context.getAttributionTag(); in LocationProviderBase()
319 manager.onInitialize(mAllowed, mProperties, mAttributionTag); in setLocationProviderManager()
DGeocodeProviderBase.java80 @Nullable final String mAttributionTag; field in GeocodeProviderBase
89 mAttributionTag = context.getAttributionTag(); in GeocodeProviderBase()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java99 @Nullable final String mAttributionTag; field in LocationProviderBase
135 mAttributionTag = context != null ? context.getAttributionTag() : null; in LocationProviderBase()
371 manager.onInitialize(mAllowed, mProperties, mAttributionTag); in setLocationProviderManager()
/frameworks/base/core/java/android/service/voice/
DSoftwareHotwordDetector.java60 private final String mAttributionTag; field in SoftwareHotwordDetector
75 mAttributionTag = attributionTag; in SoftwareHotwordDetector()
82 DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, mAttributionTag); in initialize()
DVisualQueryDetector.java71 private final String mAttributionTag; field in VisualQueryDetector
84 mAttributionTag = attributionTag; in VisualQueryDetector()
395 DETECTOR_TYPE_VISUAL_QUERY_DETECTOR, mAttributionTag); in initialize()
DAlwaysOnHotwordDetector.java329 private final String mAttributionTag; field in AlwaysOnHotwordDetector
908 mAttributionTag = attributionTag; in AlwaysOnHotwordDetector()
920 DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, mAttributionTag); in initialize()
926 identity.attributionTag = mAttributionTag; in initialize()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java182 @Nullable private String mAttributionTag; field in ContextHubClientBroker
369 mAttributionTag = attributionTag; in ContextHubClientBroker()
602 mAttributionTag = attributionTag; in setAttributionTag()
609 return mAttributionTag; in getAttributionTag()
786 if (mAppOpsManager.noteOp(opCode, mUid, mPackage, mAttributionTag, noteMessage) in notePermissions()
1133 info.attributionTag = mAttributionTag; in sendHostEndpointConnectedEvent()
1167 if (mAttributionTag != null) { in toString()
/frameworks/base/location/java/android/location/
DLocationManager.java3361 private final String mAttributionTag; field in LocationManager.GnssStatusTransport
3370 mAttributionTag = context.getAttributionTag(); in GnssStatusTransport()
3379 return mAttributionTag; in getAttributionTag()
3443 private final String mAttributionTag; field in LocationManager.GnssNmeaTransport
3452 mAttributionTag = context.getAttributionTag(); in GnssNmeaTransport()
3461 return mAttributionTag; in getAttributionTag()
3485 private final String mAttributionTag; field in LocationManager.GnssMeasurementsTransport
3497 mAttributionTag = context.getAttributionTag(); in GnssMeasurementsTransport()
3507 return mAttributionTag; in getAttributionTag()
3540 private final String mAttributionTag; field in LocationManager.GnssAntennaInfoTransport
[all …]
/frameworks/native/services/sensorservice/
DSensorEventConnection.h188 const String16 mAttributionTag; variable
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java488 String mAttributionTag; field in DiscreteRegistry.AttributionChain.OpEvent
496 mAttributionTag = attributionTag; in OpEvent()
504 && Objects.equals(attributionTag, mAttributionTag) && mOpCode == opCode in matches()
512 && Objects.equals(other.mAttributionTag, mAttributionTag) in packageOpEquals()
1176 proxyEvent.mPkgName, proxyEvent.mAttributionTag); in applyToHistory()
DAttributedOp.java680 private @Nullable String mAttributionTag; field in AttributedOp.InProgressStartOpEvent
729 mAttributionTag = attributionTag; in InProgressStartOpEvent()
783 mAttributionTag = attributionTag; in reinit()

12