/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 232 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit() local 244 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_VerifyPostReboot() local 252 int sessionId = retrieveLastSessionId(); in testInstallStagedApk_AbandonSessionIsNoop() local 263 int sessionId = stageMultipleApks(TestApp.A1, TestApp.B1) in testInstallMultipleStagedApks_Commit() local 278 int sessionId = retrieveLastSessionId(); in testInstallMultipleStagedApks_VerifyPostReboot() local 287 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() local 320 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReady_CommitAndAbandon() local 334 int sessionId = stageSingleApk(TestApp.Apex2).assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandon() local 342 int sessionId = stageMultipleApks(TestApp.Apex2, TestApp.A1, TestApp.B1) in testStageAnotherSessionImmediatelyAfterAbandonMultiPackage() local 355 int sessionId = stageMultipleApks(TestApp.A1, TestApp.Apex2).assertSuccessful() in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon() local [all …]
|
D | ApexShimValidationTest.java | 70 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 84 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_post_install_hook.apex"); in testRejectsApexWithPostInstallHook_Commit() local 91 int sessionId = stageApex("com.android.apex.cts.shim.v2_with_pre_install_hook.apex"); in testRejectsApexWithPreInstallHook_Commit() local 98 int sessionId = stageApex("com.android.apex.cts.shim.v2_wrong_sha.apex"); in testRejectsApexWrongSHA_Commit() local 111 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex() local
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | CtsTextClassifierService.java | 94 public void onSuggestSelection(TextClassificationSessionId sessionId, in onSuggestSelection() 107 public void onClassifyText(TextClassificationSessionId sessionId, in onClassifyText() 129 public void onGenerateLinks(TextClassificationSessionId sessionId, TextLinks.Request request, in onGenerateLinks() 136 public void onDetectLanguage(TextClassificationSessionId sessionId, in onDetectLanguage() 144 public void onSuggestConversationActions(TextClassificationSessionId sessionId, in onSuggestConversationActions() 152 public void onSelectionEvent(TextClassificationSessionId sessionId, SelectionEvent event) { in onSelectionEvent() 157 public void onTextClassifierEvent(TextClassificationSessionId sessionId, in onTextClassifierEvent() 164 TextClassificationSessionId sessionId) { in onCreateTextClassificationSession() 169 public void onDestroyTextClassificationSession(TextClassificationSessionId sessionId) { in onDestroyTextClassificationSession() 173 private void handleRequest(TextClassificationSessionId sessionId, String methodName) { in handleRequest()
|
D | TextClassificationSessionIdTest.java | 58 TextClassificationSessionId sessionId = startedEvent.getSessionId(); in getValue() local
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | PredictionService.java | 47 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()
|
D | ServiceReporter.java | 79 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()
|
D | PredictionsProvider.java | 28 List<AppTarget> getTargets(AppPredictionSessionId sessionId); in getTargets()
|
/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 | 55 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()
|
D | SmartspaceSessionIdTest.java | 57 SmartspaceSessionId sessionId = SmartspaceSessionId.CREATOR.createFromParcel(parcel); in testCreateSmartspaceSessionId() local
|
/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 testCommitSession() local 96 private void writeSessionIdToDisk(long sessionId) { in writeSessionIdToDisk() 104 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/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/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/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreManagerTest.java | 150 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testGetCreateSession() local 199 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAbandonSession() local 217 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenReadWriteSession() local 242 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSession_fromAnotherPkg() local 268 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSessionAndAbandon() local 295 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testCloseSession() local 334 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess() local 355 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess_abandonedSession() local 378 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowSameSignatureAccess() local 399 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowSameSignatureAccess_abandonedSession() local [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | StubMediaRoute2ProviderService.java | 197 public void onSetSessionVolume(long requestId, String sessionId, int volume) { in onSetSessionVolume() 225 final String sessionId = String.valueOf(mNextSessionId); in onCreateSession() local 248 public void onReleaseSession(long requestId, String sessionId) { in onReleaseSession() 286 public void onSelectRoute(long requestId, String sessionId, String routeId) { in onSelectRoute() 315 public void onDeselectRoute(long requestId, String sessionId, String routeId) { in onDeselectRoute() 350 public void onTransferToRoute(long requestId, String sessionId, String routeId) { in onTransferToRoute() 416 String sessionId = mRouteIdToSessionId.get(routeId); in maybeDeselectRoute() local 427 public void onReleaseSession(long requestId, @NonNull String sessionId) {} in onReleaseSession() 428 public void onSelectRoute(long requestId, @NonNull String sessionId, in onSelectRoute() 430 public void onDeselectRoute(long requestId, @NonNull String sessionId, in onDeselectRoute() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandTest.java | 440 String sessionId = createUpdateSession(TEST_APP_PACKAGE); in testSplitsRemove() local 460 String sessionId = createUpdateSession(TEST_APP_PACKAGE); in testSplitsBatchRemove() local 496 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV1() local 524 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV2() local 558 final int sessionId = installer.createSession(params); in testRemoveFileApiV2() local 591 private void addSplits(String sessionId, String[] splitNames) throws IOException { in addSplits() 601 private void addSplitsStdIn(String sessionId, String[] splitNames, String args) in addSplitsStdIn() 611 private void removeSplits(String sessionId, String[] splitNames) throws IOException { in removeSplits() 618 private void removeSplitsBatch(String sessionId, String[] splitNames) throws IOException { in removeSplitsBatch() 623 private void commitSession(String sessionId) throws IOException { in commitSession() [all …]
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 110 int sessionId, @NonNull Consumer<Boolean> callback) { in onCreateTranslationSession() 116 public void onFinishTranslationSession(int sessionId) { in onFinishTranslationSession() 122 public void onTranslationRequest(@NonNull TranslationRequest request, int sessionId, in onTranslationRequest() 128 request, sessionId, cancellationSignal, callback)); in onTranslationRequest() local 271 @NonNull TranslationRequest request, int sessionId, in handleOnTranslationRequest()
|
D | CtsContentCaptureService.java | 79 ContentCaptureSessionId sessionId) { in onCreateContentCaptureSession() 86 public void onDestroyContentCaptureSession(ContentCaptureSessionId sessionId) { in onDestroyContentCaptureSession() 91 public void onContentCaptureEvent(ContentCaptureSessionId sessionId, in onContentCaptureEvent()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 155 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk() local 174 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk() local 191 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters() local
|
/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/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 99 public static PackageInstaller.SessionInfo waitForSession(int sessionId) { in waitForSession() 145 public static void waitForSessionReady(int sessionId) { in waitForSessionReady() 177 public static PackageInstaller.Session openPackageInstallerSession(int sessionId) in openPackageInstallerSession() 396 public static PackageInstaller.SessionInfo getStagedSessionInfo(int sessionId) { in getStagedSessionInfo() 411 public static void assertStagedSessionIsAbandoned(int sessionId) { in assertStagedSessionIsAbandoned()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 348 final ContentCaptureSessionId sessionId = session.id; in testSimpleLifecycle_changeContextOnCreate() local 406 final ContentCaptureSessionId sessionId = session.id; in testTextChanged() local 453 final ContentCaptureSessionId sessionId = session.id; in testTextChangeBuffer() local 504 final ContentCaptureSessionId sessionId = session.id; in testComposingSpan_mergedEvent() local 549 final ContentCaptureSessionId sessionId = session.id; in testComposingSpan_notMergedWithoutComposing() local 596 final ContentCaptureSessionId sessionId = session.id; in testComposingSpan_differentEditText() local 641 final ContentCaptureSessionId sessionId = session.id; in testComposingSpan_eventsForSpanChanges() local 697 final ContentCaptureSessionId sessionId = session.id; in testDisabledByFlagSecure() local 727 final ContentCaptureSessionId sessionId = session.id; in testDisabledByApp() local 760 final ContentCaptureSessionId sessionId = session.id; in testDisabledFlagSecureAndByApp() local [all …]
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SamegradeTest.java | 102 int sessionId = install.commit(); in action_phase() local 136 int sessionId = getParameterizedInstall(VERSION_CODE_SAMEGRADE_SYSTEM).commit(); in action_systemApex_phase() local
|