Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/docs/html/distribute/tools/promote/
Dbadge-files.jd12 <p>The following links provide the Adobe&reg; Illustrator&reg; (.ai) file for the
22 <a href="{@docRoot}downloads/brand/v2/english_get.ai">English (English)</a><br/>
24 <a href="{@docRoot}downloads/brand/af_generic_rgb_wo.ai">Afrikaans (Afrikaans)</a><br/>
26 <a href="{@docRoot}downloads/brand/v2/amharic_get.ai">ኣማርኛ (Amharic)</a><br/>
29 <a href="{@docRoot}downloads/brand/ar_generic_rgb_wo.ai">العربية (Arabic)</a><br/>
31 <a href="{@docRoot}downloads/brand/v2/belarusian_get.ai">Беларуская (Belarusian)</a><br/>
33 <a href="{@docRoot}downloads/brand/v2/bulgarian_get.ai">български (Bulgarian)</a><br/>
35 <a href="{@docRoot}downloads/brand/v2/catalan_get.ai">Català (Catalan)</a><br/>
37 <a href="{@docRoot}downloads/brand/v2/traditional_chinese_get.ai">中文 (中国) (Chinese)</a><br/>
39 … <a href="{@docRoot}downloads/brand/v2/hongkong_chinese_get.ai">中文(香港) (Chinese Hong Kong)</a><br/>
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java147 ApplicationInfo ai = null; in handlePackageAddedLocked() local
149 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
152 if (ai == null) { in handlePackageAddedLocked()
155 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
171 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() argument
172 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
174 (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0); in compatibilityInfoForPackageLocked()
179 public int computeCompatModeLocked(ApplicationInfo ai) { in computeCompatModeLocked() argument
180 boolean enabled = (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0; in computeCompatModeLocked()
181 CompatibilityInfo info = new CompatibilityInfo(ai, in computeCompatModeLocked()
[all …]
DContentProviderRecord.java58 ApplicationInfo ai, ComponentName _name, boolean _singleton) { in ContentProviderRecord() argument
61 uid = ai.uid; in ContentProviderRecord()
62 appInfo = ai; in ContentProviderRecord()
/frameworks/base/core/java/android/content/pm/
DComponentInfo.java82 ApplicationInfo ai = applicationInfo; in loadLabel() local
85 label = pm.getText(packageName, labelRes, ai); in loadLabel()
90 if (ai.nonLocalizedLabel != null) { in loadLabel()
91 return ai.nonLocalizedLabel; in loadLabel()
93 if (ai.labelRes != 0) { in loadLabel()
94 label = pm.getText(packageName, ai.labelRes, ai); in loadLabel()
DPackageParser.java2389 final ApplicationInfo ai = owner.applicationInfo; in parseBaseApplication() local
2398 ai.className = buildClassName(pkgName, name, outError); in parseBaseApplication()
2399 if (ai.className == null) { in parseBaseApplication()
2410 ai.manageSpaceActivityName = buildClassName(pkgName, manageSpaceActivity, in parseBaseApplication()
2417 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseBaseApplication()
2425 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseBaseApplication()
2427 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseBaseApplication()
2434 ai.flags |= ApplicationInfo.FLAG_KILL_AFTER_RESTORE; in parseBaseApplication()
2439 ai.flags |= ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in parseBaseApplication()
2444 ai.flags |= ApplicationInfo.FLAG_FULL_BACKUP_ONLY; in parseBaseApplication()
[all …]
DResolveInfo.java176 ApplicationInfo ai = ci.applicationInfo; in loadLabel() local
178 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
210 ApplicationInfo ai = ci.applicationInfo; in loadIcon() local
212 dr = pm.getDrawable(ci.packageName, icon, ai); in loadIcon()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java130 ActivityInfo ai = null; in getSearchableInfo() local
132 ai = mPm.getActivityInfo(activity, PackageManager.GET_META_DATA, mUserId); in getSearchableInfo()
140 Bundle md = ai.metaData; in getSearchableInfo()
146 md = ai.applicationInfo.metaData; in getSearchableInfo()
234 ActivityInfo ai = info.activityInfo; in buildSearchableList() local
236 if (newSearchablesMap.get(new ComponentName(ai.packageName, ai.name)) == null) { in buildSearchableList()
237 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai, in buildSearchableList()
369 ActivityInfo ai = providerList.get(0).activityInfo; in getDefaultGlobalSearchProvider() local
370 return new ComponentName(ai.packageName, ai.name); in getDefaultGlobalSearchProvider()
397 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity() local
[all …]
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java102 ApplicationInfo ai = null; in KeyphraseEnrollmentInfo() local
105 ai = pm.getApplicationInfo( in KeyphraseEnrollmentInfo()
107 if ((ai.flags & ApplicationInfo.FLAG_PRIVILEGED) == 0) { in KeyphraseEnrollmentInfo()
110 Slog.w(TAG, ai.packageName + "is not a privileged system app"); in KeyphraseEnrollmentInfo()
113 if (!Manifest.permission.MANAGE_VOICE_KEYPHRASES.equals(ai.permission)) { in KeyphraseEnrollmentInfo()
116 Slog.w(TAG, ai.packageName + " does not require MANAGE_VOICE_KEYPHRASES"); in KeyphraseEnrollmentInfo()
119 mEnrollmentPackage = ai.packageName; in KeyphraseEnrollmentInfo()
135 parser = ai.loadXmlMetaData(pm, VOICE_KEYPHRASE_META_DATA); in KeyphraseEnrollmentInfo()
138 + ai.packageName; in KeyphraseEnrollmentInfo()
142 Resources res = pm.getResourcesForApplication(ai); in KeyphraseEnrollmentInfo()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( in testActivityWithData() local
103 checkMetaData(cn, ai); in testActivityWithData()
105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); in testActivityWithData()
107 assertNull("Meta data returned when not requested", ai.metaData); in testActivityWithData()
113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( in testReceiverWithData() local
116 checkMetaData(cn, ai); in testReceiverWithData()
118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); in testReceiverWithData()
120 assertNull("Meta data returned when not requested", ai.metaData); in testReceiverWithData()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java167 ActionKeyInfo ai = si.findActionKey(KeyEvent.KEYCODE_CALL); in checkSearchable() local
168 if (ai != null) { in checkSearchable()
169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); in checkSearchable()
171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); in checkSearchable()
172 … boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); in checkSearchable()
173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) && in checkSearchable()
174 (ai.getSuggestActionMsgColumn().length() > 0); in checkSearchable()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java269 ApplicationInfo ai = pm.getApplicationInfo(getWebViewPackageName(), 0); in getWebViewNativeLibraryPaths() local
273 boolean primaryArchIs64bit = VMRuntime.is64BitAbi(ai.primaryCpuAbi); in getWebViewNativeLibraryPaths()
274 if (!TextUtils.isEmpty(ai.secondaryCpuAbi)) { in getWebViewNativeLibraryPaths()
278 path64 = ai.nativeLibraryDir; in getWebViewNativeLibraryPaths()
279 path32 = ai.secondaryNativeLibraryDir; in getWebViewNativeLibraryPaths()
282 path64 = ai.secondaryNativeLibraryDir; in getWebViewNativeLibraryPaths()
283 path32 = ai.nativeLibraryDir; in getWebViewNativeLibraryPaths()
287 path64 = ai.nativeLibraryDir; in getWebViewNativeLibraryPaths()
291 path32 = ai.nativeLibraryDir; in getWebViewNativeLibraryPaths()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dinstance.rs4 rs_allocation ai;
8 rsSetElementAt_int(ai, i, 0);
/frameworks/base/core/java/android/app/
DNativeActivity.java131 ActivityInfo ai; in onCreate() local
149 ai = getPackageManager().getActivityInfo( in onCreate()
151 if (ai.metaData != null) { in onCreate()
152 String ln = ai.metaData.getString(META_DATA_LIB_NAME); in onCreate()
154 ln = ai.metaData.getString(META_DATA_FUNC_NAME); in onCreate()
163 File libraryFile = new File(ai.applicationInfo.nativeLibraryDir, in onCreate()
DAliasActivity.java58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate() local
60 parser = ai.loadXmlMetaData(getPackageManager(), in onCreate()
DApplicationPackageManager.java269 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo() local
270 if (ai != null) { in getApplicationInfo()
274 maybeAdjustApplicationInfo(ai); in getApplicationInfo()
275 return ai; in getApplicationInfo()
306 ActivityInfo ai = mPM.getActivityInfo(className, flags, mContext.getUserId()); in getActivityInfo() local
307 if (ai != null) { in getActivityInfo()
308 return ai; in getActivityInfo()
321 ActivityInfo ai = mPM.getReceiverInfo(className, flags, mContext.getUserId()); in getReceiverInfo() local
322 if (ai != null) { in getReceiverInfo()
323 return ai; in getReceiverInfo()
[all …]
DInstrumentation.java380 ActivityInfo ai = intent.resolveActivityInfo( in startActivitySync() local
382 if (ai == null) { in startActivitySync()
386 if (!ai.processName.equals(myProc)) { in startActivitySync()
391 + ai.processName + ": " + intent); in startActivitySync()
395 ai.applicationInfo.packageName, ai.name)); in startActivitySync()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodTest.java200 final ApplicationInfo ai = new ApplicationInfo(); in createDummyInputMethodInfo() local
201 ai.packageName = packageName; in createDummyInputMethodInfo()
202 ai.enabled = true; in createDummyInputMethodInfo()
203 ai.flags |= ApplicationInfo.FLAG_SYSTEM; in createDummyInputMethodInfo()
204 si.applicationInfo = ai; in createDummyInputMethodInfo()
DInputMethodSubtypeSwitchingControllerTest.java59 final ApplicationInfo ai = new ApplicationInfo(); in addDummyImeSubtypeListItems() local
60 ai.packageName = DUMMY_PACKAGE_NAME; in addDummyImeSubtypeListItems()
61 ai.enabled = true; in addDummyImeSubtypeListItems()
62 si.applicationInfo = ai; in addDummyImeSubtypeListItems()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java249 ActivityInfo ai = receiver.activityInfo; in DeviceAdminInfo() local
255 parser = ai.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA); in DeviceAdminInfo()
261 Resources res = pm.getResourcesForApplication(ai.applicationInfo); in DeviceAdminInfo()
311 "Unable to create context for: " + ai.packageName); in DeviceAdminInfo()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java299 ApplicationInfo ai = new ApplicationInfo(); in buildDummyResolveInfo() local
300 ai.packageName = packageName; in buildDummyResolveInfo()
301 ai.enabled = true; in buildDummyResolveInfo()
302 si.applicationInfo = ai; in buildDummyResolveInfo()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java764 ActivityInfo ai = currentResolveList.get(i).activityInfo; in rebuildList() local
766 ai.permission, mLaunchedFromUid, in rebuildList()
767 ai.applicationInfo.uid, ai.exported); in rebuildList()
814 ActivityInfo ai = ii.resolveActivityInfo( in rebuildList() local
816 if (ai == null) { in rebuildList()
821 ri.activityInfo = ai; in rebuildList()
932 ActivityInfo ai = dri.ri.activityInfo; in intentForPosition() local
934 ai.applicationInfo.packageName, ai.name)); in intentForPosition()
/frameworks/base/services/core/java/com/android/server/pm/
DPreferredComponent.java208 ActivityInfo ai = ri.activityInfo; in sameSet() local
211 if (mSetPackages[j].equals(ai.packageName) in sameSet()
212 && mSetClasses[j].equals(ai.name)) { in sameSet()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java56 ApplicationInfo ai = app.getPackageManager().getApplicationInfo( in init() local
59 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS in init()
65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, in init()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java587 ApplicationInfo ai = AppGlobals.getPackageManager().getApplicationInfo( in checkCallerIsSystemOrSameApp() local
589 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
591 + pkg + " which is owned by uid " + ai.uid); in checkCallerIsSystemOrSameApp()
/frameworks/base/docs/html/design/downloads/
Dindex.jd32 …href="{@docRoot}downloads/design/Android_Design_Illustrator_Vectors_20120814.ai">Adobe&reg; Illust…
93 …href="{@docRoot}downloads/design/Android_Wear_Toolkit_20140722.ai">Adobe&reg; Illustrator&reg; Too…
114 …href="{@docRoot}downloads/design/Android_Wear_Patterns_20140722.ai">Adobe&reg; Illustrator&reg; Ap…

12