Home
last modified time | relevance | path

Searched refs:createSession (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/
DTaplPromiseIconUiTest.java87 private int createSession(String packageName, String label, Bitmap icon) throws Throwable { in createSession() method in TaplPromiseIconUiTest
93 return mTargetContext.getPackageManager().getPackageInstaller().createSession(params); in createSession()
103 mSessionId = createSession(PACKAGE_NAME, appLabel, in testPromiseIcon_addedFromEligibleSession()
127 mSessionId = createSession(PACKAGE_NAME, null, null); in testPromiseIcon_notAddedFromIneligibleSession()
145 mSessionId = createSession(DUMMY_PACKAGE, /* label= */ "", in testPromiseIcon_addedArchivedApp()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DRangingManagerTest.java203 assertThrows(NullPointerException.class, () -> mRangingManager.createSession(null)); in testCreateSession_nullSessionParameters()
210 assertNull(mRangingManager.createSession(TEST_SESSION_PARAMETER)); in testCreateSession_uwbSessionWithUwbDisabled()
218 assertNotNull(mRangingManager.createSession(TEST_SESSION_PARAMETER)); in testCreateSession_uwbSession()
/packages/modules/Uwb/generic_ranging/src/com/android/sensor/
DSessionWithArCoreNative.java36 public native long createSession(byte[] config); in createSession() method in SessionWithArCoreNative
DArCoreMultiSensorFinder.java262 nativeSessionPointer = sessionWithArCoreNative.createSession(mConfig.toByteArray()); in start()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoRollbackPermissionTest.java46 assertThrows(SecurityException.class, () -> packageInstaller.createSession(parentParams)); in testCreateInstallSessionWithReasonRollbackFails()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DRangingManager.java93 public RangingSession createSession(@NonNull SessionParameters sessionParameters) { in createSession() method in RangingManager
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DDefaultLayoutProviderTest.java119 installer.createSession(params); in testCustomProfileLoaded_with_widget()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java135 public Session createSession() { in createSession() method in AndroidSpellCheckerService
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java190 mSessionId = pi.createSession(params); in installPackage()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DTestUtil.java161 final long sessionId = blobManager.createSession(handle); in setLauncherDefaultLayout()
DLauncherModelHelper.java132 int sessionId = pi.createSession(sp); in createInstallerSession()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaServiceTest.java124 when(mMediaSessionManager.createSession(any(), anyString(), any())).thenReturn(mISession); in setUp()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DTaplBindWidgetTest.java224 mSessionId = installer.createSession(params); in testPendingWidget_notRestored_activeInstall()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt296 val sessionId = packageInstaller.createSession(sessionParam) in <lambda>()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBasePermissionTest.kt472 val sessionId = packageInstaller.createSession(sessionParam) in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDevOptionsUiHelper.kt466 blobManager.openSession(blobManager.createSession(handle)).use { session -> in <lambda>()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedPermissionsTest.java429 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()