/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaCall.java | 181 CdmaConnection cn = (CdmaConnection)mConnections.get(i); local 183 cn.onHangupLocal(); 193 CdmaConnection cn = (CdmaConnection)mConnections.get(i); local 195 if (cn.getState() == State.DISCONNECTED) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 186 GsmConnection cn = (GsmConnection)mConnections.get(i); local 188 cn.onHangupLocal(); 199 GsmConnection cn = (GsmConnection)mConnections.get(i); local 201 if (cn.getState() == State.DISCONNECTED) {
|
GsmCallTracker.java | 792 GsmConnection cn = (GsmConnection)call.mConnections.get(i); local 793 if (cn.getGSMIndex() == index) { 806 GsmConnection cn = (GsmConnection)call.mConnections.get(i); local 807 mCi.hangupConnection(cn.getGSMIndex(), obtainCompleteMessage()); 819 GsmConnection cn = (GsmConnection)call.mConnections.get(i); local 820 if (cn.getGSMIndex() == index) { 821 return cn; [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyInstrumentationEvent.java | 41 ComponentName cn = ComponentName.unflattenFromString(mRunnerName); local 42 if (cn == null || mTestCaseName == null) 48 iam.startInstrumentation(cn, null, 0, args, null, null, 0);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
LocalStreamForwarder.java | 27 private Channel cn; field in class:LocalStreamForwarder 32 cn = cm.openDirectTCPIPChannel(host_to_connect, port_to_connect, 42 return cn.getStdoutStream(); 57 return cn.getStdinStream(); 72 cm.closeChannel(cn, "Closed due to user request.", true);
|
Session.java | 28 private Channel cn; field in class:Session 42 this.cn = cm.openSessionChannel(); 125 cm.requestPTY(cn, term, term_width_characters, term_height_characters, term_width_pixels, term_height_pixels, 204 cm.requestX11(cn, singleConnection, "MIT-MAGIC-COOKIE-1", hexEncodedFakeCookie, 0); 256 cm.requestExecCommand(cn, cmd, charsetName); 278 cm.requestShell(cn); 305 cm.requestSubSystem(cn, name); 310 return cn.getState(); 315 return cn.getStdoutStream(); 320 return cn.getStderrStream() [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
LocalAcceptThread.java | 74 Channel cn = null; local 82 cn = cm.openDirectTCPIPChannel(host_to_connect, port_to_connect, s.getInetAddress().getHostAddress(), s 103 r2l = new StreamForwarder(cn, null, null, cn.stdoutStream, s.getOutputStream(), "RemoteToLocal"); 104 l2r = new StreamForwarder(cn, r2l, s, s.getInputStream(), cn.stdinStream, "LocalToRemote"); 111 cn.cm.closeChannel(cn, "Weird error during creation of StreamForwarder (" + e.getMessage() + ")",
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GSMPhoneTest.java | 136 Connection cn; local 186 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 187 assertTrue(!cn.isIncoming()); 188 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 190 assertEquals(Connection.DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause()); 217 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 218 assertTrue(!cn.isIncoming()); 219 assertEquals(Connection.PostDialState.NOT_STARTED, cn.getPostDialState()); 244 cn = mGSMPhone.getForegroundCall().getConnections().get(0); 245 assertTrue(!cn.isIncoming()) 769 Connection cn = mGSMPhone.dial("+13125551212"); local 790 Connection cn; local 1362 Connection cn; local 1476 Connection cn; local 1506 Connection cn = mGSMPhone.dial("+13125551212"); local [all...] |
/external/valgrind/main/coregrind/m_demangle/ |
safe-ctype.c | 134 #define cn _sch_iscntrl macro 155 #define C (const unsigned short) ( cn) /* control character */ 156 #define Z (const unsigned short) (nv |cn) /* NUL */ 157 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 158 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */ 159 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 84 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); local 85 if (cn != null) { 86 return verifyHostName(hostName, cn); 123 * Returns true if {@code hostName} matches the name or pattern {@code cn}. 126 * @param cn certificate host name. May include wildcards like 129 public boolean verifyHostName(String hostName, String cn) { 130 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty()) { 134 cn = cn.toLowerCase(Locale.US) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
NotificationAccessSettings.java | 86 public ListenerWarningDialogFragment setListenerInfo(ComponentName cn, String label) { 88 args.putString(KEY_COMPONENT, cn.flattenToString()); 99 final ComponentName cn = ComponentName.unflattenFromString(args.getString(KEY_COMPONENT)); local 113 mEnabledListeners.add(cn); 174 final ComponentName cn = ComponentName.unflattenFromString(names[i]); 175 if (cn != null) { 176 mEnabledListeners.add(cn); 184 for (ComponentName cn : mEnabledListeners) { 190 sb.append(cn.flattenToString()); 243 final ComponentName cn = new ComponentName(info.packageName, info.name) [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
AbstractVerifier.java | 124 // first CN provided. All other CNs are ignored. 139 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt"; 151 // Don't trim the CN, though! 152 String cn = it.next(); local 153 cn = cn.toLowerCase(Locale.ENGLISH); 154 // Store CN in StringBuffer in case we need to report an error. 156 buf.append(cn); 162 // The CN better have at least two dots if it wants wildcard 165 boolean doWildcard = cn.startsWith("*.") & [all...] |
/external/opencv/cv/src/ |
cvsumpixels.cpp | 213 CvSize size, int cn ) \ 218 memset( sum, 0, (size.width+1)*cn*sizeof(sum[0])); \ 220 sum += sumstep + cn; \ 224 memset( sqsum, 0, (size.width+1)*cn*sizeof(sqsum[0])); \ 226 sqsum += sqsumstep + cn; \ 229 size.width *= cn; \ 236 for( x = -cn; x < 0; x++ ) \ 240 sum[x] = cast_macro(src[x]) + sum[x - cn]; \ 251 for( x = -cn; x < 0; x++ ) \ 260 sumtype t = cast_macro(it) + sum[x-cn]; \ 326 int depth, cn; local [all...] |
cvsamplers.cpp | 548 int cn, src_step, dst_step; local 563 cn = CV_MAT_CN( src->type ); 565 if( (cn != 1 && cn != 3) || !CV_ARE_CNS_EQ( src, dst )) 578 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[CV_MAT_DEPTH(src->type)]); 585 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[1]); 819 int k, cn; local [all...] |
cvthresh.cpp | 311 int ithresh, imaxval, cn; local 323 cn = CV_MAT_CN(src->type); 324 if( cn > 1 )
|
/external/opencv/cxcore/src/ |
cxlut.cpp | 103 #define ICV_DEF_LUT_FUNC_8U_CN( flavor, dsttype, cn ) \ 104 CvStatus CV_STDCALL icvLUT_Transform8u_##flavor##_C##cn##R( \ 109 size.width *= cn; \ 114 ICV_LUT_CASE_C##cn( dsttype ) \ 136 const dsttype* _lut, int cn ) \ 138 int max_block_size = (1 << 10)*cn; \ 142 size.width *= cn; \ 148 for( k = 0; k < cn; k++ ) \ 149 for( i = 0; i < size.width; i += cn ) \ 150 dst[i+k] = _lut[src[i+k]*cn+k]; 222 int depth, cn, lut_cn; local [all...] |
cxminmaxloc.cpp | 48 #define CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ) \ 51 int x, loc = 0, width = size.width*(cn); \ 67 #define ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ) \ 68 for( x = 0; x < width; x += (cn), loc++ ) \ 108 CvSize size, int cn, int coi, \ 113 CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ); \ 117 ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ); \ 165 #define CV_MINMAXLOC_MASK_ENTRY( _toggle_, srctype, temptype, cn ) \ 171 if( width*(cn) == step && width == maskStep ) \ 184 min_val = (src)[x*(cn)]; \ 298 int type, depth, cn, coi = 0; local [all...] |
cxnorm.cpp | 77 _update_op_, worktype, len, cn ) \ 81 worktype t0 = (src)[x*(cn)]; \ 119 #define ICV_NORM_DIFF_COI_CASE( _op_, _update_op_, worktype, len, cn ) \ 122 worktype t0 = (src1)[x*(cn)] - (src2)[x*(cn)]; \ 220 CvSize size, int cn, int coi, double* _norm ) \ 237 worktype, limit, cn ); \ 257 CvSize size, int cn, int coi, double* _norm ) \ 267 worktype, size.width, cn ); \ 365 int cn, int coi, double* _norm ) 977 int type, depth, cn, is_relative; local [all...] |
/external/opencv/otherlibs/highgui/ |
loadsave.cpp | 401 int cn; local 433 cn = iscolor ? 3 : 1; 442 CV_CALL( matrix = cvCreateMat( size.height, size.width, CV_MAKETYPE(type, cn) )); 451 CV_CALL( image = cvCreateImage( size, type, cn ));
|
/external/openssl/crypto/evp/ |
evp_test.c | 139 const unsigned char *ciphertext,int cn, 152 hexdump(stdout,"Ciphertext",ciphertext,cn); 184 if(outl+outl2 != cn) 187 outl+outl2,cn); 191 if(memcmp(out,ciphertext,cn)) 194 hexdump(stderr,"Got",out,cn); 195 hexdump(stderr,"Expected",ciphertext,cn); 210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn)) 247 const unsigned char *ciphertext,int cn, 256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) 371 int kn,in,pn,cn; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 42 private void checkMetaData(ComponentName cn, PackageItemInfo ci) 44 assertNotNull("Unable to find component " + cn, ci); 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); local 101 cn, PackageManager.GET_META_DATA); 103 checkMetaData(cn, ai); 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); local 114 cn, PackageManager.GET_META_DATA); 116 checkMetaData(cn, ai); 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0) 125 ComponentName cn = new ComponentName(mContext, LocalService.class); local 138 ComponentName cn = new ComponentName(mContext, LocalProvider.class); local 152 ComponentName cn = new ComponentName("foo", local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
CertPinManager.java | 139 String cn = hostnameCache.get(hostname); local 140 if (cn != null) { 142 return entries.get(cn); 145 // otherwise, get the matching cn 146 cn = getMatchingCN(hostname); 147 if (cn != null) { 148 hostnameCache.put(hostname, cn); 149 // we have a matching CN, return that entry 150 return entries.get(cn); 153 // if we got here, we don't have a matching CN for this hostnam [all...] |
PinListEntry.java | 36 /** The Common Name (CN) as used on the SSL certificate */ 37 private final String cn; field in class:PinListEntry 52 return cn; 69 // entry must have a CN, an enforcement value, and at least one pin 73 // get the cn 74 cn = values[0]; // is there more validation we can do here? 152 PinFailureLogger.log(cn, chainContainsUserCert(chain), enforcing, chain);
|
/frameworks/base/services/java/com/android/server/ |
PreferredComponent.java | 65 ComponentName cn = set[i]; local 66 if (cn == null) { 72 myPackages[i] = cn.getPackageName().intern(); 73 myClasses[i] = cn.getClassName().intern(); 74 myComponents[i] = cn.flattenToShortString().intern(); 131 ComponentName cn = ComponentName.unflattenFromString(name); local 132 if (cn == null) { 138 myPackages[setPos] = cn.getPackageName(); 139 myClasses[setPos] = cn.getClassName();
|
/frameworks/base/test-runner/src/android/test/ |
ActivityUnitTestCase.java | 135 ComponentName cn = new ComponentName(mActivityClass.getPackage().getName(), local 137 intent.setComponent(cn);
|