Home
last modified time | relevance | path

Searched refs:sandboxedSdkContext (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DSandboxedSdkContextUtilsTest.java48 Context sandboxedSdkContext = in testGetAsSandboxedSdkContext_inputIsSandboxedSdkContext() local
57 assertThat(SandboxedSdkContextUtils.getAsSandboxedSdkContext(sandboxedSdkContext)) in testGetAsSandboxedSdkContext_inputIsSandboxedSdkContext()
58 .isSameInstanceAs(sandboxedSdkContext); in testGetAsSandboxedSdkContext_inputIsSandboxedSdkContext()
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DTopicsManager.java161 SandboxedSdkContext sandboxedSdkContext = in getTopics() local
163 if (sandboxedSdkContext != null) { in getTopics()
165 sdkPackageName = sandboxedSdkContext.getSdkPackageName(); in getTopics()
166 appPackageName = sandboxedSdkContext.getClientPackageName(); in getTopics()
173 String sdkNameFromSandboxedContext = sandboxedSdkContext.getSdkName(); in getTopics()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkContextUnitTest.java189 SandboxedSdkContext sandboxedSdkContext = in testGetSystemService_notRegistered_delegatesToBaseContext() local
199 assertThat(sandboxedSdkContext.getSystemService("ignored")).isSameInstanceAs(testService); in testGetSystemService_notRegistered_delegatesToBaseContext()
216 SandboxedSdkContext sandboxedSdkContext = in testGetSystemService_registered_mutatesService() local
226 TestService service = (TestService) sandboxedSdkContext.getSystemService("service"); in testGetSystemService_registered_mutatesService()
228 assertThat(service.mCtx).isSameInstanceAs(sandboxedSdkContext); in testGetSystemService_registered_mutatesService()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DProtectedSignalsManager.java227 SandboxedSdkContext sandboxedSdkContext = in getCallerPackageName() local
229 return sandboxedSdkContext == null in getCallerPackageName()
231 : sandboxedSdkContext.getClientPackageName(); in getCallerPackageName()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesCommonManager.java396 SandboxedSdkContext sandboxedSdkContext = in getAdservicesCommonStates() local
398 if (sandboxedSdkContext != null) { in getAdservicesCommonStates()
400 sdkPackageName = sandboxedSdkContext.getSdkPackageName(); in getAdservicesCommonStates()
401 appPackageName = sandboxedSdkContext.getClientPackageName(); in getAdservicesCommonStates()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementCompatibleManager.java653 SandboxedSdkContext sandboxedSdkContext = in getAppPackageName() local
655 return sandboxedSdkContext == null in getAppPackageName()
657 : sandboxedSdkContext.getClientPackageName(); in getAppPackageName()
662 SandboxedSdkContext sandboxedSdkContext = in getSdkPackageName() local
664 return sandboxedSdkContext == null ? "" : sandboxedSdkContext.getSdkPackageName(); in getSdkPackageName()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java958 SandboxedSdkContext sandboxedSdkContext = in getCallerPackageName() local
960 return sandboxedSdkContext == null in getCallerPackageName()
962 : sandboxedSdkContext.getClientPackageName(); in getCallerPackageName()
975 SandboxedSdkContext sandboxedSdkContext = in getCallerSdkName() local
977 return sandboxedSdkContext == null ? "" : sandboxedSdkContext.getSdkPackageName(); in getCallerSdkName()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DCustomAudienceManager.java527 SandboxedSdkContext sandboxedSdkContext = in getCallerPackageName() local
529 return sandboxedSdkContext == null in getCallerPackageName()
531 : sandboxedSdkContext.getClientPackageName(); in getCallerPackageName()
/packages/modules/AdServices/sdksandbox/SdkSandbox/src/com/android/sdksandbox/
DSandboxedSdkHolder.java70 SandboxedSdkContext sandboxedSdkContext, in init() argument
78 mContext = sandboxedSdkContext.getBaseContext(); in init()
90 mSdk.attachContext(sandboxedSdkContext); in init()
DSdkSandboxServiceImpl.java376 SandboxedSdkContext sandboxedSdkContext = in loadSdkInternal() local
394 sandboxedSdkContext, in loadSdkInternal()