OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:updateShortcuts
(Results
1 - 25
of
25
) sorted by null
/frameworks/base/core/java/android/content/pm/
IShortcutService.aidl
42
boolean
updateShortcuts
(String packageName, in ParceledListSlice shortcuts, int userId);
ShortcutManager.java
114
* <li>The application can use {@link #
updateShortcuts
(List)} to update any of the existing
230
* or {@link #addDynamicShortcuts(List)}. The {@link #
updateShortcuts
(List)} method can also be
282
* In order to avoid confusion, you should not use {@link #
updateShortcuts
(List)} to update
289
* the existing shortcut with {@link #
updateShortcuts
(List)}.
295
* use {@link #
updateShortcuts
(List)} so that the pinned shortcut is updated too.
312
* {@link #
updateShortcuts
(List)}; you can use {@link #addDynamicShortcuts(List)} and
325
* {@link #
updateShortcuts
(List)} may be rate-limited when called by background applications, or
373
* {@link #
updateShortcuts
(List)} to re-publish icons.
397
* // Pinned shortcuts have been restored. Use
updateShortcuts
() to make sure
596
public boolean
updateShortcuts
(List<ShortcutInfo> shortcutInfoList)
[
all
...]
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerLauncherApiTest.java
138
assertTrue(getManager().
updateShortcuts
(list(
143
assertTrue(getManager().
updateShortcuts
(list(
152
assertTrue(getManager().
updateShortcuts
(list(
159
assertTrue(getManager().
updateShortcuts
(list(
ShortcutManagerClientApiTest.java
204
assertTrue(getManager().
updateShortcuts
(list(si)));
232
assertTrue(getManager().
updateShortcuts
(list(si)));
[
all
...]
ShortcutManagerSpoofDetectionTest.java
69
assertCallingPackageMismatch("
updateShortcuts
", mPackageContext4, () -> {
70
getManager().
updateShortcuts
(list(makeShortcut("s1")));
ShortcutManagerLauncherCallbackTest.java
171
assertTrue(getManager().
updateShortcuts
(list(
183
assertTrue(getManager().
updateShortcuts
(list(
ShortcutManagerMaxCountTest.java
228
assertDynamicShortcutCountExceeded(() -> getManager().
updateShortcuts
(list(
245
assertTrue(getManager().
updateShortcuts
(list(
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
ThrottledTests.java
72
assertTrue(manager.
updateShortcuts
(list()));
ShortcutManagerThrottlingTestReceiver.java
112
context, () -> getManager(context).
updateShortcuts
(list()));
162
assertTrue(context.getSystemService(ShortcutManager.class).
updateShortcuts
(list()));
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest3.java
280
mManager.
updateShortcuts
(list());
305
mManager.
updateShortcuts
(list(
325
mManager.
updateShortcuts
(list(
353
mManager.
updateShortcuts
(list(
ShortcutManagerTest1.java
[
all
...]
ShortcutManagerTest2.java
222
assertTrue(getManager().
updateShortcuts
(list(si)));
[
all
...]
BaseShortcutManagerTest.java
436
public boolean
updateShortcuts
(List<ShortcutInfo> shortcutInfoList) {
438
return super.
updateShortcuts
(cloneShortcutList(shortcutInfoList));
[
all
...]
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
ShortcutHelper.java
144
callShortcutManager(() -> mShortcutManager.
updateShortcuts
(updateList));
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
ShortcutPublisher.java
265
callApi(this, () -> mShortcutManager.
updateShortcuts
(updateList));
/frameworks/base/services/core/java/com/android/server/pm/
ShortcutService.java
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
Launcher.java
[
all
...]
Workspace.java
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
Launcher.java
[
all
...]
Workspace.java
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 1182 milliseconds