/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 42 private void checkMetaData(ComponentName cn, PackageItemInfo ci) in checkMetaData() argument 44 assertNotNull("Unable to find component " + cn, ci); in checkMetaData() 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); in testActivityWithData() local 101 cn, PackageManager.GET_META_DATA); in testActivityWithData() 103 checkMetaData(cn, ai); in testActivityWithData() 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); in testActivityWithData() 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); in testReceiverWithData() local 114 cn, PackageManager.GET_META_DATA); in testReceiverWithData() 116 checkMetaData(cn, ai); in testReceiverWithData() 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); in testReceiverWithData() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest6.java | 50 assertEquals(cn(PACKAGE_SYSTEM_LAUNCHER, PACKAGE_SYSTEM_LAUNCHER_NAME), in testHasShortcutHostPermissionInner_systemLauncherOnly() 52 assertEquals(cn(PACKAGE_SYSTEM_LAUNCHER, PACKAGE_SYSTEM_LAUNCHER_NAME), in testHasShortcutHostPermissionInner_systemLauncherOnly() 59 assertEquals(cn(PACKAGE_SYSTEM_LAUNCHER, PACKAGE_SYSTEM_LAUNCHER_NAME), in testHasShortcutHostPermissionInner_systemLauncherOnly() 80 assertEquals(cn(PACKAGE_SYSTEM_LAUNCHER, PACKAGE_SYSTEM_LAUNCHER_NAME), in testHasShortcutHostPermissionInner_with3pLauncher() 82 assertEquals(cn(PACKAGE_SYSTEM_LAUNCHER, PACKAGE_SYSTEM_LAUNCHER_NAME), in testHasShortcutHostPermissionInner_with3pLauncher() 89 /* preferred */ cn(CALLING_PACKAGE_2, "name"), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 101 assertEquals(cn(CALLING_PACKAGE_2, "name"), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 103 assertEquals(cn(CALLING_PACKAGE_2, "name"), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 123 assertEquals(cn(CALLING_PACKAGE_2, "name"), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 125 assertEquals(cn(CALLING_PACKAGE_2, "name"), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 158 String cn = it.next(); in verify() local 159 cn = cn.toLowerCase(Locale.ENGLISH); in verify() 162 buf.append(cn); in verify() 171 boolean doWildcard = cn.startsWith("*.") && in verify() 172 cn.indexOf('.', 2) != -1 && in verify() 173 acceptableCountryWildcard(cn) && in verify() 177 match = hostName.endsWith(cn.substring(1)); in verify() 181 match = countDots(hostName) == countDots(cn); in verify() 184 match = hostName.equals(cn); in verify() 195 public static boolean acceptableCountryWildcard(String cn) { in acceptableCountryWildcard() argument [all …]
|
/frameworks/base/docs/html/distribute/essentials/ |
D | essentials_toc.cs | 3 …ht:normal"><a href="<?cs var:toroot?>distribute/essentials/quality/core.html" zh-cn-lang="应用的核心质量"> 8 …rmal"><a href="<?cs var:toroot?>distribute/essentials/quality/tablets.html" zh-cn-lang="平板电脑应用的质量"> 40 …ight:normal"><a href="<?cs var:toroot?>distribute/tools/launch-checklist.html" zh-cn-lang="发布检查清单"> 45 …rmal"><a href="<?cs var:toroot?>distribute/tools/localization-checklist.html" zh-cn-lang="本地化检查清单"> 50 …nt-weight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/brand.html" zh-cn-lang="品牌指南"> 55 …al"><a href="<?cs var:toroot?>distribute/tools/promote/device-art.html" zh-cn-lang="Device Art Gen… 60 …ont-weight:normal"><a href="https://play.google.com/intl/en_us/badges/" zh-cn-lang="Google Play 徽章… 65 …ight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/linking.html" zh-cn-lang="链接到您的商品">
|
/frameworks/base/docs/html/distribute/tools/ |
D | disttools_toc.cs | 4 …ight:normal"><a href="<?cs var:toroot?>distribute/tools/launch-checklist.html" zh-cn-lang="发布检查清单"> 9 …rmal"><a href="<?cs var:toroot?>distribute/tools/localization-checklist.html" zh-cn-lang="本地化检查清单"> 14 …al"><a href="<?cs var:toroot?>distribute/tools/promote/device-art.html" zh-cn-lang="Device Art Gen… 19 …normal"><a href="<?cs var:toroot?>distribute/tools/promote/badges.html" zh-cn-lang="Google Play 徽章… 24 …ight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/linking.html" zh-cn-lang="链接到您的商品"> 29 …nt-weight:normal"><a href="<?cs var:toroot?>distribute/tools/promote/brand.html" zh-cn-lang="品牌指南">
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PreferredComponent.java | 74 ComponentName cn = set[i]; in PreferredComponent() local 75 if (cn == null) { in PreferredComponent() 81 myPackages[i] = cn.getPackageName().intern(); in PreferredComponent() 82 myClasses[i] = cn.getClassName().intern(); in PreferredComponent() 83 myComponents[i] = cn.flattenToShortString(); in PreferredComponent() 142 ComponentName cn = ComponentName.unflattenFromString(name); in PreferredComponent() local 143 if (cn == null) { in PreferredComponent() 149 myPackages[setPos] = cn.getPackageName(); in PreferredComponent() 150 myClasses[setPos] = cn.getClassName(); in PreferredComponent() 229 ComponentName cn = comps[i]; in sameSet() local [all …]
|
/frameworks/base/docs/html/distribute/googleplay/ |
D | googleplay_toc.cs | 10 zh-cn-lang="Google Play 蕴藏的机会" 22 zh-cn-lang="开始发布" 35 zh-cn-lang="开发者控制台" 48 zh-cn-lang="分发到 Android Wear" 61 zh-cn-lang="分发到 Android TV" 74 zh-cn-lang="分发到 Android Auto" 87 zh-cn-lang="为家庭设计" 133 zh-cn-lang="在 Google Play 上取得成功"
|
/frameworks/base/docs/html/google/ |
D | google_toc.cs | 4 …"nav-section-header"><a href="<?cs var:toroot ?>google/play/billing/index.html" zh-cn-lang="应用内结算"> 8 <li><a href="<?cs var:toroot?>google/play/billing/billing_overview.html" zh-cn-lang="应用内结算概述"> 11 …nav-section-header"><a href="<?cs var:toroot?>google/play/billing/api.html" zh-cn-lang="应用内结算 API"> 27 …<li><a href="<?cs var:toroot?>google/play/billing/billing_best_practices.html" zh-cn-lang="安全性和设计"> 30 <li><a href="<?cs var:toroot?>google/play/billing/billing_testing.html" zh-cn-lang="测试应用内结算"> 33 <li><a href="<?cs var:toroot?>google/play/billing/billing_admin.html" zh-cn-lang="管理应用内结算"> 49 zh-cn-lang="Google Play 上的筛选器"
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoActivationActivity.java | 37 final ComponentName cn = new ComponentName(this, NekoTile.class); in onStart() local 38 if (pm.getComponentEnabledSetting(cn) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart() 42 pm.setComponentEnabledSetting(cn, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in onStart() 50 pm.setComponentEnabledSetting(cn, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 138 Connection cn; 188 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 189 assertTrue(!cn.isIncoming()); 190 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 192 assertEquals(DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause()); 219 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 220 assertTrue(!cn.isIncoming()); 221 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 246 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 247 assertTrue(!cn.isIncoming()); [all …]
|
/frameworks/base/docs/html/wear/preview/ |
D | preview_toc.cs | 10 zh-cn-lang="计划概览" 28 zh-cn-lang="设置预览版 SDK" 45 zh-cn-lang="行为变更" 63 zh-cn-lang="API 概览" 115 zh-cn-lang="示例" 127 zh-cn-lang="许可协议"
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
D | DreamBackend.java | 126 ComponentName cn = getActiveDream(); in getActiveDreamName() local 127 if (cn != null) { in getActiveDreamName() 130 ServiceInfo ri = pm.getServiceInfo(cn, 0); in getActiveDreamName() 242 String cn = null; in getSettingsComponentName() 263 cn = sa.getString(com.android.internal.R.styleable.Dream_settingsActivity); in getSettingsComponentName() 274 if (cn != null && cn.indexOf('/') < 0) { in getSettingsComponentName() 275 cn = resolveInfo.serviceInfo.packageName + "/" + cn; in getSettingsComponentName() 277 return cn == null ? null : ComponentName.unflattenFromString(cn); in getSettingsComponentName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCase.java | 32 final ComponentName cn = new ComponentName(this, DessertCaseDream.class); in onStart() local 33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart() 35 pm.setComponentEnabledSetting(cn, in onStart()
|
/frameworks/support/media-compat/jellybean-mr2/android/support/v4/media/session/ |
D | MediaSessionCompatApi18.java | 39 ComponentName cn) { in registerMediaButtonEventReceiver() argument 56 am.registerMediaButtonEventReceiver(cn); in registerMediaButtonEventReceiver() 61 ComponentName cn) { in unregisterMediaButtonEventReceiver() argument 66 am.unregisterMediaButtonEventReceiver(cn); in unregisterMediaButtonEventReceiver()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 49 … Word16 cn[], /* (i) <12b : residual after long term prediction */ in ACELP_2t64_fx() argument 76 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp); in ACELP_2t64_fx() 78 s = Dot_product12(cn, cn, L_SUBFR, &exp); in ACELP_2t64_fx() 100 p0 = cn; in ACELP_2t64_fx()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ServiceMonitor.java | 101 ComponentName cn = getComponentNameFromSetting(); 102 if (cn == null && mServiceName == null || cn != null && cn.equals(mServiceName)) { 188 String cn = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getComponentNameFromSetting() local 190 return cn == null ? null : ComponentName.unflattenFromString(cn); in getComponentNameFromSetting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 596 ComponentName cn = taskKey.getComponent(); in getAndUpdateActivityInfo() local 597 ActivityInfo activityInfo = mActivityInfoCache.get(cn); in getAndUpdateActivityInfo() 599 activityInfo = ssp.getActivityInfo(cn, taskKey.userId); in getAndUpdateActivityInfo() 600 if (cn == null || activityInfo == null) { in getAndUpdateActivityInfo() 601 Log.e(TAG, "Unexpected null component name or activity info: " + cn + ", " + in getAndUpdateActivityInfo() 605 mActivityInfoCache.put(cn, activityInfo); in getAndUpdateActivityInfo() 625 for (ComponentName cn : activityInfoCache.keySet()) { in onBusEvent() 626 if (cn.getPackageName().equals(event.packageName)) { in onBusEvent() 628 Log.d(TAG, "Removing activity info from cache: " + cn); in onBusEvent() 630 mActivityInfoCache.remove(cn); in onBusEvent()
|
/frameworks/base/docs/html/design/ |
D | design_toc.cs | 12 zh-cn-lang="Android 设计原则" 23 zh-cn-lang="材料设计" 69 zh-cn-lang="使用返回和向上导航" 82 zh-cn-lang="确认和确知"
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | set_sign.cpp | 488 Word16 cn[], /* i : residual after long term prediction */ in set_sign12k2() argument 518 p_cn = cn; in set_sign12k2() 536 p_cn = &cn[L_CODE-1]; in set_sign12k2()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 105 protected void startOnHoldTone(Connection cn) { in startOnHoldTone() argument 106 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.TRUE); in startOnHoldTone() 115 protected void stopOnHoldTone(Connection cn) { in stopOnHoldTone() argument 116 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.FALSE); in stopOnHoldTone() 220 public void notifyDisconnect(Connection cn) { in notifyDisconnect() argument 221 mDisconnectRegistrants.notifyResult(cn); in notifyDisconnect()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 194 ComponentName cn = ComponentName.unflattenFromString(component); in parseComponentName() local 195 if (cn == null) { in parseComponentName() 198 return cn; in parseComponentName()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCall.java | 146 GsmCdmaConnection cn = (GsmCdmaConnection)mConnections.get(i); in onHangupLocal() local 148 cn.onHangupLocal(); in onHangupLocal()
|
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
D | Telecom.java | 210 ComponentName cn = ComponentName.unflattenFromString(component); in parseComponentName() local 211 if (cn == null) { in parseComponentName() 214 return cn; in parseComponentName()
|
/frameworks/base/docs/html/training/ |
D | training_toc.cs | 69 zh-cn-lang="管理活动生命周期" 82 zh-cn-lang="开始活动" 96 zh-cn-lang="暂停和继续活动" 106 zh-cn-lang="重新创建活动" 129 … <li><a href="<?cs var:toroot ?>training/basics/fragments/fragment-ui.html" zh-cn-lang="构建灵活的界面"> 146 zh-cn-lang="保存数据" 159 zh-cn-lang="保存键值集" 169 zh-cn-lang="保存文件" 179 zh-cn-lang="在 SQL 数据库中保存数据" 194 zh-cn-lang="与其他应用交互" [all …]
|
/frameworks/base/docs/html/topic/performance/ |
D | performance_toc.cs | 69 zh-cn-lang="管理活动生命周期" 82 zh-cn-lang="开始活动" 96 zh-cn-lang="暂停和继续活动" 106 zh-cn-lang="重新创建活动" 129 … <li><a href="<?cs var:toroot ?>training/basics/fragments/fragment-ui.html" zh-cn-lang="构建灵活的界面"> 146 zh-cn-lang="保存数据" 159 zh-cn-lang="保存键值集" 169 zh-cn-lang="保存文件" 179 zh-cn-lang="在 SQL 数据库中保存数据" 194 zh-cn-lang="与其他应用交互" [all …]
|