Add device ID to adb command

The test lab has more than one device connected at a time. We need
to target the specific device that's currently undergoing test.

Change-Id: I8d2e39c1edb522708cae42842a0bb981e3a02531
Fixes: 32109324
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testAdbInstallFile
diff --git a/hostsidetests/appsecurity/src/android/appsecurity/cts/AppSecurityTests.java b/hostsidetests/appsecurity/src/android/appsecurity/cts/AppSecurityTests.java
index 03c697e..e500b00 100644
--- a/hostsidetests/appsecurity/src/android/appsecurity/cts/AppSecurityTests.java
+++ b/hostsidetests/appsecurity/src/android/appsecurity/cts/AppSecurityTests.java
@@ -303,6 +303,8 @@
     public void testAdbInstallFile() throws Exception {
         final List<String> output = AdbOutputReader.getOutput(5000L, new String[] {
                 "adb",
+                "-s",
+                getDevice().getSerialNumber(),
                 "shell",
                 "cmd",
                 "package",