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

123

/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...]
H A DAndroidKeyPairGeneratorTest.java34 import java.security.spec.AlgorithmParameterSpec;
35 import java.security.spec.DSAParameterSpec;
36 import java.security.spec.RSAKeyGenParameterSpec;
300 AlgorithmParameterSpec spec = new DSAParameterSpec(p, q, g);
305 .setAlgorithmParameterSpec(spec)
315 assertKeyPairCorrect(pair, TEST_ALIAS_1, "DSA", 2048, spec, TEST_DN_1, TEST_SERIAL_1, NOW,
372 AlgorithmParameterSpec spec = new RSAKeyGenParameterSpec(1024, BigInteger.valueOf(3L));
376 .setAlgorithmParameterSpec(spec)
386 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 1024, spec, TEST_DN_1, TEST_SERIAL_1, NOW,
466 AlgorithmParameterSpec spec, X500Principa
465 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl34 long interrogatingTid, in MagnificationSpec spec);
38 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec);
42 long interrogatingTid, in MagnificationSpec spec);
46 long interrogatingTid, in MagnificationSpec spec);
50 long interrogatingTid, in MagnificationSpec spec);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java55 Spec row1 = spec(0);
56 Spec row2 = spec(1);
57 Spec row3 = spec(2, BASELINE);
58 Spec row4 = spec(3, BASELINE);
59 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two
60 Spec row6 = spec(5);
61 Spec row7 = spec(6);
63 Spec col1a = spec(0, 4, CENTER);
64 Spec col1b = spec(0, 4, LEFT);
65 Spec col1c = spec(
[all...]
H A DBiDiTestGridLayoutCodeRtl.java55 Spec row1 = spec(0);
56 Spec row2 = spec(1);
57 Spec row3 = spec(2, BASELINE);
58 Spec row4 = spec(3, BASELINE);
59 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two
60 Spec row6 = spec(5);
61 Spec row7 = spec(6);
63 Spec col1a = spec(0, 4, CENTER);
64 Spec col1b = spec(0, 4, LEFT);
65 Spec col1c = spec(
[all...]
/frameworks/compile/slang/
H A DRSSpec.mk17 RS_SPEC_GEN := $(BUILD_OUT_EXECUTABLES)/rs-spec-gen$(BUILD_EXECUTABLE_SUFFIX)
19 define generate-rs-spec-inc
32 $(call generate-rs-spec-inc,clang-builtin-enums)
38 $(call generate-rs-spec-inc,rs-data-type-enums)
44 $(call generate-rs-spec-inc,rs-matrix-type-enums)
50 $(call generate-rs-spec-inc,rs-object-type-enums)
56 $(call generate-rs-spec-inc,rs-data-element-enums)
/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.java95 long interrogatingTid, MagnificationSpec spec) {
105 args.arg2 = spec;
129 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
152 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
153 if (spec != null) {
154 spec.recycle();
166 int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) {
175 args.arg2 = spec;
200 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
234 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
92 findAccessibilityNodeInfoByAccessibilityIdClientThread( long accessibilityNodeId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
164 findAccessibilityNodeInfosByViewIdClientThread(long accessibilityNodeId, String viewId, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
245 findAccessibilityNodeInfosByTextClientThread(long accessibilityNodeId, String text, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
346 findFocusClientThread(long accessibilityNodeId, int focusType, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
456 focusSearchClientThread(long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
616 applyAppScaleAndMagnificationSpecIfNeeded(List<AccessibilityNodeInfo> infos, MagnificationSpec spec) argument
631 applyAppScaleAndMagnificationSpecIfNeeded(AccessibilityNodeInfo info, MagnificationSpec spec) argument
690 shouldApplyAppScaleAndMagnificationSpec(float appScale, MagnificationSpec spec) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dquantize.h38 Word32 calcSfbDist(const Word32 *spec,
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java28 import java.security.spec.AlgorithmParameterSpec;
29 import java.security.spec.DSAParameterSpec;
30 import java.security.spec.RSAKeyGenParameterSpec;
119 * @param spec the underlying key type parameters
130 AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber,
152 checkCorrectParametersSpec(keyTypeInt, keySize, spec);
159 mSpec = spec;
200 AlgorithmParameterSpec spec) {
201 if (keyType == NativeCrypto.EVP_PKEY_DSA && spec != null) {
202 if (!(spec instanceo
129 KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal subjectDN, BigInteger serialNumber, Date startDate, Date endDate, int flags) argument
199 checkCorrectParametersSpec(int keyType, int keySize, AlgorithmParameterSpec spec) argument
408 setAlgorithmParameterSpec(AlgorithmParameterSpec spec) argument
[all...]
H A DAndroidKeyPairGenerator.java36 import java.security.spec.AlgorithmParameterSpec;
37 import java.security.spec.DSAParameterSpec;
38 import java.security.spec.ECParameterSpec;
39 import java.security.spec.InvalidKeySpecException;
40 import java.security.spec.RSAKeyGenParameterSpec;
41 import java.security.spec.X509EncodedKeySpec;
169 private static byte[][] getArgsForKeyType(int keyType, AlgorithmParameterSpec spec) { argument
172 if (spec instanceof RSAKeyGenParameterSpec) {
173 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) spec;
178 if (spec instanceo
[all...]
/frameworks/rs/
H A DAndroid.mk65 spec.l \
88 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec | $(RSG_GENERATOR) $< $@
89 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec $(LOCAL_PATH)/rs_native.spec
105 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec |
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java438 LinkSpec spec = new LinkSpec();
441 spec.url = url;
442 spec.start = start;
443 spec.end = end;
445 links.add(spec);
455 LinkSpec spec = new LinkSpec();
456 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString());
457 spec.start = match.start();
458 spec.end = match.end();
459 links.add(spec);
[all...]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DGridLayoutTest.java36 Spec rowSpec = spec(UNDEFINED, null);
37 Spec colSpec = spec(UNDEFINED, null);
H A DAlignmentTest.java86 LayoutParams layoutParams = new LayoutParams(spec(i, va), spec(j, ha));
/frameworks/support/v8/renderscript/rs_support/
H A DAndroid.mk28 spec.l \
52 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR_SUPPORT) $< $@ <$(PRIVATE_PATH)/rs.spec
53 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec
69 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR_SUPPORT) $< $@ <$(PRIVATE_PATH)/rs.spec
70 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h99 bool parseFormatSpec(const char *spec);
111 bool parseH264Codec(const char *spec);
H A DVideoFormats.cpp306 bool VideoFormats::parseH264Codec(const char *spec) { argument
310 spec,
379 bool VideoFormats::parseFormatSpec(const char *spec) { argument
386 size_t size = strlen(spec);
389 if (sscanf(spec, "%02x %02x ", &native, &dummy) != 2) {
396 parseH264Codec(spec + offset);
457 // Support for the native format is a great idea, the spec includes
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java235 MagnificationSpec spec = mMagnificationController.getMagnificationSpec();
238 final float scale = spec.scale;
239 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale;
240 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
317 MagnificationSpec spec = mMagnificationController.getMagnificationSpec();
319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
320 rect.scale(1.0f / spec.scale);
1026 MagnificationSpec spec = mCurrentMagnificationSpec;
1027 final float oldScale = spec
1119 setMagnificationSpec(MagnificationSpec spec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java68 * Each spec defines the set of rows or columns that are to be
661 Spec spec = horizontal ? p.columnSpec : p.rowSpec;
663 Interval span = spec.span;
685 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
686 int index = leading ? spec.span.min : spec.span.max;
824 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
825 Interval span = spec.span;
1013 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1014 if (spec
2266 include(GridLayout gl, View c, Spec spec, Axis axis) argument
2479 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout
2497 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout
2514 public static Spec spec(int start, int size) { method in class:GridLayout
2530 public static Spec spec(int start) { method in class:GridLayout
[all...]
H A DTableRow.java215 // because of the EXACTLY measure spec we use
301 int spec;
304 spec = getChildMeasureSpec(widthMeasureSpec, 0, LayoutParams.WRAP_CONTENT);
307 spec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
310 spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
312 child.measure(spec, spec);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java69 * Each spec defines the set of rows or columns that are to be
657 Spec spec = horizontal ? p.columnSpec : p.rowSpec;
659 Interval span = spec.span;
685 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
686 int index = leading ? spec.span.min : spec.span.max;
812 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
813 Interval span = spec.span;
914 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
915 if (spec
2149 include(GridLayout gl, View c, Spec spec, Axis axis) argument
2362 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout
2380 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout
2397 public static Spec spec(int start, int size) { method in class:GridLayout
2413 public static Spec spec(int start) { method in class:GridLayout
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dquantize.c327 Word32 calcSfbDist(const Word32 *spec, argument
348 if (spec[line]) {
353 sa = L_abs(spec[line]);
398 if (spec[line]) {
403 sa = L_abs(spec[line]);
/frameworks/base/services/java/com/android/server/wm/
H A DDisplayMagnifier.java96 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument
97 mMagnifedViewport.updateMagnificationSpecLocked(spec);
217 MagnificationSpec spec = mMagnifedViewport.getMagnificationSpecLocked();
218 if (spec != null && !spec.isNop()) {
229 return spec;
280 public void updateMagnificationSpecLocked(MagnificationSpec spec) { argument
281 if (spec != null) {
282 mMagnificationSpec.initialize(spec.scale, spec
[all...]
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java101 * @param spec describing some or all scheduler options.
106 public static Options parseOptions(String spec, Options options) argument
108 for (String param : spec.split(" +")) {
113 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]");

Completed in 894 milliseconds

123