/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
VendorPolicyLoader.java | 132 ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName, 0); local 133 return (ai.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/ |
UtilsTest.java | 299 ApplicationInfo ai = new ApplicationInfo(); local 300 ai.packageName = packageName; 302 ai.flags = ApplicationInfo.FLAG_SYSTEM; 304 return ai;
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
DeleteNonRequiredAppsTaskTest.java | 469 ActivityInfo ai = new ActivityInfo(); local 470 ai.packageName = packageName; 472 ri.activityInfo = ai;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.java | 192 ApplicationInfo ai = pm.getApplicationInfo(subProc.mPackage, 0); local 193 if (ai.icon == 0) { 198 if ((ai.flags&ApplicationInfo.FLAG_PERSISTENT) != 0) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryEntry.java | 259 final ApplicationInfo ai = ipm.getApplicationInfo(packageLabels[i], local 261 if (ai == null) { 266 CharSequence label = ai.loadLabel(pm); 270 if (ai.icon != 0) { 272 icon = ai.loadIcon(pm);
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 134 PendingIntent ai = UpdateService.getPendingIntent(context, update + 1, id, when); local 143 .addAction(R.drawable.ic_media_next, context.getString(R.string.sms_reply), ai) 279 PendingIntent ai = ToastService.getPendingIntent(this, R.string.picture_add_click); local 288 .addAction(R.drawable.add, getString(R.string.picture_add), ai)
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipSettings.java | 116 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgs[0], 0); local 117 return ai.loadLabel(mPackageManager).toString();
|
/external/bison/src/ |
ielr.c | 711 AnnotationIndex ai; local 714 for (ai = 0, a = annotation_lists[lr0_isocore->state->number]; 716 ++ai, a = a->next) 717 work1[ai] = 728 for (ai = 0, a = annotation_lists[lr0_isocore->state->number]; 730 ++ai, a = a->next) 732 if (work1[ai] != ContributionIndex__none) 743 if (ci != ContributionIndex__none && work1[ai] != ci) [all...] |
/external/curl/lib/ |
connect.c | 165 const Curl_addrinfo *ai, /* start connecting to this */ 555 Curl_addrinfo *ai = NULL; local 561 ai = conn->tempaddr[tempindex]->ai_next; 568 ai = conn->tempaddr[0]->ai_next; 572 while(ai) { 575 while(ai && ai->ai_family != family) 576 ai = ai->ai_next; 579 if(ai) { [all...] |
/external/eigen/Eigen/src/Core/arch/AltiVec/ |
PacketMath.h | 157 int EIGEN_ALIGN16 ai[4]; local 158 ai[0] = from; 159 Packet4i vc = vec_ld(0, ai);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
CollectionUtilities.java | 266 Iterator ai = aa.iterator(); local 268 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 0 273 if (!ai.hasNext()) return false; 274 ao = (Comparable) ai.next(); 283 Iterator ai = aa.iterator(); local 285 Object ao = ai.next(); // these are ok, since the sizes are != 0 290 if (!ai.hasNext()) return false; 291 ao = ai.next(); 319 Iterator ai = aa.iterator(); local 321 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 338 Iterator ai = aa.iterator(); local [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
CollectionUtilities.java | 265 Iterator ai = aa.iterator(); local 267 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 0 272 if (!ai.hasNext()) return false; 273 ao = (Comparable) ai.next(); 282 Iterator ai = aa.iterator(); local 284 Object ao = ai.next(); // these are ok, since the sizes are != 0 289 if (!ai.hasNext()) return false; 290 ao = ai.next(); 318 Iterator ai = aa.iterator(); local 320 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 337 Iterator ai = aa.iterator(); local [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
ReportAPI.java | 143 Iterator<APIInfo> ai = added.iterator(); local 152 while ((a != null || ai.hasNext()) && (r != null || ri.hasNext())) { 153 if (a == null) a = ai.next(); 212 ai = changedAdded.iterator(); 215 while ((a != null || ai.hasNext()) && (r != null || ri.hasNext())) { 216 if (a == null) a = ai.next();
|
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 218 #define GET_AI(ai, afd, addr) \ 221 (ai) = get_ai(pai, (afd), (addr)); \ 222 if ((ai) == NULL) { \ 228 #define GET_PORT(ai, serv) \ 231 error = get_port((ai), (serv), 0); \ 236 #define GET_CANONNAME(ai, str) \ 239 error = get_canonname(pai, (ai), (str)); \ 268 freeaddrinfo(ai) 269 struct addrinfo *ai; 274 next = ai->ai_next 304 struct addrinfo ai; local 1001 struct addrinfo *ai; local [all...] |
/external/llvm/lib/Transforms/Utils/ |
PromoteMemoryToRegister.cpp | 51 bool llvm::isAllocaPromotable(const AllocaInst *AI) { 54 unsigned AS = AI->getType()->getAddressSpace(); 57 for (const User *U : AI->users()) { 64 if (SI->getOperand(0) == AI) 65 return false; // Don't allow a store OF the AI, only INTO the AI. 119 void AnalyzeAlloca(AllocaInst *AI) { 125 for (auto UI = AI->user_begin(), E = AI->user_end(); UI != E;) { 149 DbgDeclare = FindAllocaDbgDeclare(AI); 952 DenseMap<AllocaInst *, unsigned>::iterator ai = AllocaLookup.find(Dest); local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_math.h | 287 int ai, bi; local 292 u.f = (float) af; ai = u.i; 294 return (ai - bi) >> 1;
|
/external/netperf/src/ |
netsh.c | 1099 struct addrinfo *ai; 1101 ai = resolve_host(host_name, NULL, address_family); 1102 if (!ai) { 1106 address_family = ai->ai_family; 1107 freeaddrinfo(ai); 1096 struct addrinfo *ai; local [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
server.c | 450 AddrInfo ai; local 451 ai.tag = Addr_Undescribed; 452 VG_(describe_addr) (address, &ai); 453 VG_(pp_addrinfo) (address, &ai); 454 VG_(clear_addrinfo) (&ai); [all...] |
/frameworks/base/core/java/android/app/ |
NativeActivity.java | 134 ActivityInfo ai; local 152 ai = getPackageManager().getActivityInfo( 154 if (ai.metaData != null) { 155 String ln = ai.metaData.getString(META_DATA_LIB_NAME); 157 ln = ai.metaData.getString(META_DATA_FUNC_NAME);
|
/frameworks/base/core/java/android/webkit/ |
WebViewFactory.java | 128 public static String getWebViewLibrary(ApplicationInfo ai) { 129 if (ai.metaData != null) 130 return ai.metaData.getString("com.android.webview.WebViewLibrary"); 500 ApplicationInfo ai = packageInfo.applicationInfo; local 501 final String NATIVE_LIB_FILE_NAME = getWebViewLibrary(ai); 505 boolean primaryArchIs64bit = VMRuntime.is64BitAbi(ai.primaryCpuAbi); 506 if (!TextUtils.isEmpty(ai.secondaryCpuAbi)) { 510 path64 = ai.nativeLibraryDir; 511 path32 = ai.secondaryNativeLibraryDir; 514 path64 = ai.secondaryNativeLibraryDir [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
Icon.java | 301 ApplicationInfo ai = pm.getApplicationInfo( local 303 if (ai != null) { 304 mObj1 = pm.getResourcesForApplication(ai);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
MediaSessions.java | 189 final ApplicationInfo ai = pm.getApplicationInfo(pkg, 0); local 190 final String appLabel = Objects.toString(ai.loadLabel(pm), "").trim();
|
VolumeUI.java | 119 final ApplicationInfo ai = mContext.getPackageManager().getApplicationInfo(pkg, 0); local 120 final String rt = mContext.getPackageManager().getApplicationLabel(ai).toString();
|
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 171 ApplicationInfo ai = null; local 173 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); 176 if (ai == null) { 179 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); 199 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { 200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, 202 (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0); 203 //Slog.i(TAG, "*********** COMPAT FOR PKG " + ai.packageName + ": " + ci); 207 public int computeCompatModeLocked(ApplicationInfo ai) { 208 boolean enabled = (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0 290 ApplicationInfo ai = null; local 302 ApplicationInfo ai = null; local 421 ApplicationInfo ai = null; local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 395 final ActivityInfo ai; local 397 ai = iPackageManager.getReceiverInfo(activeAdmin, 405 final DeviceAdminInfo deviceAdminInfo = createDeviceAdminInfo(ai); 424 * @param ai ActivityInfo for the admin component. 427 private DeviceAdminInfo createDeviceAdminInfo(ActivityInfo ai) { 429 return new DeviceAdminInfo(getActivity(), ai); 431 Log.w(TAG, "Skipping " + ai, e);
|