Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java67 String mPackageName; field in InfoMediaManager
79 mPackageName = packageName; in InfoMediaManager()
125 if (TextUtils.isEmpty(mPackageName)) { in addDeviceToPlayMedia()
144 mRouterManager.getRoutingSessions(mPackageName); in getRoutingSessionInfo()
156 if (TextUtils.isEmpty(mPackageName)) { in removeDeviceFromPlayMedia()
177 if (TextUtils.isEmpty(mPackageName)) { in releaseSession()
189 Log.w(TAG, "releaseSession() Ignoring release session : " + mPackageName); in releaseSession()
201 if (TextUtils.isEmpty(mPackageName)) { in getSelectableMediaDevice()
210 route, mPackageName)); in getSelectableMediaDevice()
216 + mPackageName); in getSelectableMediaDevice()
[all …]
/frameworks/base/core/java/android/content/pm/
DVersionedPackage.java30 private final String mPackageName; field in VersionedPackage
46 mPackageName = packageName; in VersionedPackage()
58 mPackageName = packageName; in VersionedPackage()
63 mPackageName = parcel.readString8(); in VersionedPackage()
73 return mPackageName; in getPackageName()
95 return "VersionedPackage[" + mPackageName + "/" + mVersionCode + "]"; in toString()
101 && ((VersionedPackage) o).mPackageName.equals(mPackageName) in equals()
109 return 31 * mPackageName.hashCode() + Long.hashCode(mVersionCode); in hashCode()
119 parcel.writeString8(mPackageName); in writeToParcel()
DModuleInfo.java38 private String mPackageName; field in ModuleInfo
61 mPackageName = orig.mPackageName; in ModuleInfo()
79 mPackageName = packageName; in setPackageName()
85 return mPackageName; in getPackageName()
126 hashCode = 31 * hashCode + Objects.hashCode(mPackageName); in hashCode()
139 && Objects.equals(mPackageName, other.mPackageName) in equals()
147 dest.writeString(mPackageName); in writeToParcel()
154 mPackageName = source.readString(); in ModuleInfo()
DInstantAppInfo.java39 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/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/prediction/
DAppTarget.java40 private final String mPackageName; field in AppTarget
58 mPackageName = Objects.requireNonNull(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 …]
DAppPredictionContext.java42 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java49 private String mPackageName; field in MediaInserterTest
93 mPackageName = getInstrumentation().getContext().getPackageName(); in setUp()
147 verify(mMockProvider, never()).bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsLessThanBufferSize()
153 when(mMockProvider.bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsEqualToBufferSize()
161 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsEqualToBufferSize()
167 when(mMockProvider.bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsMoreThanBufferSize()
175 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsMoreThanBufferSize()
186 when(mMockProvider.bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testFlushAllWithSomeContents()
195 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testFlushAllWithSomeContents()
201 when(mMockProvider.bulkInsert(eq(mPackageName), eq(TEST_FEATURE_ID), any(), in testInsertContentsAfterFlushAll()
[all …]
/frameworks/base/core/java/android/security/keymaster/
DKeyAttestationPackageInfo.java30 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/core/java/android/app/backup/
DRestoreDescription.java35 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/
DTextClassificationContext.java34 private String mPackageName; field in TextClassificationContext
43 mPackageName = Objects.requireNonNull(packageName); in TextClassificationContext()
53 return mPackageName; in getPackageName()
98 mPackageName, mWidgetType, mWidgetVersion, mSystemTcMetadata); in toString()
106 private final String mPackageName; field in TextClassificationContext.Builder
120 mPackageName = Objects.requireNonNull(packageName); in Builder()
141 return new TextClassificationContext(mPackageName, mWidgetType, mWidgetVersion); in build()
152 parcel.writeString(mPackageName); in writeToParcel()
159 mPackageName = in.readString(); in TextClassificationContext()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyManager.java50 private final String mPackageName; field in TertiaryKeyManager
62 mPackageName = packageName; in TertiaryKeyManager()
112 Slog.d(TAG, "Generating new tertiary key for " + mPackageName); in init()
116 mTertiaryKeyRotationScheduler.recordKeyRotation(mPackageName); in init()
117 mKeyStore.save(mPackageName, key.get()); in init()
122 mTertiaryKeyRotationScheduler.recordBackup(mPackageName); in init()
128 if (mTertiaryKeyRotationScheduler.isKeyRotationDue(mPackageName)) { in getExistingKeyIfNotRotated()
129 Slog.i(TAG, "Tertiary key rotation was required for " + mPackageName); in getExistingKeyIfNotRotated()
133 return mKeyStore.load(mPackageName); in getExistingKeyIfNotRotated()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java280 packageToUsersMap.put(mBarSecondary2User1.mPackageName, in testSyncData()
283 packageToCodePaths.put(mBarBaseUser0.mPackageName, in testSyncData()
289 assertNull(mPackageDexUsage.getPackageUseInfo(mFooBaseUser0.mPackageName)); in testSyncData()
297 new String[] {mFooBaseUser0.mPackageName})); in testSyncDataKeepPackages()
301 new String[] {"another.package", mFooBaseUser0.mPackageName})); in testSyncDataKeepPackages()
307 packageToUsersMap.put(mBarBaseUser0.mPackageName, in testSyncDataKeepPackages()
310 packageToCodePaths.put(mBarBaseUser0.mPackageName, in testSyncDataKeepPackages()
315 keepData.add(mFooBaseUser0.mPackageName); in testSyncDataKeepPackages()
322 new String[] {mFooBaseUser0.mPackageName})); in testSyncDataKeepPackages()
324 mBarBaseUser0.updateUsedBy(mFooBaseUser0.mPackageName)); in testSyncDataKeepPackages()
[all …]
DDexoptOptionsTests.java38 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()
74 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, flags); in testCreateDexoptOptionsFull()
75 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsFull()
106 DexoptOptions opt = new DexoptOptions(mPackageName, reason, flags); in testCreateDexoptOptionsReason()
107 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsReason()
124 DexoptOptions opt = new DexoptOptions(mPackageName, -1, mCompilerFilter, mSplitName, flags); in testCreateDexoptOptionsSplit()
125 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsSplit()
142 new DexoptOptions(mPackageName, mCompilerFilter, invalidFlags); in testCreateDexoptInvalid()
/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/view/contentcapture/
DDataShareRequest.java40 @NonNull private final String mPackageName; field in DataShareRequest
52 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataShareRequest()
77 return mPackageName; in getPackageName()
103 "packageName = " + mPackageName + ", " + in toString()
122 && java.util.Objects.equals(mPackageName, that.mPackageName) in equals()
134 _hash = 31 * _hash + java.util.Objects.hashCode(mPackageName); in hashCode()
149 dest.writeString(mPackageName); in writeToParcel()
170 this.mPackageName = packageName; in DataShareRequest()
172 NonNull.class, null, mPackageName); in DataShareRequest()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DLeaseInfo.java38 private final String mPackageName; field in LeaseInfo
45 mPackageName = packageName; in LeaseInfo()
52 mPackageName = in.readString(); in LeaseInfo()
60 return mPackageName; in getPackageName()
80 dest.writeString(mPackageName); in writeToParcel()
89 + "package: " + mPackageName + "," in toString()
97 return mPackageName; in toShortString()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java84 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/services/core/java/com/android/server/pm/
DShortcutPackageItem.java47 private final String mPackageName; field in ShortcutPackageItem
58 mPackageName = Preconditions.checkStringNotEmpty(packageName); in ShortcutPackageItem()
89 return mPackageName; in getPackageName()
110 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave()
113 mPackageName, mPackageUserId)); in attemptToRestoreIfNeededAndSave()
121 s.wtf("Attempted to restore package " + mPackageName + "/u" + mPackageUserId in attemptToRestoreIfNeededAndSave()
125 final PackageInfo pi = s.getPackageInfoWithSignatures(mPackageName, mPackageUserId); in attemptToRestoreIfNeededAndSave()
132 mPackageName, mPackageUserId, currentVersionCode, in attemptToRestoreIfNeededAndSave()
179 result.put(KEY_NAME, mPackageName); in dumpCheckin()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServicesSmsFilter.java222 private final String mPackageName; field in CarrierServicesSmsFilter.CarrierSmsFilter
228 mPackageName = packageName; in CarrierSmsFilter()
237 if (!bindToCarrierMessagingService(mContext, mPackageName)) { in filterSms()
238 loge("CarrierSmsFilter::filterSms: bindService() for failed for " + mPackageName); in filterSms()
242 + mPackageName); in filterSms()
253 log("onServiceReady: calling filterSms on " + mPackageName); in onServiceReady()
257 loge("Exception filtering the SMS with " + mPackageName + ": " + e); in onServiceReady()
272 private final String mPackageName; field in CarrierServicesSmsFilter.CarrierSmsFilterCallback
279 mPackageName = packageName; in CarrierSmsFilterCallback()
287 log("CarrierSmsFilterCallback::onFilterComplete: Called from " + mPackageName in onFilterComplete()
[all …]
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullBackupTask.java76 private final String mPackageName; field in EncryptedFullBackupTask
127 mPackageName = packageName; in EncryptedFullBackupTask()
135 mChunkListingStore.loadProto(mPackageName); in call()
138 Slog.i(TAG, "Found previous chunk listing for " + mPackageName); in call()
146 + mPackageName in call()
149 mChunkListingStore.deleteProto(mPackageName); in call()
175 mChunkListingStore.saveProto(mPackageName, newChunkListing); in call()
176 Slog.v(TAG, "Saved chunk listing for " + mPackageName); in call()
179 mChunkListingStore.deleteProto(mPackageName); in call()
/frameworks/base/core/java/android/content/integrity/
DAppInstallMetadata.java37 private final String mPackageName; field in AppInstallMetadata
53 this.mPackageName = builder.mPackageName; in AppInstallMetadata()
68 return mPackageName; in getPackageName()
127 mPackageName, in toString()
141 private String mPackageName; field in AppInstallMetadata.Builder
176 this.mPackageName = Objects.requireNonNull(packageName); in setPackageName()
295 Objects.requireNonNull(mPackageName); in build()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java43 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/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java62 left.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd()
64 right.mPackageName = "com.test"; in testEarlierBeginTimeTakesPriorityOnAdd()
74 left.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd()
76 right.mPackageName = "com.test"; in testLaterEndTimeTakesPriorityOnAdd()
86 left.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats()
89 right.mPackageName = "com.test"; in testLastUsedTimeIsOverriddenByLaterStats()
100 left.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier()
103 right.mPackageName = "com.test"; in testLastUsedTimeIsNotOverriddenByLaterStatsIfUseIsEarlier()
114 left.mPackageName = "com.test"; in testForegroundTimeIsSummed()
117 right.mPackageName = "com.test"; in testForegroundTimeIsSummed()
[all …]
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java72 private final String mPackageName; field in ExternalResources.Resources
87 return mPackageName; in getResourcePackageName()
119 ResName.qualifyResName(name, mPackageName, defaultType), in putValue()
125 ResName.qualifyResName(name, mPackageName, defaultType), in putValue()
136 ResName.qualifyResName(name, mPackageName, "integer"), in putInteger()
152 ResName.qualifyResName(name, mPackageName, "color"), in putColor()
180 ResName.qualifyResName(name, mPackageName, "color"), in putColorStateList()
186 ResName.qualifyResName(name, mPackageName, "drawable"), in putDrawable()
192 ResName.qualifyResName(name, mPackageName, "bool"), in putBoolean()
203 ResName.qualifyResName(name, mPackageName, "dimen"), in putDimension()
[all …]

123456789