/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 26 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()
|
D | ShortcutService.java | 3525 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in injectGetPinConfirmationActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest8.java | 38 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 …]
|
D | ShortcutManagerTest10.java | 25 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()
|
D | ShortcutManagerTest9.java | 33 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()
|
D | ShortcutManagerTest1.java | 81 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/ |
D | LauncherApps.java | 1528 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];
|
D | ShortcutManager.java | 451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 132 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
|
/frameworks/base/api/ |
D | current.txt | 11274 …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/ |
D | hiddenapi-greylist-max-o.txt | 16110 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
|