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

12345

/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_creat
[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
200 writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, const FunctionPermutation& permutation) argument
308 writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) argument
[all...]
H A DSpecification.cpp60 // The singleton of the collected information of all the spec files.
88 * how specified in the spec file.
376 ConstantSpecification* spec = new ConstantSpecification(constant); local
377 constant->addSpecification(spec);
379 specFile->addConstantSpecification(spec, created);
380 spec->mVersionInfo = info;
383 spec->mValue = scanner->getValue();
402 TypeSpecification* spec = new TypeSpecification(type); local
403 type->addSpecification(spec);
405 specFile->addTypeSpecification(spec, create
619 FunctionSpecification* spec = new FunctionSpecification(function); local
703 FunctionPermutation(Function* func, FunctionSpecification* spec, int replacementIndexes[MAX_REPLACEABLES], Scanner* scanner) argument
775 addConstantSpecification(ConstantSpecification* spec, bool hasDocumentation) argument
783 addTypeSpecification(TypeSpecification* spec, bool hasDocumentation) argument
791 addFunctionSpecification(FunctionSpecification* spec, bool hasDocumentation) argument
894 SpecFile* spec = new SpecFile(fileName); local
[all...]
H A DGenerateStubsWhiteList.cpp66 for (TypeSpecification* spec : type->second->getSpecifications()) {
68 const VersionInfo info = spec->getVersionInfo();
72 switch (spec->getKind()) {
74 return spec->getSimpleType();
81 return spec->getStructName();
351 const FunctionSpecification& spec, unsigned int lastApiLevel,
354 if (spec.hasInline()) {
357 const VersionInfo info = spec.getVersionInfo();
361 const bool overloadable = spec.isOverloadable();
370 for (auto permutation : spec
350 addManglingsForSpecification(const Function& function, const FunctionSpecification& spec, unsigned int lastApiLevel, set<string>* allManglings) argument
[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 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 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;
122 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName());
127 protected PrivateKey engineGeneratePrivate(KeySpec spec) throws InvalidKeySpecException { argument
134 protected PublicKey engineGeneratePublic(KeySpec spec) throws InvalidKeySpecException { argument
H A DAndroidKeyStoreECPrivateKey.java21 import java.security.spec.ECParameterSpec;
/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/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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
H A DGridLayout3.java25 import static android.support.v7.widget.GridLayout.spec;
61 Spec titleRow = spec(0);
62 Spec introRow = spec(1);
63 Spec emailRow = spec(2, BASELINE);
64 Spec passwordRow = spec(3, BASELINE);
65 Spec button1Row = spec(5);
66 Spec button2Row = spec(6);
68 Spec centerInAllColumns = spec(0, 4, CENTER);
69 Spec leftAlignInAllColumns = spec(0, 4, LEFT);
70 Spec labelColumn = spec(
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
H A DGridLayout3.java25 import static android.support.v7.widget.GridLayout.spec;
61 Spec titleRow = spec(0);
62 Spec introRow = spec(1);
63 Spec emailRow = spec(2, BASELINE);
64 Spec passwordRow = spec(3, BASELINE);
65 Spec button1Row = spec(5);
66 Spec button2Row = spec(6);
68 Spec centerInAllColumns = spec(0, 4, CENTER);
69 Spec leftAlignInAllColumns = spec(0, 4, LEFT);
70 Spec labelColumn = spec(
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java65 final String spec = possibleTiles[i];
66 final QSTile<?> tile = host.createTile(spec);
84 addTile(spec, null, state, true);
108 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { argument
109 if (mSpecs.contains(spec)) {
116 info.spec = spec;
120 mSpecs.add(spec);
123 private void addTile(String spec, Drawable drawable, CharSequence label, CharSequence appLabel, argument
129 addTile(spec, appLabe
133 public String spec; field in class:TileQueryHelper.TileInfo
182 getState(Collection<QSTile<?>> tiles, String spec) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dquantize.h38 Word32 calcSfbDist(const Word32 *spec,
/frameworks/base/core/java/android/security/net/config/
H A DRootTrustManagerFactorySpi.java41 public void engineInit(ManagerFactoryParameters spec) argument
43 if (!(spec instanceof ApplicationConfigParameters)) {
44 throw new InvalidAlgorithmParameterException("Unsupported spec: " + spec + ". Only "
48 mApplicationConfig = ((ApplicationConfigParameters) spec).config;
/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java24 * This class represents spec for performing screen magnification.
74 MagnificationSpec spec = sPool.acquire();
75 return (spec != null) ? spec : new MagnificationSpec();
157 MagnificationSpec spec = MagnificationSpec.obtain();
158 spec.initFromParcel(parcel);
159 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/rs/
H A DAndroid.mk78 spec.l \
105 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERATOR) $< $@
106 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec
121 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERATOR) $< $@
122 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec
208 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java72 return "spec: " + sPickupSubtypePerformsProxMatcher.mSpec;
132 String spec = getString("doze.pickup.proxcheck",
135 if (TextUtils.isEmpty(spec)) {
141 || !TextUtils.equals(spec, sPickupSubtypePerformsProxMatcher.mSpec)) {
142 sPickupSubtypePerformsProxMatcher = new IntInOutMatcher(spec);
150 * Parses a spec of the form `1,2,3,!5,*`. The resulting object will match numbers that are
160 * - an empty spec
161 * - a spec containing that are empty, or a lone !
162 * - a spec for anything other than numbers or *
173 public IntInOutMatcher(String spec) { argument
[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/support/v8/renderscript/rs_support/
H A DAndroid.mk28 spec.l \
56 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rs_compat.spec | $(RSG_GENERATOR_SUPPORT) $< $@
57 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rs_compat.spec
73 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rs_compat.spec | $(RSG_GENERATOR_SUPPORT) $< $@
74 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rs_compat.spec
/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
267 * KeyPairGeneratorSpec spec =
361 * this may be an instance of {@link java.security.spec.RSAKeyGenParameterSpec}.
363 public Builder setAlgorithmParameterSpec(@NonNull AlgorithmParameterSpec spec) { argument
364 if (spec == null) {
365 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...]

Completed in 540 milliseconds

12345