/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | PackageInstallerEnumerationTests.java | 65 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothing_cannotSeeSession() local 73 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingHasPermission_canSeeSession() local 81 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesPackage_canSeeSession() local 89 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_queriesNothingTargetsQ_canSeeSession() local 97 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).createSession(); in getSessionInfo_sessionOwner_canSeeSession() local 105 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothing_cannotSeeSession() local 114 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingHasPermission_canSeeSession() local 123 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesPackage_canSeeSession() local 132 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingTargetsQ_canSeeSession() local 141 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_sessionOwner_canSeeSession() local [all …]
|
D | InstallMultiple.java | 72 final int sessionId = createSession(); in run() local 87 int sessionId = -1; in createSession() local 100 private void writeSession(int sessionId) { in writeSession() 113 private void commitSession(int sessionId) { in commitSession()
|
D | LauncherAppsEnumerationTests.java | 244 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothing_cannotSeeSession() local 262 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingHasPermission_canSeeSession() local 280 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesPackage_canSeeSession() local 298 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_queriesNothingTargetsQ_canSeeSession() local 368 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothing_cannotSeeSessions() local 384 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingHasPermission_canSeeSessions() local 399 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesPackage_canSeeSessions() local 415 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_queriesNothingTargetsQ_canSeeSessions() local 430 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in getAllPkgInstallerSessions_sessionOwner_canSeeSessions() local
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 243 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit() local 254 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_VerifyPostReboot() local 262 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_AbandonSessionIsNoop() local 273 int sessionId = stageMultipleApks(TestApp.A1, TestApp.B1) in testInstallMultipleStagedApks_Commit() local 287 int sessionId = retrieveLastSessionId(); in testInstallMultipleStagedApks_VerifyPostReboot() local 296 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() local 328 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReady_CommitAndAbandon() local 342 int sessionId = stageSingleApk(TestApp.Apex2).assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandon() local 350 int sessionId = stageMultipleApks(TestApp.Apex2, TestApp.A1, TestApp.B1) in testStageAnotherSessionImmediatelyAfterAbandonMultiPackage() local 363 int sessionId = Install.multi(TestApp.A1, TestApp.Apex2).setStaged().createSession(); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon() local [all …]
|
D | ApexShimValidationTest.java | 69 int sessionId = stageApex("com.android.apex.cts.shim.v2_additional_file.apex"); in testRejectsApexWithAdditionalFile_Commit() local 77 int sessionId = stageApex("com.android.apex.cts.shim.v2_additional_folder.apex"); in testRejectsApexWithAdditionalFolder_Commit() local 85 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_post_install_hook.apex"); in testRejectsApexWithPostInstallHook_Commit() local 93 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_pre_install_hook.apex"); in testRejectsApexWithPreInstallHook_Commit() local 101 int sessionId = stageApex("com.android.apex.cts.shim.v2_wrong_sha.apex"); in testRejectsApexWrongSHA_Commit() local 173 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex() local
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | PredictionService.java | 44 AppPredictionSessionId sessionId) { in onCreatePredictionSession() 50 public void onAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { in onAppTargetEvent() 55 public void onLaunchLocationShown(AppPredictionSessionId sessionId, String launchLocation, in onLaunchLocationShown() 61 public void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() 68 public void onRequestPredictionUpdate(AppPredictionSessionId sessionId) { in onRequestPredictionUpdate() 74 public void onDestroyPredictionSession(AppPredictionSessionId sessionId) { in onDestroyPredictionSession() 79 public void onRequestServiceFeatures(AppPredictionSessionId sessionId, in onRequestServiceFeatures()
|
D | ServiceReporter.java | 91 void assertActiveSession(AppPredictionSessionId sessionId) { in assertActiveSession() 95 AppPredictionContext getPredictionContext(AppPredictionSessionId sessionId) { in getPredictionContext() 101 AppPredictionSessionId sessionId) { in onCreatePredictionSession() 117 void onAppTargetEvent(AppPredictionSessionId sessionId, AppTargetEvent event) { in onAppTargetEvent() 131 void onLocationShown(AppPredictionSessionId sessionId, String launchLocation, in onLocationShown() 147 void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() 187 void onRequestPredictionUpdate(AppPredictionSessionId sessionId) { in onRequestPredictionUpdate() 201 void onDestroyPredictionSession(AppPredictionSessionId sessionId) { in onDestroyPredictionSession() 215 void onRequestServiceFeatures(AppPredictionSessionId sessionId, in onRequestServiceFeatures() 256 public List<AppTarget> getTargets(AppPredictionSessionId sessionId) { in getTargets()
|
D | PredictionsProvider.java | 28 List<AppTarget> getTargets(AppPredictionSessionId sessionId); in getTargets()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | CtsTextClassifierService.java | 104 public void onSuggestSelection(TextClassificationSessionId sessionId, in onSuggestSelection() 117 public void onClassifyText(TextClassificationSessionId sessionId, in onClassifyText() 139 public void onGenerateLinks(TextClassificationSessionId sessionId, TextLinks.Request request, in onGenerateLinks() 146 public void onDetectLanguage(TextClassificationSessionId sessionId, in onDetectLanguage() 154 public void onSuggestConversationActions(TextClassificationSessionId sessionId, in onSuggestConversationActions() 162 public void onSelectionEvent(TextClassificationSessionId sessionId, SelectionEvent event) { in onSelectionEvent() 167 public void onTextClassifierEvent(TextClassificationSessionId sessionId, in onTextClassifierEvent() 174 TextClassificationSessionId sessionId) { in onCreateTextClassificationSession() 179 public void onDestroyTextClassificationSession(TextClassificationSessionId sessionId) { in onDestroyTextClassificationSession() 183 private void handleRequest(TextClassificationSessionId sessionId, String methodName) { in handleRequest()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 104 AbandonSessionCallBack(CountDownLatch countDownLatch, int sessionId) { in AbandonSessionCallBack() 109 public void onCreated(int sessionId) { in onCreated() 114 public void onBadgingChanged(int sessionId) { in onBadgingChanged() 119 public void onActiveChanged(int sessionId, boolean active) { in onActiveChanged() 124 public void onProgressChanged(int sessionId, float progress) { in onProgressChanged() 129 public void onFinished(int sessionId, boolean success) { in onFinished() 233 private PackageInstaller.Session openSession(int sessionId) throws IOException { in openSession() 251 private OutputStream openSessionForWrite(int sessionId, String fileName) throws IOException { in openSessionForWrite() 267 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_shouldReceiveAbandonCallBack() local 281 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() local [all …]
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | CtsSmartspaceService.java | 54 public void onCreateSmartspaceSession(SmartspaceConfig config, SmartspaceSessionId sessionId) { in onCreateSmartspaceSession() 68 public void notifySmartspaceEvent(SmartspaceSessionId sessionId, SmartspaceTargetEvent event) { in notifySmartspaceEvent() 80 public void onRequestSmartspaceUpdate(SmartspaceSessionId sessionId) { in onRequestSmartspaceUpdate() 94 public void onDestroySmartspaceSession(SmartspaceSessionId sessionId) { in onDestroySmartspaceSession() 103 public void onDestroy(SmartspaceSessionId sessionId) { in onDestroy()
|
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
D | DataPersistenceTest.java | 50 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession() local 65 final long sessionId = readSessionIdFromDisk(); in testOpenSessionAndWrite() local 79 final long sessionId = readSessionIdFromDisk(); in testCommitSessionAndAcquireLease() local 98 private void writeSessionIdToDisk(long sessionId) { in writeSessionIdToDisk() 106 final long sessionId = sharedPref.getLong(KEY_SESSION_ID, -1); in readSessionIdFromDisk() local
|
D | DataCleanupTest.java | 52 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession() local 62 final long sessionId = getSessionIdFromArgs(); in testOpenSession() local 70 final long sessionId = getSessionIdFromArgs(); in testOpenSession_shouldThrow() local 90 final long sessionId = createSession(blobData.getBlobHandle()); in testCommitBlob() local 130 final long sessionId = createSession(blobHandle); in testRecommitBlob() local 149 private void addSessionIdToResults(long sessionId) { in addSessionIdToResults()
|
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorActivity.java | 53 final int sessionId = getIntent().getIntExtra(EXTRA_SESSION_ID, 0); in onCreate() local 60 final int sessionId = getIntent().getIntExtra(EXTRA_SESSION_ID, 0); in onCreate() local
|
D | SessionInspectorTest.java | 56 int sessionId = createSession(myPackage); in testOnlyOwnerCanSee() local 85 private void abandonSession(String packageName, int sessionId) throws Exception { in abandonSession()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | CtsSearchUiService.java | 52 public void onDestroy(SearchSessionId sessionId) { in onDestroy() 66 SearchSessionId sessionId) { in onSearchSessionCreated() 78 public void onNotifyEvent(SearchSessionId sessionId, in onNotifyEvent() 88 public void onQuery(SearchSessionId sessionId, Query input, in onQuery()
|
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/ |
D | BaseFakeRouteProviderService.java | 92 public void onSetSessionVolume(long requestId, String sessionId, int volume) {} in onSetSessionVolume() 99 public void onReleaseSession(long requestId, String sessionId) {} in onReleaseSession() 102 public void onSelectRoute(long requestId, String sessionId, String routeId) {} in onSelectRoute() 105 public void onDeselectRoute(long requestId, String sessionId, String routeId) {} in onDeselectRoute() 108 public void onTransferToRoute(long requestId, String sessionId, String routeId) {} in onTransferToRoute()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreManagerTest.java | 157 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testGetCreateSession() local 206 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAbandonSession() local 224 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenReadWriteSession() local 249 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSession_fromAnotherPkg() local 275 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSessionAndAbandon() local 302 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testCloseSession() local 341 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess() local 362 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess_abandonedSession() local 385 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowSameSignatureAccess() local 406 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowSameSignatureAccess_abandonedSession() local [all …]
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PreapprovalInstallTest.kt | 98 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in requestUserPreapproval_userAgree_statusSuccess() constant 235 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in requestUserPreapproval_userCancel_statusFailureAborted() constant 251 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in requestUserPreapproval_alreadyApproved_throwException() constant 272 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in requestUserPreapproval_userCancel_cannotCommitAgain() constant 291 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in requestUserPreapproval_doNothingAndCommitLater_installSuccessfully() constant 333 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in commitPreapprovalSession_success() constant 355 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in commitPreapprovalSession_usingAnotherLocaleInSplitApk_success() constant 380 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in commitPreapprovalSession_update_success() constant 404 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in commitPreapprovalSession_updateUsingCurrentLabel_success() constant 426 val (sessionId, session) = createSession(0 /* flags */, false /* isMultiPackage */, in commitPreapprovalSession_notMatchApk_fail() constant [all …]
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 244 public void onSetSessionVolume(long requestId, String sessionId, int volume) { in onSetSessionVolume() 272 final String sessionId = String.valueOf(mNextSessionId); in onCreateSession() local 311 public void onReleaseSession(long requestId, String sessionId) { in onReleaseSession() 349 public void onSelectRoute(long requestId, String sessionId, String routeId) { in onSelectRoute() 378 public void onDeselectRoute(long requestId, String sessionId, String routeId) { in onDeselectRoute() 413 public void onTransferToRoute(long requestId, String sessionId, String routeId) { in onTransferToRoute() 479 String sessionId = mRouteIdToSessionId.get(routeId); in maybeDeselectRoute() local 490 public void onReleaseSession(long requestId, @NonNull String sessionId) {} in onReleaseSession() 491 public void onSelectRoute(long requestId, @NonNull String sessionId, in onSelectRoute() 493 public void onDeselectRoute(long requestId, @NonNull String sessionId, in onDeselectRoute() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 162 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk() local 181 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk() local 198 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters() local
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsContentCaptureService.java | 79 ContentCaptureSessionId sessionId) { in onCreateContentCaptureSession() 86 public void onDestroyContentCaptureSession(ContentCaptureSessionId sessionId) { in onDestroyContentCaptureSession() 91 public void onContentCaptureEvent(ContentCaptureSessionId sessionId, in onContentCaptureEvent()
|
D | CtsTranslationService.java | 135 int sessionId, @NonNull Consumer<Boolean> callback) { in onCreateTranslationSession() 146 public void onFinishTranslationSession(int sessionId) { in onFinishTranslationSession() 153 public void onTranslationRequest(@NonNull TranslationRequest request, int sessionId, in onTranslationRequest() 159 request, sessionId, cancellationSignal, callback)); in onTranslationRequest() local 310 @NonNull TranslationRequest request, int sessionId, in handleOnTranslationRequest()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/ |
D | poc.cpp | 40 std::vector<uint8_t> sessionId; in thread1() local 54 std::vector<uint8_t> sessionId; in main() local
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 719 String sessionId = createUpdateSession(TEST_APP_PACKAGE); in testSplitsRemove() local 739 String sessionId = createUpdateSession(TEST_APP_PACKAGE); in testSplitsBatchRemove() local 777 final int sessionId = installer.createSession(params); in installDontKillSplit() local 839 final int sessionId = installer.createSession(params); in testDontKillRemovedWithBaseApkFullInstall() local 876 final int sessionId = installer.createSession(params); in testDontKillRemovedWithBaseApk() local 915 final int sessionId = installer.createSession(params); in testDontKillRemovedWithRemovedSplit() local 953 final int sessionId = installer.createSession(params); in testDontKillRemovedWithReplacedSplit() local 988 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV1() local 1014 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV2() local 1046 final int sessionId = installer.createSession(params); in testRemoveFileApiV2() local [all …]
|