Home
last modified time | relevance | path

Searched refs:ApplicationInfo (Results 1 – 20 of 20) sorted by relevance

/development/samples/Home/src/com/example/android/home/
DApplicationInfo.java27 class ApplicationInfo { class
66 if (!(o instanceof ApplicationInfo)) { in equals()
70 ApplicationInfo that = (ApplicationInfo) o; in equals()
DHome.java100 private static ArrayList<ApplicationInfo> mApplications;
101 private static LinkedList<ApplicationInfo> mFavorites;
262 mFavorites = new LinkedList<ApplicationInfo>(); in bindFavorites()
290 ApplicationInfo info; in bindFavorites()
361 final ArrayList<ApplicationInfo> recents = new ArrayList<ApplicationInfo>(); in bindRecents()
369 ApplicationInfo info = getApplicationInfo(manager, intent); in bindRecents()
382 private static ApplicationInfo getApplicationInfo(PackageManager manager, Intent intent) { in getApplicationInfo()
389 final ApplicationInfo info = new ApplicationInfo(); in getApplicationInfo()
496 mApplications = new ArrayList<ApplicationInfo>(count); in loadApplications()
501 ApplicationInfo application = new ApplicationInfo(); in loadApplications()
[all …]
DApplicationsStackLayout.java71 private List<ApplicationInfo> mFavorites;
72 private List<ApplicationInfo> mRecents;
240 private int stackApplications(List<ApplicationInfo> applications, int childLeft, int childTop) { in stackApplications()
251 final ApplicationInfo info = applications.get(i); in stackApplications()
303 ViewGroup group, ApplicationInfo info) { in createApplicationIcon()
322 public void setFavorites(List<ApplicationInfo> applications) { in setFavorites()
332 public void setRecents(List<ApplicationInfo> applications) { in setRecents()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java21 import android.content.pm.ApplicationInfo;
41 ApplicationInfo info = packageManager.getApplicationInfo( in onCreate()
44 if (0 == (info.flags & ApplicationInfo.FLAG_INSTALLED)) { in onCreate()
DStatusFragment.java21 import android.content.pm.ApplicationInfo;
88 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi()
93 if ((info.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in updateUi()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DResourceHelper.java20 import android.content.pm.ApplicationInfo;
41 ApplicationInfo applicationInfo = in getThemeColor()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DResourceHelper.java20 import android.content.pm.ApplicationInfo;
41 ApplicationInfo applicationInfo = in getThemeColor()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/
DTeapotApplication.java23 import android.content.pm.ApplicationInfo;
38 ApplicationInfo ai; in onCreate()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java25 import android.content.pm.ApplicationInfo;
169 ApplicationInfo ai = context.getApplicationInfo(); in getNativeLibraryDirectory()
173 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 in getNativeLibraryDirectory()
174 || (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0) in getNativeLibraryDirectory()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java25 import android.content.pm.ApplicationInfo;
169 ApplicationInfo ai = context.getApplicationInfo(); in getNativeLibraryDirectory()
173 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 in getNativeLibraryDirectory()
174 || (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0) in getNativeLibraryDirectory()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/
DMoreTeapotsApplication.java25 import android.content.pm.ApplicationInfo;
43 ApplicationInfo ai; in onCreate()
/development/apps/Development/src/com/android/development/
DAppHwConfigList.java23 import android.content.pm.ApplicationInfo;
82 List<ApplicationInfo> appList = mPm.getInstalledApplications(0); in AppListAdapter()
83 for (ApplicationInfo app : appList) { in AppListAdapter()
DPackageSummary.java25 import android.content.pm.ApplicationInfo;
109 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { in onCreate()
112 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0) { in onCreate()
115 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0) { in onCreate()
118 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in onCreate()
DPermissionDetails.java33 import android.content.pm.ApplicationInfo;
205 ApplicationInfo appInfo = null; in onCreate()
DAppHwPref.java26 import android.content.pm.ApplicationInfo;
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java40 import android.content.pm.ApplicationInfo;
85 public AppEntry(AppListLoader loader, ApplicationInfo info) { in AppEntry()
91 public ApplicationInfo getApplicationInfo() { in getApplicationInfo()
141 private final ApplicationInfo mInfo;
232 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
236 apps = new ArrayList<ApplicationInfo>(); in loadInBackground()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderCustomSupport.java24 import android.content.pm.ApplicationInfo;
87 public AppEntry(AppListLoader loader, ApplicationInfo info) { in AppEntry()
93 public ApplicationInfo getApplicationInfo() { in getApplicationInfo()
143 private final ApplicationInfo mInfo;
234 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
238 apps = new ArrayList<ApplicationInfo>(); in loadInBackground()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java28 import android.content.pm.ApplicationInfo;
116 ApplicationInfo applicationInfo = packageManager.getApplicationInfo( in isApplicationEnabled()
119 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { in isApplicationEnabled()
212 ApplicationInfo applicationInfo = packageManager.getApplicationInfo(packageName, in setAppEnabled()
216 if (0 == (applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED)) { in setAppEnabled()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java20 import android.content.pm.ApplicationInfo;
98 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage()
DMonkeySourceNetworkViews.java23 import android.content.pm.ApplicationInfo;
172 ApplicationInfo appInfo = sPm.getApplicationInfo(packageName, 0, in translateCommand()