Searched refs:PinItemRequest (Results 1 – 12 of 12) sorted by relevance
/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() 372 return new PinItemRequest(inner, PinItemRequest.REQUEST_TYPE_SHORTCUT); in requestPinShortcutLocked() 385 PinItemRequest request, int requestType) { in startRequestConfirmActivity() 386 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
|
D | ShortcutService.java | 3311 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()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 1277 public PinItemRequest getPinItemRequest(Intent intent) { in getPinItemRequest() 1318 public static final class PinItemRequest implements Parcelable { class in LauncherApps 1337 public PinItemRequest(IPinItemRequest inner, int type) { in PinItemRequest() method in LauncherApps.PinItemRequest 1449 private PinItemRequest(Parcel source) { in PinItemRequest() method in LauncherApps.PinItemRequest 1462 public static final Creator<PinItemRequest> CREATOR = 1463 new Creator<PinItemRequest>() { 1464 public PinItemRequest createFromParcel(Parcel source) { 1465 return new PinItemRequest(source); 1467 public PinItemRequest[] newArray(int size) { 1468 return new PinItemRequest[size];
|
D | ShortcutManager.java | 632 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 133 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 1604 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
|
/frameworks/base/api/ |
D | current.txt | 10362 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int… 10398 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable { 10408 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
|
D | test-current.txt | 10400 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int… 10436 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable { 10446 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
|
D | system-current.txt | 10968 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int… 11004 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable { 11014 …static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest> CREATOR;
|