Home
last modified time | relevance | path

Searched refs:PinItemRequest (Results 1 – 13 of 13) 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.java1557 public PinItemRequest getPinItemRequest(Intent intent) { in getPinItemRequest()
1598 public static final class PinItemRequest implements Parcelable { class in LauncherApps
1620 public PinItemRequest(IPinItemRequest inner, int type) { in PinItemRequest() method in LauncherApps.PinItemRequest
1736 private PinItemRequest(Parcel source) { in PinItemRequest() method in LauncherApps.PinItemRequest
1749 public static final @android.annotation.NonNull Creator<PinItemRequest> CREATOR =
1750 new Creator<PinItemRequest>() {
1751 public PinItemRequest createFromParcel(Parcel source) {
1752 return new PinItemRequest(source);
1754 public PinItemRequest[] newArray(int size) {
1755 return new PinItemRequest[size];
DShortcutManager.java451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java134 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/non-updatable-api/
Dcurrent.txt11284 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
11326 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
11336 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
/frameworks/base/api/
Dcurrent.txt11284 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
11326 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
11336 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15085 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/content/pm/IPinItemRequest;I)V
15086 Landroid/content/pm/LauncherApps$PinItemRequest;-><init>(Landroid/os/Parcel;)V
15087 Landroid/content/pm/LauncherApps$PinItemRequest;->mInner:Landroid/content/pm/IPinItemRequest;
15088 Landroid/content/pm/LauncherApps$PinItemRequest;->mRequestType:I