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()
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()
DShortcutService.java3311 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()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1277 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];
DShortcutManager.java632 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java133 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1604 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/api/
Dcurrent.txt10362 …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;
Dtest-current.txt10400 …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;
Dsystem-current.txt10968 …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;