/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 40 private final String mPackage; field in ComponentName 104 mPackage = pkg; in ComponentName() 118 mPackage = pkg.getPackageName(); in ComponentName() 131 mPackage = pkg.getPackageName(); in ComponentName() 136 return new ComponentName(mPackage, mClass); in clone() 143 return mPackage; in getPackageName() 158 if (mClass.startsWith(mPackage)) { in getShortClassName() 159 int PN = mPackage.length(); in getShortClassName() 218 return mPackage + "/" + mClass; in flattenToString() 233 StringBuilder sb = new StringBuilder(mPackage.length() + mClass.length()); in flattenToShortString() [all …]
|
D | Intent.java | 6558 private String mPackage; field in Intent 6604 this.mPackage = o.mPackage; in Intent() 6938 intent.mPackage = value; in parseUri() 6991 if (baseIntent.mPackage == null) { in parseUri() 7009 intent.mPackage = data.substring(14); in parseUri() 7017 intent.mPackage = data.substring(14, end); in parseUri() 8493 return mPackage; in getPackage() 8948 if (selector != null && mPackage != null) { in setSelector() 9822 mPackage = packageName; in setPackage() 10074 if (other.mPackage != null in fillIn() [all …]
|
/frameworks/base/libs/services/src/content/ |
D | ComponentName.cpp | 23 :mPackage(), in ComponentName() 28 :mPackage(that.mPackage), in ComponentName() 33 :mPackage(pkg), in ComponentName() 41 if (mPackage < that.mPackage) { in operator <() 43 } else if (mPackage > that.mPackage) { in operator <() 58 err = in->readUtf8FromUtf16(&mPackage); in readFromParcel() 74 err = out->writeUtf8AsUtf16(mPackage); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 68 private String mPackage; field in RemoteViewsTest 74 mPackage = mContext.getPackageName(); in setup() 80 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() 93 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() 102 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() 114 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 115 RemoteViews child = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 125 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_repeatedly() 135 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_chained() 144 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in parcelSize_nestedViews() [all …]
|
D | AppWidgetHostViewTest.java | 58 private String mPackage; field in AppWidgetHostViewTest 67 mPackage = mContext.getPackageName(); in setup() 75 mViews = new RemoteViews(mPackage, R.layout.remote_views_test); in setup()
|
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 47 private final String mPackage; field in Adjustment 139 mPackage = pkg; in Adjustment() 159 mPackage = pkg; in Adjustment() 172 mPackage = in.readString(); in Adjustment() 174 mPackage = null; in Adjustment() 204 return mPackage; in getPackage() 237 if (mPackage != null) { in writeToParcel() 239 dest.writeString(mPackage); in writeToParcel()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformClearTask.java | 35 private final PackageInfo mPackage; field in PerformClearTask 44 mPackage = packageInfo; in PerformClearTask() 56 File stateFile = new File(stateDir, mPackage.packageName); in run() 62 transport.clearBackupData(mPackage); in run() 64 Slog.e(TAG, "Transport threw clearing data for " + mPackage + ": " + e.getMessage()); in run()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 49 private String mPackage; field in ConfirmDialog 64 mPackage = getCallingPackage(); in onCreate() 79 if (alwaysOnVpnPackage != null && !alwaysOnVpnPackage.equals(mPackage)) { in onCreate() 112 return mService.prepareVpn(mPackage, null, UserHandle.myUserId()); in prepareVpn() 120 return VpnConfig.getVpnLabel(this, mPackage); in getVpnLabel() 149 if (mService.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick() 152 mService.setVpnPackageAuthorization(mPackage, UserHandle.myUserId(), mVpnType); in onClick()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | FullBackupEngine.java | 71 private final PackageInfo mPackage; field in FullBackupEngine.FullBackupRunner 88 mPackage = packageInfo; in FullBackupRunner() 104 String packageName = mPackage.packageName; in run() 107 shouldWriteApk(mPackage.applicationInfo, mIncludeApks, isSharedStorage); in run() 116 mPackage, manifestFile, mFilesDir, writeApk); in run() 125 mPackage, metadataFile, mFilesDir, widgetData); in run() 132 appMetadataBackupWriter.backupApk(mPackage); in run() 133 appMetadataBackupWriter.backupObb(mUserId, mPackage); in run() 156 Slog.e(TAG, "Error running full backup for " + mPackage.packageName, e); in run() 160 "Remote agent vanished during full backup of " + mPackage.packageName, in run()
|
/frameworks/base/test-runner/src/android/test/ |
D | SingleLaunchActivityTestCase.java | 38 String mPackage; field in SingleLaunchActivityTestCase 52 mPackage = pkg; in SingleLaunchActivityTestCase() 73 sActivity = launchActivity(mPackage, mActivityClass, null); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | IntentTile.java | 206 private final String mPackage; field in IntentTile.PackageDrawableIcon 210 mPackage = pkg; in PackageDrawableIcon() 218 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals() 224 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable() 226 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable() 233 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 191 private final PackageInfo mPackage; field in KeyValueAdbBackupEngine.KeyValueAdbBackupDataCopier 198 mPackage = pack; in KeyValueAdbBackupDataCopier() 211 Slog.d(TAG, "Writing manifest for " + mPackage.packageName); in run() 215 mPackage, in run() 224 Slog.d(TAG, "Writing key-value package payload" + mPackage.packageName); in run() 226 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run() 247 Slog.e(TAG, "Error running full backup for " + mPackage.packageName + ". " + e); in run()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 304 public String mPackage; field in UsageEvents.Event 405 mPackage = orig.mPackage; in Event() 426 return mPackage; in getPackageName() 569 ret.mPackage = INSTANT_APP_PACKAGE_NAME; in getObfuscatedIfInstantApp() 717 if (event.mPackage != null) { in writeEventToParcel() 718 packageIndex = findStringIndex(event.mPackage); in writeEventToParcel() 780 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel() 782 eventOut.mPackage = null; in readEventFromParcel()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowPerformUnifiedRestoreTask.java | 51 @Nullable private PackageInfo mPackage; field in ShadowPerformUnifiedRestoreTask 69 mPackage = targetPackage; in __constructor__() 83 return mPackage; in getPackage()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ServiceState.java | 44 private final String mPackage; field in ServiceState 76 mPackage = pkg; in ServiceState() 84 return mPackage; in getPackage() 137 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 143 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 149 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 155 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 172 + " cleared while started: pkg=" + mPackage + " service=" in clearCurrentOwner() 180 + " cleared while bound: pkg=" + mPackage + " service=" in clearCurrentOwner() 188 + " cleared while exec: pkg=" + mPackage + " service=" in clearCurrentOwner() [all …]
|
D | AssociationState.java | 200 @Nullable String mPackage; field in AssociationState.SourceKey 205 mPackage = pkg; in SourceKey() 214 && Objects.equals(s.mPackage, mPackage); in equals() 220 ^ (mPackage == null ? 0 : (mPackage.hashCode() * 33)); in hashCode() 231 sb.append(mPackage); in toString() 284 mTmpSourceKey.mPackage = packageName; in startSource() 395 stats.writeCommonString(out, key.mPackage); in writeToParcel() 467 if (procName.equals(key.mProcess) || procName.equals(key.mPackage)) { in hasProcessOrPackage() 486 && !reqPackage.equals(key.mPackage)) { in dumpStats() 494 if (key.mPackage != null) { in dumpStats() [all …]
|
D | ProcessState.java | 129 private final String mPackage; field in ProcessState 171 mPackage = pkg; in ProcessState() 188 mPackage = pkg; in ProcessState() 201 ProcessState pnew = new ProcessState(this, mPackage, mUid, mVersion, mName, now); in clone() 233 return mPackage; in getPackage() 290 + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); in ensureNotDead() 461 Slog.wtfStack(TAG, "Proc active services underrun: pkg=" + mPackage in decActiveServices() 498 + mPackage + " uid=" + mUid + " name=" + mName); in decStartedServices() 637 Log.wtf(TAG, "Pulling dead proc: name=" + mName + " pkg=" + mPackage in pullFixedProc() 639 proc = mStats.getProcessStateLocked(proc.mPackage, proc.mUid, proc.mVersion, in pullFixedProc() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 146 shutdownEvent.mPackage = Event.DEVICE_EVENT_PACKAGE_NAME; in init() 149 startupEvent.mPackage = Event.DEVICE_EVENT_PACKAGE_NAME; in init() 166 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage in reportEvent() 200 if (event.mPackage != null && !event.mPackage.equals(mLastBackgroundedPackage)) { in reportEvent() 204 if (event.mPackage != null) { in reportEvent() 205 mLastBackgroundedPackage = event.mPackage; in reportEvent() 215 stats.updateChooserCounts(event.mPackage, event.mContentType, event.mAction); in reportEvent() 219 stats.updateChooserCounts(event.mPackage, annotation, event.mAction); in reportEvent() 236 stats.update(event.mPackage, event.getClassName(), in reportEvent() 239 stats.incrementAppLaunchCount(event.mPackage); in reportEvent() [all …]
|
D | StorageStatsService.java | 97 private final PackageManager mPackage; field in StorageStatsService 108 mPackage = Preconditions.checkNotNull(context.getPackageManager()); in StorageStatsService() 257 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryStatsForPackage() 269 if (defeatNullable(mPackage.getPackagesForUid(appInfo.uid)).length == 1) { in queryStatsForPackage() 313 final String[] packageNames = defeatNullable(mPackage.getPackagesForUid(uid)); in queryStatsForUid() 319 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageNames[i], in queryStatsForUid() 412 for (ApplicationInfo app : mPackage.getInstalledApplicationsAsUser( in getAppIds()
|
D | IntervalStats.java | 154 event.mPackage = getCachedStringRef(packageName); in buildEvent() 171 event.mPackage = getCachedStringRef( in buildEvent() 175 event.mPackage = getCachedStringRef(stringPool.get( in buildEvent() 319 event.mPackage = getCachedStringRef(event.mPackage); in addEvent()
|
D | UsageStatsService.java | 167 event.mPackage = packageName; 443 event.mPackage = Event.DEVICE_EVENT_PACKAGE_NAME; in shutdown() 461 event.mPackage = Event.DEVICE_EVENT_PACKAGE_NAME; in prepareForPossibleShutdown() 475 if (event.mPackage != null in reportEvent() 476 && mPackageManagerInternal.isPackageEphemeral(userId, event.mPackage)) { in reportEvent() 489 mAppTimeLimit.noteUsageStart(event.mPackage, userId); in reportEvent() 505 Slog.w(TAG, "Unexpected activity event reported! (" + event.mPackage in reportEvent() 538 buildFullToken(event.mPackage, token), userId); in reportEvent() 554 mAppTimeLimit.noteUsageStop(event.mPackage, userId); in reportEvent() 1364 event.mPackage = packageName; in reportChooserSelection() [all …]
|
/frameworks/base/libs/services/include/android/content/ |
D | ComponentName.h | 39 const string& getPackageName() const { return mPackage; } in getPackageName() 46 string mPackage;
|
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/ |
D | UsageStatsDatabasePerfTest.java | 89 event.mPackage = "fake.package.name" + pkg; in populateIntervalStats() 90 event.mClass = event.mPackage + ".class1"; in populateIntervalStats() 95 intervalStats.update(event.mPackage, event.mClass, event.mTimeStamp, in populateIntervalStats()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 29 final String mPackage; field in AudioServiceEvents.PhoneStateEvent 37 mPackage = callingPackage; in PhoneStateEvent() 47 .append(") from package=").append(mPackage) in eventToString()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginInstanceManager.java | 138 if (className.startsWith(info.mPackage)) { in checkAndDisable() 174 ComponentName pluginComponent = new ComponentName(info.mPackage, info.mClass); in disable() 273 if (plugin.mPackage.equals(pkg)) { in handleMessage() 455 String mPackage; field in PluginInstanceManager.PluginInfo 461 mPackage = pkg; in PluginInfo()
|