Home
last modified time | relevance | path

Searched refs:getCallingAppUid (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DCallingAppUidSupplierBinderImpl.java29 public int getCallingAppUid() { in getCallingAppUid() method in CallingAppUidSupplierBinderImpl
30 return SdkRuntimeUtil.getCallingAppUid(Binder.getCallingUidOrThrow()); in getCallingAppUid()
DCallingAppUidSupplier.java25 int getCallingAppUid(); in getCallingAppUid() method
DSdkRuntimeUtil.java35 public static int getCallingAppUid(int callerProcessUid) { in getCallingAppUid() method in SdkRuntimeUtil
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSdkRuntimeUtilTest.java56 assertThat(SdkRuntimeUtil.getCallingAppUid(uid)).isEqualTo(uid); in testCallingUidIsNotSdkSandbox_returnParameterUid()
67 assertThat(SdkRuntimeUtil.getCallingAppUid(sdkUid)).isEqualTo(appUid); in testCallingUidIsSdkSandbox_returnAppUid()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DCallingAppUidSupplierFailureImpl.java35 public int getCallingAppUid() { in getCallingAppUid() method in CallingAppUidSupplierFailureImpl
DCallingAppUidSupplierProcessImpl.java34 public int getCallingAppUid() { in getCallingAppUid() method in CallingAppUidSupplierProcessImpl
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DProtectedSignalsServiceImplTest.java154 when(mCallingAppUidSupplierMock.getCallingAppUid()).thenReturn(UID); in setup()
202 verify(mCallingAppUidSupplierMock).getCallingAppUid(); in testUpdateSignalsSuccess()
268 when(mCallingAppUidSupplierMock.getCallingAppUid()).thenThrow(new IllegalStateException()); in testUpdateSignalsExceptionGettingUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DDevContextFilter.java91 return createDevContext(SdkRuntimeUtil.getCallingAppUid(callingUid)); in createDevContextFromCallingUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/
DAppSetIdServiceImpl.java253 int appCallingUid = SdkRuntimeUtil.getCallingAppUid(callingUid); in enforceCallingPackageBelongsToUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/
DAdIdServiceImpl.java274 int appCallingUid = SdkRuntimeUtil.getCallingAppUid(callingUid); in enforceCallingPackageBelongsToUid()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateImplTest.java103 mCallingAppUid = CallingAppUidSupplierProcessImpl.create().getCallingAppUid(); in setup()
DFetchCustomAudienceImplTest.java212 mCallingAppUid = CallingAppUidSupplierProcessImpl.create().getCallingAppUid(); in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsServiceImpl.java389 return mCallingAppUidSupplier.getCallingAppUid(); in getCallingUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsServiceImpl.java430 int appCallingUid = SdkRuntimeUtil.getCallingAppUid(callingUid); in enforceCallingPackageBelongsToUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceServiceImpl.java733 return mCallingAppUidSupplier.getCallingAppUid(); in getCallingUid()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdSelectionServiceImpl.java1192 return mCallingAppUidSupplier.getCallingAppUid(); in getCallingUid()