/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 48 private static final String TAG = ShortcutService.TAG; 133 mBackupAllowed = ShortcutService.shouldBackupApp(pi); in updateFromPackageInfo() 143 public int canRestoreTo(ShortcutService s, PackageInfo currentPackage, boolean anyVersionOkay) { in canRestoreTo() 149 if (!ShortcutService.shouldBackupApp(currentPackage) || !mBackupSourceBackupAllowed) { in canRestoreTo() 165 ShortcutService s, String packageName, @UserIdInt int packageUserId) { in generateForInstalledPackageForTest() 183 public void refreshSignature(ShortcutService s, ShortcutPackageItem pkg) { in refreshSignature() 208 public void saveToXml(ShortcutService s, XmlSerializer out, boolean forBackup) in saveToXml() 216 ShortcutService.writeAttr(out, ATTR_VERSION, mVersionCode); in saveToXml() 217 ShortcutService.writeAttr(out, ATTR_LAST_UPDATE_TIME, mLastUpdateTime); in saveToXml() 218 ShortcutService.writeAttr(out, ATTR_SHADOW, mIsShadow); in saveToXml() [all …]
|
D | ShortcutPackage.java | 36 import com.android.server.pm.ShortcutService.DumpFilter; 37 import com.android.server.pm.ShortcutService.ShortcutOperation; 38 import com.android.server.pm.ShortcutService.Stats; 63 private static final String TAG = ShortcutService.TAG; 64 private static final String TAG_VERIFY = ShortcutService.TAG + ".verify"; 247 final ShortcutService s = mShortcutUser.mService; in forceReplaceShortcutInner() 494 final ShortcutService s = mShortcutUser.mService; in getApiCallCount() 515 if (ShortcutService.isClockValid(now) && mLastResetTime > now) { in getApiCallCount() 525 if (ShortcutService.DEBUG) { in getApiCallCount() 543 final ShortcutService s = mShortcutUser.mService; in tryApiCall() [all …]
|
D | ShortcutUser.java | 31 import com.android.server.pm.ShortcutService.DumpFilter; 32 import com.android.server.pm.ShortcutService.InvalidFileFormatException; 53 private static final String TAG = ShortcutService.TAG; 107 final ShortcutService mService; 133 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() 300 if (ShortcutService.DEBUG) { in detectLocaleChange() 326 public void attemptToRestoreIfNeededAndSave(ShortcutService s, @NonNull String packageName, in attemptToRestoreIfNeededAndSave() 339 ShortcutService.writeAttr(out, ATTR_KNOWN_LOCALES, mKnownLocales); in saveToXml() 340 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_TIME, in saveToXml() 342 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_OS_FINGERPRINT, in saveToXml() [all …]
|
D | ShortcutLauncher.java | 28 import com.android.server.pm.ShortcutService.DumpFilter; 48 private static final String TAG = ShortcutService.TAG; 231 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, getPackageName()); in saveToXml() 232 ShortcutService.writeAttr(out, ATTR_LAUNCHER_USER_ID, getPackageUserId()); in saveToXml() 243 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, pu.packageName); in saveToXml() 244 ShortcutService.writeAttr(out, ATTR_PACKAGE_USER_ID, pu.userId); in saveToXml() 249 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); in saveToXml() 262 final String launcherPackageName = ShortcutService.parseStringAttribute(parser, in loadFromXml() 268 : ShortcutService.parseIntAttribute(parser, ATTR_LAUNCHER_USER_ID, ownerUserId); in loadFromXml() 289 final String packageName = ShortcutService.parseStringAttribute(parser, in loadFromXml() [all …]
|
D | ShortcutDumpFiles.java | 37 private static final String TAG = ShortcutService.TAG; 38 private static final boolean DEBUG = ShortcutService.DEBUG; 39 private final ShortcutService mService; 41 public ShortcutDumpFiles(ShortcutService service) { in ShortcutDumpFiles() 91 pw.println(ShortcutService.formatTime(path.lastModified())); in dumpAll()
|
D | ShortcutBitmapSaver.java | 32 import com.android.server.pm.ShortcutService.FileOutputStreamWithPath; 54 private static final String TAG = ShortcutService.TAG; 55 private static final boolean DEBUG = ShortcutService.DEBUG; 66 private final ShortcutService mService; 112 public ShortcutBitmapSaver(ShortcutService service) { in ShortcutBitmapSaver() 181 Slog.wtf(ShortcutService.TAG, "Unable to compress bitmap"); in saveBitmapLocked() 193 Slog.wtf(ShortcutService.TAG, "Unable to write bitmap to file", e); in saveBitmapLocked() 285 Slog.e(ShortcutService.TAG, "Unable to write bitmap to file", e); in processPendingItems()
|
D | ShortcutPackageItem.java | 36 private static final String TAG = ShortcutService.TAG; 93 final ShortcutService s = mShortcutUser.mService; in refreshPackageSignatureAndSave() 102 final ShortcutService s = mShortcutUser.mService; in attemptToRestoreIfNeededAndSave() 104 if (ShortcutService.DEBUG) { in attemptToRestoreIfNeededAndSave() 123 if (ShortcutService.DEBUG) { in attemptToRestoreIfNeededAndSave()
|
D | ShortcutParser.java | 47 private static final String TAG = ShortcutService.TAG; 49 private static final boolean DEBUG = ShortcutService.DEBUG || false; // DO NOT SUBMIT WITH TRUE 60 public static List<ShortcutInfo> parseShortcuts(ShortcutService service, in parseShortcuts() 62 if (ShortcutService.DEBUG) { in parseShortcuts() 100 ShortcutService service, in parseShortcutsOneFile() 103 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 191 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 212 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 272 private static String parseCategories(ShortcutService service, AttributeSet attrs) { in parseCategories() 287 private static ShortcutInfo parseShortcutAttributes(ShortcutService service, in parseShortcutAttributes() [all …]
|
D | ShortcutNonPersistentUser.java | 23 import com.android.server.pm.ShortcutService.DumpFilter; 34 private final ShortcutService mService; 52 public ShortcutNonPersistentUser(ShortcutService service, int userId) { in ShortcutNonPersistentUser()
|
D | ShortcutRequestPinProcessor.java | 43 private static final String TAG = ShortcutService.TAG; 44 private static final boolean DEBUG = ShortcutService.DEBUG; 46 private final ShortcutService mService; 213 public ShortcutRequestPinProcessor(ShortcutService service, Object lock) { in ShortcutRequestPinProcessor()
|
D | ShortcutService.java | 148 public class ShortcutService extends IShortcutService.Stub { class 420 public ShortcutService(Context context) { in ShortcutService() method in ShortcutService 425 ShortcutService(Context context, Looper looper, boolean onlyForPackageManagerApis) { in ShortcutService() method in ShortcutService 559 final ShortcutService mService; 566 mService = new ShortcutService(context); in Lifecycle() 2771 return ShortcutService.this.hasShortcutHostPermission(callingPackage, launcherUserId, in hasShortcutHostPermission() 2778 ShortcutService.this.setShortcutHostPackage(type, packageName, userId); in setShortcutHostPackage() 2791 return ShortcutService.this.isRequestPinItemSupported(callingUserId, requestType); in isRequestPinItemSupported() 4169 ShortcutService.this.handleStopUser(mUserId); in handleUnloadUser() 4180 ShortcutService.this.cleanUpPackageForAllLoadedUsers(packageName, mUserId, in handleClearShortcuts()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest5.java | 43 private ShortcutService mShortcutService; 59 mShortcutService = new ShortcutService(getTestContext(), Looper.getMainLooper(), in setUp()
|
D | ShortcutManagerTest7.java | 36 import com.android.server.pm.ShortcutService.ConfigConstants;
|
D | ShortcutManagerTest3.java | 26 import com.android.server.pm.ShortcutService.ConfigConstants;
|
D | BaseShortcutManagerTest.java | 132 || DUMP_IN_TEARDOWN || ShortcutService.DEBUG; 228 protected final class ShortcutServiceTestable extends ShortcutService { 1374 + "/system/" + ShortcutService.FILENAME_BASE_STATE); in dumpBaseStateFile() 1388 + "/" + ShortcutService.FILENAME_USER_PACKAGES, message); in dumpUserFile()
|
D | ShortcutManagerTest1.java | 101 import com.android.server.pm.ShortcutService.ConfigConstants; 102 import com.android.server.pm.ShortcutService.FileOutputStreamWithPath; 209 assertEquals(ShortcutService.DEFAULT_RESET_INTERVAL_SEC * 1000, in testLoadConfig() 212 assertEquals(ShortcutService.DEFAULT_MAX_SHORTCUTS_PER_APP, in testLoadConfig() 215 assertEquals(ShortcutService.DEFAULT_MAX_UPDATES_PER_INTERVAL, in testLoadConfig() 222 assertEquals(ShortcutService.DEFAULT_ICON_PERSIST_QUALITY, in testLoadConfig() 919 ShortcutService.shrinkBitmap(BitmapFactory.decodeResource( in checkShrinkBitmap()
|
D | ShortcutManagerTest2.java | 74 ShortcutService.ConfigConstants.KEY_MAX_UPDATES_PER_INTERVAL + "=99999999," in testShortcutInfoMissingMandatoryFields() 75 + ShortcutService.ConfigConstants.KEY_MAX_SHORTCUTS + "=99999999" in testShortcutInfoMissingMandatoryFields()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 101 import com.android.server.pm.ShortcutService; 1535 mSystemServiceManager.startService(ShortcutService.Lifecycle.class); in startOtherServices()
|
/frameworks/base/services/ |
D | art-profile | 2983 Lcom/android/server/pm/-$$Lambda$ShortcutService$3$WghiV-HLnzJqZabObC5uHCmb960; 2984 Lcom/android/server/pm/-$$Lambda$ShortcutService$3$n_VdEzyBcjs0pGZO8GnB0FoTgR0; 3083 Lcom/android/server/pm/ShortcutService$1; 3084 Lcom/android/server/pm/ShortcutService$2; 3085 Lcom/android/server/pm/ShortcutService$3; 3086 Lcom/android/server/pm/ShortcutService$4; 3087 Lcom/android/server/pm/ShortcutService$5; 3088 Lcom/android/server/pm/ShortcutService$InvalidFileFormatException; 3089 Lcom/android/server/pm/ShortcutService$Lifecycle; 3090 Lcom/android/server/pm/ShortcutService$LocalService; [all …]
|