Home
last modified time | relevance | path

Searched refs:PACKAGE_1 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DAppInstallDaoTest.java55 public static String PACKAGE_1 = CommonFixture.TEST_PACKAGE_NAME_1; field in AppInstallDaoTest
85 mAppInstallDao.deleteByPackageName(PACKAGE_1); in cleanup()
92 PACKAGE_1, Arrays.asList(new DBAppInstallPermissions(BUYER_1, PACKAGE_1))); in testSetThenRead()
94 assertTrue(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenRead()
100 PACKAGE_1, Arrays.asList(new DBAppInstallPermissions(BUYER_1, PACKAGE_1))); in testSetThenDelete()
101 assertEquals(1, mAppInstallDao.deleteByPackageName(PACKAGE_1)); in testSetThenDelete()
107 PACKAGE_1, Arrays.asList(new DBAppInstallPermissions(BUYER_1, PACKAGE_1))); in testSetThenDeleteThenRead()
108 mAppInstallDao.deleteByPackageName(PACKAGE_1); in testSetThenDeleteThenRead()
110 assertFalse(mAppInstallDao.canBuyerFilterPackage(BUYER_1, PACKAGE_1)); in testSetThenDeleteThenRead()
116 PACKAGE_1, in testSetThenReadMultiple()
[all …]
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java57 private static String PACKAGE_1 = "package_1"; field in BeeperTest
112 doBeep(PACKAGE_1, mTestUri); in testBeeperPlaysProvidedSound()
120 doBeep(PACKAGE_1, mTestUri); in testBeepStopsPreviousBeep()
129 doBeep(PACKAGE_1, mTestUri); in testHandlesMediaPlayerLifetime()
141 doBeep(PACKAGE_1, mTestUri); in testDoesNotPlayWhenAudioFocusDenied()
151 doBeep(PACKAGE_1, mTestUri); in testHandlesErrorsInSetDataSource_ioException()
158 doBeep(PACKAGE_1, mTestUri); in testHandlesErrorsInSetDataSource_securityException()
165 doBeep(PACKAGE_1, mTestUri); in testHandlesErrorsInSetDataSource_illegalArgumentException()
171 doBeep(PACKAGE_1, mTestUri); in testHandlesErrorsWhenPlaying()
186 doBeep(PACKAGE_1, mTestUri); in testHandlesRingtoneManagerNullResult()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DProtectedSignalsDaoTest.java64 public static String PACKAGE_1 = CommonFixture.TEST_PACKAGE_NAME_1; field in ProtectedSignalsDaoTest
358 DBProtectedSignalFixture.getBuilder().setPackageName(PACKAGE_1).build(); in testDeleteAllDisallowedPackageSignalsAllAllowed()
368 installedPackage1.packageName = PACKAGE_1; in testDeleteAllDisallowedPackageSignalsAllAllowed()
391 DBProtectedSignalFixture.getBuilder().setPackageName(PACKAGE_1).build(); in testDeleteAllDisallowedPackageSignals()
397 return PACKAGE_1; in testDeleteAllDisallowedPackageSignals()
401 installedPackage1.packageName = PACKAGE_1; in testDeleteAllDisallowedPackageSignals()
417 assertEquals(PACKAGE_1, readResult2.get(0).getPackageName()); in testDeleteAllDisallowedPackageSignals()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java113 private final String PACKAGE_1 = "PACKAGE_1"; field in PhoneAccountRegistrarTest
1313 new PhoneAccountHandle(new ComponentName(PACKAGE_1, COMPONENT_NAME), "1234", in testCleanUpOrphanAccounts()
1328 when(mContext.getPackageManager().getPackageInfo(PACKAGE_1, 0)) in testCleanUpOrphanAccounts()