/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/content/pm/ |
D | ModuleInfo.java | 38 private String mPackageName; field in ModuleInfo 55 mPackageName = orig.mPackageName; in ModuleInfo() 72 mPackageName = packageName; in setPackageName() 78 return mPackageName; in getPackageName() 108 hashCode = 31 * hashCode + Objects.hashCode(mPackageName); in hashCode() 120 && Objects.equals(mPackageName, other.mPackageName) in equals() 127 dest.writeString(mPackageName); in writeToParcel() 133 mPackageName = source.readString(); in ModuleInfo()
|
D | VersionedPackage.java | 30 private final String mPackageName; field in VersionedPackage 46 mPackageName = packageName; in VersionedPackage() 58 mPackageName = packageName; in VersionedPackage() 63 mPackageName = parcel.readString(); in VersionedPackage() 73 return mPackageName; in getPackageName() 95 return "VersionedPackage[" + mPackageName + "/" + mVersionCode + "]"; in toString() 105 parcel.writeString(mPackageName); in writeToParcel()
|
D | InstantAppInfo.java | 39 private final String mPackageName; field in InstantAppInfo 48 mPackageName = null; in InstantAppInfo() 57 mPackageName = packageName; in InstantAppInfo() 64 mPackageName = parcel.readString(); in InstantAppInfo() 86 return mPackageName; in getPackageName() 108 return packageManager.getInstantAppIcon(mPackageName); in loadIcon() 132 parcel.writeString(mPackageName); in writeToParcel()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaInserterTest.java | 48 private String mPackageName; field in MediaInserterTest 91 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp() 145 verify(mMockProvider, never()).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsLessThanBufferSize() 150 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsEqualToBufferSize() 157 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsEqualToBufferSize() 162 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsMoreThanBufferSize() 169 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsMoreThanBufferSize() 179 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testFlushAllWithSomeContents() 187 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testFlushAllWithSomeContents() 192 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsAfterFlushAll() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 40 private final String mPackageName; field in AppTarget 58 mPackageName = Preconditions.checkNotNull(packageName); in AppTarget() 74 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 84 mPackageName = packageName; in AppTarget() 94 mPackageName = parcel.readString(); in AppTarget() 97 mPackageName = mShortcutInfo.getPackage(); in AppTarget() 125 return mPackageName; in getPackageName() 164 && mPackageName.equals(other.mPackageName) in equals() 181 dest.writeString(mPackageName); in writeToParcel() 199 private String mPackageName; field in AppTarget.Builder [all …]
|
D | AppPredictionContext.java | 42 private final String mPackageName; field in AppPredictionContext 50 mPackageName = packageName; in AppPredictionContext() 57 mPackageName = parcel.readString(); in AppPredictionContext() 81 return mPackageName; in getPackageName() 100 && mPackageName.equals(other.mPackageName); in equals() 112 dest.writeString(mPackageName); in writeToParcel() 136 private final String mPackageName; field in AppPredictionContext.Builder 152 mPackageName = context.getPackageName(); in Builder() 188 return new AppPredictionContext(mUiSurface, mPredictedTargetCount, mPackageName, in build()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeyAttestationPackageInfo.java | 30 private final String mPackageName; field in KeyAttestationPackageInfo 40 String mPackageName, long 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/core/java/android/app/backup/ |
D | RestoreDescription.java | 35 private final String mPackageName; field in RestoreDescription 59 return "RestoreDescription{" + mPackageName + " : " in toString() 68 mPackageName = packageName; in RestoreDescription() 73 return mPackageName; in getPackageName() 90 out.writeString(mPackageName); in writeToParcel() 98 return (NO_MORE_PACKAGES_SENTINEL.equals(unparceled.mPackageName)) 109 mPackageName = in.readString(); in RestoreDescription()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationContext.java | 37 private final String mPackageName; field in TextClassificationContext 47 mPackageName = Preconditions.checkNotNull(packageName); in TextClassificationContext() 57 return mPackageName; in getPackageName() 101 mPackageName, mWidgetType, mWidgetVersion, mUserId); in toString() 109 private final String mPackageName; field in TextClassificationContext.Builder 123 mPackageName = Preconditions.checkNotNull(packageName); in Builder() 144 return new TextClassificationContext(mPackageName, mWidgetType, mWidgetVersion); in build() 155 parcel.writeString(mPackageName); in writeToParcel() 162 mPackageName = in.readString(); in TextClassificationContext()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 40 private final String mPackageName; field in ShortcutPackageItem 51 mPackageName = Preconditions.checkStringNotEmpty(packageName); in ShortcutPackageItem() 82 return mPackageName; in getPackageName() 103 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave() 106 mPackageName, mPackageUserId)); in attemptToRestoreIfNeededAndSave() 114 s.wtf("Attempted to restore package " + mPackageName + "/u" + mPackageUserId in attemptToRestoreIfNeededAndSave() 118 final PackageInfo pi = s.getPackageInfoWithSignatures(mPackageName, mPackageUserId); in attemptToRestoreIfNeededAndSave() 125 mPackageName, mPackageUserId, currentVersionCode, in attemptToRestoreIfNeededAndSave() 147 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() 72 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, flags); in testCreateDexoptOptionsFull() 73 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsFull() 103 DexoptOptions opt = new DexoptOptions(mPackageName, reason, flags); in testCreateDexoptOptionsReason() 104 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsReason() 121 DexoptOptions opt = new DexoptOptions(mPackageName, -1, mCompilerFilter, mSplitName, flags); in testCreateDexoptOptionsSplit() 122 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsSplit() 139 new DexoptOptions(mPackageName, mCompilerFilter, invalidFlags); in testCreateDexoptInvalid()
|
D | PackageDexUsageTests.java | 274 packageToUsersMap.put(mBarSecondary2User1.mPackageName, in testSyncData() 277 packageToCodePaths.put(mBarBaseUser0.mPackageName, in testSyncData() 283 assertNull(mPackageDexUsage.getPackageUseInfo(mFooBaseUser0.mPackageName)); in testSyncData() 293 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemovePackage() 295 assertNull(mPackageDexUsage.getPackageUseInfo(mBarSecondary1User0.mPackageName)); in testRemovePackage() 304 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage() 307 assertFalse(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage() 317 assertTrue(mPackageDexUsage.removeUserPackage(mBarSecondary1User0.mPackageName, in testRemoveUserPackage() 330 assertTrue(mPackageDexUsage.removeDexFile(mBarSecondary1User0.mPackageName, in testRemoveDexFile() 340 assertTrue(mPackageDexUsage.clearUsedByOtherApps(mFooSplit2UsedByOtherApps0.mPackageName)); in testClearUsedByOtherApps() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 84 if (accessRule.mPackageName != null) { in encodeRules() 86 output.writeUTF(accessRule.mPackageName); in encodeRules() 131 private final @Nullable String mPackageName; field in UiccAccessRule 137 this.mPackageName = packageName; in UiccAccessRule() 143 mPackageName = in.readString(); in UiccAccessRule() 150 dest.writeString(mPackageName); in writeToParcel() 161 return mPackageName; in getPackageName() 219 (TextUtils.isEmpty(this.mPackageName) || this.mPackageName.equals(packageName)); in matches() 233 && Objects.equals(mPackageName, that.mPackageName) in equals() 241 result = 31 * result + Objects.hashCode(mPackageName); in hashCode() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 59 left.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd() 61 right.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd() 71 left.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd() 73 right.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd() 83 left.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats() 86 right.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats() 97 left.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier() 100 right.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier() 111 left.mPackageName = "com.test"; in testForegroundTimeIsSummed() 114 right.mPackageName = "com.test"; in testForegroundTimeIsSummed() [all …]
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | ExternalResources.java | 71 private final String mPackageName; field in ExternalResources.Resources 86 return mPackageName; in getResourcePackageName() 118 ResName.qualifyResName(name, mPackageName, defaultType), in putValue() 124 ResName.qualifyResName(name, mPackageName, defaultType), in putValue() 135 ResName.qualifyResName(name, mPackageName, "integer"), in putInteger() 151 ResName.qualifyResName(name, mPackageName, "color"), in putColor() 167 ResName.qualifyResName(name, mPackageName, "drawable"), in putDrawable() 173 ResName.qualifyResName(name, mPackageName, "bool"), in putBoolean() 184 ResName.qualifyResName(name, mPackageName, "dimen"), in putDimension() 202 ResName.qualifyResName(name, mPackageName, "string"), in putText() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HarmfulAppWarningActivity.java | 43 private String mPackageName; field in HarmfulAppWarningActivity 52 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onCreate() 56 if (mPackageName == null || mTarget == null || mHarmfulAppWarning == null) { in onCreate() 63 applicationInfo = getPackageManager().getApplicationInfo(mPackageName, 0 /*flags*/); in onCreate() 99 getPackageManager().deletePackage(mPackageName, null /*observer*/, 0 /*flags*/); in onClick() 100 EventLogTags.writeHarmfulAppWarningUninstall(mPackageName); in onClick() 104 getPackageManager().setHarmfulAppWarning(mPackageName, null /*warning*/); in onClick() 113 EventLogTags.writeHarmfulAppWarningLaunchAnyway(mPackageName); in onClick()
|
/frameworks/base/media/apex/java/android/media/ |
D | Session2Token.java | 88 private final String mPackageName; field in Session2Token 116 mPackageName = serviceComponent.getPackageName(); in Session2Token() 128 mPackageName = packageName; in Session2Token() 138 mPackageName = in.readString(); in Session2Token() 158 dest.writeString(mPackageName); in writeToParcel() 172 return Objects.hash(mType, mUid, mPackageName, mServiceName, mSessionLink); in hashCode() 182 && TextUtils.equals(mPackageName, other.mPackageName) in equals() 190 return "Session2Token {pkg=" + mPackageName + " type=" + mType in toString() 206 return mPackageName; in getPackageName()
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 38 private String mPackageName; field in GeocoderParams 51 mPackageName = context.getPackageName(); in GeocoderParams() 67 return mPackageName; in getClientPackage() 78 gp.mPackageName = in.readString(); 95 parcel.writeString(mPackageName); in writeToParcel()
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusInfo.java | 39 private final @NonNull String mPackageName; field in AudioFocusInfo 65 mPackageName = packageName == null ? "" : packageName; in AudioFocusInfo() 100 return mPackageName; in getPackageName() 145 dest.writeString(mPackageName); in writeToParcel() 155 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode() 176 if (!mPackageName.equals(other.mPackageName)) { in equals()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 55 private String mPackageName; field in MediaProjectionPermissionActivity 65 mPackageName = getCallingPackage(); in onCreate() 69 if (mPackageName == null) { in onCreate() 77 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate() 86 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate() 87 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onCreate() 101 if (Utils.isHeadlessRemoteDisplayProvider(packageManager, mPackageName)) { in onCreate() 125 label = mPackageName; in onCreate() 179 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onClick()
|
/frameworks/base/core/java/android/service/watchdog/ |
D | ExplicitHealthCheckService.java | 188 private final String mPackageName; field in ExplicitHealthCheckService.PackageConfig 199 mPackageName = Preconditions.checkNotNull(packageName); in PackageConfig() 209 mPackageName = parcel.readString(); in PackageConfig() 219 return mPackageName; in getPackageName() 235 return "PackageConfig{" + mPackageName + ", " + mHealthCheckTimeoutMillis + "}"; in toString() 250 && Objects.equals(otherInfo.getPackageName(), mPackageName); in equals() 255 return Objects.hash(mPackageName, mHealthCheckTimeoutMillis); in hashCode() 265 parcel.writeString(mPackageName); in writeToParcel()
|
/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/core/java/android/app/usage/ |
D | AppStandbyInfo.java | 29 public String mPackageName; field in AppStandbyInfo 33 mPackageName = in.readString(); in AppStandbyInfo() 38 mPackageName = packageName; in AppStandbyInfo() 49 dest.writeString(mPackageName); in writeToParcel()
|