HomeSort by relevance Sort by last modified time
    Searched refs:activityInfo (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowResolveInfoTest.java 24 assertThat(mResolveInfo.activityInfo.packageName).isEqualTo("package");
25 assertThat(mResolveInfo.activityInfo.applicationInfo.packageName).isEqualTo("package");
26 assertThat(mResolveInfo.activityInfo.name).isEqualTo("fragmentActivity");
ShadowPackageManagerTest.java 52 import android.content.pm.ActivityInfo;
352 assertThat(receiverInfos.get(0).activityInfo.name)
354 assertThat(receiverInfos.get(0).activityInfo.permission)
375 assertThat(receiverInfo.activityInfo.name)
398 ActivityInfo activityInfo = activity.getPackageManager().getActivityInfo(activity.getComponentName(), 0);
400 int configChanges = activityInfo.configChanges;
401 assertThat(configChanges & ActivityInfo.CONFIG_SCREEN_LAYOUT).isEqualTo(ActivityInfo.CONFIG_SCREEN_LAYOUT);
402 assertThat(configChanges & ActivityInfo.CONFIG_ORIENTATION).isEqualTo(ActivityInfo.CONFIG_ORIENTATION)
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/
PackageResolutionTest.java 48 resolve.get(0).activityInfo.name);
50 resolve.get(1).activityInfo.name);
52 resolve.get(2).activityInfo.name);
54 resolve.get(3).activityInfo.name);
88 resolve.get(0).activityInfo.name);
90 resolve.get(1).activityInfo.name);
92 resolve.get(2).activityInfo.name);
94 resolve.get(3).activityInfo.name);
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageItemInfo_DisplayNameComparatorTest.java 21 import android.content.pm.ActivityInfo;
40 ActivityInfo activityInfo = pm.getActivityInfo(componentName, 0);
41 PackageItemInfo pkgItemInfo = new PackageItemInfo(activityInfo);
44 activityInfo = pm.getActivityInfo(componentName, 0);
45 PackageItemInfo cmpInfo = new PackageItemInfo(activityInfo);
PackageItemInfoTest.java 23 import android.content.pm.ActivityInfo;
48 ActivityInfo activityInfo = (ActivityInfo) getTestItemInfo();
50 PackageItemInfo pkgItemInfo = new PackageItemInfo(activityInfo);
51 checkInfoSame(activityInfo, pkgItemInfo);
74 ActivityInfo activityInfo = (ActivityInfo) getTestItemInfo();
75 PackageItemInfo expectedInfo = new PackageItemInfo(activityInfo);
    [all...]
  /cts/tests/admin/src/android/admin/cts/
DeviceAdminInfoTest.java 23 import android.content.pm.ActivityInfo;
82 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mComponent,
115 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mSecondComponent,
148 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mThirdComponent,
169 ActivityInfo activityInfo = buildActivityInfo();
170 DeviceAdminInfo deviceAdminInfo = buildDeviceAdminInfo(activityInfo);
172 assertThat(deviceAdminInfo.getActivityInfo()).isEqualTo(activityInfo);
180 ActivityInfo activityInfo = buildActivityInfo(getVisibleComponent())
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ManifestTestListAdapter.java 21 import android.content.pm.ActivityInfo;
174 String parent = getTestParent(info.activityInfo.metaData);
190 if (info.activityInfo == null || mDisabledTests.contains(info.activityInfo.name)) {
191 Log.w("CtsVerifier", "ignoring disabled test: " + info.activityInfo.name);
194 String title = getTitle(mContext, info.activityInfo);
195 String testName = info.activityInfo.name;
196 Intent intent = getActivityIntent(info.activityInfo);
197 String[] requiredFeatures = getRequiredFeatures(info.activityInfo.metaData);
198 String[] requiredConfigs = getRequiredConfigs(info.activityInfo.metaData)
    [all...]
  /development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
AppEntry.java 36 mLaunchIntent.setComponent(new ComponentName(info.activityInfo.packageName,
37 info.activityInfo.name));
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowResolveInfo.java 3 import android.content.pm.ActivityInfo;
33 ActivityInfo actInfo = new ActivityInfo();
38 resInfo.activityInfo = actInfo;
54 copy.activityInfo = orig.activityInfo;
LegacyManifestParser.java 25 import android.content.pm.ActivityInfo;
91 Pair.create("mcc", ActivityInfo.CONFIG_MCC),
92 Pair.create("mnc", ActivityInfo.CONFIG_MNC),
93 Pair.create("locale", ActivityInfo.CONFIG_LOCALE),
94 Pair.create("touchscreen", ActivityInfo.CONFIG_TOUCHSCREEN),
95 Pair.create("keyboard", ActivityInfo.CONFIG_KEYBOARD),
96 Pair.create("keyboardHidden", ActivityInfo.CONFIG_KEYBOARD_HIDDEN),
97 Pair.create("navigation", ActivityInfo.CONFIG_NAVIGATION),
98 Pair.create("screenLayout", ActivityInfo.CONFIG_SCREEN_LAYOUT),
99 Pair.create("fontScale", ActivityInfo.CONFIG_FONT_SCALE)
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
TelecomAvailabilityTest.java 85 if (resolveInfo.activityInfo == null) {
89 && TELECOM_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) {
92 && TELEPHONY_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) {
115 assertNotNull(resolveInfo.activityInfo);
116 assertEquals(TELECOM_PACKAGE_NAME, resolveInfo.activityInfo.packageName);
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserAppTest/src/com/android/cts/userapptest/
ClientTest.java 59 assertThat(resolveInfo.get(0).activityInfo.packageName,
61 assertThat(resolveInfo.get(0).activityInfo.name,
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
IntentSenderActivity.java 92 if (!ri.activityInfo.packageName.equals("com.android.cts.intent.receiver")) {
93 intent.setComponent(new ComponentName(ri.activityInfo.packageName,
94 ri.activityInfo.name));
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
AppNavHomeActivity.java 64 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name;
67 target.setClassName(info.activityInfo.applicationInfo.packageName,
68 info.activityInfo.name);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
NfcTest.java 51 if (NFC_BEAM_ACTIVITY.equals(resolveInfo.activityInfo.name)) {
BluetoothSharingRestrictionTest.java 134 info.activityInfo != null ? info.activityInfo :
CrossProfileUtils.java 114 Log.d(TAG, "Hiding " + ri.activityInfo.packageName);
115 dpm.setApplicationHidden(ADMIN_RECEIVER_COMPONENT, ri.activityInfo.packageName, true);
DisallowSharingIntoProfileTest.java 212 if (entry.activityInfo.packageName.equals(info.activityInfo.packageName)
213 && entry.activityInfo.name.equals(info.activityInfo.name)) {
  /development/samples/IntentPlayground/src/com/example/android/intentplayground/
IntentBuilderView.java 22 import android.content.pm.ActivityInfo;
120 List<ActivityInfo> activities = Arrays.asList(packInfo.activities);
121 Map<ActivityInfo, List<String>> activityToFlags = new HashMap<>();
122 activities.forEach(activityInfo ->
123 activityToFlags.put(activityInfo, FlagUtils.getActivityFlags(activityInfo)));
139 ActivityInfo activityInfo = activityEntry.getKey();
145 rb.setText(activityInfo.name.substring(activityInfo.name.lastIndexOf('.') + 1))
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/libs/
locale_platform.jar 
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
SearchUtil.java 98 tvPackages.add(info.activityInfo.packageName);
103 tvPackages.add(info.activityInfo.packageName);
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DeviceInfo.java 20 import android.content.pm.ActivityInfo;
117 ActivityInfo[] activities = null;
126 for (ActivityInfo activityInfo : activities) {
127 mActivityList.add(activityInfo.name);
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
ClientTest.java 100 assertThat(resolveInfo.get(0).activityInfo.packageName,
102 assertThat(resolveInfo.get(0).activityInfo.name,
106 assertThat(resolveInfo.get(1).activityInfo.packageName,
108 assertThat(resolveInfo.get(1).activityInfo.name,
125 assertThat(resolveInfo.get(0).activityInfo.packageName,
127 assertThat(resolveInfo.get(0).activityInfo.name,
131 assertThat(resolveInfo.get(1).activityInfo.packageName,
133 assertThat(resolveInfo.get(1).activityInfo.name,
  /cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
SessionCommitBroadcastTest.java 63 new ComponentName(info.activityInfo.packageName, info.activityInfo.name);
  /cts/tests/tests/provider/src/android/provider/cts/
WifiSliceTest.java 108 final int testUid = pm.getPackageUid(info.activityInfo.packageName, 0);
129 final int testUid = pm.getPackageUid(info.activityInfo.packageName, 0);

Completed in 473 milliseconds

1 2 3