Searched refs:applicationInfo (Results 1 - 25 of 260) sorted by relevance

1234567891011

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
H A DAppBackupUtilsTest.java67 ApplicationInfo applicationInfo = new ApplicationInfo();
68 applicationInfo.flags = 0;
69 applicationInfo.uid = Process.FIRST_APPLICATION_UID;
70 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME;
71 applicationInfo.packageName = TEST_PACKAGE_NAME;
73 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo,
82 ApplicationInfo applicationInfo = new ApplicationInfo();
83 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP;
84 applicationInfo.uid = Process.SYSTEM_UID;
85 applicationInfo
[all...]
H A DTarBackupReaderTest.java318 packageInfo.applicationInfo = new ApplicationInfo();
319 packageInfo.applicationInfo.flags = ~ApplicationInfo.FLAG_ALLOW_BACKUP;
343 packageInfo.applicationInfo = new ApplicationInfo();
344 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP;
345 packageInfo.applicationInfo.uid = Process.SYSTEM_UID;
346 packageInfo.applicationInfo.backupAgentName = null;
372 packageInfo.applicationInfo = new ApplicationInfo();
373 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP;
374 packageInfo.applicationInfo.uid = Process.FIRST_APPLICATION_UID;
375 packageInfo.applicationInfo
[all...]
/frameworks/base/core/java/android/content/pm/
H A DComponentInfo.java38 public ApplicationInfo applicationInfo; field in class:ComponentInfo
43 * as <var>applicationInfo.processName</var>.
90 applicationInfo = orig.applicationInfo;
104 ApplicationInfo ai = applicationInfo;
128 return enabled && applicationInfo.enabled;
139 return icon != 0 ? icon : applicationInfo.icon;
150 return logo != 0 ? logo : applicationInfo.logo;
161 return banner != 0 ? banner : applicationInfo.banner;
190 if (applicationInfo !
[all...]
H A DPackageInfo.java130 public ApplicationInfo applicationInfo; field in class:PackageInfo
432 if (applicationInfo != null) {
434 applicationInfo.writeToParcel(dest, parcelableFlags);
498 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source);
534 if (applicationInfo != null) {
535 propagateApplicationInfo(applicationInfo, activities);
536 propagateApplicationInfo(applicationInfo, receivers);
537 propagateApplicationInfo(applicationInfo, services);
538 propagateApplicationInfo(applicationInfo, providers);
545 ci.applicationInfo
[all...]
H A DLauncherActivityInfo.java110 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo);
129 return mActivityInfo.applicationInfo.flags;
137 return mActivityInfo.applicationInfo;
/frameworks/base/media/java/android/media/tv/
H A DTvContentRatingSystemInfo.java43 * @param applicationInfo Information about the application that provides the TV content rating
47 ApplicationInfo applicationInfo) {
50 .authority(applicationInfo.packageName)
53 return new TvContentRatingSystemInfo(uri, applicationInfo);
56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { argument
58 mApplicationInfo = applicationInfo;
46 createTvContentRatingSystemInfo(int xmlResourceId, ApplicationInfo applicationInfo) argument
/frameworks/base/core/java/android/app/
H A DWallpaperInfo.java102 Resources res = pm.getResourcesForApplication(si.applicationInfo);
227 mService.serviceInfo.applicationInfo);
236 ApplicationInfo applicationInfo = null;
239 applicationInfo = mService.serviceInfo.applicationInfo;
241 return pm.getText(packageName, mAuthorResource, applicationInfo);
249 ApplicationInfo applicationInfo = null;
252 applicationInfo = mService.serviceInfo.applicationInfo;
256 applicationInfo);
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DAppBackupUtils.java98 ApplicationInfo applicationInfo = packageInfo.applicationInfo;
99 if (!appIsEligibleForBackup(applicationInfo, pm)
100 || appIsStopped(applicationInfo)
101 || appIsDisabled(applicationInfo, pm)) {
149 if (pkg.applicationInfo.backupAgentName != null) {
151 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0;
195 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
H A DResourceHelper.java41 ApplicationInfo applicationInfo =
43 packageContext.setTheme(applicationInfo.theme);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
H A DResourceHelper.java41 ApplicationInfo applicationInfo =
43 packageContext.setTheme(applicationInfo.theme);
/frameworks/base/core/java/android/webkit/
H A DUserPackage.java70 return mPackageInfo.applicationInfo.enabled;
78 return (((mPackageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0)
79 && ((mPackageInfo.applicationInfo.privateFlags
88 return packageInfo.applicationInfo.targetSdkVersion >= MINIMUM_SUPPORTED_SDK;
H A DWebViewZygote.java161 sPackage.applicationInfo.primaryCpuAbi, // abi
172 LoadedApk.makePaths(null, false, sPackage.applicationInfo, zipPaths, libPaths);
177 String libFileName = WebViewFactory.getWebViewLibrary(sPackage.applicationInfo);
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
H A DAppRestrictionsHelperTest.java192 packageInfo.applicationInfo = ri.activityInfo.applicationInfo;
193 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED;
196 mInstalledAppInfos.add(packageInfo.applicationInfo);
214 packageInfo.applicationInfo = ri.activityInfo.applicationInfo;
215 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED;
216 mInstalledAppInfos.add(packageInfo.applicationInfo);
222 ri.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
223 ri.serviceInfo.applicationInfo
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchWarningWindow.java46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager()));
49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
/frameworks/base/core/tests/webkit/unit_tests_src/com/android/webkit/
H A DWebViewLibraryLoaderTest.java96 packageInfo.applicationInfo = ai;
117 packageInfo.applicationInfo = ai;
135 packageInfo.applicationInfo = ai;
152 webviewOnDiskPackageInfo.applicationInfo.secondaryNativeLibraryDir :
153 webviewOnDiskPackageInfo.applicationInfo.nativeLibraryDir;
172 String lib64Path = webviewOnDiskPackageInfo.applicationInfo.nativeLibraryDir
219 webviewFromApkPackageInfo.applicationInfo.secondaryNativeLibraryDir :
220 webviewFromApkPackageInfo.applicationInfo.nativeLibraryDir;
228 webviewFromApkPackageInfo.applicationInfo.sourceDir);
246 webviewFromApkPackageInfo.applicationInfo
[all...]
/frameworks/base/services/core/java/com/android/server/om/
H A DIdmapManager.java58 final int sharedGid = UserHandle.getSharedAppGid(targetPackage.applicationInfo.uid);
59 final String targetPath = targetPackage.applicationInfo.getBaseCodePath();
60 final String overlayPath = overlayPackage.applicationInfo.getBaseCodePath();
92 return new File(getIdmapPath(overlayPackage.applicationInfo.getBaseCodePath())).isFile();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
H A DBackupUtilsTest.java83 packageInfo.applicationInfo = new ApplicationInfo();
84 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
106 packageInfo.applicationInfo = new ApplicationInfo();
126 packageInfo.applicationInfo = new ApplicationInfo();
143 packageInfo.applicationInfo = new ApplicationInfo();
160 packageInfo.applicationInfo = new ApplicationInfo();
176 packageInfo.applicationInfo = new ApplicationInfo();
190 packageInfo.applicationInfo = new ApplicationInfo();
210 packageInfo.applicationInfo = new ApplicationInfo();
233 packageInfo.applicationInfo
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageBuilder.java43 pkg.applicationInfo.targetSdkVersion = mTargetSdkVersion;
77 pkg.applicationInfo.targetSdkVersion);
H A DAppsQueryHelperTests.java143 p1.applicationInfo = new ApplicationInfo();
144 p1.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
154 sysApp1.serviceInfo.applicationInfo = new ApplicationInfo();
155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
160 app4.serviceInfo.applicationInfo = new ApplicationInfo();
/frameworks/base/core/java/com/android/internal/app/
H A DAssistUtils.java169 return new ComponentName(info.activityInfo.applicationInfo.packageName,
179 ApplicationInfo applicationInfo;
181 applicationInfo = context.getPackageManager().getApplicationInfo(
186 return applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp();
H A DHarmfulAppWarningActivity.java60 final ApplicationInfo applicationInfo;
62 applicationInfo = getPackageManager().getApplicationInfo(mPackageName, 0 /*flags*/);
71 p.mView = createView(applicationInfo);
81 private View createView(ApplicationInfo applicationInfo) { argument
85 .setText(applicationInfo.loadSafeLabel(getPackageManager()));
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java96 seInfoTargetSdkVersion = packageSetting.pkg.applicationInfo.targetSdkVersion;
123 * Determine the targetSdkVersion for a sharedUser and update pkg.applicationInfo.seInfo
135 if (pkg.applicationInfo.targetSdkVersion < seInfoTargetSdkVersion) {
136 seInfoTargetSdkVersion = pkg.applicationInfo.targetSdkVersion;
141 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
142 pkg.applicationInfo.targetSandboxVersion, seInfoTargetSdkVersion);
H A DPackageDexOptimizer.java117 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) == 0) {
134 if (pkg.applicationInfo.uid == -1) {
142 final long acquireTime = acquireWakeLockLI(pkg.applicationInfo.uid);
161 targetInstructionSets : getAppDexInstructionSets(pkg.applicationInfo);
165 int sharedGid = UserHandle.getSharedAppGid(pkg.applicationInfo.uid);
167 Slog.wtf(TAG, "Well this is awkward; package " + pkg.applicationInfo.name + " had UID "
168 + pkg.applicationInfo.uid, new Throwable());
176 pathsWithCode[0] = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0;
181 pkg.applicationInfo, sharedLibraries, pathsWithCode);
185 String[] splitCodePaths = pkg.applicationInfo
[all...]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
H A DInputMethodPreferenceTest.java135 resolveInfo.serviceInfo.applicationInfo = new ApplicationInfo();
136 resolveInfo.serviceInfo.applicationInfo.enabled = true;
138 resolveInfo.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
140 resolveInfo.serviceInfo.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM;
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaSessionManagerImplBase.java58 ApplicationInfo applicationInfo;
60 applicationInfo = mContext.getPackageManager().getApplicationInfo(
69 if (applicationInfo.uid != userInfo.getUid()) {

Completed in 247 milliseconds

1234567891011