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;
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 …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java204 private final Map<ShortcutChangeCallback, Pair<Executor, IShortcutChangeCallback>>
577 public interface ShortcutChangeCallback { interface in LauncherApps
624 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 …]
DShortcutServiceInternal.java92 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java69 import android.content.pm.LauncherApps.ShortcutChangeCallback;
174 private ArgumentCaptor<ShortcutChangeCallback> mShortcutChangeCallbackCaptor;
185 private ShortcutChangeCallback mShortcutChangeCallback;
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java327 private final ArrayList<LauncherApps.ShortcutChangeCallback> mShortcutChangeCallbacks =
1870 final ArrayList<LauncherApps.ShortcutChangeCallback> copy;
3439 @NonNull LauncherApps.ShortcutChangeCallback callback) {
DLauncherAppsService.java2290 public static class ShortcutChangeHandler implements LauncherApps.ShortcutChangeCallback {
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java1101 private class ShortcutServiceCallback implements LauncherApps.ShortcutChangeCallback {
/frameworks/base/services/
Dart-wear-profile19642 …LocalService;->addShortcutChangeCallback(Landroid/content/pm/LauncherApps$ShortcutChangeCallback;)V