Home
last modified time | relevance | path

Searched refs:appInfo (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument
99 if (appInfo.requiresSmallestWidthDp != 0 || appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo()
100 || appInfo.largestWidthLimitDp != 0) { in CompatibilityInfo()
102 int required = appInfo.requiresSmallestWidthDp != 0 in CompatibilityInfo()
103 ? appInfo.requiresSmallestWidthDp in CompatibilityInfo()
104 : appInfo.compatibleWidthLimitDp; in CompatibilityInfo()
106 required = appInfo.largestWidthLimitDp; in CompatibilityInfo()
108 int compat = appInfo.compatibleWidthLimitDp != 0 in CompatibilityInfo()
109 ? appInfo.compatibleWidthLimitDp : required; in CompatibilityInfo()
113 int largest = appInfo.largestWidthLimitDp; in CompatibilityInfo()
[all …]
/frameworks/base/services/java/com/android/server/am/
DBackupRecord.java33 final ApplicationInfo appInfo; // information about BackupAgent's app field in BackupRecord
42 appInfo = _appInfo; in BackupRecord()
53 .append(' ').append(appInfo.packageName) in toString()
54 .append(' ').append(appInfo.name) in toString()
55 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
DContentProviderRecord.java32 final ApplicationInfo appInfo; field in ContentProviderRecord
42 appInfo = ai; in ContentProviderRecord()
50 appInfo = cpr.appInfo; in ContentProviderRecord()
DCompatModeDialog.java40 ApplicationInfo appInfo) { in CompatModeDialog() argument
48 mAppInfo = appInfo; in CompatModeDialog()
DServiceRecord.java61 final ApplicationInfo appInfo; field in ServiceRecord
281 appInfo = sInfo.applicationInfo; in ServiceRecord()
343 final int appUid = appInfo.uid; in postNotification()
DActivityManagerService.java3513 if (app.info.uid == sr.appInfo.uid in processStartTimedOutLocked()
3661 ApplicationInfo appInfo = app.instrumentationInfo != null in attachApplicationLocked() local
3663 app.compat = compatibilityInfoForPackageLocked(appInfo); in attachApplicationLocked()
3667 thread.bindApplication(processName, appInfo, providers, in attachApplicationLocked()
3721 if (app.info.uid != sr.appInfo.uid in attachApplicationLocked()
3759 if (!badApp && mBackupTarget != null && mBackupTarget.appInfo.uid == app.info.uid) { in attachApplicationLocked()
3761 ensurePackageDexOpt(mBackupTarget.appInfo.packageName); in attachApplicationLocked()
3763 thread.scheduleCreateBackupAgent(mBackupTarget.appInfo, in attachApplicationLocked()
3764 compatibilityInfoForPackageLocked(mBackupTarget.appInfo), in attachApplicationLocked()
5816 + " pruid " + cpr.appInfo.uid + "): " + cpr.info.name, e); in getContentProviderImpl()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java220 ApplicationInfo appInfo = getApplicationInfo(); in onFullBackup() local
222 String rootDir = new File(appInfo.dataDir).getCanonicalPath(); in onFullBackup()
227 String libDir = (appInfo.nativeLibraryDir != null) in onFullBackup()
228 ? new File(appInfo.nativeLibraryDir).getCanonicalPath() in onFullBackup()
279 ApplicationInfo appInfo = getApplicationInfo(); in fullBackupFile() local
282 mainDir = new File(appInfo.dataDir).getCanonicalPath(); in fullBackupFile()
287 libDir = (appInfo.nativeLibraryDir == null) in fullBackupFile()
289 : new File(appInfo.nativeLibraryDir).getCanonicalPath(); in fullBackupFile()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java565 ApplicationInfo appInfo) { in getDrawable() argument
571 if (appInfo == null) { in getDrawable()
573 appInfo = getApplicationInfo(packageName, 0); in getDrawable()
579 Resources r = getResourcesForApplication(appInfo); in getDrawable()
597 + appInfo.packageName); in getDrawable()
600 + appInfo.packageName + ": " + e.getMessage()); in getDrawable()
872 ApplicationInfo appInfo) { in getText() argument
878 if (appInfo == null) { in getText()
880 appInfo = getApplicationInfo(packageName, 0); in getText()
886 Resources r = getResourcesForApplication(appInfo); in getText()
[all …]
DActivityThread.java319 ApplicationInfo appInfo; field in ActivityThread.CreateBackupAgentData
323 return "CreateBackupAgentData{appInfo=" + appInfo in toString()
324 + " backupAgent=" + appInfo.backupAgentName in toString()
365 ApplicationInfo appInfo; field in ActivityThread.AppBindData
382 return "AppBindData{appInfo=" + appInfo + "}"; in toString()
604 d.appInfo = app; in scheduleCreateBackupAgent()
614 d.appInfo = app; in scheduleDestroyBackupAgent()
665 ApplicationInfo appInfo, List<ProviderInfo> providers, in bindApplication() argument
682 data.appInfo = appInfo; in bindApplication()
1543 + "/" + mBoundApplication.appInfo.uid); in getPackageInfo()
[all …]
DApplicationThreadNative.java407 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); in onTransact() local
410 scheduleCreateBackupAgent(appInfo, compatInfo, backupMode); in onTransact()
417 ApplicationInfo appInfo = ApplicationInfo.CREATOR.createFromParcel(data); in onTransact() local
419 scheduleDestroyBackupAgent(appInfo, compatInfo); in onTransact()
DIActivityManager.java181 public boolean bindBackupAgent(ApplicationInfo appInfo, int backupRestoreMode) in bindBackupAgent() argument
184 public void unbindBackupAgent(ApplicationInfo appInfo) throws RemoteException; in unbindBackupAgent() argument
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java130 Context context, String packageName, ApplicationInfo appInfo) { in getDisplayName() argument
137 packageName, mSubtypeNameResId, appInfo); in getDisplayName()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java249 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() argument
300 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() argument
306 ApplicationInfo appInfo) { in getXml() argument
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java140 ApplicationInfo appInfo; in getPaddingForWidget() local
143 appInfo = packageManager.getApplicationInfo(component.getPackageName(), 0); in getPaddingForWidget()
149 if (appInfo.targetSdkVersion >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getPaddingForWidget()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java140 final ApplicationInfo appInfo = info.applicationInfo; in isSystemEngine() local
141 return appInfo != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemEngine()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java180 Context context, String packageName, ApplicationInfo appInfo) { in getDisplayName() argument
187 packageName, mSubtypeNameResId, appInfo); in getDisplayName()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java1837 ApplicationInfo appInfo); in getDrawable() argument
2008 ApplicationInfo appInfo); in getText() argument
2027 ApplicationInfo appInfo); in getXml() argument
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml() argument
381 return mRealPackageManager.getXml(packageName, resid, appInfo); in getXml()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java389 ApplicationInfo appInfo = pm.getApplicationInfo(DOWNLOAD_MANAGER_PKG_NAME, in downloadManagerUid() local
391 return appInfo.uid; in downloadManagerUid()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java720 ApplicationInfo appInfo = getPm().getApplicationInfo(mContext.getPackageName(), 0); in getDataDir() local
721 return new File(appInfo.dataDir); in getDataDir()
DPackageManagerTests.java574 ApplicationInfo appInfo = pm.getApplicationInfo(pkg.packageName, in installFromRawResource() local
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java174 ApplicationInfo appInfo = context.getApplicationInfo(); in ActionBarView() local
191 mLogo = appInfo.loadLogo(pm); in ActionBarView()
205 mIcon = appInfo.loadIcon(pm); in ActionBarView()