Searched refs:processDump (Results 1 – 2 of 2) sorted by relevance
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/ |
D | SdkSandboxLifecycleHostTest.java | 112 String processDump = getDevice().executeAdbCommand("shell", "ps", "-A"); in testSdkSandboxIsDestroyedOnAppDestroy() local 113 assertThat(processDump).contains(APP_PACKAGE + '\n'); in testSdkSandboxIsDestroyedOnAppDestroy() 114 assertThat(processDump).contains(SANDBOX_1_PROCESS_NAME); in testSdkSandboxIsDestroyedOnAppDestroy() 118 processDump = getDevice().executeAdbCommand("shell", "ps", "-A"); in testSdkSandboxIsDestroyedOnAppDestroy() 119 assertThat(processDump).doesNotContain(APP_PACKAGE + '\n'); in testSdkSandboxIsDestroyedOnAppDestroy() 120 assertThat(processDump).doesNotContain(SANDBOX_1_PROCESS_NAME); in testSdkSandboxIsDestroyedOnAppDestroy() 130 String processDump = getDevice().executeAdbCommand("shell", "ps", "-A"); in testSdkSandboxIsCreatedPerApp() local 131 assertThat(processDump).contains(APP_PACKAGE + '\n'); in testSdkSandboxIsCreatedPerApp() 132 assertThat(processDump).contains(SANDBOX_1_PROCESS_NAME); in testSdkSandboxIsCreatedPerApp() 135 processDump = getDevice().executeAdbCommand("shell", "ps", "-A"); in testSdkSandboxIsCreatedPerApp() [all …]
|
D | SdkSandboxShellHostTest.java | 123 String processDump = getDevice().executeShellCommand("ps -A"); in testStartSdkSandboxFailsForNonDebuggableApp() local 124 assertThat(processDump).doesNotContain(APP_SANDBOX_NAME); in testStartSdkSandboxFailsForNonDebuggableApp() 135 String processDump = getDevice().executeShellCommand("ps -A"); in testStartSdkSandboxFailsForIncorrectUser() local 136 assertThat(processDump).doesNotContain(DEBUGGABLE_APP_SANDBOX_NAME); in testStartSdkSandboxFailsForIncorrectUser() 169 String processDump = getDevice().executeShellCommand("ps -A"); in testStopSdkSandboxFailsForNonDebuggableApp() local 170 assertThat(processDump).contains(APP_SANDBOX_NAME); in testStopSdkSandboxFailsForNonDebuggableApp() 183 String processDump = getDevice().executeShellCommand("ps -A"); in testStopSdkSandboxFailsForIncorrectUser() local 184 assertThat(processDump).contains(DEBUGGABLE_APP_SANDBOX_NAME); in testStopSdkSandboxFailsForIncorrectUser() 198 String processDump = getDevice().executeAdbCommand("shell", "ps", "-A"); in waitForProcessStart() local 199 return processDump.contains(processName); in waitForProcessStart() [all …]
|