/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 37 private final String mPackage; field in ComponentName 101 mPackage = pkg; in ComponentName() 115 mPackage = pkg.getPackageName(); in ComponentName() 128 mPackage = pkg.getPackageName(); in ComponentName() 133 return new ComponentName(mPackage, mClass); in clone() 140 return mPackage; in getPackageName() 155 if (mClass.startsWith(mPackage)) { in getShortClassName() 156 int PN = mPackage.length(); in getShortClassName() 204 return mPackage + "/" + mClass; in flattenToString() 219 StringBuilder sb = new StringBuilder(mPackage.length() + mClass.length()); in flattenToShortString() [all …]
|
D | Intent.java | 4778 private String mPackage; field in Intent 4803 this.mPackage = o.mPackage; in Intent() 4833 this.mPackage = o.mPackage; in Intent() 5129 intent.mPackage = value; in parseUri() 5182 if (baseIntent.mPackage == null) { in parseUri() 5200 intent.mPackage = data.substring(14); in parseUri() 5208 intent.mPackage = data.substring(14, end); in parseUri() 6610 return mPackage; in getPackage() 7033 if (selector != null && mPackage != null) { in setSelector() 7919 mPackage = packageName; in setPackage() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RemoteViewsTest.java | 53 private String mPackage; field in RemoteViewsTest 59 mPackage = mPackage; in setup() 65 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() 78 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() 87 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() 99 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 100 RemoteViews child = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 110 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_repeatedly() 120 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_chained()
|
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 31 private final String mPackage; field in Adjustment 57 mPackage = pkg; in Adjustment() 68 mPackage = in.readString(); in Adjustment() 70 mPackage = null; in Adjustment() 101 return mPackage; in getPackage() 135 if (mPackage != null) { in writeToParcel() 137 dest.writeString(mPackage); in writeToParcel()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 43 private String mPackage; field in ConfirmDialog 50 mPackage = getCallingPackage(); in onCreate() 65 if (alwaysOnVpnPackage != null && !alwaysOnVpnPackage.equals(mPackage)) { in onCreate() 97 return mService.prepareVpn(mPackage, null, UserHandle.myUserId()); in prepareVpn() 105 return VpnConfig.getVpnLabel(this, mPackage); in getVpnLabel() 126 if (mService.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick() 129 mService.setVpnPackageAuthorization(mPackage, UserHandle.myUserId(), true); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | IntentTile.java | 204 private final String mPackage; field in IntentTile.PackageDrawableIcon 208 mPackage = pkg; in PackageDrawableIcon() 216 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals() 222 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable() 224 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable() 231 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
|
/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()
|
D | ActivityInstrumentationTestCase.java | 36 String mPackage; field in ActivityInstrumentationTestCase
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 91 public String mPackage; field in UsageEvents.Event 125 return mPackage; in getPackageName() 286 if (event.mPackage != null) { in writeEventToParcel() 287 packageIndex = findStringIndex(event.mPackage); in writeEventToParcel() 319 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel() 321 eventOut.mPackage = null; in readEventFromParcel()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ResourceExpr.java | 42 protected final String mPackage; field in ResourceExpr 52 mPackage = "android."; in ResourceExpr() 54 mPackage = ""; in ResourceExpr() 124 if (mPackage == null) { in computeUniqueKey() 138 return mPackage + "R." + getResourceObject() + "." + mResourceId; in getResourceId() 150 final String resourceName = mPackage + "R." + getResourceObject() + "." + mResourceId; in toJava()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ServiceState.java | 56 private final String mPackage; field in ServiceState 84 mPackage = pkg; in ServiceState() 92 return mPackage; in getPackage() 141 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 147 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 153 + mPackage + " service=" + mName + " proc=" + mProc); in applyNewOwner() 169 + " cleared while started: pkg=" + mPackage + " service=" in clearCurrentOwner() 177 + " cleared while bound: pkg=" + mPackage + " service=" in clearCurrentOwner() 185 + " cleared while exec: pkg=" + mPackage + " service=" in clearCurrentOwner() 303 mProc = mProc.pullFixedProc(mPackage); in updateStartedState() [all …]
|
D | ProcessState.java | 129 private final String mPackage; field in ProcessState 168 mPackage = pkg; in ProcessState() 185 mPackage = pkg; in ProcessState() 195 ProcessState pnew = new ProcessState(this, mPackage, mUid, mVersion, mName, now); in clone() 226 return mPackage; in getPackage() 281 + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); in ensureNotDead() 424 Slog.wtfStack(TAG, "Proc active services underrun: pkg=" + mPackage in decActiveServices() 461 + mPackage + " uid=" + mUid + " name=" + mName); in decStartedServices() 584 Log.wtf(TAG, "Pulling dead proc: name=" + mName + " pkg=" + mPackage in pullFixedProc() 586 proc = mStats.getProcessStateLocked(proc.mPackage, proc.mUid, proc.mVersion, in pullFixedProc() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | AppIdleController.java | 67 final String mPackage; field in AppIdleController.PackageUpdateFunc 73 mPackage = pkg; in PackageUpdateFunc() 78 if (jobStatus.getSourcePackageName().equals(mPackage) in process() 83 + mPackage + " to " + mIdle); in process()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.cpp | 218 mDiag(diag), mPackage(package) { in PackageFlattener() 225 pkgHeader->id = util::hostToDevice32(mPackage->id.value()); in flattenPackage() 227 if (mPackage->name.size() >= arraysize(pkgHeader->name)) { in flattenPackage() 229 "package name '" << mPackage->name << "' is too long"); in flattenPackage() 234 strcpy16_htod(pkgHeader->name, arraysize(pkgHeader->name), mPackage->name); in flattenPackage() 256 ResourceTablePackage* mPackage; member in aapt::__anone9a9e6bc0111::PackageFlattener 334 << ResourceNameRef(mPackage->name, type->type, flatEntry.entry->name) in flattenConfig() 345 for (auto& type : mPackage->types) { in collectAndSortTypes()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 152 mPackage = attr->value; in visit() 158 Maybe<std::u16string> result = util::getFullyQualifiedClassName(mPackage, in visit() 173 Maybe<std::u16string> result = util::getFullyQualifiedClassName(mPackage, in visit() 184 std::u16string mPackage; member
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 225 FullyQualifiedClassNameVisitor(const StringPiece16& package) : mPackage(package) { in FullyQualifiedClassNameVisitor() 231 util::getFullyQualifiedClassName(mPackage, attr.value)) { in visit() 241 StringPiece16 mPackage; member in aapt::FullyQualifiedClassNameVisitor
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | ProcessBindable.java | 244 private String mPackage; field in ProcessBindable.IntermediateV1 248 mPackage = aPackage; in IntermediateV1() 275 return mPackage; in getPackage()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 120 private String mPackage; field in Vpn 216 mPackage = VpnConfig.LEGACY_VPN; in Vpn() 217 mOwnerUID = getAppUid(mPackage, mUserHandle); in Vpn() 329 return (mAlwaysOn ? mPackage : null); in getAlwaysOnPackage() 511 Log.i(TAG, "Switched from " + mPackage + " to " + newPackage); in prepareInternal() 512 mPackage = newPackage; in prepareInternal() 720 if (!isVpnUserPreConsented(mPackage)) { in establish() 725 intent.setClassName(mPackage, config.user); in establish() 781 config.user = mPackage; in establish() 1033 /* disallowedApplications */ Collections.singletonList(mPackage)); in setVpnForcedLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 155 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage in reportEvent() 187 stats.update(event.mPackage, event.mTimeStamp, event.mEventType); in reportEvent() 330 names.add(event.mPackage); in queryEvents() 545 pw.printPair("package", event.mPackage); in printIntervalStats()
|
D | UsageStatsService.java | 635 event.mPackage, userId, elapsedRealtime); in reportEvent() 642 mAppIdleHistory.reportUsageLocked(event.mPackage, userId, elapsedRealtime); in reportEvent() 645 /* idle = */ 0, event.mPackage)); in reportEvent() 646 notifyBatteryStats(event.mPackage, userId, false); in reportEvent() 1399 event.mPackage = component.getPackageName(); in reportEvent() 1417 event.mPackage = packageName; in reportEvent() 1434 event.mPackage = "android"; in reportConfigurationChange() 1452 event.mPackage = packageName.intern(); in reportShortcutUsage()
|
D | IntervalStats.java | 77 event.mPackage = getCachedStringRef(packageName); in buildEvent()
|
D | UsageStatsXmlV1.java | 169 XmlUtils.writeStringAttribute(xml, PACKAGE_ATTR, event.mPackage); in writeEvent()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.h | 518 const String8& getPackage() const { return mPackage; } in getPackage() 520 mPackage = package; in setPackage() 555 mHavePrivateSymbols = mSymbolsPrivatePackage != mPackage; in setSymbolsPrivatePackage() 600 String8 mPackage; variable
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 259 String mPackage; field in LauncherApps.ShortcutQuery 287 mPackage = packageName; in setPackage() 527 query.mChangedSince, query.mPackage, query.mShortcutIds, query.mActivity, in getShortcuts()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 3634 PackageInfo mPackage; field in BackupManagerService.FullBackupEngine.FullBackupRunner 3645 mPackage = pack; in FullBackupRunner() 3661 if (MORE_DEBUG) Slog.d(TAG, "Writing manifest for " + mPackage.packageName); in run() 3662 writeAppManifest(mPackage, mManifestFile, mSendApk, writeWidgetData); in run() 3663 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 3671 writeMetadata(mPackage, mMetadataFile, mWidgetData); in run() 3672 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 3681 writeApkToBackup(mPackage, output); in run() 3684 if (DEBUG) Slog.d(TAG, "Calling doFullBackup() on " + mPackage.packageName); in run() 3689 Slog.e(TAG, "Error running full backup for " + mPackage.packageName); in run() [all …]
|