Searched refs:createSession (Results 1 – 5 of 5) sorted by relevance
66 private int createSession(String label, Bitmap icon) throws Throwable { in createSession() method in PromiseIconUiTest72 return mTargetContext.getPackageManager().getPackageInstaller().createSession(params); in createSession()82 mSessionId = createSession(appLabel, Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8)); in testPromiseIcon_addedFromEligibleSession()104 mSessionId = createSession(null, null); in testPromiseIcon_notAddedFromIneligibleSession()
100 when(mPackageInstaller.createSession(any(PackageInstaller.SessionParams.class))).thenAnswer( in setUp()263 verify(mPackageInstaller).createSession(paramsCaptor.capture()); in verifyPackageInstalled()
147 int sessionId = pi.createSession(params); in run()
135 public Session createSession() { in createSession() method in AndroidSpellCheckerService
231 mSessionId = installer.createSession(params); in testPendingWidget_notRestored_activeInstall()