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;
238 PinItemRequest.REQUEST_TYPE_SHORTCUT : PinItemRequest.REQUEST_TYPE_APPWIDGET; in requestPinItemLocked()
255 final PinItemRequest request; in requestPinItemLocked()
262 request = new PinItemRequest( in requestPinItemLocked()
265 PinItemRequest.REQUEST_TYPE_APPWIDGET); in requestPinItemLocked()
290 final PinItemRequest request = requestPinShortcutLocked(inShortcut, null, defaultLauncher, in createShortcutResultIntent()
299 private PinItemRequest requestPinShortcutLocked(ShortcutInfo inShortcut, in requestPinShortcutLocked()
375 return new PinItemRequest(inner, PinItemRequest.REQUEST_TYPE_SHORTCUT); in requestPinShortcutLocked()
387 PinItemRequest request, int requestType) { in startRequestConfirmActivity()
388 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
DShortcutService.java4443 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ?
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java28 import android.content.pm.LauncherApps.PinItemRequest;
49 private PinItemRequest mRequest;
51 private PinItemRequest verifyAndGetCreateShortcutResult(Intent resultIntent) { in verifyAndGetCreateShortcutResult()
52 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent); in verifyAndGetCreateShortcutResult()
54 assertEquals(PinItemRequest.REQUEST_TYPE_SHORTCUT, request.getRequestType()); in verifyAndGetCreateShortcutResult()
DShortcutManagerTest8.java38 import android.content.pm.LauncherApps.PinItemRequest;
101 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
109 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
117 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
144 PinItemRequest.REQUEST_TYPE_SHORTCUT); in testIsRequestPinShortcutSupported()
152 PinItemRequest.REQUEST_TYPE_SHORTCUT)); in testIsRequestPinShortcutSupported()
154 PinItemRequest.REQUEST_TYPE_SHORTCUT)); in testIsRequestPinShortcutSupported()
242 private void assertPinItemRequest(PinItemRequest actualRequest) { in assertPinItemRequest()
244 assertEquals(PinItemRequest.REQUEST_TYPE_SHORTCUT, actualRequest.getRequestType()); in assertPinItemRequest()
288 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinShortcut()
[all …]
DShortcutManagerTest9.java33 import android.content.pm.LauncherApps.PinItemRequest;
86 private void assertPinItemRequest(PinItemRequest actualRequest, String className) { in assertPinItemRequest()
88 assertEquals(PinItemRequest.REQUEST_TYPE_APPWIDGET, actualRequest.getRequestType()); in assertPinItemRequest()
132 final PinItemRequest request = mLauncherApps.getPinItemRequest(intent.getValue()); in checkRequestPinAppWidget()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java2479 public PinItemRequest getPinItemRequest(Intent intent) { in getPinItemRequest()
2480 …t.getParcelableExtra(EXTRA_PIN_ITEM_REQUEST, android.content.pm.LauncherApps.PinItemRequest.class); in getPinItemRequest()
2520 public static final class PinItemRequest implements Parcelable { class in LauncherApps
2542 public PinItemRequest(IPinItemRequest inner, int type) { in PinItemRequest() method in LauncherApps.PinItemRequest
2658 private PinItemRequest(Parcel source) { in PinItemRequest() method in LauncherApps.PinItemRequest
2671 public static final @android.annotation.NonNull Creator<PinItemRequest> CREATOR =
2672 new Creator<PinItemRequest>() {
2673 public PinItemRequest createFromParcel(Parcel source) {
2674 return new PinItemRequest(source);
2676 public PinItemRequest[] newArray(int size) {
[all …]
DShortcutManager.java546 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java190 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1884 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/core/api/
Dcurrent.txt12492 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
12544 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
12554 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12198 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/content/pm/IPinItemRequest;I)V
12199 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/os/Parcel;)V
12200 Landroid/content/pm/LauncherApps$PinItemRequest;->mInner:Landroid/content/pm/IPinItemRequest;
12201 Landroid/content/pm/LauncherApps$PinItemRequest;->mRequestType:I
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...