/external/chromium_org/chrome/third_party/mozilla_security_manager/ |
nsNSSCertificate.cpp | 55 char* cn = CERT_GetCommonName(&cert->subject); local 56 if (cn) { 57 rv = cn; 58 PORT_Free(cn);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaCall.java | 184 CdmaConnection cn = (CdmaConnection)mConnections.get(i); local 186 cn.onHangupLocal(); 196 CdmaConnection cn = (CdmaConnection)mConnections.get(i); local 198 if (cn.getState() == State.DISCONNECTED) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 188 GsmConnection cn = (GsmConnection)mConnections.get(i); local 190 cn.onHangupLocal(); 201 GsmConnection cn = (GsmConnection)mConnections.get(i); local 203 if (cn.getState() == State.DISCONNECTED) {
|
/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/chromium_org/third_party/opus/src/silk/fixed/ |
residual_energy16_FIX.c | 46 opus_int cn[ MAX_MATRIX_SIZE ]; local 68 cn[ i ] = silk_LSHIFT( ( opus_int )c[ i ], Qxtra ); 69 silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */ 76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] ); 86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] ); 88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] ); 89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] );
|
/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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ApplicationUtils.java | 36 final ComponentName cn = new ComponentName(context, cls); local 38 final ActivityInfo ai = context.getPackageManager().getActivityInfo(cn, 0);
|
/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/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 108 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); local 109 if (cn != null) { 110 return verifyHostName(hostName, cn); 147 * Returns true if {@code hostName} matches the name or pattern {@code cn}. 150 * @param cn certificate host name. May include wildcards like 153 public boolean verifyHostName(String hostName, String cn) { 155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0) { 159 cn = cn.toLowerCase(Locale.US) [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 */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
DessertCase.java | 35 final ComponentName cn = new ComponentName(this, DessertCaseDream.class); local 36 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { 38 pm.setComponentEnabledSetting(cn,
|
/libcore/crypto/src/main/java/org/conscrypt/ |
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);
|
CertPinManager.java | 138 String cn = hostnameCache.get(hostname); local 139 if (cn != null) { 141 return entries.get(cn); 144 // otherwise, get the matching cn 145 cn = getMatchingCN(hostname); 146 if (cn != null) { 147 hostnameCache.put(hostname, cn); 148 // we have a matching CN, return that entry 149 return entries.get(cn); 152 // if we got here, we don't have a matching CN for this hostnam [all...] |
/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/chromium_org/third_party/openssl/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...] |
/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...] |
/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...] |
/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...] |
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
SetAlarm.java | 111 ComponentName cn = getContext().startService(mServceIntent); local 112 if (cn == null) {
|