Home
last modified time | relevance | path

Searched refs:hostId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java231 final AutofillId hostId = new AutofillId(42); in testEqualsHashCode_virtual_longId_same() local
232 final AutofillId virtual = new AutofillId(hostId, 1L, 108); in testEqualsHashCode_virtual_longId_same()
233 final AutofillId sameVirtual = new AutofillId(hostId, 1L, 108); in testEqualsHashCode_virtual_longId_same()
239 assertThat(sameVirtual).isNotEqualTo(hostId); in testEqualsHashCode_virtual_longId_same()
240 assertThat(hostId).isNotEqualTo(sameVirtual); in testEqualsHashCode_virtual_longId_same()
241 assertNotEqualsIgnoreSession(sameVirtual, hostId); in testEqualsHashCode_virtual_longId_same()
242 assertNotEqualsIgnoreSession(hostId, sameVirtual); in testEqualsHashCode_virtual_longId_same()
247 final AutofillId hostId = new AutofillId(42); in testEqualsHashCode_virtual_longId_otherChild() local
248 final AutofillId virtual = new AutofillId(hostId, 1L, 108); in testEqualsHashCode_virtual_longId_otherChild()
249 final AutofillId virtualOtherChild = new AutofillId(hostId, 2L, 108); in testEqualsHashCode_virtual_longId_otherChild()
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureSession.java400 public final void notifyViewsDisappeared(@NonNull AutofillId hostId, in notifyViewsDisappeared() argument
402 Preconditions.checkArgument(hostId.isNonVirtual(), "hostId cannot be virtual: %s", hostId); in notifyViewsDisappeared() local
409 internalNotifyViewDisappeared(new AutofillId(hostId, id, mId)); in notifyViewsDisappeared()
494 public @NonNull AutofillId newAutofillId(@NonNull AutofillId hostId, long virtualChildId) { in newAutofillId() argument
495 Preconditions.checkNotNull(hostId); in newAutofillId()
496 Preconditions.checkArgument(hostId.isNonVirtual(), "hostId cannot be virtual: %s", hostId); in newAutofillId() local
497 return new AutofillId(hostId, virtualChildId, mId); in newAutofillId()
/frameworks/base/core/java/android/view/autofill/
DAutofillId.java51 public AutofillId(@NonNull AutofillId hostId, int virtualChildId) { in AutofillId() argument
52 this(FLAG_IS_VIRTUAL_INT, hostId.mViewId, virtualChildId, NO_SESSION); in AutofillId()
57 public AutofillId(int hostId, int virtualChildId) { in AutofillId() argument
58 this(FLAG_IS_VIRTUAL_INT, hostId, virtualChildId, NO_SESSION); in AutofillId()
63 public AutofillId(@NonNull AutofillId hostId, long virtualChildId, int sessionId) { in AutofillId() argument
64 this(FLAG_IS_VIRTUAL_LONG | FLAG_HAS_SESSION, hostId.mViewId, virtualChildId, sessionId); in AutofillId()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl38 ParceledListSlice startListening(IAppWidgetHost host, String callingPackage, int hostId, in startListening() argument
40 void stopListening(String callingPackage, int hostId); in stopListening() argument
41 int allocateAppWidgetId(String callingPackage, int hostId); in allocateAppWidgetId() argument
43 void deleteHost(String packageName, int hostId); in deleteHost() argument
47 int[] getAppWidgetIdsForHost(String callingPackage, int hostId); in getAppWidgetIdsForHost() argument
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java156 public AppWidgetHost(Context context, int hostId) { in AppWidgetHost() argument
157 this(context, hostId, null, context.getMainLooper()); in AppWidgetHost()
164 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { in AppWidgetHost() argument
166 mHostId = hostId; in AppWidgetHost()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java687 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked()
829 String callingPackage, int hostId, int[] appWidgetIds) { in startListening() argument
850 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in startListening()
875 public void stopListening(String callingPackage, int hostId) { in stopListening() argument
890 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in stopListening()
901 public int allocateAppWidgetId(String callingPackage, int hostId) { in allocateAppWidgetId() argument
928 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in allocateAppWidgetId()
1227 public int[] getAppWidgetIdsForHost(String callingPackage, int hostId) { in getAppWidgetIdsForHost() argument
1242 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage); in getAppWidgetIdsForHost()
1328 public void deleteHost(String callingPackage, int hostId) { in deleteHost() argument
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5734 field public static final java.lang.String EXTRA_HOST_ID = "hostId";
/frameworks/base/non-updatable-api/
Dcurrent.txt7883 field public static final String EXTRA_HOST_ID = "hostId";
/frameworks/base/api/
Dcurrent.txt7883 field public static final String EXTRA_HOST_ID = "hostId";