Lines Matching refs:pm
32 import android.content.pm.ApplicationInfo;
33 import android.content.pm.PackageInfo;
34 import android.content.pm.PackageItemInfo;
35 import android.content.pm.PackageManager;
36 import android.content.pm.ServiceInfo;
190 void ensureLabel(PackageManager pm) { in ensureLabel() argument
196 ApplicationInfo ai = pm.getApplicationInfo(mProcessName, 0); in ensureLabel()
198 mDisplayLabel = ai.loadLabel(pm); in ensureLabel()
208 String[] pkgs = pm.getPackagesForUid(mUid); in ensureLabel()
213 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], 0); in ensureLabel()
214 mDisplayLabel = ai.loadLabel(pm); in ensureLabel()
226 PackageInfo pi = pm.getPackageInfo(name, 0); in ensureLabel()
228 CharSequence nm = pm.getText(name, in ensureLabel()
246 mDisplayLabel = mPackageInfo.loadLabel(pm); in ensureLabel()
253 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], 0); in ensureLabel()
254 mDisplayLabel = ai.loadLabel(pm); in ensureLabel()
264 final PackageManager pm = context.getPackageManager(); in updateService() local
273 si.mServiceInfo = pm.getServiceInfo(service.service, 0); in updateService()
278 si.mDisplayLabel = si.mServiceInfo.loadLabel(pm); in updateService()
304 Resources clientr = pm.getResourcesForApplication(service.clientPackage); in updateService()
339 boolean buildDependencyChain(Context context, PackageManager pm, int curSeq) { in buildDependencyChain() argument
349 proc.ensureLabel(pm); in buildDependencyChain()
350 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
397 final PackageManager pm = context.getPackageManager(); in update() local
510 changed |= proc.buildDependencyChain(context, pm, mSequence); in update()
521 pi.ensureLabel(pm); in update()