Home
last modified time | relevance | path

Searched refs:setPackageName (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/content/integrity/
DCompoundFormulaTest.java103 getAppInstallMetadataBuilder().setPackageName("test2").build(); in testFormulaMatches_notFalse_true()
115 getAppInstallMetadataBuilder().setPackageName("test1").build(); in testFormulaMatches_notTrue_false()
130 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueAndTrue_true()
144 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueAndFalse_false()
157 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseAndTrue_false()
170 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseAndFalse_false()
183 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(1).build(); in testFormulaMatches_trueOrTrue_true()
196 getAppInstallMetadataBuilder().setPackageName("test1").setVersionCode(2).build(); in testFormulaMatches_trueOrFalse_true()
209 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(1).build(); in testFormulaMatches_falseOrTrue_true()
222 getAppInstallMetadataBuilder().setPackageName("test2").setVersionCode(2).build(); in testFormulaMatches_falseOrFalse_false()
[all …]
DAtomicFormulaTest.java242 getAppInstallMetadataBuilder().setPackageName("com.test.app").build(); in testFormulaMatches_string_packageNameFormula_true()
254 getAppInstallMetadataBuilder().setPackageName("com.foo.bar").build(); in testFormulaMatches_string_packageNameFormula_false()
266 .setPackageName("com.test.app") in testFormulaMatches_string_multipleAppCertificates_true()
280 .setPackageName("com.test.app") in testFormulaMatches_string_multipleAppCertificates_false()
294 .setPackageName("com.test.app") in testFormulaMatches_string_multipleInstallerCertificates_true()
309 .setPackageName("com.test.app") in testFormulaMatches_string_multipleInstallerCertificates_false()
492 .setPackageName("abc") in getAppInstallMetadataBuilder()
DInstallerAllowedByManifestFormulaTest.java116 .setPackageName("abc") in getAppInstallMetadataBuilder()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
DRuleIndexingControllerTest.java55 .setPackageName("ddd") in verifyIndexRangeSearchIsCorrect()
77 .setPackageName("ddd") in verifyIndexRangeSearchIsCorrect_multipleAppCertificates()
100 .setPackageName("bbb") in verifyIndexRangeSearchIsCorrect_keysInFirstAndLastBlock()
122 .setPackageName("ccc") in verifyIndexRangeSearchIsCorrect_keysMatchWithValues()
154 .setPackageName("ccc") in verifyIndexRangeSearchIsCorrect_noIndexesAvailable()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailSmsFilterSettings.java123 public Builder setPackageName(String packageName) { in setPackageName() method in VisualVoicemailSmsFilterSettings.Builder
173 builder.setPackageName(in.readString());
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DPackageImpl.java317 public PackageImpl setPackageName(@NonNull String packageName) { in setPackageName() method in PackageImpl
322 permissions.get(index).setPackageName(this.packageName); in setPackageName()
327 permissionGroups.get(index).setPackageName(this.packageName); in setPackageName()
332 activities.get(index).setPackageName(this.packageName); in setPackageName()
337 receivers.get(index).setPackageName(this.packageName); in setPackageName()
342 providers.get(index).setPackageName(this.packageName); in setPackageName()
347 services.get(index).setPackageName(this.packageName); in setPackageName()
352 instrumentations.get(index).setPackageName(this.packageName); in setPackageName()
DParsedPackage.java54 ParsedPackage setPackageName(String packageName); in setPackageName() method
/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java53 builder.setPackageName(packageName); in testSerializeDeserialize()
132 builder.setPackageName("package.name"); in testClearFieldLeavesOtherFieldsIntact()
173 builder.setPackageName("package.name"); in testSetAndClearPackageName()
/frameworks/base/services/core/xsd/platform-compat/overrides/schema/
Dcurrent.txt36 method public void setPackageName(String);
53 method public void setPackageName(String);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java467 session.setPackageName("com.foo"); in getSessionIdByPackageName()
478 session.setPackageName("com.foo"); in getSessionIdByPackageName_appliedSession_ignores()
489 session.setPackageName("com.foo"); in getSessionIdByPackageName_failedSession_ignores()
500 session.setPackageName("com.foo"); in getSessionIdByPackageName_destroyedSession_ignores()
516 session.setPackageName("com.foo"); in getSessionIdByPackageName_noSessionHasThisPackage()
607 private void setPackageName(String packageName) { in setPackageName() method in StagingManagerTest.FakeStagedSession
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DInjectedSettingTest.java40 .setPackageName(TEST_STRING) in getTestSetting()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedComponent.java97 this.setPackageName(other.packageName); in ParsedComponent()
121 public void setPackageName(@NonNull String packageName) { in setPackageName() method in ParsedComponent
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp65 mObbFile->setPackageName(String8(packageName)); in TEST_F()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAccessibilityUtil.java77 event.setPackageName(mPackageName); in announcementForScreenReader()
/frameworks/base/libs/androidfw/include/androidfw/
DObbFile.h54 void setPackageName(String8 packageName) { in setPackageName() function
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DRecycleAccessibilityEventTest.java48 first.setPackageName(PACKAGE_NAME); in testAccessibilityEventViewTextChangedType()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageArgs.java55 public static Bundle setPackageName(Bundle b, String packageName) { in setPackageName() method in WearPackageArgs
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java55 event.setPackageName(context.getPackageName()); in announceForAccessibility()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java83 event.setPackageName(act.getPackageName()); in dispatchPopulateAccessibilityEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DIntegrityFileManagerTest.java143 .setPackageName(packageName) in testGetRules()
184 .setPackageName(installedPackageName) in testGetRules_indexedForManyRules()
/frameworks/base/core/java/android/app/search/
DSearchContext.java97 void setPackageName(@Nullable String packageName) { in setPackageName() method in SearchContext
/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldDurationLogger.java89 .setPackageName(packageName)); in logFocusedAppWithFoldState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleSpaceUtilsTest.java252 .setPackageName(PACKAGE_NAME) in testAugmentTileFromNotification()
292 .setPackageName(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithSender()
325 .setPackageName(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithImageUri()
358 .setPackageName(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithAudioUri()
376 .setPackageName(PACKAGE_NAME) in testAugmentTileFromNotificationNoContent()
/frameworks/base/core/java/com/android/internal/os/
DStatsdHiddenApiUsageLogger.java74 .setPackageName(packageName) in logUsage()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatChange.java361 override.setPackageName(entry.getKey()); in saveOverrides()
373 override.setPackageName(entry.getKey()); in saveOverrides()

12345