Home
last modified time | relevance | path

Searched refs:isAppSearchEnabled (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest12.java52 if (mService.isAppSearchEnabled()) { in tearDown()
75 if (!mService.isAppSearchEnabled()) { in testSetDynamicShortcuts_PersistsShortcutsToDisk()
102 if (!mService.isAppSearchEnabled()) { in testAddDynamicShortcuts_PersistsShortcutsToDisk()
126 if (!mService.isAppSearchEnabled()) { in testPushDynamicShortcuts_PersistsShortcutsToDisk()
168 if (!mService.isAppSearchEnabled()) { in testRemoveDynamicShortcuts_RemovesShortcutsFromDisk()
194 if (!mService.isAppSearchEnabled()) { in testRemoveLongLivedShortcuts_RemovesShortcutsFromDisk()
218 if (!mService.isAppSearchEnabled()) { in testDisableShortcuts_RemovesShortcutsFromDisk()
243 if (!mService.isAppSearchEnabled()) { in testUpdateShortcuts_UpdateShortcutsOnDisk()
266 if (!mService.isAppSearchEnabled()) { in testShortcutsExcludedFromLauncher_PersistedToDisk()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java230 private boolean isAppSearchEnabled() { in isAppSearchEnabled() method in ShortcutPackage
231 return mShortcutUser.mService.isAppSearchEnabled(); in isAppSearchEnabled()
410 if (isAppSearchEnabled()) { in addOrReplaceDynamicShortcut()
483 if (isAppSearchEnabled()) { in pushDynamicShortcut()
491 if (isAppSearchEnabled()) { in pushDynamicShortcut()
1795 if (!isAppSearchEnabled()) { in hasNoShortcut()
2512 if (!isAppSearchEnabled()) { in removeAllShortcutsAsync()
2526 if (!isAppSearchEnabled()) { in getShortcutByIdsAsync()
2559 if (!isAppSearchEnabled()) { in removeShortcutAsync()
2601 if (!isAppSearchEnabled() || shortcuts.isEmpty()) { in saveShortcutsAsync()
[all …]
H A DShortcutService.java552 boolean isAppSearchEnabled() { in isAppSearchEnabled() method in ShortcutService