Home
last modified time | relevance | path

Searched refs:LaunchCookie (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DLaunchCookieTest.java22 import android.app.ActivityOptions.LaunchCookie;
34 LaunchCookie launchCookie = new LaunchCookie(); in parcelNonNullLaunchCookie()
36 LaunchCookie.writeToParcel(launchCookie, parcel); in parcelNonNullLaunchCookie()
38 LaunchCookie unparceledLaunchCookie = LaunchCookie.readFromParcel(parcel); in parcelNonNullLaunchCookie()
45 LaunchCookie.writeToParcel(/*launchCookie*/null, parcel); in parcelNullLaunchCookie()
46 LaunchCookie unparceledLaunchCookie = LaunchCookie.readFromParcel(parcel); in parcelNullLaunchCookie()
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java19 import android.app.ActivityOptions.LaunchCookie;
30 private final LaunchCookie mLaunchCookie;
32 public MediaProjectionInfo(String packageName, UserHandle handle, LaunchCookie launchCookie) { in MediaProjectionInfo()
41 mLaunchCookie = LaunchCookie.readFromParcel(in); in MediaProjectionInfo()
52 public LaunchCookie getLaunchCookie() { in getLaunchCookie()
88 LaunchCookie.writeToParcel(mLaunchCookie, out); in writeToParcel()
DIMediaProjection.aidl21 import android.app.ActivityOptions.LaunchCookie;
48 LaunchCookie getLaunchCookie(); in getLaunchCookie()
65 void setLaunchCookie(in LaunchCookie launchCookie); in setLaunchCookie()
DMediaProjectionManager.java25 import android.app.ActivityOptions.LaunchCookie;
198 public Intent createScreenCaptureIntent(@NonNull LaunchCookie launchCookie) { in createScreenCaptureIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/
DMediaProjectionCaptureTarget.kt19 import android.app.ActivityOptions.LaunchCookie
27 data class MediaProjectionCaptureTarget(val launchCookie: LaunchCookie?, val taskId: Int) :
30 constructor(parcel: Parcel) : this(LaunchCookie.readFromParcel(parcel), parcel.readInt())
33 LaunchCookie.writeToParcel(launchCookie, dest) in writeToParcel()
/frameworks/base/media/tests/projection/src/android/media/projection/
DFakeIMediaProjection.java22 import android.app.ActivityOptions.LaunchCookie;
33 LaunchCookie mLaunchCookie = null;
84 public LaunchCookie getLaunchCookie() throws RemoteException { in getLaunchCookie()
98 public void setLaunchCookie(LaunchCookie launchCookie) throws RemoteException { in setLaunchCookie()
DMediaProjectionTest.java36 import android.app.ActivityOptions.LaunchCookie;
119 mFakeIMediaProjection.setLaunchCookie(new LaunchCookie()); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorResultHandler.kt3 import android.app.ActivityOptions.LaunchCookie
17 fun returnSelectedApp(launchCookie: LaunchCookie, taskId: Int)
DMediaProjectionAppSelectorActivity.kt19 import android.app.ActivityOptions.LaunchCookie
165 val launchCookie = LaunchCookie("media_projection_launch_token") in appliedThemeResId()
235 override fun returnSelectedApp(launchCookie: LaunchCookie, taskId: Int) { in returnSelectedApp()
/frameworks/base/core/java/android/app/
DActivityOptions.aidl23 parcelable ActivityOptions.LaunchCookie;
DActivityOptions.java2011 public static final class LaunchCookie implements Parcelable { class in ActivityOptions
2018 public LaunchCookie() { in LaunchCookie() method in ActivityOptions.LaunchCookie
2023 public LaunchCookie(@Nullable String descriptor) { in LaunchCookie() method in ActivityOptions.LaunchCookie
2027 private LaunchCookie(IBinder binder) { in LaunchCookie() method in ActivityOptions.LaunchCookie
2048 public static LaunchCookie readFromParcel(@NonNull Parcel in) { in readFromParcel()
2053 return new LaunchCookie(binder); in readFromParcel()
2057 public static void writeToParcel(@Nullable LaunchCookie launchCookie, Parcel out) { in writeToParcel()
2069 public static final Parcelable.Creator<LaunchCookie> CREATOR =
2070 new Parcelable.Creator<LaunchCookie>() {
2073 public LaunchCookie createFromParcel(Parcel source) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewController.kt20 import android.app.ActivityOptions.LaunchCookie in <lambda>()
140 val launchCookie = LaunchCookie() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java35 import android.app.ActivityOptions.LaunchCookie;
161 LaunchCookie launchCookie = launchingIntent.getParcelableExtra( in onCreate()
162 MediaProjectionManager.EXTRA_LAUNCH_COOKIE, LaunchCookie.class); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingServiceTest.java31 import android.app.ActivityOptions.LaunchCookie;
150 new MediaProjectionCaptureTarget(new LaunchCookie(), 12345); in testLogStartPartialRecording()
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java52 import android.app.ActivityOptions.LaunchCookie;
788 projection.setLaunchCookie(new LaunchCookie()); in testSetUserReviewGrantedConsentResult_startedSession()
829 projection.setLaunchCookie(new LaunchCookie()); in testSetUserReviewGrantedConsentResult_displayMirroring_noPriorSession()
848 projection.setLaunchCookie(new LaunchCookie()); in testSetUserReviewGrantedConsentResult_displayMirroring_sessionNotWaiting()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java38 import android.app.ActivityOptions.LaunchCookie;
982 private LaunchCookie mLaunchCookie = null;
1195 public void setLaunchCookie(LaunchCookie launchCookie) { in setLaunchCookie()
1209 public LaunchCookie getLaunchCookie() { in getLaunchCookie()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt702 val launchCookie = if (fullScreen) null else ActivityOptions.LaunchCookie() in setShareScreen()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java66 import android.app.ActivityOptions.LaunchCookie;
1657 doReturn(new LaunchCookie()).when(projection).getLaunchCookie();
/frameworks/base/core/api/
Dtest-current.txt200 method public void setLaunchCookie(@NonNull android.app.ActivityOptions.LaunchCookie);
208 public static final class ActivityOptions.LaunchCookie implements android.os.Parcelable {
209 ctor public ActivityOptions.LaunchCookie();
212 …ublic static final android.os.Parcelable.Creator<android.app.ActivityOptions.LaunchCookie> CREATOR;
2143 …ndroid.content.Intent createScreenCaptureIntent(@NonNull android.app.ActivityOptions.LaunchCookie);