/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShareTargetInfo.java | 129 ShortcutService.writeAttr(out, ATTR_TARGET_CLASS, mTargetClass); in saveToXml() 133 ShortcutService.writeAttr(out, ATTR_SCHEME, mTargetData[i].mScheme); in saveToXml() 134 ShortcutService.writeAttr(out, ATTR_HOST, mTargetData[i].mHost); in saveToXml() 135 ShortcutService.writeAttr(out, ATTR_PORT, mTargetData[i].mPort); in saveToXml() 136 ShortcutService.writeAttr(out, ATTR_PATH, mTargetData[i].mPath); in saveToXml() 137 ShortcutService.writeAttr(out, ATTR_PATH_PATTERN, mTargetData[i].mPathPattern); in saveToXml() 138 ShortcutService.writeAttr(out, ATTR_PATH_PREFIX, mTargetData[i].mPathPrefix); in saveToXml() 139 ShortcutService.writeAttr(out, ATTR_MIME_TYPE, mTargetData[i].mMimeType); in saveToXml() 145 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml() 154 final String targetClass = ShortcutService.parseStringAttribute(parser, ATTR_TARGET_CLASS); in loadFromXml() [all …]
|
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 | 41 import com.android.server.pm.ShortcutService.DumpFilter; 42 import com.android.server.pm.ShortcutService.ShortcutOperation; 43 import com.android.server.pm.ShortcutService.Stats; 68 private static final String TAG = ShortcutService.TAG; 69 private static final String TAG_VERIFY = ShortcutService.TAG + ".verify"; 266 final ShortcutService s = mShortcutUser.mService; in forceReplaceShortcutInner() 513 final ShortcutService s = mShortcutUser.mService; in getApiCallCount() 534 if (ShortcutService.isClockValid(now) && mLastResetTime > now) { in getApiCallCount() 544 if (ShortcutService.DEBUG) { in getApiCallCount() 562 final ShortcutService s = mShortcutUser.mService; in tryApiCall() [all …]
|
D | ShortcutUser.java | 34 import com.android.server.pm.ShortcutService.DumpFilter; 35 import com.android.server.pm.ShortcutService.InvalidFileFormatException; 56 private static final String TAG = ShortcutService.TAG; 110 final ShortcutService mService; 136 public ShortcutUser(ShortcutService service, int userId) { in ShortcutUser() 303 if (ShortcutService.DEBUG) { in detectLocaleChange() 330 public void attemptToRestoreIfNeededAndSave(ShortcutService s, @NonNull String packageName, in attemptToRestoreIfNeededAndSave() 343 ShortcutService.writeAttr(out, ATTR_KNOWN_LOCALES, mKnownLocales); in saveToXml() 344 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_TIME, in saveToXml() 346 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 | ShortcutParser.java | 48 private static final String TAG = ShortcutService.TAG; 50 private static final boolean DEBUG = ShortcutService.DEBUG || false; // DO NOT SUBMIT WITH TRUE 64 public static List<ShortcutInfo> parseShortcuts(ShortcutService service, String packageName, in parseShortcuts() 67 if (ShortcutService.DEBUG) { in parseShortcuts() 106 ShortcutService service, in parseShortcutsOneFile() 110 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 208 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 233 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 255 if (ShortcutService.DEBUG) { in parseShortcutsOneFile() 354 private static String parseCategories(ShortcutService service, AttributeSet attrs) { in parseCategories() [all …]
|
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 | 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 | 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 | 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 | 151 public class ShortcutService extends IShortcutService.Stub { class 426 public ShortcutService(Context context) { in ShortcutService() method in ShortcutService 431 ShortcutService(Context context, Looper looper, boolean onlyForPackageManagerApis) { in ShortcutService() method in ShortcutService 565 final ShortcutService mService; 572 mService = new ShortcutService(context); in Lifecycle() 2835 return ShortcutService.this.hasShortcutHostPermission(callingPackage, launcherUserId, in hasShortcutHostPermission() 2842 ShortcutService.this.setShortcutHostPackage(type, packageName, userId); in setShortcutHostPackage() 2855 return ShortcutService.this.isRequestPinItemSupported(callingUserId, requestType); in isRequestPinItemSupported() 4231 ShortcutService.this.handleStopUser(mUserId); in handleUnloadUser() 4242 ShortcutService.this.cleanUpPackageForAllLoadedUsers(packageName, mUserId, in handleClearShortcuts()
|
D | OWNERS | 59 per-file ShortcutService.java = omakoto@google.com, yamasani@google.com
|
/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 | 27 import com.android.server.pm.ShortcutService.ConfigConstants;
|
D | BaseShortcutManagerTest.java | 133 || DUMP_IN_TEARDOWN || ShortcutService.DEBUG; 231 protected final class ShortcutServiceTestable extends ShortcutService { 1386 + "/system/" + ShortcutService.FILENAME_BASE_STATE); in dumpBaseStateFile() 1400 + "/" + ShortcutService.FILENAME_USER_PACKAGES, message); in dumpUserFile()
|
D | ShortcutManagerTest1.java | 104 import com.android.server.pm.ShortcutService.ConfigConstants; 105 import com.android.server.pm.ShortcutService.FileOutputStreamWithPath; 220 assertEquals(ShortcutService.DEFAULT_RESET_INTERVAL_SEC * 1000, in testLoadConfig() 223 assertEquals(ShortcutService.DEFAULT_MAX_SHORTCUTS_PER_APP, in testLoadConfig() 226 assertEquals(ShortcutService.DEFAULT_MAX_UPDATES_PER_INTERVAL, in testLoadConfig() 233 assertEquals(ShortcutService.DEFAULT_ICON_PERSIST_QUALITY, in testLoadConfig() 930 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/ |
D | art-profile | 10135 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$3$WghiV-HLnzJqZabObC5uHCmb960;->run()V 10136 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$3$n_VdEzyBcjs0pGZO8GnB0FoTgR0;->run()V 10137 PLcom/android/server/pm/-$$Lambda$ShortcutService$DzwraUeMWDwA0XDfFxd3sGOsA0E;->run()V 10138 PLcom/android/server/pm/-$$Lambda$ShortcutService$H1HFyb1U9E1-y03suEsi37_w-t0;->accept(Ljava/lang/O… 10139 …oid/server/pm/-$$Lambda$ShortcutService$LocalService$Q0t7aDuDFJ8HWAf1NHW1dGQjOf8;-><init>(Lcom/and… 10140 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$LocalService$Q0t7aDuDFJ8HWAf1NHW1dGQjOf8;->acce… 10141 PLcom/android/server/pm/-$$Lambda$ShortcutService$LocalService$a6cj3oQpS-Z6FB4DytB0FytYmiM;->test(L… 10142 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$LocalService$ltDE7qm9grkumxffFI8cLCFpNqU;-><ini… 10143 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$LocalService$ltDE7qm9grkumxffFI8cLCFpNqU;->test… 10144 HSPLcom/android/server/pm/-$$Lambda$ShortcutService$QFWliMhWloedhnaZCwVKaqKPVb4;->run()V [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 134 import com.android.server.pm.ShortcutService; 1865 mSystemServiceManager.startService(ShortcutService.Lifecycle.class); in startOtherServices()
|