Searched refs:hostId (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/appwidget/
H A DIAppWidgetService.aidl33 int[] startListening(IAppWidgetHost host, String packageName, int hostId,
35 void stopListening(int hostId, int userId);
36 int allocateAppWidgetId(String packageName, int hostId, int userId);
38 void deleteHost(int hostId, int userId);
41 int[] getAppWidgetIdsForHost(int hostId, int userId);
/frameworks/base/services/java/com/android/server/
H A DAppWidgetService.java123 public int allocateAppWidgetId(String packageName, int hostId, int userId) argument
125 return getImplForUser(userId).allocateAppWidgetId(packageName, hostId);
129 public int[] getAppWidgetIdsForHost(int hostId, int userId) throws RemoteException { argument
130 return getImplForUser(userId).getAppWidgetIdsForHost(hostId);
139 public void deleteHost(int hostId, int userId) throws RemoteException { argument
140 getImplForUser(userId).deleteHost(hostId);
181 public int[] startListening(IAppWidgetHost host, String packageName, int hostId, argument
183 return getImplForUser(userId).startListening(host, packageName, hostId, updatedViews);
291 public void stopListening(int hostId, int userId) throws RemoteException { argument
292 getImplForUser(userId).stopListening(hostId);
[all...]
H A DAppWidgetServiceImpl.java115 int hostId; field in class:AppWidgetServiceImpl.Host
360 pw.print(" ["); pw.print(index); pw.print("] hostId=");
361 pw.print(host.hostId); pw.print(' ');
372 pw.print(" hostId=");
373 pw.print(id.host.hostId); pw.print(' ');
445 public int allocateAppWidgetId(String packageName, int hostId) { argument
454 Host host = lookupOrAddHostLocked(callingUid, packageName, hostId);
464 if (DBG) log("Allocating AppWidgetId for " + packageName + " host=" + hostId
484 public void deleteHost(int hostId) { argument
491 Host host = lookupHostLocked(callingUid, hostId);
1215 startListening(IAppWidgetHost callbacks, String packageName, int hostId, List<RemoteViews> updatedViews) argument
1240 stopListening(int hostId) argument
1294 lookupHostLocked(int uid, int hostId) argument
1305 lookupOrAddHostLocked(int uid, String packageName, int hostId) argument
1456 getAppWidgetIdsForHost(int hostId) argument
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java123 public AppWidgetHost(Context context, int hostId) { argument
124 this(context, hostId, null, context.getMainLooper());
130 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { argument
132 mHostId = hostId;
218 public static int allocateAppWidgetIdForPackage(int hostId, int userId, String packageName) { argument
224 return sService.allocateAppWidgetId(packageName, hostId, userId);

Completed in 105 milliseconds