Home
last modified time | relevance | path

Searched refs:ActivityInfo (Results 1 – 21 of 21) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java25 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 …]
DShadowResolveInfo.java3 import android.content.pm.ActivityInfo;
33 ActivityInfo actInfo = new ActivityInfo(); in newResolveInfo()
DShadowActivity.java18 import android.content.pm.ActivityInfo;
88 ActivityInfo activityInfo; in callAttach()
112 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
132 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
153 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
176 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
200 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
226 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
253 ReflectionHelpers.ClassParameter.from(ActivityInfo.class, activityInfo), in callAttach()
DShadowApplicationPackageManager.java40 import android.content.pm.ActivityInfo;
176 protected ActivityInfo getActivityInfo(ComponentName component, int flags) in getActivityInfo()
184 for (ActivityInfo activity : packageInfo.activities) { in getActivityInfo()
186 ActivityInfo result = new ActivityInfo(activity); in getActivityInfo()
195 ActivityInfo result = new ActivityInfo(); in getActivityInfo()
204 ActivityInfo result = new ActivityInfo(); in getActivityInfo()
725 protected ActivityInfo getReceiverInfo(ComponentName className, int flags) in getReceiverInfo()
731 for (ActivityInfo receiver : packageInfo.receivers) { in getReceiverInfo()
733 ActivityInfo result = new ActivityInfo(receiver); in getReceiverInfo()
DShadowCrossProfileApps.java37 import android.content.pm.ActivityInfo;
276 ActivityInfo activityInfo = resolveInfo.activityInfo; in verifyActivityInManifest()
/external/libchrome/base/android/java/src/org/chromium/base/
DApplicationStatus.java43 private static class ActivityInfo { class in ApplicationStatus
99 private static final Map<Activity, ActivityInfo> sActivityInfo = new ConcurrentHashMap<>();
331 ActivityInfo info; in onStateChange()
336 sActivityInfo.put(activity, new ActivityInfo()); in onStateChange()
446 ActivityInfo info = sActivityInfo.get(activity); in getStateForActivity()
505 ActivityInfo info = sActivityInfo.get(activity); in registerStateListenerForActivity()
522 for (ActivityInfo info : sActivityInfo.values()) { in unregisterActivityStateListener()
599 for (ActivityInfo info : sActivityInfo.values()) { in determineApplicationState()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/
DDarwinLogCollector.h83 struct ActivityInfo { struct
84 ActivityInfo(const char *name, os_activity_id_t activity_id, in ActivityInfo() argument
93 using ActivityMap = std::unordered_map<os_activity_id_t, ActivityInfo>; argument
DDarwinLogCollector.cpp579 ActivityInfo(entry->activity_create.name, in HandleStreamEntry()
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DNavigationSpinner.java5 import android.content.pm.ActivityInfo;
69 ActivityInfo[] list = info.activities; in getActivityList()
72 for (ActivityInfo activity : list) { in getActivityList()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java52 import android.content.pm.ActivityInfo;
401ActivityInfo activityInfo = activity.getPackageManager().getActivityInfo(activity.getComponentName… in getActivityMetaData_configChanges()
404 …assertThat(configChanges & ActivityInfo.CONFIG_SCREEN_LAYOUT).isEqualTo(ActivityInfo.CONFIG_SCREEN… in getActivityMetaData_configChanges()
405 …assertThat(configChanges & ActivityInfo.CONFIG_ORIENTATION).isEqualTo(ActivityInfo.CONFIG_ORIENTAT… in getActivityMetaData_configChanges()
408 assertThat(configChanges & ActivityInfo.CONFIG_FONT_SCALE).isEqualTo(0); in getActivityMetaData_configChanges()
409 assertThat(configChanges & ActivityInfo.CONFIG_SCREEN_SIZE).isEqualTo(0); in getActivityMetaData_configChanges()
418 ActivityInfo activityInfo = in getActivityMetaData_configChangesAlwaysIncludesMccAndMnc()
422 assertThat(configChanges & ActivityInfo.CONFIG_MCC).isEqualTo(ActivityInfo.CONFIG_MCC); in getActivityMetaData_configChangesAlwaysIncludesMccAndMnc()
423 assertThat(configChanges & ActivityInfo.CONFIG_MNC).isEqualTo(ActivityInfo.CONFIG_MNC); in getActivityMetaData_configChangesAlwaysIncludesMccAndMnc()
672 info.activityInfo = new ActivityInfo(); in queryIntentActivities_Match()
[all …]
DShadowActivityTest.java35 import android.content.pm.ActivityInfo;
486 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in shouldSetOrientation()
487 …assertThat(activity.getRequestedOrientation()).isEqualTo(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in shouldSetOrientation()
737 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in getAndSetRequestedOrientation_shouldRemember()
738 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldRemember()
746 parentActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
747 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
748 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
749 …assertEquals(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE, parentActivity.getRequestedOrienta… in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
DShadowLayoutInflaterTest.java16 import android.content.pm.ActivityInfo;
311 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testMultiOrientation()
325 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testMultiOrientation_explicitLandscape()
DShadowIntentTest.java14 import android.content.pm.ActivityInfo;
40ActivityInfo activityInfo = intent.resolveActivityInfo(packageManager, PackageManager.GET_ACTIVITI… in resolveActivityInfo_shouldReturnActivityInfoForExistingActivity()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/testing/
DFakeContextBuilder.java28 import android.content.pm.ActivityInfo;
127 info.activityInfo = new ActivityInfo(); in getResolveInfo()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/
DRoboMonitoringInstrumentation.java9 import android.content.pm.ActivityInfo;
42 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivitySync()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java12 import android.content.pm.ActivityInfo;
39 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivity()
/external/javaparser/javaparser-core-testing/src/test/resources/com/github/javaparser/issue_samples/
Dissue1003.java.txt8 import android.content.pm.ActivityInfo;
42 private Intent a(int paramInt, c paramc, Intent paramIntent, ActivityInfo paramActivityInfo)
103 private static String a(int paramInt, ActivityInfo paramActivityInfo)
121 // 39: getfield 88 android/content/pm/ActivityInfo:packageName Ljava/lang/String;
123 // 43: getfield 243 android/content/pm/ActivityInfo:theme I
430 …final int a(int paramInt1, Intent paramIntent, ActivityInfo paramActivityInfo, IBinder paramIBinde…
441 // 15: getfield 402 android/content/pm/ActivityInfo:name Ljava/lang/String;
492 // 123: getfield 88 android/content/pm/ActivityInfo:packageName Ljava/lang/String;
494 // 127: getfield 402 android/content/pm/ActivityInfo:name Ljava/lang/String;
544 // 249: getfield 461 android/content/pm/ActivityInfo:documentLaunchMode I
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java32 import android.content.pm.ActivityInfo;
576 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in configureOrientation()
579 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in configureOrientation()
582 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in configureOrientation()
903 …= Configuration.ORIENTATION_LANDSCAPE && getRequestedOrientation() == ActivityInfo.SCREEN_ORIENTAT… in onConfigurationChanged()
904 …!= Configuration.ORIENTATION_PORTRAIT && getRequestedOrientation() == ActivityInfo.SCREEN_ORIENTAT… in onConfigurationChanged()
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DLabeledIntent.java23 import android.content.pm.ActivityInfo;
234 private static boolean hasPermission(Context context, ActivityInfo info) { in hasPermission()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java16 import android.content.pm.ActivityInfo;
60 private ActivityInfo getActivityInfo(Application application) { in getActivityInfo()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java28 import android.content.pm.ActivityInfo;
400 resolveInfo.activityInfo = new ActivityInfo(); in createResolveInfo()