/frameworks/base/media/java/android/media/projection/ |
D | MediaProjectionInfo.java | 27 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/ |
D | UsageStats.java | 31 public String mPackageName; field in UsageStats 70 mPackageName = stats.mPackageName; in UsageStats() 80 return mPackageName; in getPackageName() 127 if (!mPackageName.equals(right.mPackageName)) { in add() 129 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'."); in add() 149 dest.writeString(mPackageName); in writeToParcel() 162 stats.mPackageName = in.readString();
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreDescription.java | 34 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/telecomm/java/android/telecom/ |
D | StatusHints.java | 38 private final ComponentName mPackageName; field in StatusHints 45 mPackageName = packageName; in StatusHints() 55 return mPackageName; in getPackageName() 95 out.writeParcelable(mPackageName, flags); in writeToParcel() 113 mPackageName = in.readParcelable(getClass().getClassLoader()); in StatusHints() 122 packageContext = context.createPackageContext(mPackageName.getPackageName(), 0); in getIcon() 124 Log.e(this, e, "Cannot find package %s", mPackageName.getPackageName()); in getIcon() 131 resId, mPackageName.getPackageName()); in getIcon() 150 return Objects.hashCode(mPackageName) + Objects.hashCode(mLabel) + mIconResId + in hashCode()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 58 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/content/ |
D | ContentProviderClient.java | 60 private final String mPackageName; field in ContentProviderClient 75 mPackageName = contentResolver.mPackageName; in ContentProviderClient() 128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs, in query() 174 return mContentProvider.canonicalize(mPackageName, url); in canonicalize() 189 return mContentProvider.uncanonicalize(mPackageName, url); in uncanonicalize() 204 return mContentProvider.insert(mPackageName, url, initialValues); in insert() 219 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert() 235 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete() 251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update() 291 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal); in openFile() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Vibrator.java | 34 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/ |
D | GeocoderParams.java | 37 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/ |
D | MediaInserterTest.java | 41 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/nfc-extras/java/com/android/nfc_extras/ |
D | NfcAdapterExtras.java | 73 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()
|
D | NfcExecutionEnvironment.java | 168 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/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 48 private String mPackageName; field in MediaProjectionPermissionActivity 57 mPackageName = getCallingPackage(); in onCreate() 61 if (mPackageName == null) { in onCreate() 69 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 78 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate() 79 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate() 115 mUid, mPackageName, mPermanentGrant)); in onClick()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 71 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/core/java/android/appwidget/ |
D | AppWidgetManager.java | 422 private final String mPackageName; field in AppWidgetManager 444 mPackageName = context.getOpPackageName(); in AppWidgetManager() 473 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 496 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions() 519 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions() 581 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget() 655 mService.notifyAppWidgetViewDataChanged(mPackageName, appWidgetIds, viewId); in notifyAppWidgetViewDataChanged() 783 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId); in getAppWidgetInfo() 1062 return mService.bindAppWidgetId(mPackageName, appWidgetId, in bindAppWidgetIdIfAllowed()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPackageFilter.java | 34 public final String mPackageName; field in SenderPackageFilter 37 mPackageName = packageName; in SenderPackageFilter() 47 packageUid = pm.getPackageUid(mPackageName, UserHandle.USER_OWNER); in matches()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsApplication.java | 79 public String mPackageName; field in SmsApplication.SmsApplicationData 117 mPackageName = packageName; in SmsApplicationData() 287 if (application.mPackageName.contentEquals(packageName)) { in getApplicationForPackage() 349 setDefaultApplicationInternal(applicationData.mPackageName, context, userId); in getApplication() 364 applicationData.mPackageName); in getApplication() 366 Rlog.e(LOG_TAG, applicationData.mPackageName + " lost OP_WRITE_SMS: " + in getApplication() 370 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); in getApplication() 386 applicationData.mPackageName, applicationData.mSendToClass), in getApplication() 492 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName, in setDefaultApplicationInternal() 497 applicationData.mPackageName, applicationData.mSendToClass), userId); in setDefaultApplicationInternal() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 76 : 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/ |
D | ActivityOptions.java | 136 private String mPackageName; field in ActivityOptions 193 opts.mPackageName = context.getPackageName(); in makeCustomAnimation() 249 opts.mPackageName = source.getContext().getPackageName(); in makeScaleUpAnimation() 333 opts.mPackageName = source.getContext().getPackageName(); in makeThumbnailAnimation() 396 opts.mPackageName = source.getContext().getPackageName(); in makeAspectScaledThumbnailAnimation() 533 mPackageName = opts.getString(KEY_PACKAGE_NAME); in ActivityOptions() 576 return mPackageName; in getPackageName() 669 if (otherOptions.mPackageName != null) { in update() 670 mPackageName = otherOptions.mPackageName; in update() 748 if (mPackageName != null) { in toBundle() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | ConsumerIrManager.java | 37 private final String mPackageName; field in ConsumerIrManager 44 mPackageName = context.getPackageName(); in ConsumerIrManager() 85 mService.transmit(mPackageName, carrierFrequency, pattern); in transmit()
|
/frameworks/base/include/androidfw/ |
D | ObbFile.h | 51 return mPackageName; in getPackageName() 55 mPackageName = packageName; in setPackageName() 119 String8 mPackageName;
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 54 private final String mPackageName; field in MtpDatabase 155 mPackageName = context.getPackageName(); in MtpDatabase() 334 c = mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, PATH_WHERE, in beginSendObject() 359 Uri uri = mMediaProvider.insert(mPackageName, mObjectsUri, values); in beginSendObject() 394 Uri uri = mMediaProvider.insert(mPackageName, in endSendObject() 503 return mMediaProvider.query(mPackageName, mObjectsUri, ID_PROJECTION, where, in createObjectQuery() 755 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList() 763 propertyGroup = new MtpPropertyGroup(this, mMediaProvider, mPackageName, in getObjectPropertyList() 779 c = mMediaProvider.query(mPackageName, mObjectsUri, PATH_PROJECTION, ID_WHERE, in renameFile() 822 updated = mMediaProvider.update(mPackageName, mObjectsUri, values, ID_WHERE, whereArgs); in renameFile() [all …]
|
/frameworks/base/media/java/android/media/ |
D | FocusRequester.java | 41 private final String mPackageName; field in FocusRequester 65 mPackageName = pn; in FocusRequester() 86 return mPackageName.compareTo(pack) == 0; in hasSamePackage() 139 + " -- pack: " + mPackageName in dump()
|
D | MediaInserter.java | 41 private final String mPackageName; field in MediaInserter 46 mPackageName = packageName; in MediaInserter() 93 mProvider.bulkInsert(mPackageName, tableUri, valuesArray); in flush()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 56 private String mPackageName; field in UsbPermissionActivity 70 mPackageName = intent.getStringExtra("package"); in onCreate() 75 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 131 service.setDevicePackage(mDevice, mPackageName, userId); in onDestroy() 141 service.setAccessoryPackage(mAccessory, mPackageName, userId); in onDestroy()
|
/frameworks/base/core/java/android/net/ |
D | NetworkScorerAppManager.java | 55 public final String mPackageName; field in NetworkScorerAppManager.NetworkScorerAppData 70 mPackageName = packageName; in NetworkScorerAppData() 192 appOpsMgr.checkPackage(callingUid, defaultApp.mPackageName); in isCallerActiveScorer() 210 if (packageName.equals(app.mPackageName)) { in getScorer()
|