/frameworks/base/core/java/android/content/ |
D | AttributionSource.java | 90 public final class AttributionSource implements Parcelable { class 97 private @Nullable AttributionSource mNextCached; 102 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource() method in AttributionSource 108 public AttributionSource(int uid, int pid, @Nullable String packageName, in AttributionSource() method in AttributionSource 115 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource() method in AttributionSource 122 public AttributionSource(int uid, int pid, @Nullable String packageName, in AttributionSource() method in AttributionSource 130 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource() method in AttributionSource 132 @Nullable AttributionSource next) { in AttributionSource() 139 public AttributionSource(@NonNull AttributionSource current, @Nullable AttributionSource next) { in AttributionSource() method in AttributionSource 146 public AttributionSource(int uid, int pid, @Nullable String packageName, in AttributionSource() method in AttributionSource [all …]
|
D | IContentProvider.java | 44 Cursor query(@NonNull AttributionSource attributionSource, Uri url, in query() 51 String getType(@NonNull AttributionSource attributionSource, in getType() 56 void getTypeAsync(@NonNull AttributionSource attributionSource, in getTypeAsync() 63 return getType(new AttributionSource(Binder.getCallingUid(), in getType() 77 getTypeAsync(new AttributionSource(Binder.getCallingUid(), in getTypeAsync() 91 return insert(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in insert() 94 Uri insert(@NonNull AttributionSource attributionSource, Uri url, in insert() 102 return bulkInsert(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in bulkInsert() 105 int bulkInsert(@NonNull AttributionSource attributionSource, Uri url, in bulkInsert() 113 return delete(new AttributionSource(Binder.getCallingUid(), callingPkg, null), in delete() [all …]
|
D | ContentProviderNative.java | 87 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 143 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 155 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 174 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 189 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 203 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 222 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 237 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 253 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() 276 AttributionSource attributionSource = AttributionSource.CREATOR in onTransact() [all …]
|
D | PermissionChecker.java | 154 return checkPermissionForDataDelivery(context, permission, pid, new AttributionSource(uid, in checkPermissionForDataDelivery() 233 @NonNull String permission, int pid, @NonNull AttributionSource attributionSource, in checkPermissionForDataDeliveryFromDataSource() 270 @NonNull String permission, int pid, @NonNull AttributionSource attributionSource, in checkPermissionForDataDelivery() 308 @NonNull String permission, int pid, @NonNull AttributionSource attributionSource, in checkPermissionForDataDelivery() 316 @NonNull String permission, @NonNull AttributionSource attributionSource, in checkPermissionForDataDeliveryCommon() 354 @NonNull String permission, @NonNull AttributionSource attributionSource, in checkPermissionAndStartDataDelivery() 389 @NonNull String opName, @NonNull AttributionSource attributionSource, in startOpForDataDelivery() 409 @NonNull AttributionSource attributionSource) { in finishDataDelivery() 429 @NonNull String op, @NonNull AttributionSource attributionSource) { in finishDataDeliveryFromDatasource() 466 @NonNull String opName, @NonNull AttributionSource attributionSource, in checkOpForPreflight() [all …]
|
D | ContentProvider.java | 150 private ThreadLocal<AttributionSource> mCallingAttributionSource; 248 public Cursor query(@NonNull AttributionSource attributionSource, Uri uri, in query() 270 final AttributionSource original = setCallingAttributionSource( in query() 289 final AttributionSource original = setCallingAttributionSource( in query() 304 public String getType(AttributionSource attributionSource, Uri uri) { in getType() 308 final AttributionSource original = setCallingAttributionSource( in getType() 395 public void getTypeAsync(AttributionSource attributionSource, in getTypeAsync() 427 public Uri insert(@NonNull AttributionSource attributionSource, Uri uri, in insert() 434 final AttributionSource original = setCallingAttributionSource( in insert() 443 final AttributionSource original = setCallingAttributionSource( in insert() [all …]
|
D | ContextParams.java | 51 private final @Nullable AttributionSource mNext; 58 @Nullable AttributionSource next, in ContextParams() 93 public AttributionSource getNextAttributionSource() { in getNextAttributionSource() 103 private @Nullable AttributionSource mNext; 156 public Builder setNextAttributionSource(@Nullable AttributionSource next) { in setNextAttributionSource()
|
D | Attributable.java | 32 void setAttributionSource(@NonNull AttributionSource attributionSource); in setAttributionSource() 36 @NonNull AttributionSource attributionSource) { in setAttributionSource() 45 @NonNull AttributionSource attributionSource) { in setAttributionSource()
|
D | AttributionSource.aidl | 20 parcelable AttributionSource;
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockIContentProvider.java | 21 import android.content.AttributionSource; 51 public int bulkInsert(@NonNull AttributionSource attributionSource, Uri url, in bulkInsert() 58 public int delete(@NonNull AttributionSource attributionSource, Uri url, in delete() 64 public String getType(@NonNull AttributionSource attributionSource, Uri url) { in getType() 70 public void getTypeAsync(@NonNull AttributionSource attributionSource, in getTypeAsync() 94 public Uri insert(@NonNull AttributionSource attributionSource, Uri url, in insert() 100 public ParcelFileDescriptor openFile(@NonNull AttributionSource attributionSource, in openFile() 106 public AssetFileDescriptor openAssetFile(@NonNull AttributionSource attributionSource, in openAssetFile() 112 public ContentProviderResult[] applyBatch(@NonNull AttributionSource attributionSource, in applyBatch() 118 public Cursor query(@NonNull AttributionSource attributionSource, Uri url, in query() [all …]
|
D | MockContentProvider.java | 21 import android.content.AttributionSource; 64 public ContentProviderResult[] applyBatch(@NonNull AttributionSource attributionSource, in applyBatch() 71 public int bulkInsert(@NonNull AttributionSource attributionSource, Uri url, in bulkInsert() 77 public int delete(@NonNull AttributionSource attributionSource, Uri url, in delete() 83 public String getType(@NonNull AttributionSource attributionSource, in getType() 89 public void getTypeAsync(@NonNull AttributionSource attributionSource, in getTypeAsync() 99 public Uri insert(@NonNull AttributionSource attributionSource, Uri url, in insert() 105 public AssetFileDescriptor openAssetFile(@NonNull AttributionSource attributionSource, in openAssetFile() 112 public ParcelFileDescriptor openFile(@NonNull AttributionSource attributionSource, in openFile() 119 public Cursor query(@NonNull AttributionSource attributionSource, Uri url, in query() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 19 import android.content.AttributionSource; 48 public ContentProviderResult[] applyBatch(AttributionSource attributionSource, in applyBatch() 56 public int bulkInsert(AttributionSource attributionSource, Uri arg0, in bulkInsert() 63 public Bundle call(AttributionSource attributionSource, String authority, in call() 70 public int delete(AttributionSource attributionSource, Uri arg0, Bundle arg1) in delete() 77 public String getType(AttributionSource attributionSource, Uri arg0) throws RemoteException { in getType() 84 public void getTypeAsync(AttributionSource attributionSource, Uri uri, in getTypeAsync() 119 public Uri insert(AttributionSource attributionSource, Uri arg0, ContentValues arg1, in insert() 126 public AssetFileDescriptor openAssetFile(AttributionSource attributionSource, in openAssetFile() 134 public ParcelFileDescriptor openFile(AttributionSource attributionSource, Uri arg0, in openFile() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PermissionEnforcer.java | 22 import android.content.AttributionSource; 60 protected int checkPermission(@NonNull String permission, @NonNull AttributionSource source) { in checkPermission() 84 AttributionSource source) throws SecurityException { in enforcePermission() 94 AttributionSource source = new AttributionSource(uid, null, null); in enforcePermission() 105 @NonNull AttributionSource source) throws SecurityException { in enforcePermissionAllOf() 118 AttributionSource source = new AttributionSource(uid, null, null); in enforcePermissionAllOf() 132 @NonNull AttributionSource source) throws SecurityException { in enforcePermissionAnyOf() 146 AttributionSource source = new AttributionSource(uid, null, null); in enforcePermissionAnyOf()
|
/frameworks/base/core/java/android/speech/ |
D | IRecognitionService.aidl | 20 import android.content.AttributionSource; 48 in AttributionSource attributionSource); in startListening() 73 in AttributionSource attributionSource, in checkRecognitionSupport() 85 in AttributionSource attributionSource, in triggerModelDownload()
|
D | RecognitionService.java | 27 import android.content.AttributionSource; 129 @NonNull AttributionSource attributionSource) { in dispatchStartListening() 218 AttributionSource attributionSource) { in dispatchCheckRecognitionSupport() 227 AttributionSource attributionSource, in dispatchTriggerModelDownload() 308 @NonNull public final AttributionSource mAttributionSource; 311 @NonNull AttributionSource attributionSource) { in StartListeningArgs() 321 public final AttributionSource mAttributionSource; 326 AttributionSource attributionSource) { in CheckRecognitionSupportArgs() 335 final AttributionSource mAttributionSource; 340 AttributionSource attributionSource, in ModelDownloadArgs() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManagerInternal.java | 22 import android.content.AttributionSource; 102 SyncNotedAppOp noteProxyOperation(int code, @NonNull AttributionSource attributionSource, in noteProxyOperation() argument 105 @NonNull HexFunction<Integer, AttributionSource, Boolean, String, Boolean, in noteProxyOperation() 151 @NonNull AttributionSource attributionSource, boolean startIfModeDefault, in startProxyOperation() argument 155 @NonNull UndecFunction<IBinder, Integer, AttributionSource, Boolean, in startProxyOperation() 184 @NonNull AttributionSource attributionSource, in finishProxyOperation() argument 186 @NonNull QuadFunction<IBinder, Integer, AttributionSource, Boolean, in finishProxyOperation()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 43 import android.content.AttributionSource; 429 .registerAttributionSource(new AttributionSource(source)); in registerAttributionSource() 435 .isRegisteredAttributionSource(new AttributionSource(source)); in isRegisteredAttributionSource() 948 private final WeakHashMap<IBinder, AttributionSource> mAttributions = new WeakHashMap<>(); 950 public void registerAttributionSource(@NonNull AttributionSource source) { in registerAttributionSource() 996 final AttributionSource next = source.getNext(); in registerAttributionSource() 1010 public boolean isRegisteredAttributionSource(@NonNull AttributionSource source) { in isRegisteredAttributionSource() 1012 final AttributionSource cachedSource = mAttributions.get(source.getToken()); in isRegisteredAttributionSource() 1068 final AttributionSource attributionSource = new AttributionSource( in checkPermission() 1102 AttributionSource current = new AttributionSource(attributionSourceState); in finishDataDelivery() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 20 import android.content.AttributionSource; 69 public AttributionSource getAttributionSource() { in getAttributionSource() 70 AttributionSource attributionSource = super.getAttributionSource(); in getAttributionSource() 72 return new AttributionSource.Builder(Process.myUid()).build(); in getAttributionSource()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsService.java | 20 import android.content.AttributionSource; 313 final AttributionSource attributionSource = new AttributionSource( in listForUser() 340 final AttributionSource attributionSource = new AttributionSource( in getForUser() 380 final AttributionSource attributionSource = new AttributionSource( in putForUser() 406 final AttributionSource attributionSource = new AttributionSource( in deleteForUser() 435 final AttributionSource attributionSource = new AttributionSource( in resetForUser()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 21 import android.content.AttributionSource; 96 protected int enforceReadPermissionInner(Uri uri, AttributionSource attributionSource) { in enforceReadPermissionInner() 101 protected int enforceWritePermissionInner(Uri uri, AttributionSource attributionSource) { in enforceWritePermissionInner()
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | FakePermissionEnforcer.java | 23 import android.content.AttributionSource; 56 @NonNull AttributionSource source) { in checkPermission()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputService.aidl | 19 import android.content.AttributionSource; 34 in String inputId, in String sessionId, in AttributionSource tvAppAttributionSource); in createSession()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 23 import android.content.AttributionSource; 60 SyncNotedAppOp noteProxyOperation(int code, in AttributionSource attributionSource, in noteProxyOperation() 64 in AttributionSource attributionSource, boolean startIfModeDefault, in startProxyOperation() 68 void finishProxyOperation(IBinder clientId, int code, in AttributionSource attributionSource, in finishProxyOperation()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AppOpsPolicy.java | 26 import android.content.AttributionSource; 241 public SyncNotedAppOp noteProxyOperation(int code, @NonNull AttributionSource attributionSource, in noteProxyOperation() argument 244 AttributionSource, Boolean, String, Boolean, Boolean, in noteProxyOperation() 268 @NonNull AttributionSource attributionSource, boolean startIfModeDefault, in startProxyOperation() argument 272 @NonNull UndecFunction<IBinder, Integer, AttributionSource, Boolean, Boolean, String, in startProxyOperation() 291 @NonNull AttributionSource attributionSource, boolean skipProxyOperation, in finishProxyOperation() argument 292 @NonNull QuadFunction<IBinder, Integer, AttributionSource, Boolean, Void> superImpl) { in finishProxyOperation()
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioGroup.java | 20 import android.content.AttributionSource; 173 try (AttributionSource.ScopedParcelState attributionSourceState = mContext in add()
|
/frameworks/base/services/core/java/com/android/server/speech/ |
D | SpeechRecognitionManagerServiceImpl.java | 23 import android.content.AttributionSource; 150 @NonNull AttributionSource attributionSource) in createSessionLocked() 187 AttributionSource attributionSource, in createSessionLocked() 196 AttributionSource attributionSource, in createSessionLocked()
|