Searched refs:ApplicationInfo (Results 1 – 19 of 19) sorted by relevance
/development/samples/Home/src/com/example/android/home/ |
D | ApplicationInfo.java | 27 class ApplicationInfo { class 66 if (!(o instanceof ApplicationInfo)) { in equals() 70 ApplicationInfo that = (ApplicationInfo) o; in equals()
|
D | Home.java | 100 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 …]
|
D | ApplicationsStackLayout.java | 71 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/ |
D | MainActivity.java | 21 import android.content.pm.ApplicationInfo; 49 ApplicationInfo info = packageManager.getApplicationInfo( in onCreate() 52 if (0 == (info.flags & ApplicationInfo.FLAG_INSTALLED)) { in onCreate()
|
D | StatusFragment.java | 21 import android.content.pm.ApplicationInfo; 96 ApplicationInfo info = packageManager.getApplicationInfo( in updateUi() 101 if ((info.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in updateUi()
|
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/ |
D | AppLabelCache.java | 19 import android.content.pm.ApplicationInfo; 39 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); in getAppLabel()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | ResourceHelper.java | 20 import android.content.pm.ApplicationInfo; 41 ApplicationInfo applicationInfo = in getThemeColor()
|
/development/apps/Development/src/com/android/development/ |
D | AppHwConfigList.java | 23 import android.content.pm.ApplicationInfo; 82 List<ApplicationInfo> appList = mPm.getInstalledApplications(0); in AppListAdapter() 83 for (ApplicationInfo app : appList) { in AppListAdapter()
|
D | PackageSummary.java | 25 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()
|
D | PermissionDetails.java | 33 import android.content.pm.ApplicationInfo; 205 ApplicationInfo appInfo = null; in onCreate()
|
D | AppHwPref.java | 26 import android.content.pm.ApplicationInfo;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderCustom.java | 40 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/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 28 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/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | MyBaseListFragment.java | 23 import android.content.pm.ApplicationInfo; 114 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); in getAppLabel()
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MainActivity.java | 31 import android.content.pm.ApplicationInfo; 117 List<ApplicationInfo> list = getPackageManager().getInstalledApplications( in onCreate() 121 for (ApplicationInfo ai :list) { in onCreate()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 20 import android.content.pm.ApplicationInfo; 102 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage()
|
D | MonkeySourceNetworkViews.java | 24 import android.content.pm.ApplicationInfo; 173 ApplicationInfo appInfo = sPm.getApplicationInfo(packageName, 0, in translateCommand()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 30 import android.content.pm.ApplicationInfo;
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 30 import android.content.pm.ApplicationInfo;
|