/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 42 left.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd() 44 right.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd() 54 left.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd() 56 right.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd() 66 left.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats() 69 right.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats() 80 left.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier() 83 right.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier() 94 left.mPackageName = "com.test"; in testForegroundTimeIsSummed() 97 right.mPackageName = "com.test"; in testForegroundTimeIsSummed()
|
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 49 private String mPackageName; field in MediaInserterTest 99 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp() 153 verify(mMockProvider, never()).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsLessThanBufferSize() 158 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsEqualToBufferSize() 165 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsEqualToBufferSize() 170 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsMoreThanBufferSize() 177 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsMoreThanBufferSize() 187 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testFlushAllWithSomeContents() 195 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testFlushAllWithSomeContents() 200 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsAfterFlushAll() [all …]
|
/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/core/java/android/security/keymaster/ |
D | KeyAttestationPackageInfo.java | 30 private final String mPackageName; field in KeyAttestationPackageInfo 40 String mPackageName, int mPackageVersionCode, Signature[] mPackageSignatures) { in KeyAttestationPackageInfo() argument 42 this.mPackageName = mPackageName; in KeyAttestationPackageInfo() 50 return mPackageName; in getPackageName() 72 dest.writeString(mPackageName); in writeToParcel() 91 mPackageName = source.readString(); in KeyAttestationPackageInfo()
|
/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/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 39 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/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptOptionsTests.java | 38 private final static String mPackageName = "test.android.com"; field in DexoptOptionsTests 45 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, /*flags*/ 0); in testCreateDexoptOptionsEmpty() 46 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsEmpty() 68 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, flags); in testCreateDexoptOptionsFull() 69 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsFull() 97 DexoptOptions opt = new DexoptOptions(mPackageName, reason, flags); in testCreateDexoptOptionsReason() 98 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsReason() 115 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, mSplitName, flags); in testCreateDexoptOptionsSplit() 116 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsSplit() 133 new DexoptOptions(mPackageName, mCompilerFilter, invalidFlags); in testCreateDexoptInvalid()
|
D | PackageDexUsageTests.java | 251 packageToUsersMap.put(mBarSecondary2User1.mPackageName, in testSyncData() 254 packageToCodePaths.put(mBarBaseUser0.mPackageName, in testSyncData() 260 assertNull(mPackageDexUsage.getPackageUseInfo(mFooBaseUser0.mPackageName)); in testSyncData() 270 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemovePackage() 272 assertNull(mPackageDexUsage.getPackageUseInfo(mBarSecondary1User0.mPackageName)); in testRemovePackage() 281 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage() 284 assertFalse(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage() 294 assertTrue(mPackageDexUsage.removeUserPackage(mBarSecondary1User0.mPackageName, in testRemoveUserPackage() 307 assertTrue(mPackageDexUsage.removeDexFile(mBarSecondary1User0.mPackageName, in testRemoveDexFile() 317 assertTrue(mPackageDexUsage.clearUsedByOtherApps(mFooSplit2UsedByOtherApps0.mPackageName)); in testClearUsedByOtherApps() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | VersionedPackage.java | 30 private final String mPackageName; field in VersionedPackage 46 mPackageName = packageName; in VersionedPackage() 51 mPackageName = parcel.readString(); in VersionedPackage() 61 return mPackageName; in getPackageName() 75 return "VersionedPackage[" + mPackageName + "/" + mVersionCode + "]"; in toString() 85 parcel.writeString(mPackageName); in writeToParcel()
|
D | InstantAppInfo.java | 37 private final String mPackageName; field in InstantAppInfo 46 mPackageName = null; in InstantAppInfo() 55 mPackageName = packageName; in InstantAppInfo() 62 mPackageName = parcel.readString(); in InstantAppInfo() 84 return mPackageName; in getPackageName() 106 return packageManager.getInstantAppIcon(mPackageName); in loadIcon() 130 parcel.writeString(mPackageName); in writeToParcel()
|
D | IntentFilterVerificationInfo.java | 58 private String mPackageName; field in IntentFilterVerificationInfo 63 mPackageName = null; in IntentFilterVerificationInfo() 69 mPackageName = packageName; in IntentFilterVerificationInfo() 86 return mPackageName; in getPackageName() 151 mPackageName = getStringFromXml(parser, ATTR_PACKAGE_NAME, null); in readFromXml() 152 if (mPackageName == null) { in readFromXml() 186 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName); in writeToXml() 235 mPackageName = source.readString(); in readFromParcel() 244 dest.writeString(mPackageName); in writeToParcel()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 33 public String mPackageName; field in UsageStats 78 mPackageName = stats.mPackageName; in UsageStats() 94 ret.mPackageName = UsageEvents.INSTANT_APP_PACKAGE_NAME; in getObfuscatedForInstantApp() 100 return mPackageName; in getPackageName() 147 if (!mPackageName.equals(right.mPackageName)) { in add() 149 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'."); in add() 193 dest.writeString(mPackageName); in writeToParcel() 221 stats.mPackageName = in.readString();
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 78 if (accessRule.mPackageName != null) { in encodeRules() 80 output.writeUTF(accessRule.mPackageName); in encodeRules() 125 private final @Nullable String mPackageName; field in UiccAccessRule 131 this.mPackageName = packageName; in UiccAccessRule() 137 mPackageName = in.readString(); in UiccAccessRule() 144 dest.writeString(mPackageName); in writeToParcel() 155 return mPackageName; in getPackageName() 204 (TextUtils.isEmpty(this.mPackageName) || this.mPackageName.equals(packageName)); in matches() 210 mPackageName + " access: " + mAccessType; in toString()
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusInfo.java | 35 private final String mPackageName; field in AudioFocusInfo 57 mPackageName = packageName == null ? "" : packageName; in AudioFocusInfo() 79 public String getPackageName() { return mPackageName; } in getPackageName() 126 dest.writeString(mPackageName); in writeToParcel() 136 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode() 158 if (!mPackageName.equals(other.mPackageName)) { in equals()
|
/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/core/java/android/content/ |
D | ContentProviderClient.java | 71 private final String mPackageName; field in ContentProviderClient 86 mPackageName = contentResolver.mPackageName; in ContentProviderClient() 155 mPackageName, uri, projection, queryArgs, remoteCancellationSignal); in query() 212 return mContentProvider.canonicalize(mPackageName, url); in canonicalize() 229 return mContentProvider.uncanonicalize(mPackageName, url); in uncanonicalize() 253 return mContentProvider.refresh(mPackageName, url, args, remoteCancellationSignal); in refresh() 271 return mContentProvider.insert(mPackageName, url, initialValues); in insert() 290 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert() 308 return mContentProvider.delete(mPackageName, url, selection, selectionArgs); in delete() 326 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs); in update() [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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 56 private String mPackageName; field in MediaProjectionPermissionActivity 66 mPackageName = getCallingPackage(); in onCreate() 70 if (mPackageName == null) { in onCreate() 78 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 87 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate() 88 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate() 123 label = mPackageName; in onCreate() 172 mUid, mPackageName, mPermanentGrant)); in onClick()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 83 public String mPackageName; field in SmsApplication.SmsApplicationData 135 mPackageName = packageName; in SmsApplicationData() 144 appInfo = pm.getApplicationInfoAsUser(mPackageName, 0, in getApplicationName() 159 return " mPackageName: " + mPackageName in toString() 410 if (application.mPackageName.contentEquals(packageName)) { in getApplicationForPackage() 472 setDefaultApplicationInternal(applicationData.mPackageName, context, userId); in getApplication() 487 applicationData.mPackageName); in getApplication() 489 Rlog.e(LOG_TAG, applicationData.mPackageName + " lost OP_WRITE_SMS: " + in getApplication() 493 applicationData.mPackageName, AppOpsManager.MODE_ALLOWED); in getApplication() 509 applicationData.mPackageName, applicationData.mSendToClass), in getApplication() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UnsupportedDisplaySizeDialog.java | 31 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/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 54 private final String mPackageName; field in AlertWindowNotification 60 mPackageName = packageName; in AlertWindowNotification() 63 mNotificationTag = CHANNEL_PREFIX + mPackageName; in AlertWindowNotification() 101 final ApplicationInfo aInfo = getApplicationInfo(pm, mPackageName); in onPostNotification() 103 ? pm.getApplicationLabel(aInfo).toString() : mPackageName; in onPostNotification() 118 .setContentIntent(getContentIntent(context, mPackageName)); in onPostNotification()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | RestoreInstallObserver.java | 36 private String mPackageName; field in RestoreInstallObserver 76 return mPackageName; in getPackageName() 84 mPackageName = packageName; in onPackageInstalled()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 460 private final String mPackageName; field in AppWidgetManager 482 mPackageName = context.getOpPackageName(); in AppWidgetManager() 511 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 533 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions() 555 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions() 616 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget() 689 mService.notifyAppWidgetViewDataChanged(mPackageName, appWidgetIds, viewId); in notifyAppWidgetViewDataChanged() 848 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId); in getAppWidgetInfo() 1134 return mService.bindAppWidgetId(mPackageName, appWidgetId, in bindAppWidgetIdIfAllowed() 1196 return mService.requestPinAppWidget(mPackageName, provider, extras, in requestPinAppWidget()
|
/frameworks/native/services/sensorservice/ |
D | SensorRegistrationInfo.h | 31 SensorRegistrationInfo() : mPackageName() { in SensorRegistrationInfo() 40 mPackageName = packageName; in SensorRegistrationInfo() 72 << " uid=" << std::setw(5) << mUid << " package=" << mPackageName; in dump() 82 String8 mPackageName; variable
|