/packages/services/Car/car-lib/src/android/car/content/pm/ |
AppBlockingPackageInfo.java | 21 import android.content.pm.Signature; 39 /** Represents system app which does not need {@link #signature}. */ 72 * Signature of package. This can be null if target package is from system so that package 76 public final Signature[] signatures; 85 @ConstrcutorFlags int flags, @Nullable Signature[] signatures, 104 signatures = in.createTypedArray(Signature.CREATOR);
|
/external/guice/core/src/com/google/inject/internal/ |
ProviderMethodsModule.java | 130 Multimap<Signature, Method> methodsBySignature = HashMultimap.create(); 140 methodsBySignature.put(new Signature(method), method); 153 for (Method matchingSignature : methodsBySignature.get(new Signature(method))) { 154 // matching signature is in the same class or a super class, therefore method cannot be 159 // now we know matching signature is in a subtype of method.getDeclaringClass() 201 private final class Signature { 206 Signature(Method method) { 223 if (obj instanceof Signature) { 224 Signature other = (Signature) obj [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
InvocationHandlerGenerator.java | 34 private static final Signature INVOKE = 40 Signature impl = context.getImplSignature(method);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
OutputPort.java | 37 private Signature.PortInfo mInfo; 145 OutputPort(Filter filter, String name, Signature.PortInfo info) {
|
/hardware/ti/omap3/dspbridge/inc/ |
mem.h | 107 * Allocate an object, and set it's signature. 111 * Signature: Magic field value. Must be non-zero. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 124 pObj->dwSignature = Signature; \ 257 * Utility macro to invalidate an object's signature, and deallocate it. 307 * Sig: Expected signature DWORD.
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
mem.h | 107 * Allocate an object, and set it's signature. 111 * Signature: Magic field value. Must be non-zero. 120 #define MEM_AllocObject(pObj, Obj, Signature) \ 124 pObj->dwSignature = Signature; \ 257 * Utility macro to invalidate an object's signature, and deallocate it. 307 * Sig: Expected signature DWORD.
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/ |
AppBlockingPackageInfoTest.java | 21 import android.content.pm.Signature; 61 Signature[] signatures;
|
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 36 import java.security.Signature; 82 put("Signature.FOO", MockSignatureSpi.AllKeyTypes.class.getName()); 87 Signature s = Signature.getInstance("FOO", mockProvider); 96 put("Signature.FOO", MockSignatureSpi.AllKeyTypes.class.getName()); 97 put("Signature.FOO SupportedKeyClasses", "None"); 103 Signature s = Signature.getInstance("FOO", mockProvider); 120 put("Signature.FOO", MockSignatureSpi.AllKeyTypes.class.getName()); 121 put("Signature.FOO SupportedKeyClasses", "None") 377 assertNotNull(sig.getAlgorithm(), signature); local 3097 Signature signature = Signature.getInstance(oid, "BC"); local [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
RSASignatureTest.java | 23 import java.security.Signature; 65 // PKCS#1 signature padding must be at least 11 bytes long (00 || 01 || PS || 00) 72 Signature signature = Signature.getInstance("NONEwithRSA", provider); local 73 signature.initSign(privateKey); 74 signature.update(msg, 0, expectedMaxMessageSizeBytes); 75 byte[] sigBytes = signature.sign(); 77 signature.initVerify(publicKey); 78 signature.update(msg, 0, expectedMaxMessageSizeBytes) 133 Signature signature = Signature.getInstance(algorithm, provider); local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
KeyFactory.java | 55 private static final Signature GET_NAME = 57 private static final Signature GET_CLASS = 59 private static final Signature HASH_CODE = 61 private static final Signature EQUALS = 63 private static final Signature TO_STRING = 65 private static final Signature APPEND_STRING =
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
MulticastDelegate.java | 71 private static final Signature NEW_INSTANCE = 72 new Signature("newInstance", MULTICAST_DELEGATE, new Type[0]); 73 private static final Signature ADD_DELEGATE = 74 new Signature("add", MULTICAST_DELEGATE, new Type[]{ Constants.TYPE_OBJECT }); 75 private static final Signature ADD_HELPER = 76 new Signature("addHelper", MULTICAST_DELEGATE, new Type[]{ Constants.TYPE_OBJECT });
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/ |
FieldProviderTransformer.java | 35 private static final Signature PROVIDER_GET = 37 private static final Signature PROVIDER_SET = 39 private static final Signature PROVIDER_SET_BY_INDEX = 41 private static final Signature PROVIDER_GET_BY_INDEX = 43 private static final Signature PROVIDER_GET_TYPES = 45 private static final Signature PROVIDER_GET_NAMES =
|
AddDelegateTransformer.java | 31 private static final Signature CSTRUCT_OBJECT = 74 public CodeEmitter begin_method(int access, Signature sig, Type[] exceptions) { 101 throw new IllegalArgumentException("Invalid delegate signature " + delegate); 107 final Signature sig = ReflectUtils.getSignature(m);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilter.java | 31 import androidx.media.filterfw.Signature; 49 public Signature getSignature() { 52 return new Signature() 53 .addInputPort("image", Signature.PORT_REQUIRED, imageType) 54 .addInputPort("faces", Signature.PORT_REQUIRED, facesType) 55 .addOutputPort("image", Signature.PORT_REQUIRED, imageType)
|
/frameworks/base/services/core/java/com/android/server/pm/ |
SELinuxMMAC.java | 20 import android.content.pm.Signature; 169 // Check for a cert attached to the signer tag. We allow a signature 171 String cert = parser.getAttributeValue(null, "signature"); 189 String sig = parser.getAttributeValue(null, "signature"); 266 * policy. All signature based policy stanzas are consulted and, if no match is 336 private final Set<Signature> mCerts; 349 * @return A set of Signature objects representing all the certs stored 352 public Set<Signature> getSignatures() { 387 for (Signature cert : mCerts) { 428 // Check for exact signature matches across all certs [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 24 import android.content.pm.Signature; 305 Signature s = new Signature(signatureString); 447 Signature[] signatures = {new Signature("1234"), 448 new Signature("ABCD"), 449 new Signature("abcd")}; [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSKernelExpand.cpp | 134 // For pre-ICS bitcode, we may not have signature information. In that 153 uint32_t Signature = 0; 154 if (SigString.getAsInteger(10, Signature)) { 155 ALOGE("Non-integer signature value '%s'", SigString.str().c_str()); 158 return Signature; 313 /// This creates a function with the following signature: 338 // This creates a function with the following signature: 533 // Signature - metadata bits for the signature of the callee 544 int ExpandSpecialArguments(uint32_t Signature, 1365 uint32_t signature = mExportForEachSignatureList[i]; local [all...] |
/external/guice/core/src/com/google/inject/spi/ |
InjectionPoint.java | 546 Map<Signature, List<InjectableMethod>> bySignature; 553 /* Caches the signature for the last method. */ 555 Signature lastSignature; 561 * signature was annotated with a com.google.inject.Inject. 583 bySignature = new HashMap<Signature, List<InjectableMethod>>(); 591 bySignature.put(new Signature(im.method), methods); 596 Signature signature = lastSignature = new Signature(method); local 597 List<InjectableMethod> methods = bySignature.get(signature); 636 Signature signature = injectableMethod.method == lastMethod local [all...] |
/external/guice/core/test/com/google/inject/spi/ |
InjectionPointTest.java | 34 import com.google.inject.spi.InjectionPoint.Signature; 219 Signature fooA = new Signature(Foo.class.getDeclaredMethod( 221 Signature fooB = new Signature(Foo.class.getDeclaredMethod("b")); 222 Signature barA = new Signature(Bar.class.getDeclaredMethod( 224 Signature barB = new Signature(Bar.class.getDeclaredMethod("b"));
|
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/ |
BasicAndroidKeyStoreFragment.java | 38 import java.security.Signature; 55 // Some sample data to sign, and later verify using the generated signature. 58 // Just a handy place to store the signature in between signing and verifying. 108 Log.w(TAG, "Invalid Signature", e); 114 Log.d(TAG, "Signature: " + mSignatureStr); 136 Log.w(TAG, "Invalid Signature", e); 139 Log.d(TAG, "Data Signature Verified"); 195 * Signs the data using the key pair stored in the Android Key Store. This signature can be 197 * @return A string encoding of the data signature generated 240 // This class doesn't actually represent the signature, [all...] |
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/ |
BasicAndroidKeyStoreFragment.java | 38 import java.security.Signature; 55 // Some sample data to sign, and later verify using the generated signature. 58 // Just a handy place to store the signature in between signing and verifying. 108 Log.w(TAG, "Invalid Signature", e); 114 Log.d(TAG, "Signature: " + mSignatureStr); 136 Log.w(TAG, "Invalid Signature", e); 139 Log.d(TAG, "Data Signature Verified"); 195 * Signs the data using the key pair stored in the Android Key Store. This signature can be 197 * @return A string encoding of the data signature generated 240 // This class doesn't actually represent the signature, [all...] |
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
BasicAndroidKeyStoreFragment.java | 38 import java.security.Signature; 55 // Some sample data to sign, and later verify using the generated signature. 58 // Just a handy place to store the signature in between signing and verifying. 108 Log.w(TAG, "Invalid Signature", e); 114 Log.d(TAG, "Signature: " + mSignatureStr); 136 Log.w(TAG, "Invalid Signature", e); 139 Log.d(TAG, "Data Signature Verified"); 195 * Signs the data using the key pair stored in the Android Key Store. This signature can be 197 * @return A string encoding of the data signature generated 240 // This class doesn't actually represent the signature, [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/ |
NetscapeCertRequest.java | 13 import java.security.Signature; 38 * signature BIT STRING 80 // signature BIT STRING 203 // Verify the signature .. shows the response was generated 206 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(), 226 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(),
|
/external/llvm/tools/llvm-pdbdump/ |
FunctionDumper.cpp | 140 auto Signature = Symbol.getSignature(); 141 if (!Signature) { 150 auto ReturnType = Signature->getReturnType(); 155 PDB_CallingConv CC = Signature->getCallingConvention(); 162 << Signature->getCallingConvention() << " ";
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 17 package net.oauth.signature; 25 import java.security.Signature; 193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); 194 return base64Encode(signature); 203 protected boolean isValid(String signature, String baseString) 206 return verify(decodeBase64(signature), 221 Signature signer = Signature.getInstance("SHA1withRSA"); 227 private boolean verify(byte[] signature, byte[] message) 234 Signature verifier = Signature.getInstance("SHA1withRSA") [all...] |