Searched refs:TEST_APP2 (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 90 private static final String TEST_APP2 = "com.android.servicestests.apps.simpleservicetestapp2"; field in ActivityManagerTest 362 final int uid2 = pm.getPackageUid(TEST_APP2, 0); in testAppFreezerWithAllowOomAdj() 392 runShellCommand("cmd deviceidle whitelist +" + TEST_APP2); in testAppFreezerWithAllowOomAdj() 437 sendCommand(COMMAND_BIND_SERVICE, TEST_APP1, TEST_APP2, extras); in testAppFreezerWithAllowOomAdj() 438 assertTrue("Timed out to bind to " + TEST_APP2, latchHolder[0].await( in testAppFreezerWithAllowOomAdj() 445 assertTrue(TEST_APP2 + " should be in cached", uid2Listener.waitFor( in testAppFreezerWithAllowOomAdj() 452 assertFalse(TEST_APP2 + " shouldn't be frozen now.", isAppFrozen(TEST_APP2)); in testAppFreezerWithAllowOomAdj() 469 sendCommand(COMMAND_UNBIND_SERVICE, TEST_APP1, TEST_APP2, null); in testAppFreezerWithAllowOomAdj() 470 sendCommand(COMMAND_UNBIND_SERVICE, TEST_APP2, TEST_APP1, null); in testAppFreezerWithAllowOomAdj() 472 runShellCommand("cmd deviceidle whitelist -" + TEST_APP2); in testAppFreezerWithAllowOomAdj() [all …]
|