Home
last modified time | relevance | path

Searched refs:ShortcutChangeCallback (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest11.java29 import android.content.pm.LauncherApps.ShortcutChangeCallback;
56 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts()
83 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
124 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
151 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts()
183 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers()
215 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts()
243 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
275 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts()
315 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java188 private final Map<ShortcutChangeCallback, Pair<Executor, IShortcutChangeCallback>>
526 public interface ShortcutChangeCallback { interface in LauncherApps
573 private final WeakReference<Pair<Executor, ShortcutChangeCallback>> mRemoteReferences;
575 ShortcutChangeCallbackProxy(Executor executor, ShortcutChangeCallback callback) { in ShortcutChangeCallbackProxy()
582 Pair<Executor, ShortcutChangeCallback> remoteReferences = mRemoteReferences.get(); in onShortcutsAddedOrUpdated()
589 final ShortcutChangeCallback callback = remoteReferences.second; in onShortcutsAddedOrUpdated()
591 PooledLambda.obtainRunnable(ShortcutChangeCallback::onShortcutsAddedOrUpdated, in onShortcutsAddedOrUpdated()
598 Pair<Executor, ShortcutChangeCallback> remoteReferences = mRemoteReferences.get(); in onShortcutsRemoved()
605 final ShortcutChangeCallback callback = remoteReferences.second; in onShortcutsRemoved()
607 PooledLambda.obtainRunnable(ShortcutChangeCallback::onShortcutsRemoved, in onShortcutsRemoved()
[all …]
DShortcutServiceInternal.java69 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java57 import android.content.pm.LauncherApps.ShortcutChangeCallback;
131 @Captor private ArgumentCaptor<ShortcutChangeCallback> mShortcutChangeCallbackCaptor;
138 private ShortcutChangeCallback mShortcutChangeCallback;
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java733 private class ShortcutServiceCallback implements LauncherApps.ShortcutChangeCallback {
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java285 private final ArrayList<LauncherApps.ShortcutChangeCallback> mShortcutChangeCallbacks =
1709 final ArrayList<LauncherApps.ShortcutChangeCallback> copy; in notifyShortcutChangeCallbacks()
3191 @NonNull LauncherApps.ShortcutChangeCallback callback) { in addShortcutChangeCallback()
DLauncherAppsService.java1083 public static class ShortcutChangeHandler implements LauncherApps.ShortcutChangeCallback {
/frameworks/base/services/
Dart-profile26027 …LocalService;->addShortcutChangeCallback(Landroid/content/pm/LauncherApps$ShortcutChangeCallback;)V