/external/skia/bench/ |
SortBench.cpp | 78 const int ai = *(const int*)a; local 80 return ai < bi ? -1 : (ai > bi);
|
/frameworks/base/core/java/android/content/pm/ |
ComponentInfo.java | 96 ApplicationInfo ai = applicationInfo; local 99 label = pm.getText(packageName, labelRes, ai); 104 if (ai.nonLocalizedLabel != null) { 105 return ai.nonLocalizedLabel; 107 if (ai.labelRes != 0) { 108 label = pm.getText(packageName, ai.labelRes, ai);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( local 103 checkMetaData(cn, ai); 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); 107 assertNull("Meta data returned when not requested", ai.metaData); 113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( local 116 checkMetaData(cn, ai); 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); 120 assertNull("Meta data returned when not requested", ai.metaData);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
DeviceInfoUtils.java | 142 ApplicationInfo ai = local 144 if ((ai.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestBase.java | 70 protected void markPackageAsInstalled(String packageName, ApplicationInfo ai, int userId) 77 if (ai != null) { 78 pi.applicationInfo = ai; 117 final ApplicationInfo ai = DpmTestUtils.cloneParcelable( local 122 ai.enabledSetting = enabledSetting == null 126 ai.targetSdkVersion = appTargetSdk; 128 ai.uid = packageUid; 129 ai.packageName = admin.getPackageName(); 130 ai.name = admin.getClassName(); 132 doReturn(ai).when(mMockContext.ipackageManager).getApplicationInfo 165 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid)); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest5.java | 91 ApplicationInfo ai = mShortcutService.getApplicationInfo( local 93 assertEquals(mMyPackage, ai.packageName); 95 ai = mShortcutService.getApplicationInfo( 97 assertNull(ai); 102 ActivityInfo ai = mShortcutService.getActivityInfoWithMetadata( local 104 assertNull(ai); 107 ai = mShortcutService.getActivityInfoWithMetadata( 109 assertNull(ai); 112 ai = mShortcutService.getActivityInfoWithMetadata( 114 assertEquals(mMyPackage, ai.packageName) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
AllowBindAppWidgetActivity.java | 105 ApplicationInfo ai = pm.getApplicationInfo(mCallingPackage, 0); local 106 label = pm.getApplicationLabel(ai);
|
AppPicker.java | 100 ApplicationInfo ai = pkgs.get(i); local 101 if (ai.uid == Process.SYSTEM_UID) { 110 if ((ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0 120 PackageInfo pi = getPackageManager().getPackageInfo(ai.packageName, 140 info.info = ai;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 47 ApplicationInfo ai; local 51 ai = pm.getApplicationInfo(mApp, 0); 52 mApp = (String)pm.getApplicationLabel(ai);
|
/external/javassist/src/main/javassist/bytecode/ |
CodeAttribute.java | 89 AttributeInfo ai = (AttributeInfo)src_attr.get(i); local 90 attributes.add(ai.copy(cp, classnames));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 167 ActionKeyInfo ai = si.findActionKey(KeyEvent.KEYCODE_CALL); local 168 if (ai != null) { 169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); 171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); 172 boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); 173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) && 174 (ai.getSuggestActionMsgColumn().length() > 0);
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkerFactory.java | 989 StepPattern ai = null; local 1168 AxesWalker ai = null; local [all...] |
/bionic/libc/dns/resolv/ |
res_init.c | 353 struct addrinfo hints, *ai; local 368 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 && 369 ai->ai_addrlen <= minsiz) { 372 ai->ai_addr, ai->ai_addrlen); 374 if (ai->ai_addrlen <= 377 ai->ai_addr, ai->ai_addrlen); 380 freeaddrinfo(ai);
|
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 100 ActivityInfo ai = null; local 104 ai = mContext.getPackageManager().getActivityInfo(mComponentName, 106 parser = ai.loadXmlMetaData(mContext.getPackageManager(), 432 ActivityInfo ai = null; local 436 ai = mContext.getPackageManager().getActivityInfo(mComponentName, 438 parser = ai.loadXmlMetaData(mContext.getPackageManager(),
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
MyBaseListFragment.java | 113 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); local 114 return pm.getApplicationLabel(ai).toString();
|
/external/avahi/avahi-core/ |
iface.c | 854 AvahiInterfaceAddress *ai; local 859 for (ai = i->addresses; ai; ai = ai->address_next) 860 if (avahi_address_cmp(a, &ai->address) == 0)
|
/external/bison/src/ |
AnnotationList.c | 580 AnnotationIndex ai; local 581 for (a = self, ai = 0; a; a = a->next, ++ai) 589 ai, a->inadequacyNode->manifestingState->number); [all...] |
/external/boringssl/src/crypto/x509/ |
x509_cmp.c | 74 X509_CINF *ai,*bi; local 76 ai=a->cert_info; 78 i=M_ASN1_INTEGER_cmp(ai->serialNumber,bi->serialNumber); 80 return(X509_NAME_cmp(ai->issuer,bi->issuer));
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p3-0x.cpp | 26 int ai[] = { 1, 2.0 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{silence}} member in namespace:bullet1
|
/external/clang/test/CodeGenCXX/ |
dynamic-cast-hint.cpp | 36 volatile I *ai = dynamic_cast<I *>(a); local
|
/external/clang/test/SemaCXX/ |
cxx1y-variable-templates_in_class.cpp | 338 A<int> ai; // expected-note {{in instantiation of}} local
|
/external/curl/lib/ |
asyn-ares.c | 428 Curl_addrinfo *ai) 431 if(!ai) 433 ai_tail = ai; 440 res->temp_ai = ai; 471 Curl_addrinfo *ai = Curl_he2ai(hostent, conn->async.port); local 472 if(ai) { 473 compound_results(res, ai);
|
curl_addrinfo.c | 112 const struct addrinfo *ai; local 128 for(ai = aihead; ai != NULL; ai = ai->ai_next) { 132 if(ai->ai_family == AF_INET) 135 else if(ai->ai_family == AF_INET6) 142 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) 146 if((size_t)ai->ai_addrlen < ss_size 267 Curl_addrinfo *ai; local 384 Curl_addrinfo *ai; local 481 Curl_addrinfo *ai; local [all...] |
/external/ltrace/testsuite/ltrace.main/ |
parameters.c | 55 int *ai; local 91 ai = (int*) calloc(sizeof(int), 8); 93 ai[x] = 10 + x; 94 func_arrayi(ai, 8); 95 func_arrayi(ai, 2);
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfWav.cpp | 84 int ai = ls + (hi & 1) + (hi >> 1); local 86 short as = ai; 87 short bs = ai - hi;
|