Home
last modified time | relevance | path

Searched refs:mPackageName (Results 1 – 25 of 79) 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
85 mPackageName = stats.mPackageName; in UsageStats()
97 return mPackageName; in getPackageName()
163 if (!mPackageName.equals(right.mPackageName)) { in add()
165 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'."); in add()
187 dest.writeString(mPackageName); in writeToParcel()
202 stats.mPackageName = in.readString();
/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/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/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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java41 private String mPackageName; field in MediaInserterTest
88 mPackageName, TEST_BUFFER_SIZE); in setUp()
89 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp()
150 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsEqualToBufferSize()
165 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsMoreThanBufferSize()
189 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testFlushAllWithSomeContents()
205 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsAfterFlushAll()
226 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
230 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
234 EasyMock.expect(mMockProvider.bulkInsert(mPackageName, in testInsertContentsWithDifferentSizePerContentType()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderClient.java63 private final String mPackageName; field in ContentProviderClient
78 mPackageName = contentResolver.mPackageName; in ContentProviderClient()
136 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs, in query()
190 return mContentProvider.canonicalize(mPackageName, url); in canonicalize()
207 return mContentProvider.uncanonicalize(mPackageName, url); in uncanonicalize()
225 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
244 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert()
262 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete()
280 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update()
323 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal, null); in openFile()
[all …]
/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()
DNfcExecutionEnvironment.java168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close()
204 b = mExtras.getService().transceive(mExtras.mPackageName, in); in transceive()
/frameworks/base/core/java/android/content/pm/
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()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java135 data.update(buffer.mPackageName, buffer.mUid, buffer.mProcessBuffer); in processDied()
166 && data.mPackageName.equals(packageName)) { in removeHistoricalDataLocked()
186 fout.print(buffer.mPackageName); in dump()
199 fout.print(buffer.mPackageName); in dump()
210 final String mPackageName; field in GraphicsStatsService.ActiveBuffer
219 mPackageName = packageName; in ActiveBuffer()
223 mPreviousData = removeHistoricalDataLocked(mUid, mPackageName); in ActiveBuffer()
246 String mPackageName; field in GraphicsStatsService.HistoricalData
250 mPackageName = packageName; in update()
DServiceWatcher.java71 private String mPackageName; // current best package field in ServiceWatcher
225 pkg = mPackageName; in unbindLocked()
226 mPackageName = null; in unbindLocked()
239 mPackageName = packageName; in bindToPackageLocked()
278 if (packageName.equals(mPackageName)) {
291 if (packageName.equals(mPackageName)) {
303 if (packageName.equals(mPackageName)) {
315 if (packageName.equals(mPackageName)) {
331 if (packageName.equals(mPackageName)) { in onServiceConnected()
349 if (packageName.equals(mPackageName)) { in onServiceDisconnected()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java54 private String mPackageName; field in MediaProjectionPermissionActivity
64 mPackageName = getCallingPackage(); in onCreate()
68 if (mPackageName == null) { in onCreate()
76 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate()
85 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate()
86 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
121 label = mPackageName; in onCreate()
168 mUid, mPackageName, mPermanentGrant)); in onClick()
/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()
497 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions()
520 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions()
582 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget()
656 mService.notifyAppWidgetViewDataChanged(mPackageName, appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
784 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId); in getAppWidgetInfo()
1077 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/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java78 public String mPackageName; field in SmsApplication.SmsApplicationData
116 mPackageName = packageName; in SmsApplicationData()
286 if (application.mPackageName.contentEquals(packageName)) { in getApplicationForPackage()
348 setDefaultApplicationInternal(applicationData.mPackageName, context, userId); in getApplication()
363 applicationData.mPackageName); in getApplication()
365 Rlog.e(LOG_TAG, applicationData.mPackageName + " lost OP_WRITE_SMS: " + in getApplication()
369 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); in getApplication()
385 applicationData.mPackageName, applicationData.mSendToClass), in getApplication()
455 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName, in setDefaultApplicationInternal()
460 applicationData.mPackageName, applicationData.mSendToClass), userId); in setDefaultApplicationInternal()
[all …]
/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/core/java/android/app/
DActivityOptions.java165 private String mPackageName; field in ActivityOptions
224 opts.mPackageName = context.getPackageName(); in makeCustomAnimation()
250 opts.mPackageName = context.getPackageName(); in makeCustomInPlaceAnimation()
304 opts.mPackageName = source.getContext().getPackageName(); in makeScaleUpAnimation()
415 opts.mPackageName = source.getContext().getPackageName(); in makeThumbnailAnimation()
482 opts.mPackageName = source.getContext().getPackageName(); in makeAspectScaledThumbnailAnimation()
628 mPackageName = opts.getString(KEY_PACKAGE_NAME); in ActivityOptions()
681 return mPackageName; in getPackageName()
784 if (otherOptions.mPackageName != null) { in update()
785 mPackageName = otherOptions.mPackageName; in update()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java34 public final String mPackageName; field in SenderPackageFilter
37 mPackageName = packageName; in SenderPackageFilter()
47 packageUid = pm.getPackageUid(mPackageName, UserHandle.USER_OWNER); in matches()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java53 private final String mPackageName; field in MtpDatabase
158 mPackageName = context.getPackageName(); in MtpDatabase()
337 c = mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, PATH_WHERE, in beginSendObject()
362 Uri uri = mMediaProvider.insert(mPackageName, mObjectsUri, values); in beginSendObject()
397 Uri uri = mMediaProvider.insert(mPackageName, in endSendObject()
506 return mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, where, in createObjectQuery()
724 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList()
732 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList()
748 c = mMediaProvider.query(mPackageName, mObjectsUri, PATH_PROJECTION, ID_WHERE, in renameFile()
791 updated = mMediaProvider.update(mPackageName, mObjectsUri, values, ID_WHERE, whereArgs); in renameFile()
[all …]
/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()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java141 private final String mPackageName; field in Partner
145 mPackageName = packageName; in Partner()
150 return mPackageName; in getPackageName()
158 return mResources.getIdentifier(name, defType, mPackageName); in getIdentifier()
/frameworks/base/include/androidfw/
DObbFile.h51 return mPackageName; in getPackageName()
55 mPackageName = packageName; in setPackageName()
119 String8 mPackageName;

1234