Searched refs:spec (Results 1 - 25 of 89) sorted by relevance

1234

/frameworks/rs/api/
H A Dgenerate.sh34 ./generator rs_core.spec rs_value_types.spec rs_object_types.spec rs_convert.spec rs_math.spec rs_vector_math.spec rs_matrix.spec rs_quaternion.spec rs_atomic.spec rs_time.spec rs_allocation_dat
[all...]
H A DGenerateHeaderFiles.cpp119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { argument
120 const Constant* constant = spec.getConstant();
121 VersionInfo info = spec.getVersionInfo();
123 *file << "#define " << constant->getName() << " " << spec.getValue() << "\n\n";
127 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { argument
128 const Type* type = spec.getType();
130 const VersionInfo info = spec.getVersionInfo();
134 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(),
137 switch (spec.getKind()) {
139 *file << spec
197 writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, const FunctionPermutation& permutation) argument
305 writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) argument
[all...]
H A DSpecification.cpp53 // The singleton of the collected information of all the spec files.
81 * how specified in the spec file.
345 ConstantSpecification* spec = new ConstantSpecification(constant); local
346 constant->addSpecification(spec);
348 specFile->addConstantSpecification(spec, created);
349 spec->mVersionInfo = info;
352 spec->mValue = scanner->getValue();
371 TypeSpecification* spec = new TypeSpecification(type); local
372 type->addSpecification(spec);
374 specFile->addTypeSpecification(spec, create
553 FunctionSpecification* spec = new FunctionSpecification(function); local
614 FunctionPermutation(Function* func, FunctionSpecification* spec, int replacementIndexes[MAX_REPLACEABLES], Scanner* scanner) argument
686 addConstantSpecification(ConstantSpecification* spec, bool hasDocumentation) argument
694 addTypeSpecification(TypeSpecification* spec, bool hasDocumentation) argument
702 addFunctionSpecification(FunctionSpecification* spec, bool hasDocumentation) argument
805 SpecFile* spec = new SpecFile(fileName); local
[all...]
H A DGenerateStubsWhiteList.cpp65 for (TypeSpecification* spec : type->second->getSpecifications()) {
67 const VersionInfo info = spec->getVersionInfo();
71 switch (spec->getKind()) {
76 const string s = spec->getSimpleType();
83 const string s = spec->getStructName();
332 const FunctionSpecification& spec, int lastApiLevel,
335 if (spec.hasInline()) {
338 const VersionInfo info = spec.getVersionInfo();
341 const bool overloadable = spec.isOverloadable();
348 for (auto permutation : spec
331 addManglingsForSpecification(const Function& function, const FunctionSpecification& spec, int lastApiLevel, set<string>* allManglings) argument
[all...]
/frameworks/base/keystore/tests/src/android/security/
H A DKeyPairGeneratorSpecTest.java42 KeyPairGeneratorSpec spec =
46 assertEquals("Context should be the one specified", getContext(), spec.getContext());
48 assertEquals("Alias should be the one specified", TEST_ALIAS_1, spec.getKeystoreAlias());
50 assertEquals("Key algorithm should be the one specified", "RSA", spec.getKeyType());
52 assertEquals("Key size should be the one specified", 1024, spec.getKeySize());
54 assertEquals("subjectDN should be the one specified", TEST_DN_1, spec.getSubjectDN());
56 assertEquals("startDate should be the one specified", NOW, spec.getStartDate());
58 assertEquals("endDate should be the one specified", NOW_PLUS_10_YEARS, spec.getEndDate());
62 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext())
73 assertEquals("Context should be the one specified", getContext(), spec
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreKeyGeneratorSpi.java32 import java.security.spec.AlgorithmParameterSpec;
160 KeyGenParameterSpec spec = (KeyGenParameterSpec) params;
161 if (spec.getKeystoreAlias() == null) {
166 mSpec = spec;
168 mKeySizeBits = (spec.getKeySize() != -1) ? spec.getKeySize() : mDefaultKeySizeBits;
178 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes());
180 spec.getEncryptionPaddings());
181 if (spec.getSignaturePaddings().length > 0) {
185 mKeymasterBlockModes = KeyProperties.BlockMode.allToKeymaster(spec
[all...]
H A DAndroidKeyStoreKeyFactorySpi.java27 import java.security.spec.ECPublicKeySpec;
28 import java.security.spec.InvalidKeySpecException;
29 import java.security.spec.KeySpec;
30 import java.security.spec.PKCS8EncodedKeySpec;
31 import java.security.spec.RSAPublicKeySpec;
32 import java.security.spec.X509EncodedKeySpec;
121 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName());
126 protected PrivateKey engineGeneratePrivate(KeySpec spec) throws InvalidKeySpecException { argument
133 protected PublicKey engineGeneratePublic(KeySpec spec) throws InvalidKeySpecException { argument
H A DAndroidKeyStoreRSACipherSpi.java33 import java.security.spec.AlgorithmParameterSpec;
34 import java.security.spec.InvalidParameterSpecException;
35 import java.security.spec.MGF1ParameterSpec;
39 import javax.crypto.spec.OAEPParameterSpec;
40 import javax.crypto.spec.PSource;
187 "Unsupported parameter spec: " + params
190 OAEPParameterSpec spec = (OAEPParameterSpec) params;
191 if (!MGF_ALGORITGM_MGF1.equalsIgnoreCase(spec.getMGFAlgorithm())) {
193 "Unsupported MGF: " + spec.getMGFAlgorithm()
196 String jcaDigest = spec
[all...]
H A DAndroidKeyStoreECPublicKey.java20 import java.security.spec.ECParameterSpec;
21 import java.security.spec.ECPoint;
H A DAndroidKeyStoreECPrivateKey.java21 import java.security.spec.ECParameterSpec;
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java39 import java.security.spec.AlgorithmParameterSpec;
40 import java.security.spec.InvalidParameterSpecException;
44 import javax.crypto.spec.GCMParameterSpec;
99 GCMParameterSpec spec = (GCMParameterSpec) params;
100 byte[] iv = spec.getIV();
108 int tagLengthBits = spec.getTLen();
138 GCMParameterSpec spec;
140 spec = params.getParameterSpec(GCMParameterSpec.class);
150 initAlgorithmSpecificParameters(spec);
H A DAndroidKeyStoreKeyPairGeneratorSpi.java61 import java.security.spec.AlgorithmParameterSpec;
62 import java.security.spec.ECGenParameterSpec;
63 import java.security.spec.RSAKeyGenParameterSpec;
188 KeyGenParameterSpec spec;
192 spec = (KeyGenParameterSpec) params;
194 // Legacy/deprecated spec
274 spec = specBuilder.build();
285 mEntryAlias = spec.getKeystoreAlias();
286 mSpec = spec;
289 mKeySizeBits = spec
666 getCertificateSignatureAlgorithm( int keymasterAlgorithm, int keySizeBits, KeyGenParameterSpec spec) argument
[all...]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java43 import static android.widget.GridLayout.spec;
69 Spec row1 = spec(0);
70 Spec row2 = spec(1);
71 Spec row3 = spec(2, BASELINE);
72 Spec row4 = spec(3, BASELINE);
73 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two
74 Spec row6 = spec(5);
75 Spec row7 = spec(6);
77 Spec col1a = spec(0, 4, CENTER);
78 Spec col1b = spec(
[all...]
H A DBiDiTestGridLayoutCodeRtl.java43 import static android.widget.GridLayout.spec;
69 Spec row1 = spec(0);
70 Spec row2 = spec(1);
71 Spec row3 = spec(2, BASELINE);
72 Spec row4 = spec(3, BASELINE);
73 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two
74 Spec row6 = spec(5);
75 Spec row7 = spec(6);
77 Spec col1a = spec(0, 4, CENTER);
78 Spec col1b = spec(
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl36 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
40 int flags, int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
44 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
48 long interrogatingTid, in MagnificationSpec spec);
52 long interrogatingTid, in MagnificationSpec spec);
/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java24 * This class represents spec for performing screen magnification.
63 MagnificationSpec spec = sPool.acquire();
64 return (spec != null) ? spec : new MagnificationSpec();
118 MagnificationSpec spec = MagnificationSpec.obtain();
119 spec.initFromParcel(parcel);
120 return spec;
H A DAccessibilityInteractionController.java102 long interrogatingTid, MagnificationSpec spec) {
112 args.arg2 = spec;
137 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
161 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) {
165 spec.recycle();
185 long interrogatingTid, MagnificationSpec spec) {
194 args.arg2 = spec;
220 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
255 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
99 findAccessibilityNodeInfoByAccessibilityIdClientThread( long accessibilityNodeId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
182 findAccessibilityNodeInfosByViewIdClientThread(long accessibilityNodeId, String viewId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
275 findAccessibilityNodeInfosByTextClientThread(long accessibilityNodeId, String text, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
393 findFocusClientThread(long accessibilityNodeId, int focusType, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
515 focusSearchClientThread(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
693 applyAppScaleAndMagnificationSpecIfNeeded(List<AccessibilityNodeInfo> infos, MagnificationSpec spec) argument
732 applyAppScaleAndMagnificationSpecIfNeeded(Point point, MagnificationSpec spec) argument
752 applyAppScaleAndMagnificationSpecIfNeeded(AccessibilityNodeInfo info, MagnificationSpec spec) argument
814 shouldApplyAppScaleAndMagnificationSpec(float appScale, MagnificationSpec spec) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dquantize.h38 Word32 calcSfbDist(const Word32 *spec,
/frameworks/rs/
H A DAndroid.mk80 spec.l \
109 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERATOR) $< $@
110 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec
126 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERATOR) $< $@
127 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec
215 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec
[all...]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DGridLayoutTest.java27 import static android.widget.GridLayout.spec;
39 Spec rowSpec = spec(UNDEFINED, null);
40 Spec colSpec = spec(UNDEFINED, null);
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java31 import java.security.spec.AlgorithmParameterSpec;
105 * @param spec the underlying key type parameters
116 AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber,
142 mSpec = spec;
254 * This will build a parameter spec for use with the <a href="{@docRoot}
266 * KeyPairGeneratorSpec spec =
360 * this may be an instance of {@link java.security.spec.RSAKeyGenParameterSpec}.
362 public Builder setAlgorithmParameterSpec(@NonNull AlgorithmParameterSpec spec) { argument
363 if (spec == null) {
364 throw new NullPointerException("spec
115 KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber, Date startDate, Date endDate, int flags) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java118 final String spec = getString("doze.pulse.schedule", R.string.doze_pulse_schedule);
119 if (sPulseSchedule == null || !sPulseSchedule.mSpec.equals(spec)) {
120 sPulseSchedule = PulseSchedule.parse(spec);
152 public static PulseSchedule parse(String spec) { argument
153 if (TextUtils.isEmpty(spec)) return null;
156 rt.mSpec = spec;
157 final String[] tokens = spec.split(",");
164 if (DEBUG) Log.d(TAG, "Parsed spec [" + spec + "] as: " + rt);
167 Log.w(TAG, "Error parsing spec
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java441 LinkSpec spec = new LinkSpec();
444 spec.url = url;
445 spec.start = start;
446 spec.end = end;
448 links.add(spec);
458 LinkSpec spec = new LinkSpec();
459 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString());
460 spec.start = match.start();
461 spec.end = match.end();
462 links.add(spec);
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DOutputSectDesc.cpp183 InputSectDesc::Spec spec; local
184 spec.m_pWildcardFile = NULL;
185 spec.m_pExcludeFiles = NULL;
186 spec.m_pWildcardSections = NULL;
187 InputSectDesc inputDesc(InputSectDesc::Keep, spec, *this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java61 public static QSTile<?> create(Host host, String spec) { argument
62 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
63 throw new IllegalArgumentException("Bad intent tile spec: " + spec);
65 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
67 throw new IllegalArgumentException("Empty intent tile spec action");

Completed in 656 milliseconds

1234