/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppInfo.java | 28 public class AppInfo { 34 public AppInfo(Context context, ApplicationsState.AppEntry entry) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
UninstallDropTarget.java | 51 return componentInfo != null && (componentInfo.second & AppInfo.DOWNLOADED_FLAG) != 0; 55 * @return the component name and flags if {@param info} is an AppInfo or an app shortcut. 58 if (item instanceof AppInfo) { 59 AppInfo info = (AppInfo) item;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
BackupAppsStepFragment.java | 35 import com.android.tv.settings.device.apps.AppInfo; 174 final AppInfo appInfo = new AppInfo(getActivity(), entry); 176 .title(appInfo.getName()) 177 .description(appInfo.getSize()) 225 final AppInfo appInfo = new AppInfo(getActivity(), entry); 228 appInfo.getName())) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsState.java | 505 final String packageName, ApplicationInfo appInfo) { 508 if (appInfo == null) { 510 appInfo = mPm.getApplicationInfo(packageName, 518 appEntry = new AppEntry(this, appInfo); 586 PackageInfo appInfo = apps.get(i); 587 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, 588 appInfo.applicationInfo); 594 if (appInfo.requestedPermissions != null) { 595 for (int j=0; j<appInfo.requestedPermissions.length; j++) { 596 if (appInfo.requestedPermissionsFlags != null) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiDeviceInitializationTests.cpp | 73 const VkApplicationInfo appInfo = 84 appInfos.push_back(appInfo); 90 const VkApplicationInfo appInfo = 101 appInfos.push_back(appInfo); 107 const VkApplicationInfo appInfo = 118 appInfos.push_back(appInfo); 124 const VkApplicationInfo appInfo = 135 appInfos.push_back(appInfo); 140 const VkApplicationInfo appInfo = 151 appInfos.push_back(appInfo); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
UnsupportedDisplaySizeDialog.java | 34 ApplicationInfo appInfo) { 35 mPackageName = appInfo.packageName; 38 final CharSequence label = appInfo.loadSafeLabel(pm);
|
CompatModeDialog.java | 40 ApplicationInfo appInfo) { 48 mAppInfo = appInfo;
|
/packages/apps/TV/src/com/android/tv/menu/ |
AppLinkCardView.java | 117 ApplicationInfo appInfo = mTvInputManagerHelper.getTvInputAppInfo(mChannel.getInputId()); 128 mAppInfoView.setText(mPackageManager.getApplicationLabel(appInfo)); 133 } else if (appInfo.icon != 0) { 134 Drawable appIcon = mPackageManager.getApplicationIcon(appInfo); 143 mPackageManager.getApplicationLabel(appInfo))); 165 setCardImageWithBanner(appInfo); 262 private void setCardImageWithBanner(ApplicationInfo appInfo) { 275 if (banner == null && appInfo != null) { 276 if (appInfo.banner != 0) { 277 banner = mPackageManager.getApplicationBanner(appInfo); [all...] |
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, 99 if (appInfo.requiresSmallestWidthDp != 0 || appInfo.compatibleWidthLimitDp != 0 100 || appInfo.largestWidthLimitDp != 0) { 102 int required = appInfo.requiresSmallestWidthDp != 0 103 ? appInfo.requiresSmallestWidthDp 104 : appInfo.compatibleWidthLimitDp; 106 required = appInfo.largestWidthLimitDp; 108 int compat = appInfo.compatibleWidthLimitDp != 0 109 ? appInfo.compatibleWidthLimitDp : required [all...] |
/device/google/contexthub/firmware/misc/platform/linux/ |
linux.extra.lkr | 19 .appinfo : {
|
/frameworks/base/core/tests/coretests/res/xml/ |
metadata_app.xml | 22 appInfo="true"
|
/frameworks/base/tools/aapt2/ |
AppInfo.h | 28 struct AppInfo {
|
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
NotificationLogActivity.java | 97 ApplicationInfo appInfo; 100 appInfo = mPM.getApplicationInfo(pkg, 0); 101 pkg = mPM.getApplicationLabel(appInfo) + " (" + pkg + ")"; 102 appIcon = mPM.getApplicationIcon(appInfo);
|
/frameworks/base/core/java/android/hardware/location/ |
ContextHubService.java | 313 NanoAppInstanceInfo appInfo = new NanoAppInstanceInfo(); 315 appInfo.setAppId(appId); 316 appInfo.setAppVersion(appVersion); 317 appInfo.setName(PRE_LOADED_APP_NAME); 318 appInfo.setContexthubId(hubHandle); 319 appInfo.setHandle(appInstanceHandle); 320 appInfo.setPublisher(PRE_LOADED_APP_PUBLISHER); 321 appInfo.setNeededExecMemBytes(PRE_LOADED_APP_MEM_REQ); 322 appInfo.setNeededReadMemBytes(PRE_LOADED_APP_MEM_REQ); 323 appInfo.setNeededWriteMemBytes(PRE_LOADED_APP_MEM_REQ) [all...] |
/frameworks/support/compat/kitkat/android/support/v4/app/ |
NotificationManagerCompatKitKat.java | 32 ApplicationInfo appInfo = context.getApplicationInfo(); 34 int uid = appInfo.uid;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 64 private Map <BluetoothHealthAppConfiguration, AppInfo> mApps; 90 AppInfo>()); 116 Iterator <Map.Entry<BluetoothHealthAppConfiguration,AppInfo>>it 119 Map.Entry<BluetoothHealthAppConfiguration,AppInfo> entry = it.next(); 120 AppInfo appInfo = entry.getValue(); 121 if (appInfo != null) 122 appInfo.cleanup(); 159 AppInfo appInfo = mApps.get(appConfig) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
UninstallerActivity.java | 59 final CharSequence appLabel = dialogInfo.appInfo.loadLabel(pm); 76 ((dialogInfo.appInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0); 97 dialogBuilder.setIcon(dialogInfo.appInfo.loadIcon(pm)); 155 ApplicationInfo appInfo; 199 mDialogInfo.appInfo = pm.getApplicationInfo(mPackageName, 205 if (mDialogInfo.appInfo == null) { 249 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 115 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 117 appInfo.uid, 0); 190 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 193 CharSequence appText = mPackageManager.getText(PACKAGE_NAME, discriptionRes, appInfo); 207 assertEquals(appLabel, mPackageManager.getApplicationLabel(appInfo)); 208 assertEquals(PACKAGE_NAME, appInfo.processName); 223 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); 224 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); 414 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 415 assertNotNull(mPackageManager.getDrawable(PACKAGE_NAME, iconRes, appInfo)); [all...] |
ProviderInfoTest.java | 43 ApplicationInfo appInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); 44 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextWrapper.java | 102 ApplicationInfo appInfo = new ApplicationInfo(); 103 appInfo.name = appName; 104 appInfo.packageName = packageName; 105 appInfo.processName = packageName; 106 return appInfo;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
Partner.java | 121 final ApplicationInfo appInfo = info.activityInfo.applicationInfo; 122 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 124 final Resources res = pm.getResourcesForApplication(appInfo); 125 sPartner = new Partner(appInfo.packageName, res); 128 Log.w(TAG, "Failed to find resources for " + appInfo.packageName);
|
/frameworks/base/core/java/com/android/internal/app/ |
ConfirmUserCreationActivity.java | 90 final ApplicationInfo appInfo; 92 appInfo = getPackageManager().getApplicationInfo(callingPackage, 0); 109 final String appName = appInfo.loadLabel(getPackageManager()).toString();
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AndroidPackageInfoFetcher.java | 77 ApplicationInfo appInfo = packageInfo.applicationInfo; 78 if (appInfo.metaData == null) { 81 int tokenResourceId = appInfo.metaData.getInt(ASSOCIATED_ASSETS_KEY);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/service/ |
RuntimePermissionPresenterServiceImpl.java | 77 ApplicationInfo appInfo = appInfos.get(i); 78 final String packageName = appInfo.packageName; 101 appsResult.add(appInfo);
|
/frameworks/base/core/java/android/content/pm/ |
EphemeralApplicationInfo.java | 39 public EphemeralApplicationInfo(ApplicationInfo appInfo, 41 mApplicationInfo = appInfo;
|