/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionUtil.java | 20 import android.content.pm.ApplicationInfo; 98 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 124 if (info.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) {
|
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/ |
NDKHelper.java | 25 import android.content.pm.ApplicationInfo; 169 ApplicationInfo ai = context.getApplicationInfo(); 173 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 174 || (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0)
|
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/ |
NDKHelper.java | 25 import android.content.pm.ApplicationInfo; 169 ApplicationInfo ai = context.getApplicationInfo(); 173 if ((ai.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 174 || (ai.flags & ApplicationInfo.FLAG_SYSTEM) == 0)
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextWrapper.java | 12 import android.content.pm.ApplicationInfo; 101 public ApplicationInfo getApplicationInfo() { 102 ApplicationInfo appInfo = new ApplicationInfo();
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkScorerAppManagerTest.java | 23 import android.content.pm.ApplicationInfo; 164 resolveInfo.activityInfo.applicationInfo = new ApplicationInfo(); 165 resolveInfo.activityInfo.applicationInfo.uid = packageUid;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
UidDetailProvider.java | 21 import android.content.pm.ApplicationInfo; 153 final ApplicationInfo info = ipm.getApplicationInfo(packageNames[0], 166 final ApplicationInfo appInfo = ipm.getApplicationInfo(packageName, 175 packageInfo.applicationInfo).toString();
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 27 import android.content.pm.ApplicationInfo; 155 public ApplicationInfo getApplicationInfo(String packageName, int flags) 162 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) 313 public List<ApplicationInfo> getInstalledApplications(int flags) { 450 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { 482 public Drawable getApplicationBanner(ApplicationInfo info) { 492 public Drawable getApplicationIcon(ApplicationInfo info) { 512 public Drawable getApplicationLogo(ApplicationInfo info) { 559 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { 565 ApplicationInfo appInfo) [all...] |
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDex.java | 21 import android.content.pm.ApplicationInfo; 105 ApplicationInfo applicationInfo = getApplicationInfo(context); 106 if (applicationInfo == null) { 112 String apkPath = applicationInfo.sourceDir; 159 File dexDir = getDexDir(context, applicationInfo); 160 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false); 166 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true); 184 private static ApplicationInfo getApplicationInfo(Context context) 196 Log.w(TAG, "Failure while trying to obtain ApplicationInfo from Context. " [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
Partner.java | 21 import android.content.pm.ApplicationInfo; 121 final ApplicationInfo appInfo = info.activityInfo.applicationInfo; 122 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageIconProvider.java | 25 import android.content.pm.ApplicationInfo; 189 if (pkgInfo != null && pkgInfo.applicationInfo != null && 190 (pkgInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultEmergencyPreference.java | 23 import android.content.pm.ApplicationInfo; 142 return info.applicationInfo != null 143 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenRuleSelectionDialog.java | 24 import android.content.pm.ApplicationInfo; 101 ApplicationInfo info = mPm.getApplicationInfo(ri.packageName, 0); 199 private class LoadIconTask extends AsyncTask<ApplicationInfo, Void, Drawable> { 207 protected Drawable doInBackground(ApplicationInfo... params) {
|
ZenAccessSettings.java | 27 import android.content.pm.ApplicationInfo; 105 final ArrayList<ApplicationInfo> apps = new ArrayList<>(); 108 final List<ApplicationInfo> installed = mPkgMan.getInstalledApplications(0); 110 for (ApplicationInfo app : installed) { 120 for (ApplicationInfo app : apps) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppInfo.java | 20 import android.content.pm.ApplicationInfo;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
AppPicker.java | 22 import android.content.pm.ApplicationInfo; 96 final List<ApplicationInfo> pkgs = 100 for (final ApplicationInfo ai : pkgs) { 110 if ((ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerService.java | 123 import android.content.pm.ApplicationInfo; 713 ApplicationInfo mAndroidApplication; [all...] |
Settings.java | 39 import android.content.pm.ApplicationInfo; 546 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { 547 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 570 // Reset flag in ApplicationInfo object 571 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { 572 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 702 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { 718 if ((pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0 & [all...] |
/frameworks/base/core/java/android/content/pm/ |
ApplicationInfo.java | 44 public class ApplicationInfo extends PackageItemInfo implements Parcelable { 866 implements Comparator<ApplicationInfo> [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
TileUtils.java | 22 import android.content.pm.ApplicationInfo; 170 resolved.activityInfo.applicationInfo.packageName) ? resolved.priority : 0; 221 updateTileData(context, tile, activityInfo, activityInfo.applicationInfo, 247 ActivityInfo activityInfo, ApplicationInfo applicationInfo, PackageManager pm) { 248 if (applicationInfo.isSystemApp()) { 256 applicationInfo.packageName);
|
/packages/apps/TV/src/com/android/tv/util/ |
TvInputManagerHelper.java | 20 import android.content.pm.ApplicationInfo; 195 * Does the input have {@link ApplicationInfo#FLAG_SYSTEM} set. 199 && (inputInfo.getServiceInfo().applicationInfo.flags 200 & ApplicationInfo.FLAG_SYSTEM) != 0; 209 inputInfo.getServiceInfo().applicationInfo.packageName); 257 public ApplicationInfo getTvInputAppInfo(String inputId) { 259 return info == null ? null : info.getServiceInfo().applicationInfo;
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
DeleteNonRequiredAppsTaskTest.java | 20 import android.content.pm.ApplicationInfo; 380 List<ApplicationInfo> applications = new ArrayList<ApplicationInfo>(); 382 ApplicationInfo aInfo = new ApplicationInfo(); 383 aInfo.flags = ApplicationInfo.FLAG_SYSTEM; 399 ApplicationInfo aInfo = new ApplicationInfo(); 400 aInfo.flags = ApplicationInfo.FLAG_SYSTEM; 402 serviceInfo.applicationInfo = aInfo [all...] |
/frameworks/base/services/core/java/com/android/server/webkit/ |
SystemImpl.java | 22 import android.content.pm.ApplicationInfo; 225 ApplicationInfo applicationInfo = pm.getApplicationInfo(packageName, 0); 226 if (applicationInfo != null && applicationInfo.isUpdatedSystemApp()) {
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminAdd.java | 32 import android.content.pm.ApplicationInfo; 173 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { 328 mDeviceAdmin.getActivityInfo().applicationInfo.uid); 338 mDeviceAdmin.getActivityInfo().applicationInfo.uid); 400 mDeviceAdmin.getActivityInfo().applicationInfo.uid); 452 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid; 453 final String pkg = mDeviceAdmin.getActivityInfo().applicationInfo.packageName; 464 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid; 465 final String pkg = mDeviceAdmin.getActivityInfo().applicationInfo.packageName [all...] |
HomeSettings.java | 28 import android.content.pm.ApplicationInfo; 235 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( 327 final int altFlags = altInfo.applicationInfo.flags; 328 isSystem = (altFlags & ApplicationInfo.FLAG_SYSTEM) != 0; 339 isSystem = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodIconSamplerActivity.java | 88 if (packageInfo.applicationInfo != null) { 89 return getResources().getDrawable(packageInfo.applicationInfo.icon);
|