/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/ |
ScreenLockHelper.java | 32 KeyguardManager km = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); local 33 return km.isDeviceSecure();
|
/external/libopus/silk/float/ |
levinsondurbin_FLP.c | 42 silk_float min_nrg, nrg, t, km, Atmp1, Atmp2; local 59 km = t / nrg; 62 nrg -= km * t; 69 A[ m - i - 1 ] -= km * Atmp1; 70 A[ i ] -= km * Atmp2; 73 A[ mHalf ] -= km * A[ mHalf ]; 75 A[ m ] = km;
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImplTest.java | 37 KeyManagerImpl km = new KeyManagerImpl(ks, new char[0]); local 39 String al = km.chooseClientAlias(keyType, null, new Socket()); 42 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null)); 45 al = km.chooseEngineServerAlias("RSA", null, new SSLEngineImpl(null)); 48 al = km.chooseServerAlias("RSA", null, new Socket()); 51 assertNull(km.getClientAliases("RSA", null)); 53 assertNull(km.getServerAliases("RSA", null)); 55 assertNull(km.getCertificateChain("alias")); 56 assertNull(km.getPrivateKey("alias")); 64 KeyManagerImpl km = new KeyManagerImpl(ks, pwd) local [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 36 X509ExtendedKeyManager km = new MyX509ExtendedKeyManager(); local 37 if (km.chooseEngineClientAlias(null, null, null) != null) { 43 X509ExtendedKeyManager km = new MyX509ExtendedKeyManager(); local 44 if (km.chooseEngineServerAlias(null, null, null) != null) {
|
KeyManagerFactory1Test.java | 383 KeyManager[] km; local 386 km = keyMF[i].getKeyManagers(); 387 assertNotNull("Result should not be null", km); 389 (km.length > 0)); 400 km = keyMF[i].getKeyManagers(); 401 assertNotNull("Result has not be null", km); 403 (km.length > 0));
|
SSLContext2Test.java | 120 KeyManager[] km = new KManager[5]; local 122 sslC.init(km, tm, null); 126 sslC.init(km, tm, new SecureRandom());
|
SSLContext1Test.java | 339 * <code>init(KeyManager[] km, TrustManager[] tm, SecureRandom random)</code> 395 KeyManager[] km = null; local 396 sslContext.init(km, tm, new SecureRandom()); 400 sslContext.init(km, tm, null);
|
/external/autotest/client/bin/ |
kernelexpand_unittest.py | 7 km = 'http://www.kernel.org/pub/linux/kernel/' variable 8 akpm = km + 'people/akpm/patches/' 15 [ km, kml ], 20 correct = [ [ km + 'v2.6/linux-2.6.23.tar.bz2' ] ] 41 [ km + 'v2.6/testing/v2.6.23/linux-2.6.23-rc1.tar.bz2', 42 km + 'v2.6/testing/linux-2.6.23-rc1.tar.bz2'] 50 [ km + 'v2.6/linux-2.6.23.tar.bz2' ], 59 [ km + 'v2.6/linux-2.6.23.tar.bz2' ], 60 [ km + 'v2.6/snapshots/old/patch-2.6.23-git1.bz2', 61 km + 'v2.6/snapshots/patch-2.6.23-git1.bz2' [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
KeyManagerFactorySpiTest.java | 121 KeyManager[] km = kmf.engineGetKeyManagers(); local 133 KeyManager[] km = kmf.engineGetKeyManagers(); local 134 assertNull("Object is not NULL", km);
|
X509ExtendedKeyManagerTest.java | 106 X509ExtendedKeyManager km = new MyX509ExtendedKeyManager(); local 107 if (km.chooseEngineClientAlias(null, null, null) != null) { 118 X509ExtendedKeyManager km = new MyX509ExtendedKeyManager(); local 119 if (km.chooseEngineServerAlias(null, null, null) != null) {
|
SSLContextSpiTest.java | 153 * SSLContextSpi#engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom sr) 162 KeyManager[] km = kmf.getKeyManagers(); local 171 ssl.engineInit(km, tm, sr); 176 ssl.engineInit(km, tm, null); 201 KeyManager[] km = kmf.getKeyManagers(); local 209 ssl.engineInit(km, tm, sr);
|
SSLContext2Test.java | 115 KeyManager [] km = new KManager[5]; local 117 sslC.init(km, tm, null); 121 sslC.init(km, tm, new SecureRandom());
|
KeyManagerFactory1Test.java | 449 KeyManager[] km; local 452 km = keyMF[i].getKeyManagers(); 453 assertNotNull("Result should not be null", km); 455 (km.length > 0)); 473 km = keyMF[i].getKeyManagers(); 474 assertNotNull("Result has not be null", km); 476 (km.length > 0));
|
SSLContext1Test.java | 111 KeyManager[] km = null; local 112 sslContext.init(km, tm, new SecureRandom()); 118 sslContext.init(km, tm, null); 470 * <code>init(KeyManager[] km, TrustManager[] tm, SecureRandom random)</code>
|
/packages/apps/Email/tests/src/com/android/email/ |
TestUtils.java | 160 KeyguardManager km = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); local 161 if (km.inKeyguardRestrictedInputMode()) {
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SuggestionsChecks.java | 73 KeyguardManager km = mContext.getSystemService(KeyguardManager.class); local 74 return km.isKeyguardSecure();
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
SslUtil.java | 320 KeyManagerFactory km = KeyManagerFactory.getInstance( local 324 km.init(ks, password.toCharArray()); 325 return km.getKeyManagers(); 344 KeyManagerFactory km = KeyManagerFactory.getInstance( local 354 km.init(ks, password.toCharArray()); 355 return km.getKeyManagers();
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStartInterceptor.java | 224 final KeyguardManager km = (KeyguardManager) mService.mContext local 226 final Intent newIntent = km.createConfirmDeviceCredentialIntent(null, null, userId);
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
DelegatedCertInstallerTest.java | 251 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); local 252 if (!km.isKeyguardSecure()) { 256 km.isKeyguardSecure());
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_transfer.c | 571 unsigned km = (1 << k) - 1; local 577 m = swizzle2d(x & km, 0); 578 m |= swizzle2d(y & km, 1);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 278 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); local 279 if (km.inKeyguardRestrictedInputMode()) {
|
/external/opencv/cv/src/ |
cvinpaint.cpp | 334 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 352 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; 354 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 358 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); 365 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color)))*2.0f; 367 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 371 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))) 447 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 542 int km=k-1+(k==1),kp=k-1-(k==f->rows-2); local 633 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local [all...] |
/external/opencv3/modules/photo/src/ |
inpaint.cpp | 336 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 354 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; 356 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 360 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); 367 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color)))*2.0f; 369 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 373 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))) 448 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 542 int km=k-1+(k==1),kp=k-1-(k==f->rows-2); local 630 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUClient.java | 72 public void provision(OSUManager osuManager, Network network, KeyManager km) 76 network, mURL, km, true))) { 103 ((WiFiKeyManager) km).enableClientAuth(ccInfo.getIssuerNames()); 163 km, mKeyStore, null, OSUManager.FLOW_PROVISIONING)) { 199 retrieveCerts(moData.getMOTree().getRoot(), certs, network, km, mKeyStore); local 204 public void remediate(OSUManager osuManager, Network network, KeyManager km, HomeSP homeSP, 207 try (HTTPHandler httpHandler = createHandler(network, homeSP, km, flowType)) { 279 km, mKeyStore, homeSP, flowType)) { 360 KeyManager km, int flowType) throws GeneralSecurityException, IOException { 386 mURL, km, true), user, password) [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertDialog.java | 463 KeyguardManager km = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); local 464 if (km.inKeyguardRestrictedInputMode()) {
|