Searched defs:hostId (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java127 public AppWidgetHost(Context context, int hostId) { argument
128 this(context, hostId, null, context.getMainLooper());
134 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { argument
136 mHostId = hostId;
212 public static int allocateAppWidgetIdForSystem(int hostId) { argument
221 return sService.allocateAppWidgetId(packageName, hostId);
/frameworks/base/services/java/com/android/server/
H A DAppWidgetService.java137 public int allocateAppWidgetId(String packageName, int hostId) throws RemoteException { argument
139 packageName, hostId);
148 public void deleteHost(int hostId) throws RemoteException { argument
149 getImplForUser(getCallingOrCurrentUserId()).deleteHost(hostId);
193 public int[] startListening(IAppWidgetHost host, String packageName, int hostId, argument
196 packageName, hostId, updatedViews);
290 public void stopListening(int hostId) throws RemoteException { argument
291 getImplForUser(getCallingOrCurrentUserId()).stopListening(hostId);
H A DAppWidgetServiceImpl.java109 int hostId; field in class:AppWidgetServiceImpl.Host
337 pw.print(" ["); pw.print(index); pw.print("] hostId=");
338 pw.print(host.hostId); pw.print(' ');
349 pw.print(" hostId=");
350 pw.print(id.host.hostId); pw.print(' ');
419 public int allocateAppWidgetId(String packageName, int hostId) { argument
425 Host host = lookupOrAddHostLocked(callingUid, packageName, hostId);
435 if (DBG) log("Allocating AppWidgetId for " + packageName + " host=" + hostId
452 public void deleteHost(int hostId) { argument
456 Host host = lookupHostLocked(callingUid, hostId);
1111 startListening(IAppWidgetHost callbacks, String packageName, int hostId, List<RemoteViews> updatedViews) argument
1133 stopListening(int hostId) argument
1184 lookupHostLocked(int uid, int hostId) argument
1195 lookupOrAddHostLocked(int uid, String packageName, int hostId) argument
[all...]

Completed in 895 milliseconds