Searched refs:ShortcutChangeCallback (Results 1 – 8 of 8) sorted by relevance
29 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 …]
188 private final Map<ShortcutChangeCallback, Pair<Executor, IShortcutChangeCallback>>526 public interface ShortcutChangeCallback { interface in LauncherApps573 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 …]
69 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
57 import android.content.pm.LauncherApps.ShortcutChangeCallback;131 @Captor private ArgumentCaptor<ShortcutChangeCallback> mShortcutChangeCallbackCaptor;138 private ShortcutChangeCallback mShortcutChangeCallback;
733 private class ShortcutServiceCallback implements LauncherApps.ShortcutChangeCallback {
285 private final ArrayList<LauncherApps.ShortcutChangeCallback> mShortcutChangeCallbacks =1709 final ArrayList<LauncherApps.ShortcutChangeCallback> copy; in notifyShortcutChangeCallbacks()3191 @NonNull LauncherApps.ShortcutChangeCallback callback) { in addShortcutChangeCallback()
1083 public static class ShortcutChangeHandler implements LauncherApps.ShortcutChangeCallback {
26027 …LocalService;->addShortcutChangeCallback(Landroid/content/pm/LauncherApps$ShortcutChangeCallback;)V