/aosp14/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
H A D | StagedInstallInternalTest.java | 187 int sessionId = retrieveLastSessionId(); in testDuplicateApkInApexShouldFail_Verify() local 204 int sessionId = retrieveLastSessionId(); in testSystemServerRestartDoesNotAffectStagedSessions_Verify() local 244 int sessionId = retrieveLastSessionId(); in testStagedSessionShouldCleanUpOnOnSuccess_Verify() local 278 int sessionId = retrieveLastSessionId(); in testFailStagedSessionIfStagingDirectoryDeleted_Verify() local 293 int sessionId = retrieveLastSessionId(); in testApexActivationFailureIsCapturedInSession_Verify() local 307 int sessionId = retrieveLastSessionId(); in testActiveApexIsRevertedOnCheckpointRollback_Commit() local 318 int sessionId = retrieveLastSessionId(); in testActiveApexIsRevertedOnCheckpointRollback_VerifyPostReboot() local 333 int sessionId = retrieveLastSessionId(); in testApexIsNotActivatedIfNotInCheckpointMode_VerifyPostReboot() local 426 int sessionId = in testVendorApexCorrectInstaller_staged() local 631 private static void assertSessionFailed(int sessionId) { in assertSessionFailed() [all …]
|
/aosp14/frameworks/base/core/java/android/service/appprediction/ |
H A D | IPredictionService.aidl | 34 in AppPredictionSessionId sessionId); in onCreatePredictionSession() 36 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() 38 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() 41 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() 44 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() 47 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() 50 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() 52 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession()
|
H A D | AppPredictionService.java | 160 public abstract void onAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in onAppTargetEvent() 167 public abstract void onLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in onLaunchLocationShown() 171 @NonNull AppPredictionSessionId sessionId) { in doCreatePredictionSession() 183 @NonNull AppPredictionSessionId sessionId) {} in onCreatePredictionSession() 189 public abstract void onSortAppTargets(@NonNull AppPredictionSessionId sessionId, in onSortAppTargets() 193 private void doRegisterPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in doRegisterPredictionUpdates() 218 private void doUnregisterPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in doUnregisterPredictionUpdates() 248 private void doRequestPredictionUpdate(@NonNull AppPredictionSessionId sessionId) { in doRequestPredictionUpdate() 265 private void doDestroyPredictionSession(@NonNull AppPredictionSessionId sessionId) { in doDestroyPredictionSession() 277 public void onDestroyPredictionSession(@NonNull AppPredictionSessionId sessionId) {} in onDestroyPredictionSession() [all …]
|
/aosp14/frameworks/base/core/java/android/app/prediction/ |
H A D | IPredictionManager.aidl | 32 in AppPredictionSessionId sessionId, in IBinder token); in createPredictionSession() 34 void notifyAppTargetEvent(in AppPredictionSessionId sessionId, in AppTargetEvent event); in notifyAppTargetEvent() 36 void notifyLaunchLocationShown(in AppPredictionSessionId sessionId, in String launchLocation, in notifyLaunchLocationShown() 39 void sortAppTargets(in AppPredictionSessionId sessionId, in ParceledListSlice targets, in sortAppTargets() 42 void registerPredictionUpdates(in AppPredictionSessionId sessionId, in registerPredictionUpdates() 45 void unregisterPredictionUpdates(in AppPredictionSessionId sessionId, in unregisterPredictionUpdates() 48 void requestPredictionUpdate(in AppPredictionSessionId sessionId); in requestPredictionUpdate() 50 void onDestroyPredictionSession(in AppPredictionSessionId sessionId); in onDestroyPredictionSession()
|
/aosp14/frameworks/base/core/java/android/service/textclassifier/ |
H A D | ITextClassifierService.aidl | 38 in TextClassificationSessionId sessionId, in onSuggestSelection() 43 in TextClassificationSessionId sessionId, in onClassifyText() 48 in TextClassificationSessionId sessionId, in onGenerateLinks() 54 in TextClassificationSessionId sessionId, in onSelectionEvent() 58 in TextClassificationSessionId sessionId, in onTextClassifierEvent() 63 in TextClassificationSessionId sessionId); in onCreateTextClassificationSession() 66 in TextClassificationSessionId sessionId); in onDestroyTextClassificationSession() 69 in TextClassificationSessionId sessionId, in onDetectLanguage() 74 in TextClassificationSessionId sessionId, in onSuggestConversationActions()
|
H A D | TextClassifierService.java | 258 public abstract void onSuggestSelection( in onSuggestSelection() 274 public abstract void onClassifyText( in onClassifyText() 290 public abstract void onGenerateLinks( in onGenerateLinks() 305 public void onDetectLanguage( in onDetectLanguage() 323 public void onSuggestConversationActions( in onSuggestConversationActions() 347 public void onSelectionEvent( in onSelectionEvent() 361 public void onTextClassifierEvent( in onTextClassifierEvent() 373 @NonNull TextClassificationSessionId sessionId) {} in onCreateTextClassificationSession() 381 public void onDestroyTextClassificationSession( in onDestroyTextClassificationSession()
|
/aosp14/frameworks/base/core/java/android/service/smartspace/ |
H A D | ISmartspaceService.aidl | 33 void onCreateSmartspaceSession(in SmartspaceConfig context, in SmartspaceSessionId sessionId); in onCreateSmartspaceSession() 35 void notifySmartspaceEvent(in SmartspaceSessionId sessionId, in SmartspaceTargetEvent event); in notifySmartspaceEvent() 37 void requestSmartspaceUpdate(in SmartspaceSessionId sessionId); in requestSmartspaceUpdate() 39 void registerSmartspaceUpdates(in SmartspaceSessionId sessionId, in registerSmartspaceUpdates() 42 void unregisterSmartspaceUpdates(in SmartspaceSessionId sessionId, in unregisterSmartspaceUpdates() 45 void onDestroySmartspaceSession(in SmartspaceSessionId sessionId); in onDestroySmartspaceSession()
|
H A D | SmartspaceService.java | 146 @NonNull SmartspaceSessionId sessionId) { in doCreateSmartspaceSession() 158 @NonNull SmartspaceSessionId sessionId); in onCreateSmartspaceSession() 164 public abstract void notifySmartspaceEvent(@NonNull SmartspaceSessionId sessionId, in notifySmartspaceEvent() 171 public abstract void onRequestSmartspaceUpdate(@NonNull SmartspaceSessionId sessionId); in onRequestSmartspaceUpdate() 173 private void doRegisterSmartspaceUpdates(@NonNull SmartspaceSessionId sessionId, in doRegisterSmartspaceUpdates() 193 private void doUnregisterSmartspaceUpdates(@NonNull SmartspaceSessionId sessionId, in doUnregisterSmartspaceUpdates() 208 private void doRequestPredictionUpdate(@NonNull SmartspaceSessionId sessionId) { in doRequestPredictionUpdate() 244 public abstract void onDestroySmartspaceSession(@NonNull SmartspaceSessionId sessionId); in onDestroySmartspaceSession() 246 private void doDestroy(@NonNull SmartspaceSessionId sessionId) { in doDestroy() 262 public final void updateSmartspaceTargets(@NonNull SmartspaceSessionId sessionId, in updateSmartspaceTargets() [all …]
|
/aosp14/frameworks/base/core/java/android/app/smartspace/ |
H A D | ISmartspaceManager.aidl | 31 void createSmartspaceSession(in SmartspaceConfig config, in SmartspaceSessionId sessionId, in createSmartspaceSession() 34 void notifySmartspaceEvent(in SmartspaceSessionId sessionId, in SmartspaceTargetEvent event); in notifySmartspaceEvent() 36 void requestSmartspaceUpdate(in SmartspaceSessionId sessionId); in requestSmartspaceUpdate() 38 void registerSmartspaceUpdates(in SmartspaceSessionId sessionId, in registerSmartspaceUpdates() 41 void unregisterSmartspaceUpdates(in SmartspaceSessionId sessionId, in unregisterSmartspaceUpdates() 44 void destroySmartspaceSession(in SmartspaceSessionId sessionId); in destroySmartspaceSession()
|
/aosp14/frameworks/base/core/java/android/service/search/ |
H A D | ISearchUiService.aidl | 34 void onCreateSearchSession(in SearchContext context, in SearchSessionId sessionId); in onCreateSearchSession() 36 void onQuery(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in onQuery() 38 void onNotifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in onNotifyEvent() 40 …void onRegisterEmptyQueryResultUpdateCallback (in SearchSessionId sessionId, in ISearchCallback ca… in onRegisterEmptyQueryResultUpdateCallback() 42 …void onUnregisterEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback c… in onUnregisterEmptyQueryResultUpdateCallback() 44 void onDestroy(in SearchSessionId sessionId); in onDestroy()
|
H A D | SearchUiService.java | 158 @NonNull SearchSessionId sessionId) { in onCreateSearchSession() 165 @NonNull SearchSessionId sessionId) { in onSearchSessionCreated() 173 public abstract void onQuery(@NonNull SearchSessionId sessionId, in onQuery() 184 public abstract void onNotifyEvent(@NonNull SearchSessionId sessionId, in onNotifyEvent() 188 private void doRegisterEmptyQueryResultUpdateCallback(@NonNull SearchSessionId sessionId, in doRegisterEmptyQueryResultUpdateCallback() 217 private void doUnregisterEmptyQueryResultUpdateCallback(@NonNull SearchSessionId sessionId, in doUnregisterEmptyQueryResultUpdateCallback() 262 private void doDestroy(@NonNull SearchSessionId sessionId) { in doDestroy() 271 public abstract void onDestroy(@NonNull SearchSessionId sessionId); in onDestroy() 278 public final void updateEmptyQueryResult(@NonNull SearchSessionId sessionId, in updateEmptyQueryResult()
|
/aosp14/frameworks/base/core/java/android/view/autofill/ |
H A D | IAutoFillManagerClient.aidl | 54 void autofillContent(int sessionId, in AutofillId id, in ClipData content); in autofillContent() 59 void authenticate(int sessionId, int authenticationId, in IntentSender intent, in authenticate() 66 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews() 73 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 79 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 84 void requestHideFillUiWhenDestroyed(int sessionId, in AutofillId id); in requestHideFillUiWhenDestroyed() 90 void notifyNoFillUi(int sessionId, in AutofillId id, int sessionFinishedState); in notifyNoFillUi() 95 void notifyFillUiShown(int sessionId, in AutofillId id); in notifyFillUiShown() 102 void notifyFillUiHidden(int sessionId, in AutofillId id); in notifyFillUiHidden() 109 void dispatchUnhandledKey(int sessionId, in AutofillId id, in KeyEvent keyEvent); in dispatchUnhandledKey() [all …]
|
H A D | IAugmentedAutofillManagerClient.aidl | 47 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values, in autofill() 53 void requestShowFillUi(int sessionId, in AutofillId id, int width, int height, in requestShowFillUi() 59 void requestHideFillUi(int sessionId, in AutofillId id); in requestHideFillUi() 65 boolean requestAutofill(int sessionId, in AutofillId id); in requestAutofill()
|
/aosp14/frameworks/base/core/java/android/app/search/ |
H A D | ISearchUiManager.aidl | 32 void createSearchSession(in SearchContext context, in SearchSessionId sessionId, in createSearchSession() 35 void query(in SearchSessionId sessionId, in Query input, in ISearchCallback callback); in query() 37 void notifyEvent(in SearchSessionId sessionId, in Query input, in SearchTargetEvent event); in notifyEvent() 39 …void registerEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback callb… in registerEmptyQueryResultUpdateCallback() 41 …void unregisterEmptyQueryResultUpdateCallback(in SearchSessionId sessionId, in ISearchCallback cal… in unregisterEmptyQueryResultUpdateCallback() 43 void destroySearchSession(in SearchSessionId sessionId); in destroySearchSession()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageInstallerCallback.aidl | 22 void onSessionCreated(int sessionId); in onSessionCreated() 24 void onSessionBadgingChanged(int sessionId); in onSessionBadgingChanged() 26 void onSessionActiveChanged(int sessionId, boolean active); in onSessionActiveChanged() 28 void onSessionProgressChanged(int sessionId, float progress); in onSessionProgressChanged() 30 void onSessionFinished(int sessionId, boolean success); in onSessionFinished()
|
/aosp14/frameworks/base/media/java/android/media/metrics/ |
H A D | IMediaMetricsManager.aidl | 31 void reportPlaybackMetrics(in String sessionId, in PlaybackMetrics metrics, int userId); in reportPlaybackMetrics() 35 void reportNetworkEvent(in String sessionId, in NetworkEvent event, int userId); in reportNetworkEvent() 36 void reportPlaybackErrorEvent(in String sessionId, in PlaybackErrorEvent event, int userId); in reportPlaybackErrorEvent() 37 void reportPlaybackStateEvent(in String sessionId, in PlaybackStateEvent event, int userId); in reportPlaybackStateEvent() 38 void reportTrackChangeEvent(in String sessionId, in TrackChangeEvent event, int userId); in reportTrackChangeEvent() 43 void reportBundleMetrics(in String sessionId, in PersistableBundle metrics, int userId); in reportBundleMetrics() 45 void releaseSessionId(in String sessionId, int userId); in releaseSessionId()
|
H A D | MediaMetricsManager.java | 49 public void reportPlaybackMetrics(@NonNull String sessionId, PlaybackMetrics metrics) { in reportPlaybackMetrics() 60 public void reportBundleMetrics(@NonNull String sessionId, PersistableBundle metrics) { in reportBundleMetrics() 71 public void reportNetworkEvent(@NonNull String sessionId, NetworkEvent event) { in reportNetworkEvent() 83 public void reportPlaybackStateEvent(@NonNull String sessionId, PlaybackStateEvent event) { in reportPlaybackStateEvent() 95 public void reportTrackChangeEvent(@NonNull String sessionId, TrackChangeEvent event) { in reportTrackChangeEvent() 177 public void releaseSessionId(@NonNull String sessionId) { in releaseSessionId() 189 public void reportPlaybackErrorEvent(@NonNull String sessionId, PlaybackErrorEvent event) { in reportPlaybackErrorEvent()
|
/aosp14/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
H A D | AppPredictionManagerService.java | 113 @NonNull AppPredictionSessionId sessionId, @NonNull IBinder token) { in createPredictionSession() 119 public void notifyAppTargetEvent(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEvent() 126 public void notifyLaunchLocationShown(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShown() 133 public void sortAppTargets(@NonNull AppPredictionSessionId sessionId, in sortAppTargets() 141 public void registerPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in registerPredictionUpdates() 147 public void unregisterPredictionUpdates(@NonNull AppPredictionSessionId sessionId, in unregisterPredictionUpdates() 154 public void requestPredictionUpdate(@NonNull AppPredictionSessionId sessionId) { in requestPredictionUpdate() 160 public void onDestroyPredictionSession(@NonNull AppPredictionSessionId sessionId) { in onDestroyPredictionSession() 174 @NonNull final AppPredictionSessionId sessionId, in runForUserLocked()
|
H A D | AppPredictionPerUserService.java | 117 @NonNull AppPredictionSessionId sessionId, @NonNull IBinder token) { in onCreatePredictionSessionLocked() 150 public void notifyAppTargetEventLocked(@NonNull AppPredictionSessionId sessionId, in notifyAppTargetEventLocked() 162 public void notifyLaunchLocationShownLocked(@NonNull AppPredictionSessionId sessionId, in notifyLaunchLocationShownLocked() 174 public void sortAppTargetsLocked(@NonNull AppPredictionSessionId sessionId, in sortAppTargetsLocked() 186 public void registerPredictionUpdatesLocked(@NonNull AppPredictionSessionId sessionId, in registerPredictionUpdatesLocked() 202 public void unregisterPredictionUpdatesLocked(@NonNull AppPredictionSessionId sessionId, in unregisterPredictionUpdatesLocked() 218 public void requestPredictionUpdateLocked(@NonNull AppPredictionSessionId sessionId) { in requestPredictionUpdateLocked() 229 public void onDestroyPredictionSessionLocked(@NonNull AppPredictionSessionId sessionId) { in onDestroyPredictionSessionLocked() 334 protected boolean resolveService( in resolveService()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaRoute2ProviderService.java | 218 public final RoutingSessionInfo getSessionInfo(@NonNull String sessionId) { in getSessionInfo() 265 String sessionId = sessionInfo.getId(); in notifySessionCreated() local 295 String sessionId = sessionInfo.getId(); in notifySessionUpdated() local 313 public final void notifySessionReleased(@NonNull String sessionId) { in notifySessionReleased() 416 public abstract void onReleaseSession(long requestId, @NonNull String sessionId); in onReleaseSession() 427 public abstract void onSelectRoute(long requestId, @NonNull String sessionId, in onSelectRoute() 439 public abstract void onDeselectRoute(long requestId, @NonNull String sessionId, in onDeselectRoute() 451 public abstract void onTransferToRoute(long requestId, @NonNull String sessionId, in onTransferToRoute() 651 public void selectRoute(long requestId, String sessionId, String routeId) { in selectRoute() 693 public void setSessionVolume(long requestId, String sessionId, int volume) { in setSessionVolume() [all …]
|
H A D | IMediaRoute2ProviderService.aidl | 36 void selectRoute(long requestId, String sessionId, String routeId); in selectRoute() 37 void deselectRoute(long requestId, String sessionId, String routeId); in deselectRoute() 38 void transferToRoute(long requestId, String sessionId, String routeId); in transferToRoute() 39 void setSessionVolume(long requestId, String sessionId, int volume); in setSessionVolume() 40 void releaseSession(long requestId, String sessionId); in releaseSession()
|
/aosp14/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
H A D | SmartspaceManagerService.java | 108 @NonNull SmartspaceSessionId sessionId, @NonNull IBinder token) { in createSmartspaceSession() 114 public void notifySmartspaceEvent(SmartspaceSessionId sessionId, in notifySmartspaceEvent() 121 public void requestSmartspaceUpdate(SmartspaceSessionId sessionId) { in requestSmartspaceUpdate() 127 public void registerSmartspaceUpdates(@NonNull SmartspaceSessionId sessionId, in registerSmartspaceUpdates() 134 public void unregisterSmartspaceUpdates(SmartspaceSessionId sessionId, in unregisterSmartspaceUpdates() 141 public void destroySmartspaceSession(@NonNull SmartspaceSessionId sessionId) { in destroySmartspaceSession() 155 @NonNull final SmartspaceSessionId sessionId, in runForUserLocked()
|
/aosp14/frameworks/base/services/searchui/java/com/android/server/searchui/ |
H A D | SearchUiManagerService.java | 108 @NonNull SearchSessionId sessionId, @NonNull IBinder token) { in createSearchSession() 114 public void notifyEvent(@NonNull SearchSessionId sessionId, @NonNull Query query, in notifyEvent() 121 public void query(@NonNull SearchSessionId sessionId, in query() 128 public void registerEmptyQueryResultUpdateCallback(@NonNull SearchSessionId sessionId, in registerEmptyQueryResultUpdateCallback() 135 public void unregisterEmptyQueryResultUpdateCallback(@NonNull SearchSessionId sessionId, in unregisterEmptyQueryResultUpdateCallback() 143 public void destroySearchSession(@NonNull SearchSessionId sessionId) { in destroySearchSession() 157 @NonNull final SearchSessionId sessionId, in runForUserLocked()
|
/aosp14/frameworks/base/core/java/android/service/storage/ |
H A D | ExternalStorageService.java | 133 public abstract void onStartSession(@NonNull String sessionId, @SessionFlag int flag, in onStartSession() 144 public abstract void onEndSession(@NonNull String sessionId) throws IOException; in onEndSession() 194 public void startSession(String sessionId, @SessionFlag int flag, in startSession() 209 public void notifyVolumeStateChanged(String sessionId, StorageVolume vol, in notifyVolumeStateChanged() 222 public void freeCache(String sessionId, String volumeUuid, long bytes, in freeCache() 235 public void endSession(String sessionId, RemoteCallback callback) throws RemoteException { in endSession() 258 private void sendResult(String sessionId, Throwable throwable, RemoteCallback callback) { in sendResult()
|
H A D | IExternalStorageService.aidl | 28 void startSession(@utf8InCpp String sessionId, int type, in ParcelFileDescriptor deviceFd, in startSession() 30 void endSession(@utf8InCpp String sessionId, in RemoteCallback callback); in endSession() 31 void notifyVolumeStateChanged(@utf8InCpp String sessionId, in StorageVolume vol, in notifyVolumeStateChanged() 33 void freeCache(@utf8InCpp String sessionId, in String volumeUuid, long bytes, in freeCache()
|