/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderClientTest.java | 63 private static final String PACKAGE_NAME = "android.content.cts"; field in ContentProviderClientTest 111 verify(mIContentProvider).query(PACKAGE_NAME, URI, null, ARGS, mICancellationSignal); in testQuery() 115 doAnswer(ANSWER_SLEEP).when(mIContentProvider).query(PACKAGE_NAME, URI, null, ARGS, in testQueryTimeout() 120 verify(mIContentProvider).query(PACKAGE_NAME, URI, null, ARGS, mICancellationSignal); in testQueryTimeout() 126 verify(mIContentProvider, never()).query(PACKAGE_NAME, URI, null, ARGS, in testQueryAlreadyCancelled() 158 verify(mIContentProvider).canonicalize(PACKAGE_NAME, URI); in testCanonicalize() 162 doAnswer(ANSWER_SLEEP).when(mIContentProvider).canonicalize(PACKAGE_NAME, URI); in testCanonicalizeTimeout() 166 verify(mIContentProvider).canonicalize(PACKAGE_NAME, URI); in testCanonicalizeTimeout() 171 verify(mIContentProvider).uncanonicalize(PACKAGE_NAME, URI); in testUncanonicalize() 175 doAnswer(ANSWER_SLEEP).when(mIContentProvider).uncanonicalize(PACKAGE_NAME, URI); in testUncanonicalizeTimeout() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 87 private static final String PACKAGE_NAME = "android.content.cts"; field in PackageManagerTest 124 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, 0); in testQuery() 129 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, 0); in testQuery() 165 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testQuery() 166 List<ProviderInfo> providers = mPackageManager.queryContentProviders(PACKAGE_NAME, in testQuery() 241 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testGetInfo() 244 CharSequence appText = mPackageManager.getText(PACKAGE_NAME, discriptionRes, appInfo); in testGetInfo() 246 ComponentName activityName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testGetInfo() 247 ComponentName serviceName = new ComponentName(PACKAGE_NAME, SERVICE_NAME); in testGetInfo() 248 ComponentName receiverName = new ComponentName(PACKAGE_NAME, RECEIVER_NAME); in testGetInfo() [all …]
|
D | ApplicationInfo_DisplayNameComparatorTest.java | 29 private static final String PACKAGE_NAME = "android.content.cts"; field in ApplicationInfo_DisplayNameComparatorTest 51 info1.packageName = PACKAGE_NAME; in testCompare() 52 info2.packageName = PACKAGE_NAME; in testCompare() 55 info1 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testCompare() 56 info2.packageName = PACKAGE_NAME + ".2"; in testCompare() 60 info1.packageName = PACKAGE_NAME + ".1"; in testCompare() 61 info2 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testCompare()
|
D | PackageItemInfoIconTest.java | 48 private static final String PACKAGE_NAME = "android.content.cts"; field in PackageItemInfoIconTest 78 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testFromAppInfo() 92 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testFromActivity() 120 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); in testDelegatedFromAppInfo() 142 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in getTestItemInfo()
|
D | PackageStatsTest.java | 27 private static final String PACKAGE_NAME = "android.content.cts"; field in PackageStatsTest 36 PackageStats stats = new PackageStats(PACKAGE_NAME); in testPackageStats() 37 assertEquals(PACKAGE_NAME, stats.packageName); in testPackageStats()
|
D | PackageItemInfo_DisplayNameComparatorTest.java | 31 private static final String PACKAGE_NAME = "android.content.cts"; field in PackageItemInfo_DisplayNameComparatorTest 39 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testDisplayNameComparator() 43 componentName = new ComponentName(PACKAGE_NAME, CMPACTIVITY_NAME); in testDisplayNameComparator()
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestAlarmScheduler.java | 32 private static final String PACKAGE_NAME = "android.alarmmanager.alarmtestapp.cts"; field in TestAlarmScheduler 34 public static final String ACTION_SET_ALARM = PACKAGE_NAME + ".action.SET_ALARM"; 35 public static final String EXTRA_TRIGGER_TIME = PACKAGE_NAME + ".extra.TRIGGER_TIME"; 36 public static final String EXTRA_REPEAT_INTERVAL = PACKAGE_NAME + ".extra.REPEAT_INTERVAL"; 37 public static final String EXTRA_TYPE = PACKAGE_NAME + ".extra.TYPE"; 38 public static final String EXTRA_ALLOW_WHILE_IDLE = PACKAGE_NAME + ".extra.ALLOW_WHILE_IDLE"; 39 public static final String ACTION_SET_ALARM_CLOCK = PACKAGE_NAME + ".action.SET_ALARM_CLOCK"; 40 public static final String EXTRA_ALARM_CLOCK_INFO = PACKAGE_NAME + ".extra.ALARM_CLOCK_INFO"; 41 public static final String ACTION_CANCEL_ALL_ALARMS = PACKAGE_NAME + ".action.CANCEL_ALARMS";
|
D | TestAlarmReceiver.java | 26 private static final String PACKAGE_NAME = "android.alarmmanager.alarmtestapp.cts"; field in TestAlarmReceiver 27 public static final String ACTION_REPORT_ALARM_EXPIRED = PACKAGE_NAME + ".action.ALARM_EXPIRED"; 28 public static final String EXTRA_ALARM_COUNT = PACKAGE_NAME + ".extra.ALARM_COUNT";
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobSchedulerReceiver.java | 33 private static final String PACKAGE_NAME = "android.jobscheduler.cts.jobtestapp"; field in TestJobSchedulerReceiver 35 public static final String EXTRA_JOB_ID_KEY = PACKAGE_NAME + ".extra.JOB_ID"; 36 public static final String EXTRA_ALLOW_IN_IDLE = PACKAGE_NAME + ".extra.ALLOW_IN_IDLE"; 37 public static final String EXTRA_REQUIRE_NETWORK_ANY = PACKAGE_NAME 39 public static final String ACTION_SCHEDULE_JOB = PACKAGE_NAME + ".action.SCHEDULE_JOB"; 40 public static final String ACTION_CANCEL_JOBS = PACKAGE_NAME + ".action.CANCEL_JOBS";
|
D | TestJobService.java | 26 private static final String PACKAGE_NAME = "android.jobscheduler.cts.jobtestapp"; field in TestJobService 27 public static final String ACTION_JOB_STARTED = PACKAGE_NAME + ".action.JOB_STARTED"; 28 public static final String ACTION_JOB_STOPPED = PACKAGE_NAME + ".action.JOB_STOPPED"; 29 public static final String JOB_PARAMS_EXTRA_KEY = PACKAGE_NAME + ".extra.JOB_PARAMETERS";
|
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/ |
D | Constants.java | 21 String PACKAGE_NAME = "com.android.cts.forcestophelper"; field 23 String ACTION_ALARM = PACKAGE_NAME + ".action.ACTION_ALARM"; 24 String EXTRA_ON_TASK_REMOVED = PACKAGE_NAME + ".extra.ON_TASK_REMOVED"; 25 String EXTRA_ON_ALARM = PACKAGE_NAME + ".extra.ON_ALARM";
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ClearDeviceOwnerTest.java | 35 public static final String PACKAGE_NAME = BasicAdminReceiver.class.getPackage().getName(); field in ClearDeviceOwnerTest 37 PACKAGE_NAME, BasicAdminReceiver.class.getName()); 50 assertTrue("App is not device owner", mDevicePolicyManager.isDeviceOwnerApp(PACKAGE_NAME)); in setUp() 55 mDevicePolicyManager.clearDeviceOwnerApp(PACKAGE_NAME); in tearDown() 56 assertFalse(mDevicePolicyManager.isDeviceOwnerApp(PACKAGE_NAME)); in tearDown()
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobSchedulerReceiver.java | 33 private static final String PACKAGE_NAME = "android.jobscheduler.cts.jobtestapp"; field in TestJobSchedulerReceiver 35 public static final String EXTRA_JOB_ID_KEY = PACKAGE_NAME + ".extra.JOB_ID"; 36 public static final String EXTRA_ALLOW_IN_IDLE = PACKAGE_NAME + ".extra.ALLOW_IN_IDLE"; 37 public static final String ACTION_SCHEDULE_JOB = PACKAGE_NAME + ".action.SCHEDULE_JOB"; 38 public static final String ACTION_CANCEL_JOBS = PACKAGE_NAME + ".action.CANCEL_JOBS";
|
D | TestJobService.java | 26 private static final String PACKAGE_NAME = "android.jobscheduler.cts.jobtestapp"; field in TestJobService 27 public static final String ACTION_JOB_STARTED = PACKAGE_NAME + ".action.JOB_STARTED"; 28 public static final String ACTION_JOB_STOPPED = PACKAGE_NAME + ".action.JOB_STOPPED"; 29 public static final String JOB_PARAMS_EXTRA_KEY = PACKAGE_NAME + ".extra.JOB_PARAMETERS";
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | LockTaskTest.java | 49 private static final String PACKAGE_NAME = LockTaskTest.class.getPackage().getName(); field in LockTaskTest 210 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testStartLockTask() 225 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testCannotFinish() 238 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testUpdateWhitelisting() 255 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME, in testUpdateWhitelisting_twoTasks() 272 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testUpdateWhitelisting_twoTasks() 288 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testStartActivity_withinTask() 308 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME, in testStartActivity_outsideTaskWhitelisted() 326 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testStartActivity_outsideTaskNonWhitelisted() 342 mDevicePolicyManager.setLockTaskPackages(ADMIN_COMPONENT, new String[] { PACKAGE_NAME }); in testManifestArgument_whitelisted() [all …]
|
D | DevicePolicyLoggingTest.java | 48 public static final String PACKAGE_NAME = "com.android.cts.permissionapp"; field in DevicePolicyLoggingTest 140 PACKAGE_NAME, READ_CONTACTS, PERMISSION_GRANT_STATE_GRANTED); in testSetPermissionGrantStateLogged() 141 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, in testSetPermissionGrantStateLogged() 143 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, in testSetPermissionGrantStateLogged() 169 mDevicePolicyManager.setUninstallBlocked(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, true); in testSetUninstallBlockedLogged() 170 mDevicePolicyManager.setUninstallBlocked(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, false); in testSetUninstallBlockedLogged()
|
D | BaseDeviceAdminTest.java | 65 public static final String PACKAGE_NAME = BasicAdminReceiver.class.getPackage().getName(); field in BaseDeviceAdminTest 67 PACKAGE_NAME, BasicAdminReceiver.class.getName()); 89 mDevicePolicyManager.isProfileOwnerApp(PACKAGE_NAME) || in setUp() 90 mDevicePolicyManager.isDeviceOwnerApp(PACKAGE_NAME)); in setUp() 144 return mDevicePolicyManager.isDeviceOwnerApp(PACKAGE_NAME); in isDeviceOwner()
|
D | PersistentIntentResolvingTest.java | 52 PACKAGE_NAME); in tearDown() 85 PACKAGE_NAME); in testAddAndClearPersistentPreferredActivitiesYieldsResolverActivity() 124 ComponentName targetComponent = new ComponentName(PACKAGE_NAME, in addPersistentPreferredActivity()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | UseEmbeddedDexTest.java | 31 private static final String PACKAGE_NAME = "com.android.cts.useembeddeddex"; field in UseEmbeddedDexTest 41 getDevice().uninstallPackage(PACKAGE_NAME); in tearDown() 68 new InstallMultiple().inheritFrom(PACKAGE_NAME).addApk(APK_SPLIT_CANONICAL).run(); in testCanonicalInstallWithBaseThenSplit() 74 new InstallMultiple().inheritFrom(PACKAGE_NAME).addApk(APK_SPLIT_COMPRESSED_DEX) in testBadInstallWithBaseThenDexCompressedSplit()
|
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/src/android/server/wm/prerelease/ |
D | Components.java | 24 private static final String PACKAGE_NAME = Components.class.getPackage().getName(); field in Components 27 PACKAGE_NAME, PACKAGE_NAME + ".MainActivity");
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | PowerManagerTests.java | 36 private static final String PACKAGE_NAME = "android.os.powermanagertests"; field in PowerManagerTests 41 private static final String CACHED_REGEXP = "Proc # [0-9]+: cch.*" + PACKAGE_NAME; 73 makeCachedProcess(PACKAGE_NAME); in testCachedProcessReleasesWakeLock() 86 mDevice.executeShellCommand("am make-uid-idle " + PACKAGE_NAME); in testCachedProcessReleasesWakeLock()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | BaseProfileOwnerTest.java | 29 public static final String PACKAGE_NAME = BaseProfileOwnerTest.class.getPackage().getName(); field in BaseProfileOwnerTest 45 assertTrue(dpm.isProfileOwnerApp(PACKAGE_NAME)); in assertProfileOwner() 49 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 50 private static final String PACKAGE_NAME = "com.android.cts.usb.serialtest"; field in TestUsbTest 51 private static final String TEST_CLASS_NAME = PACKAGE_NAME + ".UsbSerialTest"; 71 mDevice.uninstallPackage(PACKAGE_NAME); in setUp() 91 mDevice.uninstallPackage(PACKAGE_NAME); in tearDown() 96 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGE_NAME, CTS_RUNNER, in runTestOnDevice()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsActivityTest.java | 43 private static final String PACKAGE_NAME = "android.widget.cts"; field in RemoteViewsActivityTest 57 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_good); in testGood() 83 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_1); in testDerivedClass() 112 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_2); in testWebView()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | NonUiInCallServiceTest.java | 50 ComponentName.createRelative(CtsApi29InCallService.PACKAGE_NAME, in testMidCallComponentEnablement() 61 ComponentName.createRelative(CtsApi29InCallService.PACKAGE_NAME, in testMidCallComponentEnablement() 94 ComponentName.createRelative(CtsApi29InCallService.PACKAGE_NAME, in testNullBinding()
|