Home
last modified time | relevance | path

Searched refs:mPackageName (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java27 private final String mPackageName; field in MediaProjectionInfo
31 mPackageName = packageName; in MediaProjectionInfo()
36 mPackageName = in.readString(); in MediaProjectionInfo()
41 return mPackageName; in getPackageName()
52 return Objects.equals(other.mPackageName, mPackageName) in equals()
60 return Objects.hash(mPackageName, mUserHandle); in hashCode()
66 + mPackageName + ", mUserHandle=" in toString()
77 out.writeString(mPackageName); in writeToParcel()
/frameworks/base/core/java/android/app/usage/
DUsageStats.java31 public String mPackageName; field in UsageStats
71 mPackageName = stats.mPackageName; in UsageStats()
81 return mPackageName; in getPackageName()
128 if (!mPackageName.equals(right.mPackageName)) { in add()
130 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'."); in add()
154 dest.writeString(mPackageName); in writeToParcel()
167 stats.mPackageName = in.readString();
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java58 protected String mPackageName; field in WapPushTest
459 mPackageName = this.getClass().getPackage().getName(); in WapPushTest()
501 mPackageName, mClassName, in utAddPackage() local
511 mPackageName, mClassName, in utAddPackage() local
537 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local
540 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local
543 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local
546 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() local
566 mPackageName, mClassName, in testAddPackage0()
582 Integer.toString(mContentTypeValue), mPackageName, mClassName, 0, in testAddPackage2() local
[all …]
/frameworks/base/core/java/android/app/backup/
DRestoreDescription.java34 private final String mPackageName; field in RestoreDescription
57 return "RestoreDescription{" + mPackageName + " : " in toString()
66 mPackageName = packageName; in RestoreDescription()
71 return mPackageName; in getPackageName()
88 out.writeString(mPackageName); in writeToParcel()
96 return (NO_MORE_PACKAGES_SENTINEL.equals(unparceled.mPackageName))
107 mPackageName = in.readString(); in RestoreDescription()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java39 private final String mPackageName; field in ShortcutPackageItem
50 mPackageName = Preconditions.checkStringNotEmpty(packageName); in ShortcutPackageItem()
81 return mPackageName; in getPackageName()
102 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave()
105 mPackageName, mPackageUserId)); in attemptToRestoreIfNeededAndSave()
111 s.wtf("Attempted to restore package " + mPackageName + ", user=" + mPackageUserId in attemptToRestoreIfNeededAndSave()
116 final PackageInfo pi = s.getPackageInfoWithSignatures(mPackageName, mPackageUserId); in attemptToRestoreIfNeededAndSave()
126 Slog.d(TAG, String.format("Restored package: %s/%d on user %d", mPackageName, in attemptToRestoreIfNeededAndSave()
155 result.put(KEY_NAME, mPackageName); in dumpCheckin()
/frameworks/base/core/java/android/content/pm/
DEphemeralApplicationInfo.java33 private final String mPackageName; field in EphemeralApplicationInfo
42 mPackageName = null; in EphemeralApplicationInfo()
51 mPackageName = packageName; in EphemeralApplicationInfo()
58 mPackageName = parcel.readString(); in EphemeralApplicationInfo()
69 return mPackageName; in getPackageName()
83 return packageManager.getEphemeralApplicationIcon(mPackageName); in loadIcon()
101 parcel.writeString(mPackageName); in writeToParcel()
DIntentFilterVerificationInfo.java55 private String mPackageName; field in IntentFilterVerificationInfo
59 mPackageName = null; in IntentFilterVerificationInfo()
64 mPackageName = packageName; in IntentFilterVerificationInfo()
79 return mPackageName; in getPackageName()
140 mPackageName = getStringFromXml(parser, ATTR_PACKAGE_NAME, null); in readFromXml()
141 if (mPackageName == null) { in readFromXml()
174 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName); in writeToXml()
221 mPackageName = source.readString(); in readFromParcel()
230 dest.writeString(mPackageName); in writeToParcel()
DShortcutInfo.java152 private final String mPackageName; field in ShortcutInfo
234 mPackageName = b.mContext.getPackageName(); in ShortcutInfo()
333 mPackageName = source.mPackageName; in ShortcutInfo()
385 Log.e(TAG, "Resource for ID=" + resId + " not found in package " + mPackageName); in getResourceString()
558 mTitleResName = lookUpResourceName(res, mTitleResId, /*withType=*/ false, mPackageName); in lookupAndFillInResourceNames()
559 mTextResName = lookUpResourceName(res, mTextResId, /*withType=*/ false, mPackageName); in lookupAndFillInResourceNames()
561 /*withType=*/ false, mPackageName); in lookupAndFillInResourceNames()
564 mIconResName = lookUpResourceName(res, mIconResId, /*withType=*/ true, mPackageName); in lookupAndFillInResourceNames()
581 mTitleResId = lookUpResourceId(res, mTitleResName, RES_TYPE_STRING, mPackageName); in lookupAndFillInResourceIds()
582 mTextResId = lookUpResourceId(res, mTextResName, RES_TYPE_STRING, mPackageName); in lookupAndFillInResourceIds()
[all …]
/frameworks/base/media/java/android/media/
DAudioFocusInfo.java34 private String mPackageName; field in AudioFocusInfo
54 mPackageName = packageName == null ? "" : packageName; in AudioFocusInfo()
72 public String getPackageName() { return mPackageName; } in getPackageName()
115 dest.writeString(mPackageName); in writeToParcel()
124 return Objects.hash(mAttributes, mClientId, mPackageName, mGainRequest, mFlags); in hashCode()
143 if (!mPackageName.equals(other.mPackageName)) { in equals()
/frameworks/base/core/java/android/os/
DVibrator.java34 private final String mPackageName; field in Vibrator
40 mPackageName = ActivityThread.currentPackageName(); in Vibrator()
47 mPackageName = context.getOpPackageName(); in Vibrator()
80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); in vibrate() local
132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); in vibrate() local
/frameworks/base/core/java/android/content/
DContentProviderClient.java71 private final String mPackageName; field in ContentProviderClient
86 mPackageName = contentResolver.mPackageName; in ContentProviderClient()
145 final Cursor cursor = mContentProvider.query(mPackageName, url, projection, selection, in query()
151 if ("com.google.android.gms".equals(mPackageName)) { in query()
209 return mContentProvider.canonicalize(mPackageName, url); in canonicalize()
226 return mContentProvider.uncanonicalize(mPackageName, url); in uncanonicalize()
244 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
263 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert()
281 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete()
299 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update()
[all …]
/frameworks/base/location/java/android/location/
DGeocoderParams.java37 private String mPackageName; field in GeocoderParams
50 mPackageName = context.getPackageName(); in GeocoderParams()
64 return mPackageName; in getClientPackage()
75 gp.mPackageName = in.readString();
92 parcel.writeString(mPackageName); in writeToParcel()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java73 final String mPackageName; field in NfcAdapterExtras
115 mPackageName = adapter.getContext().getPackageName(); in NfcAdapterExtras()
180 int route = sService.getCardEmulationRoute(mPackageName); in getCardEmulationRoute()
202 sService.setCardEmulationRoute(mPackageName, route.route); in setCardEmulationRoute()
232 sService.authenticate(mPackageName, token); in authenticate()
248 return sService.getDriverName(mPackageName); in getDriverName()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java39 private String mPackageName; field in MediaInserterTest
88 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp()
149 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsEqualToBufferSize()
164 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsMoreThanBufferSize()
188 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testFlushAllWithSomeContents()
204 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsAfterFlushAll()
225 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
229 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
233 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
237 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java123 data.update(buffer.mPackageName, buffer.mUid, buffer.mProcessBuffer); in processDied()
154 && data.mPackageName.equals(packageName)) { in removeHistoricalDataLocked()
174 fout.print(buffer.mPackageName); in dump()
187 fout.print(buffer.mPackageName); in dump()
198 final String mPackageName; field in GraphicsStatsService.ActiveBuffer
207 mPackageName = packageName; in ActiveBuffer()
211 mPreviousData = removeHistoricalDataLocked(mUid, mPackageName); in ActiveBuffer()
234 String mPackageName; field in GraphicsStatsService.HistoricalData
238 mPackageName = packageName; in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java53 private String mPackageName; field in MediaProjectionPermissionActivity
63 mPackageName = getCallingPackage(); in onCreate()
67 if (mPackageName == null) { in onCreate()
75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate()
84 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate()
85 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
120 label = mPackageName; in onCreate()
167 mUid, mPackageName, mPermanentGrant)); in onClick()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java83 public String mPackageName; field in SmsApplication.SmsApplicationData
130 mPackageName = packageName; in SmsApplicationData()
139 appInfo = pm.getApplicationInfoAsUser(mPackageName, 0, in getApplicationName()
154 return " mPackageName: " + mPackageName + in toString()
379 if (application.mPackageName.contentEquals(packageName)) { in getApplicationForPackage()
441 setDefaultApplicationInternal(applicationData.mPackageName, context, userId); in getApplication()
456 applicationData.mPackageName); in getApplication()
458 Rlog.e(LOG_TAG, applicationData.mPackageName + " lost OP_WRITE_SMS: " + in getApplication()
462 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); in getApplication()
478 applicationData.mPackageName, applicationData.mSendToClass), in getApplication()
[all …]
/frameworks/base/core/java/android/printservice/recommendation/
DRecommendationInfo.java35 private @NonNull final CharSequence mPackageName; field in RecommendationInfo
57 mPackageName = Preconditions.checkStringNotEmpty(packageName); in RecommendationInfo()
79 return mPackageName; in getPackageName()
110 dest.writeCharSequence(mPackageName); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/am/
DUnsupportedDisplaySizeDialog.java31 private final String mPackageName; field in UnsupportedDisplaySizeDialog
35 mPackageName = appInfo.packageName; in UnsupportedDisplaySizeDialog()
62 mPackageName, isChecked); in UnsupportedDisplaySizeDialog()
68 return mPackageName; in getPackageName()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java423 private final String mPackageName; field in AppWidgetManager
445 mPackageName = context.getOpPackageName(); in AppWidgetManager()
474 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget()
496 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions()
518 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions()
579 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget()
652 mService.notifyAppWidgetViewDataChanged(mPackageName, appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
778 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId); in getAppWidgetInfo()
1064 return mService.bindAppWidgetId(mPackageName, appWidgetId, in bindAppWidgetIdIfAllowed()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAndroidAppAsset.java54 private final String mPackageName; field in AndroidAppAsset
61 return mPackageName; in getPackageName()
69 writer.writeFieldLower(Utils.ANDROID_APP_ASSET_FIELD_PACKAGE_NAME, mPackageName); in toJson()
166 mPackageName = null; in AndroidAppAsset()
168 mPackageName = packageName; in AndroidAppAsset()
/frameworks/base/libs/androidfw/
DObbFile.cpp76 : mPackageName("") in ObbFile()
215 mPackageName = String8(const_cast<char*>(packageName), packageNameLen); in parseObbFile()
220 ALOGI("Obb scan succeeded: packageName=%s, version=%d\n", mPackageName.string(), mVersion); in parseObbFile()
253 if (mPackageName.size() == 0 || mVersion == -1) { in writeTo()
284 size_t packageNameLen = mPackageName.size(); in writeTo()
291 if (write(fd, mPackageName.string(), packageNameLen) != (ssize_t)packageNameLen) { in writeTo()
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java35 public final String mPackageName; field in SenderPackageFilter
38 mPackageName = packageName; in SenderPackageFilter()
50 packageUid = pm.getPackageUid(mPackageName, PackageManager.MATCH_UNINSTALLED_PACKAGES, in matches()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java143 private final String mPackageName; field in Partner
147 mPackageName = packageName; in Partner()
152 return mPackageName; in getPackageName()
160 return mResources.getIdentifier(name, defType, mPackageName); in getIdentifier()
/frameworks/base/core/java/android/hardware/
DConsumerIrManager.java37 private final String mPackageName; field in ConsumerIrManager
44 mPackageName = context.getPackageName(); in ConsumerIrManager()
85 mService.transmit(mPackageName, carrierFrequency, pattern); in transmit()

1234