Home
last modified time | relevance | path

Searched refs:mPackage (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/content/
DComponentName.java36 private final String mPackage; field in ComponentName
50 mPackage = pkg; in ComponentName()
64 mPackage = pkg.getPackageName(); in ComponentName()
77 mPackage = pkg.getPackageName(); in ComponentName()
82 return new ComponentName(mPackage, mClass); in clone()
89 return mPackage; in getPackageName()
104 if (mClass.startsWith(mPackage)) { in getShortClassName()
105 int PN = mPackage.length(); in getShortClassName()
153 return mPackage + "/" + mClass; in flattenToString()
168 StringBuilder sb = new StringBuilder(mPackage.length() + mClass.length()); in flattenToShortString()
[all …]
DIntent.java4038 private String mPackage; field in Intent
4063 this.mPackage = o.mPackage; in Intent()
4093 this.mPackage = o.mPackage; in Intent()
4389 intent.mPackage = value; in parseUri()
4442 if (baseIntent.mPackage == null) { in parseUri()
4460 intent.mPackage = data.substring(14); in parseUri()
4468 intent.mPackage = data.substring(14, end); in parseUri()
5417 return mPackage; in getPackage()
5840 if (selector != null && mPackage != null) { in setSelector()
6722 mPackage = packageName; in setPackage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java170 private final String mPackage; field in IntentTile.PackageDrawableIcon
174 mPackage = pkg; in PackageDrawableIcon()
182 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals()
188 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable()
190 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable()
197 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java45 private String mPackage; field in ConfirmDialog
55 mPackage = getCallingPackage(); in onResume()
60 if (mService.prepareVpn(mPackage, null)) { in onResume()
70 getString(R.string.warning, VpnConfig.getVpnLabel(this, mPackage)), in onResume()
104 if (mService.prepareVpn(null, mPackage)) { in onClick()
/frameworks/base/test-runner/src/android/test/
DSingleLaunchActivityTestCase.java32 String mPackage; field in SingleLaunchActivityTestCase
46 mPackage = pkg; in SingleLaunchActivityTestCase()
67 sActivity = launchActivity(mPackage, mActivityClass, null); in setUp()
DActivityInstrumentationTestCase.java36 String mPackage; field in ActivityInstrumentationTestCase
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java73 public String mPackage; field in UsageEvents.Event
100 return mPackage; in getPackageName()
251 if (event.mPackage != null) { in writeEventToParcel()
252 packageIndex = findStringIndex(event.mPackage); in writeEventToParcel()
279 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel()
281 eventOut.mPackage = null; in readEventFromParcel()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java110 private String mPackage; field in Vpn
140 mPackage = VpnConfig.LEGACY_VPN; in Vpn()
141 mOwnerUID = getAppUid(mPackage, mUserHandle); in Vpn()
276 Log.i(TAG, "Switched from " + mPackage + " to " + newPackage); in prepareInternal()
277 mPackage = newPackage; in prepareInternal()
299 if (mPackage == null || VpnConfig.LEGACY_VPN.equals(mPackage)) { in setPackageAuthorization()
307 appOps.setMode(AppOpsManager.OP_ACTIVATE_VPN, mOwnerUID, mPackage, in setPackageAuthorization()
310 Log.wtf(TAG, "Failed to set app ops for package " + mPackage, e); in setPackageAuthorization()
481 intent.setClassName(mPackage, config.user); in establish()
536 config.user = mPackage; in establish()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java286 thisProc = thisProc.clone(thisProc.mPackage, now); in add()
314 thisProc = new ProcessState(this, otherProc.mPackage, uid, otherProc.mVersion, in add()
317 PackageState thisState = getPackageStateLocked(otherProc.mPackage, uid, in add()
1624 writeCommonString(out, proc.mPackage); in writeToParcel()
2057 if (packageName.equals(commonProc.mPackage) && vers == commonProc.mVersion) { in getProcessStateLocked()
2075 final PackageState commonPkgState = getPackageStateLocked(commonProc.mPackage, in getProcessStateLocked()
2078 ProcessState cloned = commonProc.clone(commonProc.mPackage, now); in getProcessStateLocked()
2079 if (DEBUG) Slog.d(TAG, "GETPROC setting clone to pkg " + commonProc.mPackage in getProcessStateLocked()
2095 Slog.w(TAG, "Cloning proc state: no package state " + commonProc.mPackage in getProcessStateLocked()
2137 pw.print(" mPackage="); pw.println(proc.mPackage); in dumpProcessInternalLocked()
[all …]
/frameworks/base/tools/aapt/
DAaptAssets.h520 const String8& getPackage() const { return mPackage; } in getPackage()
522 mPackage = package; in setPackage()
557 mHavePrivateSymbols = mSymbolsPrivatePackage != mPackage; in setSymbolsPrivatePackage()
602 String8 mPackage; variable
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java140 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage in reportEvent()
170 stats.update(event.mPackage, event.mTimeStamp, event.mEventType); in reportEvent()
313 names.add(event.mPackage); in queryEvents()
531 pw.printPair("package", event.mPackage); in printIntervalStats()
DIntervalStats.java77 event.mPackage = getCachedStringRef(packageName); in buildEvent()
DUsageStatsService.java480 event.mPackage = component.getPackageName(); in reportEvent()
498 event.mPackage = "android"; in reportConfigurationChange()
DUsageStatsXmlV1.java163 XmlUtils.writeStringAttribute(xml, PACKAGE_ATTR, event.mPackage); in writeEvent()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java3108 PackageInfo mPackage; field in BackupManagerService.FullBackupEngine.FullBackupRunner
3119 mPackage = pack; in FullBackupRunner()
3136 if (MORE_DEBUG) Slog.d(TAG, "Writing manifest for " + mPackage.packageName); in run()
3137 writeAppManifest(mPackage, mManifestFile, mSendApk, writeWidgetData); in run()
3138 FullBackup.backupToTar(mPackage.packageName, null, null, in run()
3146 writeMetadata(mPackage, mMetadataFile, mWidgetData); in run()
3147 FullBackup.backupToTar(mPackage.packageName, null, null, in run()
3156 writeApkToBackup(mPackage, output); in run()
3159 if (DEBUG) Slog.d(TAG, "Calling doFullBackup() on " + mPackage.packageName); in run()
3163 Slog.e(TAG, "Error running full backup for " + mPackage.packageName); in run()
[all …]