Searched refs:ShortcutChangeCallback (Results 1 – 8 of 8) sorted by relevance
29 import android.content.pm.LauncherApps.ShortcutChangeCallback;58 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts()85 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()127 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()154 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts()186 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers()218 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts()247 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached()280 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts()322 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion()[all …]
204 private final Map<ShortcutChangeCallback, Pair<Executor, IShortcutChangeCallback>>577 public interface ShortcutChangeCallback { interface in LauncherApps624 private final WeakReference<Pair<Executor, ShortcutChangeCallback>> mRemoteReferences;626 ShortcutChangeCallbackProxy(Executor executor, ShortcutChangeCallback callback) { in ShortcutChangeCallbackProxy()633 Pair<Executor, ShortcutChangeCallback> remoteReferences = mRemoteReferences.get(); in onShortcutsAddedOrUpdated()640 final ShortcutChangeCallback callback = remoteReferences.second; in onShortcutsAddedOrUpdated()642 PooledLambda.obtainRunnable(ShortcutChangeCallback::onShortcutsAddedOrUpdated, in onShortcutsAddedOrUpdated()649 Pair<Executor, ShortcutChangeCallback> remoteReferences = mRemoteReferences.get(); in onShortcutsRemoved()656 final ShortcutChangeCallback callback = remoteReferences.second; in onShortcutsRemoved()658 PooledLambda.obtainRunnable(ShortcutChangeCallback::onShortcutsRemoved, in onShortcutsRemoved()[all …]
92 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
69 import android.content.pm.LauncherApps.ShortcutChangeCallback;174 private ArgumentCaptor<ShortcutChangeCallback> mShortcutChangeCallbackCaptor;185 private ShortcutChangeCallback mShortcutChangeCallback;
327 private final ArrayList<LauncherApps.ShortcutChangeCallback> mShortcutChangeCallbacks =1870 final ArrayList<LauncherApps.ShortcutChangeCallback> copy;3439 @NonNull LauncherApps.ShortcutChangeCallback callback) {
2290 public static class ShortcutChangeHandler implements LauncherApps.ShortcutChangeCallback {
1101 private class ShortcutServiceCallback implements LauncherApps.ShortcutChangeCallback {
19642 …LocalService;->addShortcutChangeCallback(Landroid/content/pm/LauncherApps$ShortcutChangeCallback;)V