Home
last modified time | relevance | path

Searched defs:sessionId (Results 1 – 25 of 42) sorted by relevance

12

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java194 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit() local
204 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_VerifyPostReboot() local
211 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_AbandonSessionIsNoop() local
221 int sessionId = stageMultipleApks(TestApp.A1, TestApp.B1) in testInstallMultipleStagedApks_Commit() local
234 int sessionId = retrieveLastSessionId(); in testInstallMultipleStagedApks_VerifyPostReboot() local
242 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() local
308 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testIsStagedSessionActive() local
366 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit() local
376 int sessionId = stageDowngradeSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testStagedInstallDowngrade_DowngradeRequested_Commit() local
387 int sessionId = stageDowngradeSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit() local
[all …]
DApexShimValidationTest.java78 int sessionId = stageApex("com.android.apex.cts.shim.v2_additional_file.apex"); in testRejectsApexWithAdditionalFile_Commit() local
87 int sessionId = stageApex("com.android.apex.cts.shim.v2_additional_folder.apex"); in testRejectsApexWithAdditionalFolder_Commit() local
96 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_post_install_hook.apex"); in testRejectsApexWithPostInstallHook_Commit() local
105 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_pre_install_hook.apex"); in testRejectsApexWithPreInstallHook_Commit() local
114 int sessionId = stageApex("com.android.apex.cts.shim.v2_wrong_sha.apex"); in testRejectsApexWrongSHA_Commit() local
129 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex() local
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DPredictionService.java47 AppPredictionSessionId sessionId) { in onCreatePredictionSession()
53 public void onAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { in onAppTargetEvent()
58 public void onLaunchLocationShown(AppPredictionSessionId sessionId, String launchLocation, in onLaunchLocationShown()
64 public void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets()
71 public void onRequestPredictionUpdate(AppPredictionSessionId sessionId) { in onRequestPredictionUpdate()
77 public void onDestroyPredictionSession(AppPredictionSessionId sessionId) { in onDestroyPredictionSession()
DServiceReporter.java79 void assertActiveSession(AppPredictionSessionId sessionId) { in assertActiveSession()
83 AppPredictionContext getPredictionContext(AppPredictionSessionId sessionId) { in getPredictionContext()
89 AppPredictionSessionId sessionId) { in onCreatePredictionSession()
105 void onAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { in onAppTargetEvent()
119 void onLocationShown(AppPredictionSessionId sessionId, String launchLocation, in onLocationShown()
135 void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets()
175 void onRequestPredictionUpdate(AppPredictionSessionId sessionId) { in onRequestPredictionUpdate()
189 void onDestroyPredictionSession(AppPredictionSessionId sessionId) { in onDestroyPredictionSession()
237 public List<AppTarget> getTargets(AppPredictionSessionId sessionId) { in getTargets()
DPredictionsProvider.java28 List<AppTarget> getTargets(AppPredictionSessionId sessionId); in getTargets()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java155 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk() local
174 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk() local
190 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/
Dpoc.cpp40 std::vector<uint8_t> sessionId; in thread1() local
54 std::vector<uint8_t> sessionId; in main() local
/cts/hostsidetests/devicepolicy/app/ContentCaptureService/src/com/android/cts/devicepolicy/contentcaptureservice/
DSimpleContentCaptureService.java48 ContentCaptureSessionId sessionId) { in onCreateContentCaptureSession()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java65 int sessionId) { in getSessionInfo()
123 int sessionId = installer.createSession(params); in createSession() local
137 int sessionId = installer.createSession(params); in transferSession() local
DInstallSessionParamsUnitTest.java183 private SessionInfo getSessionInfo(int sessionId) { in getSessionInfo()
228 int sessionId; in checkSessionParams() local
/cts/tests/tests/location/src/android/location/cts/suplClient/
DSuplRrlpMessagesGenerator.java90 SessionID sessionId = ulpPdu.setSessionIDToNewInstance(); in generateSuplStartLocalLocationMessage() local
151 public static byte[] generateSuplPositionInitLocalLocationMessage(SessionID sessionId, long latE7, in generateSuplPositionInitLocalLocationMessage()
239 public static byte[] generateAssistanceDataAckMessage(SessionID sessionId) { in generateAssistanceDataAckMessage()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java300 final ContentCaptureSessionId sessionId = session.id; in testSimpleLifecycle_changeContextOnCreate() local
358 final ContentCaptureSessionId sessionId = session.id; in testTextChanged() local
399 final ContentCaptureSessionId sessionId = session.id; in testTextChangeBuffer() local
433 final ContentCaptureSessionId sessionId = session.id; in testDisabledByFlagSecure() local
463 final ContentCaptureSessionId sessionId = session.id; in testDisabledByApp() local
496 final ContentCaptureSessionId sessionId = session.id; in testDisabledFlagSecureAndByApp() local
623 final ContentCaptureSessionId sessionId = session.id; in testAddChildren_rightAway() local
665 final ContentCaptureSessionId sessionId = session.id; in testAddChildren_afterAnimation() local
DBlankWithTitleActivity.java46 final ContentCaptureSessionId sessionId = session.id; in assertDefaultEvents() local
DCtsContentCaptureService.java231 ContentCaptureSessionId sessionId) { in onCreateContentCaptureSession()
249 public void onDestroyContentCaptureSession(ContentCaptureSessionId sessionId) { in onDestroyContentCaptureSession()
268 public void onContentCaptureEvent(ContentCaptureSessionId sessionId, in onContentCaptureEvent()
308 public Session getFinishedSession(@NonNull ContentCaptureSessionId sessionId) in getFinishedSession()
375 private CountDownLatch getUnfinishedSessionLatch(final ContentCaptureSessionId sessionId) { in getUnfinishedSessionLatch()
401 private Session getExistingSession(@NonNull ContentCaptureSessionId sessionId) { in getExistingSession()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java142 int sessionId = createSession(); in commit() local
170 int sessionId; in createSession() local
220 int sessionId = createEmptyInstallSession(/*multiPackage*/false, app.isApex()); in createSingleInstallSession() local
DLocalIntentSender.java67 int sessionId = intent.getIntExtra(PackageInstaller.EXTRA_SESSION_ID, -1); in prettyPrint() local
DInstallUtils.java86 public static void waitForSessionReady(int sessionId) { in waitForSessionReady()
152 public static PackageInstaller.Session openPackageInstallerSession(int sessionId) in openPackageInstallerSession()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp139 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
152 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java127 int sessionId = mPackageInstaller.createSession(params); in installPackage() local
144 private IntentSender getCommitCallback(int sessionId) { in getCommitCallback()
/cts/tests/tests/media/src/android/media/cts/
DPostProcTestBase.java61 int sessionId = am.generateAudioSessionId(); in getSessionId() local
DMediaDrmMockTest.java657 public void onEvent(MediaDrm md, byte[] sessionId, int event, in onEvent()
810 public void onExpirationUpdate(MediaDrm md, byte[] sessionId, in onExpirationUpdate()
892 public void onKeyStatusChange(MediaDrm md, byte[] sessionId, in onKeyStatusChange()
992 public void onSessionLostState(MediaDrm md, byte[] sessionId) { in onSessionLostState()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMultiUserDeviceTest.java87 final String sessionId = Long.toString(SystemClock.elapsedRealtimeNanos()); in testConnectingToTheSameUserIme() local
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java169 int sessionId = mPackageInstaller.createSession(params); in installPackage() local
186 private IntentSender getCommitCallback(int sessionId) { in getCommitCallback()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp457 PlaybackParams& params, const AMediaDrmSessionId& sessionId, Uuid uuid) { in playContent()
598 JNIEnv* env, const AMediaObjects& aMediaObjects, const AMediaDrmSessionId& sessionId, in acquireLicense()
724 AMediaDrmSessionId sessionId; in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative() local
810 AMediaDrmSessionId sessionId; in Java_android_media_cts_NativeMediaDrmClearkeyTest_testQueryKeyStatusNative() local
907 AMediaDrmSessionId sessionId; in Java_android_media_cts_NativeMediaDrmClearkeyTest_testFindSessionIdNative() local
925 for (auto sessionId : sessionIds) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testFindSessionIdNative() local
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java88 int sessionId = -1; in run() local

12