Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DCustomizedSdkContextTest.java92 pm.getSdkSandboxPackageName(), in testSdkPermissions()
161 assertThat(mSdk.getPackageName()).isEqualTo(pm.getSdkSandboxPackageName()); in testGetPackageName()
169 assertThat(mSdk.getOpPackageName()).isEqualTo(pm.getSdkSandboxPackageName()); in testGetOpPackageName()
DSdkSandboxManagerTest.java282 assertThat(sdk.getOpPackageName()).isEqualTo(pm.getSdkSandboxPackageName()); in testGetOpPackageName()
603 pm.getSdkSandboxPackageName(), in testSdkSandboxPermissions()
655 () -> sdk.startSandboxActivityDirectlyByAction(getSdkSandboxPackageName())); in testSDKCanNotStartSandboxActivityDirectlyByAction()
673 getSdkSandboxPackageName())); in testSDKCanNotStartSandboxActivityDirectlyByComponent()
816 assertThat(dataDir).doesNotContain(getSdkSandboxPackageName()); in testSandboxActivityUseSdkBasedContextIfRequiredFlagAreEnabled()
839 assertThat(dataDir).contains(getSdkSandboxPackageName()); in testSandboxActivityUseAppBasedContextIfSdkBasedFlagIDisabled()
1168 private String getSdkSandboxPackageName() { in getSdkSandboxPackageName() method in SdkSandboxManagerTest
1172 .getSdkSandboxPackageName(); in getSdkSandboxPackageName()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxMetricsTestApp.java126 mContext.getPackageManager().getSdkSandboxPackageName(), 0, -1) in testAppWithDumpPermissionCanAccessSdkSandboxExitReasons()
182 mPackageManager.getSdkSandboxPackageName()))) { in testCrashSandboxGeneratesDropboxReport()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/sandboxactivity/
DSdkSandboxActivityAuthority.java72 final String sandboxPackageName = context.getPackageManager().getSdkSandboxPackageName(); in isSdkSandboxActivityIntent()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sandboxactivity/
DSdkSandboxActivityAuthorityTest.java121 final String sandboxPackageName = context.getPackageManager().getSdkSandboxPackageName(); in testSdkSandboxActivityIntent()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxManagerService.java1658 custom.packageName = mContext.getPackageManager().getSdkSandboxPackageName();
1720 pm.getSdkSandboxPackageName(),
1884 final String sandboxPackageName = mContext.getPackageManager().getSdkSandboxPackageName();
1942 mContext.getPackageManager().getSdkSandboxPackageName();
2437 String sandboxPackageName = mContext.getPackageManager().getSdkSandboxPackageName();
DSdkSandboxServiceProviderImpl.java315 intent.setPackage(mContext.getPackageManager().getSdkSandboxPackageName()); in getServiceComponentName()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSdkSandboxManager.java716 intent.setPackage(mContext.getPackageManager().getSdkSandboxPackageName()); in startSdkSandboxActivity()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxManagerServiceUnitTest.java1211 assertThat(sdkSandboxInfo.packageName).isEqualTo(pm.getSdkSandboxPackageName()); in test_getSdkInstrumentationInfo()
1227 assertThat(sdkSandboxInfo.packageName).isEqualTo(pm.getSdkSandboxPackageName()); in test_getSdkInstrumentationInfo_sdkInSandbox()
2043 return mSpyContext.getPackageManager().getSdkSandboxPackageName(); in getSandboxPackageName()
DSdkSandboxStatsdMetricsUnitTest.java1141 return mSpyContext.getPackageManager().getSdkSandboxPackageName(); in getSandboxPackageName()