Searched refs:APP_PACKAGE (Results 1 – 7 of 7) sorted by relevance
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/ |
D | SdkSandboxLifecycleHostTest.java | 44 private static final String APP_PACKAGE = "com.android.sdksandbox.app"; field in SdkSandboxLifecycleHostTest 66 private static final String SANDBOX_1_PROCESS_NAME = APP_PACKAGE + "_sdk_sandbox"; 98 if (!getDevice().isPackageInstalled(APP_PACKAGE)) { in setUp() 111 startActivity(APP_PACKAGE, APP_ACTIVITY); in testSdkSandboxIsDestroyedOnAppDestroy() 113 assertThat(processDump).contains(APP_PACKAGE + '\n'); in testSdkSandboxIsDestroyedOnAppDestroy() 116 killApp(APP_PACKAGE); in testSdkSandboxIsDestroyedOnAppDestroy() 119 assertThat(processDump).doesNotContain(APP_PACKAGE + '\n'); in testSdkSandboxIsDestroyedOnAppDestroy() 129 startActivity(APP_PACKAGE, APP_ACTIVITY); in testSdkSandboxIsCreatedPerApp() 131 assertThat(processDump).contains(APP_PACKAGE + '\n'); in testSdkSandboxIsCreatedPerApp() 138 assertThat(processDump).contains(APP_PACKAGE + '\n'); in testSdkSandboxIsCreatedPerApp() [all …]
|
D | SdkSandboxShellHostTest.java | 48 private static final String APP_PACKAGE = "com.android.sdksandbox.app"; field in SdkSandboxShellHostTest 53 private static final String APP_SANDBOX_NAME = APP_PACKAGE + "_sdk_sandbox"; 77 for (String pkg : new String[]{APP_PACKAGE, DEBUGGABLE_APP_PACKAGE}) { in setUp() 95 for (String pkg : new String[] {APP_PACKAGE, DEBUGGABLE_APP_PACKAGE}) { in tearDown() 120 String.format("cmd sdk_sandbox start %s", APP_PACKAGE)); in testStartSdkSandboxFailsForNonDebuggableApp() 162 startActivity(APP_PACKAGE, APP_ACTIVITY); in testStopSdkSandboxFailsForNonDebuggableApp() 166 String.format("cmd sdk_sandbox stop %s", APP_PACKAGE)); in testStopSdkSandboxFailsForNonDebuggableApp()
|
/packages/apps/Settings/tests/Enable16KbTests/src/com/android/test/ |
D | Enable16KbTest.java | 40 private static final String APP_PACKAGE = "com.android.settings.development.test"; field in Enable16KbTest 54 assertTrue(isPackageInstalled(APP_PACKAGE)); in enable16KbToggle() 89 runDeviceTests(APP_PACKAGE, APP_PACKAGE + "." + TEST_NAME, DISABLE_DEV_OPTION); in enable16KbToggle() 97 assertTrue(isPackageInstalled(APP_PACKAGE)); in installTestApp() 101 runDeviceTests(APP_PACKAGE, APP_PACKAGE + "." + TEST_NAME, testMethodName); in runTestAndWait()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/ |
D | DevContextFilterTest.java | 51 private static final String APP_PACKAGE = "com.test.myapp"; field in DevContextFilterTest 85 when(mAppPackageNameRetriever.getAppPackageNameForUid(APP_UID)).thenReturn(APP_PACKAGE); in testCreateDevContextReturnsDevContextWithAppInfo() 91 .setCallingAppPackageName(APP_PACKAGE) in testCreateDevContextReturnsDevContextWithAppInfo() 111 when(mAppPackageNameRetriever.getAppPackageNameForUid(APP_UID)).thenReturn(APP_PACKAGE); in testCreateDevContextReturnsDevEnabledInstanceIfNotInDeveloperModeDebuggableBuild() 117 .setCallingAppPackageName(APP_PACKAGE) in testCreateDevContextReturnsDevEnabledInstanceIfNotInDeveloperModeDebuggableBuild() 126 when(mAppPackageNameRetriever.getAppPackageNameForUid(APP_UID)).thenReturn(APP_PACKAGE); in testCreateDevContextReturnsDevDisabledInstanceIfAppIsNotDebuggable() 185 eq(APP_PACKAGE), any(PackageManager.ApplicationInfoFlags.class))) in mockInstalledApplications() 188 when(mPackageManager.getApplicationInfo(eq(APP_PACKAGE), anyInt())) in mockInstalledApplications()
|
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/src/com/android/sdksandbox/cts/host/ |
D | SdkSandboxDataIsolationHostTest.java | 40 private static final String APP_PACKAGE = "com.android.sdksandbox.cts.app"; field in SdkSandboxDataIsolationHostTest 42 private static final String APP_TEST_CLASS = APP_PACKAGE + ".SdkSandboxDataIsolationTestApp"; 58 assertThat(runDeviceTests(APP_PACKAGE, APP_TEST_CLASS, phase)).isTrue(); in runPhase() 65 new DeviceTestRunOptions(APP_PACKAGE) in runPhase() 77 uninstallPackage(APP_PACKAGE); in setUp() 84 uninstallPackage(APP_PACKAGE); in tearDown()
|
/packages/services/Car/tools/perf/app-launch-test/ |
D | app_launch_perf_test.sh | 104 APP_PACKAGE="${BASH_REMATCH[1]}" 106 app_launch_map[${APP_PACKAGE}]+="${LAUNCH_TIME} "
|
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/ |
D | SdkExtensionsHostTest.java | 52 private static final String APP_PACKAGE = "com.android.sdkext.extensions.apps"; field in SdkExtensionsHostTest 91 getDevice().uninstallPackage(APP_PACKAGE); in cleanup()
|