Searched refs:getSessionIdByPackageName (Results 1 – 3 of 3) sorted by relevance
463 public void getSessionIdByPackageName() throws Exception { in getSessionIdByPackageName() method in StagingManagerTest470 assertThat(mStagingManager.getSessionIdByPackageName("com.foo")).isEqualTo(239); in getSessionIdByPackageName()481 assertThat(mStagingManager.getSessionIdByPackageName("com.foo")).isEqualTo(-1); in getSessionIdByPackageName_appliedSession_ignores()492 assertThat(mStagingManager.getSessionIdByPackageName("com.foo")).isEqualTo(-1); in getSessionIdByPackageName_failedSession_ignores()503 assertThat(mStagingManager.getSessionIdByPackageName("com.foo")).isEqualTo(-1); in getSessionIdByPackageName_destroyedSession_ignores()508 assertThat(mStagingManager.getSessionIdByPackageName("com.foo")).isEqualTo(-1); in getSessionIdByPackageName_noSessions()519 assertThat(mStagingManager.getSessionIdByPackageName("com.bar")).isEqualTo(-1); in getSessionIdByPackageName_noSessionHasThisPackage()
784 int getSessionIdByPackageName(@NonNull String packageName) { in getSessionIdByPackageName() method in StagingManager
2268 int sessionId = mStagingManager.getSessionIdByPackageName(mPackageName); in handleInstall()