Home
last modified time | relevance | path

Searched refs:PinItemRequest (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java26 import android.content.pm.LauncherApps.PinItemRequest;
236 PinItemRequest.REQUEST_TYPE_SHORTCUT : PinItemRequest.REQUEST_TYPE_APPWIDGET; in requestPinItemLocked()
253 final PinItemRequest request; in requestPinItemLocked()
259 request = new PinItemRequest( in requestPinItemLocked()
262 PinItemRequest.REQUEST_TYPE_APPWIDGET); in requestPinItemLocked()
287 final PinItemRequest request = requestPinShortcutLocked(inShortcut, null, in createShortcutResultIntent()
296 private PinItemRequest requestPinShortcutLocked(ShortcutInfo inShortcut, in requestPinShortcutLocked()
374 return new PinItemRequest(inner, PinItemRequest.REQUEST_TYPE_SHORTCUT); in requestPinShortcutLocked()
386 PinItemRequest request, int requestType) { in startRequestConfirmActivity()
387 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
DShortcutService.java3525 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in injectGetPinConfirmationActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java38 import android.content.pm.LauncherApps.PinItemRequest;
98 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
106 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
114 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
141 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
149 PinItemRequest.REQUEST_TYPE_SHORTCUT)); in testIsRequestPinShortcutSupported()
151 PinItemRequest.REQUEST_TYPE_SHORTCUT)); in testIsRequestPinShortcutSupported()
239 private void assertPinItemRequest(PinItemRequest actualRequest) { in assertPinItemRequest()
241 assertEquals(PinItemRequest.REQUEST_TYPE_SHORTCUT, actualRequest.getRequestType()); in assertPinItemRequest()
285 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinShortcut()
[all …]
DShortcutManagerTest10.java25 import android.content.pm.LauncherApps.PinItemRequest;
45 private PinItemRequest mRequest;
47 private PinItemRequest verifyAndGetCreateShortcutResult(Intent resultIntent) { in verifyAndGetCreateShortcutResult()
48 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent); in verifyAndGetCreateShortcutResult()
50 assertEquals(PinItemRequest.REQUEST_TYPE_SHORTCUT, request.getRequestType()); in verifyAndGetCreateShortcutResult()
DShortcutManagerTest9.java33 import android.content.pm.LauncherApps.PinItemRequest;
83 private void assertPinItemRequest(PinItemRequest actualRequest, String className) { in assertPinItemRequest()
85 assertEquals(PinItemRequest.REQUEST_TYPE_APPWIDGET, actualRequest.getRequestType()); in assertPinItemRequest()
129 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinAppWidget()
DShortcutManagerTest1.java81 import android.content.pm.LauncherApps.PinItemRequest;
6010 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in testBackupAndRestore_disabledShortcutsAreIgnored()
6013 assertEquals(PinItemRequest.REQUEST_TYPE_SHORTCUT, request.getRequestType()); in testBackupAndRestore_disabledShortcutsAreIgnored()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1528 public PinItemRequest getPinItemRequest(Intent intent) { in getPinItemRequest()
1569 public static final class PinItemRequest implements Parcelable { class in LauncherApps
1591 public PinItemRequest(IPinItemRequest inner, int type) { in PinItemRequest() method in LauncherApps.PinItemRequest
1707 private PinItemRequest(Parcel source) { in PinItemRequest() method in LauncherApps.PinItemRequest
1720 public static final @android.annotation.NonNull Creator<PinItemRequest> CREATOR =
1721 new Creator<PinItemRequest>() {
1722 public PinItemRequest createFromParcel(Parcel source) {
1723 return new PinItemRequest(source);
1725 public PinItemRequest[] newArray(int size) {
1726 return new PinItemRequest[size];
DShortcutManager.java451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java132 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/api/
Dcurrent.txt11274 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
11316 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
11326 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16110 Landroid/content/pm/LauncherApps$PinItemRequest$RequestType;
16111 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/content/pm/IPinItemRequest;I)V
16112 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/os/Parcel;)V
16113 Landroid/content/pm/LauncherApps$PinItemRequest;->mInner:Landroid/content/pm/IPinItemRequest;
16114 Landroid/content/pm/LauncherApps$PinItemRequest;->mRequestType:I