Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java42 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/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java135 Connection cn; in brokenTestGeneral() local
185 cn = mGSMPhone.getForegroundCall().getConnections().get(0); in brokenTestGeneral()
186 assertTrue(!cn.isIncoming()); in brokenTestGeneral()
187 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
189 assertEquals(Connection.DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause()); in brokenTestGeneral()
216 cn = mGSMPhone.getForegroundCall().getConnections().get(0); in brokenTestGeneral()
217 assertTrue(!cn.isIncoming()); in brokenTestGeneral()
218 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); in brokenTestGeneral()
243 cn = mGSMPhone.getForegroundCall().getConnections().get(0); in brokenTestGeneral()
244 assertTrue(!cn.isIncoming()); in brokenTestGeneral()
[all …]
/frameworks/base/services/java/com/android/server/
DPreferredComponent.java65 ComponentName cn = set[i]; in PreferredComponent() local
66 if (cn == null) { in PreferredComponent()
72 myPackages[i] = cn.getPackageName().intern(); in PreferredComponent()
73 myClasses[i] = cn.getClassName().intern(); in PreferredComponent()
74 myComponents[i] = cn.flattenToShortString().intern(); in PreferredComponent()
131 ComponentName cn = ComponentName.unflattenFromString(name); in PreferredComponent() local
132 if (cn == null) { in PreferredComponent()
138 myPackages[setPos] = cn.getPackageName(); in PreferredComponent()
139 myClasses[setPos] = cn.getClassName(); in PreferredComponent()
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dc2t64fx.c49 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()
97 p0 = cn; in ACELP_2t64_fx()
DvoAMRWBEnc.c187 Word16 cn[L_SUBFR]; /* Target vector in residual domain */ in coder() local
785 Residu_opt(p_Aq,code + M, cn, L_SUBFR / 2); in coder()
787 Residu(p_Aq,code + M, cn, L_SUBFR / 2); in coder()
791 Copy(&exc[i_subfr + (L_SUBFR / 2)], cn + (L_SUBFR / 2), L_SUBFR / 2); in coder()
1059 Updt_tar(cn, cn, &exc[i_subfr], gain_pit, L_SUBFR); in coder()
1062 Scale_sig_opt(cn, L_SUBFR, shift); /* scaling of cn[] to limit dynamic at 12 bits */ in coder()
1064 Scale_sig(cn, L_SUBFR, shift); /* scaling of cn[] to limit dynamic at 12 bits */ in coder()
1082 ACELP_2t64_fx(dn, cn, h2, code, y2, indice); in coder()
1087 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice); in coder()
1095 ACELP_4t64_fx(dn, cn, h2, code, y2, 36, *ser_size, indice); in coder()
[all …]
Dc4t64fx.c120 Word16 cn[], /* (i) <12b : residual after long term prediction */ in ACELP_4t64_fx() argument
243 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp); in ACELP_4t64_fx()
245 s = Dot_product12(cn, cn, L_SUBFR, &exp); in ACELP_4t64_fx()
264 p0 = cn; in ACELP_4t64_fx()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmCall.java183 GsmConnection cn = (GsmConnection)connections.get(i); in onHangupLocal() local
185 cn.onHangupLocal(); in onHangupLocal()
196 GsmConnection cn = (GsmConnection)connections.get(i); in clearDisconnected() local
198 if (cn.getState() == State.DISCONNECTED) { in clearDisconnected()
DGsmCallTracker.java778 GsmConnection cn = (GsmConnection)call.connections.get(i); in hangupConnectionByIndex() local
779 if (cn.getGSMIndex() == index) { in hangupConnectionByIndex()
792 GsmConnection cn = (GsmConnection)call.connections.get(i); in hangupAllConnections() local
793 cm.hangupConnection(cn.getGSMIndex(), obtainCompleteMessage()); in hangupAllConnections()
805 GsmConnection cn = (GsmConnection)call.connections.get(i); in getConnectionByIndex() local
806 if (cn.getGSMIndex() == index) { in getConnectionByIndex()
807 return cn; in getConnectionByIndex()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaCall.java185 CdmaConnection cn = (CdmaConnection)connections.get(i); in onHangupLocal() local
187 cn.onHangupLocal(); in onHangupLocal()
197 CdmaConnection cn = (CdmaConnection)connections.get(i); in clearDisconnected() local
199 if (cn.getState() == State.DISCONNECTED) { in clearDisconnected()
DCdmaCallTracker.java566 CdmaConnection cn = (CdmaConnection)foregroundCall.connections.get(n); in handlePollCalls() local
567 droppedDuringPoll.add(cn); in handlePollCalls()
574 CdmaConnection cn = (CdmaConnection)ringingCall.connections.get(n); in handlePollCalls() local
575 droppedDuringPoll.add(cn); in handlePollCalls()
848 CdmaConnection cn = (CdmaConnection)call.connections.get(i); in hangupConnectionByIndex() local
849 if (cn.getCDMAIndex() == index) { in hangupConnectionByIndex()
862 CdmaConnection cn = (CdmaConnection)call.connections.get(i); in hangupAllConnections() local
863 cm.hangupConnection(cn.getCDMAIndex(), obtainCompleteMessage()); in hangupAllConnections()
875 CdmaConnection cn = (CdmaConnection)call.connections.get(i); in getConnectionByIndex() local
876 if (cn.getCDMAIndex() == index) { in getConnectionByIndex()
[all …]
/frameworks/base/core/java/com/android/internal/net/
DDomainNameValidator.java164 final String cn = new DNParser(certificate.getSubjectX500Principal()) in matchDns() local
169 + " CN:" + cn); in matchDns()
171 if (cn != null) { in matchDns()
172 return matchDns(thisDomain, cn); in matchDns()
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
Dset_sign.cpp488 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()
Dc8_31pf.h105 Word16 cn[], /* i : residual after long term prediction */
Dc1035pf.h108 Word16 cn[], /* (i) : residual after long term prediction */
Dset_sign.h112 Word16 cn[], /* i : residual after long term prediction */
Dc1035pf.cpp649 Word16 cn[], /* (i) : residual after long term prediction */ in code_10i40_35bits() argument
663 set_sign12k2(dn, cn, sign, pos_max, NB_TRACK, ipos, STEP, pOverflow); in code_10i40_35bits()
Dc8_31pf.cpp749 Word16 cn[], /* i : residual after long term prediction */ in code_8i40_31bits() argument
782 cn, in code_8i40_31bits()
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java135 ComponentName cn = new ComponentName(mActivityClass.getPackage().getName(), in startActivity() local
137 intent.setComponent(cn); in startActivity()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java1294 public DeviceAdminInfo getAdminInfo(ComponentName cn) { in getAdminInfo() argument
1297 ai = mContext.getPackageManager().getReceiverInfo(cn, in getAdminInfo()
1300 Log.w(TAG, "Unable to retrieve device policy " + cn, e); in getAdminInfo()
1310 Log.w(TAG, "Unable to parse device policy " + cn, e); in getAdminInfo()
1313 Log.w(TAG, "Unable to parse device policy " + cn, e); in getAdminInfo()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java205 ComponentName cn = ComponentName.unflattenFromString(str); in makeIntent() local
206 if (cn == null) throw new IllegalArgumentException("Bad component name: " + str); in makeIntent()
207 intent.setComponent(cn); in makeIntent()
323 ComponentName cn = mAm.startService(null, intent, intent.getType()); in runStartService() local
324 if (cn == null) { in runStartService()
516 ComponentName cn = ComponentName.unflattenFromString(cnArg); in runInstrument() local
517 if (cn == null) throw new IllegalArgumentException("Bad component name: " + cnArg); in runInstrument()
531 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher)) { in runInstrument()
532 throw new AndroidException("INSTRUMENTATION_FAILED: " + cn.flattenToString()); in runInstrument()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java414 ComponentName cn = new ComponentName(ii.packageName, ii.name); in runListInstrumentation() local
415 System.out.print(cn.flattenToShortString()); in runListInstrumentation()
1006 ComponentName cn = ComponentName.unflattenFromString(pkg); in runSetEnabledSetting() local
1007 if (cn == null) { in runSetEnabledSetting()
1019 mPm.setComponentEnabledSetting(cn, state, 0); in runSetEnabledSetting()
1020 System.err.println("Component " + cn.toShortString() + " new state: " in runSetEnabledSetting()
1022 mPm.getComponentEnabledSetting(cn))); in runSetEnabledSetting()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneBase.java501 protected void notifyDisconnectP(Connection cn) { in notifyDisconnectP() argument
502 AsyncResult ar = new AsyncResult(null, cn, null); in notifyDisconnectP()
1074 protected void notifyNewRingingConnectionP(Connection cn) { in notifyNewRingingConnectionP() argument
1077 AsyncResult ar = new AsyncResult(null, cn, null); in notifyNewRingingConnectionP()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java500 sb.append(cn(state)); in toString()
502 sb.append(cn(orgState)); in toString()
509 private String cn(Object n) { in cn() method in StateMachine.ProcessedMessageInfo
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java182 void notifyDisconnect(Connection cn) { in notifyDisconnect() argument
183 mDisconnectRegistrants.notifyResult(cn); in notifyDisconnect()
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
Dacelp.h430 … Word16 cn[], /* (i) <12b : residual after long term prediction */
439 … Word16 cn[], /* (i) <12b : residual after long term prediction */

12