Searched refs:spec (Results 1 - 25 of 61) 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...]
/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/keystore/java/android/security/
H A DAndroidKeyPairGenerator.java36 import java.security.spec.AlgorithmParameterSpec;
37 import java.security.spec.DSAParameterSpec;
38 import java.security.spec.InvalidKeySpecException;
39 import java.security.spec.RSAKeyGenParameterSpec;
40 import java.security.spec.X509EncodedKeySpec;
168 private static byte[][] getArgsForKeyType(int keyType, AlgorithmParameterSpec spec) { argument
171 if (spec instanceof RSAKeyGenParameterSpec) {
172 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec) spec;
177 if (spec instanceof DSAParameterSpec) {
178 DSAParameterSpec dsaSpec = (DSAParameterSpec) spec;
[all...]
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...]
/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.java101 long interrogatingTid, MagnificationSpec spec) {
111 args.arg2 = spec;
136 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
160 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
161 if (spec != null) {
162 spec.recycle();
176 long interrogatingTid, MagnificationSpec spec) {
185 args.arg2 = spec;
211 final MagnificationSpec spec = (MagnificationSpec) args.arg2;
246 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec);
98 findAccessibilityNodeInfoByAccessibilityIdClientThread( long accessibilityNodeId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
173 findAccessibilityNodeInfosByViewIdClientThread(long accessibilityNodeId, String viewId, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
258 findAccessibilityNodeInfosByTextClientThread(long accessibilityNodeId, String text, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
368 findFocusClientThread(long accessibilityNodeId, int focusType, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
482 focusSearchClientThread(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid, MagnificationSpec spec) argument
651 applyAppScaleAndMagnificationSpecIfNeeded(List<AccessibilityNodeInfo> infos, MagnificationSpec spec) argument
690 applyAppScaleAndMagnificationSpecIfNeeded(Point point, MagnificationSpec spec) argument
710 applyAppScaleAndMagnificationSpecIfNeeded(AccessibilityNodeInfo info, MagnificationSpec spec) argument
769 shouldApplyAppScaleAndMagnificationSpec(float appScale, MagnificationSpec spec) argument
[all...]
H A DWindowManagerInternal.java109 * @param spec The MagnficationSpec to set.
113 public abstract void setMagnificationSpec(MagnificationSpec spec); argument
123 * @return The magnification spec for the window.
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dquantize.h38 Word32 calcSfbDist(const Word32 *spec,
/frameworks/rs/
H A DAndroid.mk81 spec.l \
107 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec | $(RSG_GENERATOR) $< $@
108 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec $(LOCAL_PATH)/rs_native.spec
124 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec |
[all...]
/frameworks/rs/api/
H A Dgenerate.sh20 ./gen_runtime -v 21 rs_core_math.spec
H A Dgen_runtime.cpp17 /* This program processes Renderscript function definitions described in spec files.
18 * For each spec file provided on the command line, it generates a corresponding
30 * - SpecFile: Represents on spec file.
32 * spec file contains many entries for clamp, we'll only have one clamp instance.
35 * spec file. Strings that are parts of a Specification can include placeholders,
93 string specType; // The type found in the spec, e.g. "f16"
105 string specName; // e.g. x, as found in the spec file
125 /* Parse the parameter definition found in the spec file. It will generate a name if none
133 // An entire spec file and the methods to process it.
153 /* Represents a function, like "clamp". Even though the spec fil
184 addSpecification(Specification* spec) argument
706 Specification* spec = Specification::scanSpecification(specFile); local
900 Specification* spec = new Specification(); local
1105 Permutation(Function* func, Specification* spec, int i1, int i2, int i3, int i4) 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java126 final String spec = getString("doze.pulse.schedule", R.string.doze_pulse_schedule);
127 if (sPulseSchedule == null || !sPulseSchedule.mSpec.equals(spec)) {
128 sPulseSchedule = PulseSchedule.parse(spec);
160 public static PulseSchedule parse(String spec) { argument
161 if (TextUtils.isEmpty(spec)) return null;
164 rt.mSpec = spec;
165 final String[] tokens = spec.split(",");
172 if (DEBUG) Log.d(TAG, "Parsed spec [" + spec + "] as: " + rt);
175 Log.w(TAG, "Error parsing 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/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/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp153 struct itimerspec spec; local
154 memset(&spec, 0, sizeof(spec));
155 memcpy(&spec.it_value, ts, sizeof(spec.it_value));
157 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL);
326 struct itimerspec spec; local
327 memset(&spec, 0, sizeof(spec));
332 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NUL
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java57 public static QSTile<?> create(Host host, String spec) { argument
58 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
59 throw new IllegalArgumentException("Bad intent tile spec: " + spec);
61 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
63 throw new IllegalArgumentException("Empty intent tile spec action");
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h99 bool parseFormatSpec(const char *spec);
111 bool parseH264Codec(const char *spec);
/frameworks/support/v8/renderscript/rs_support/
H A DAndroid.mk28 spec.l \
55 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR_SUPPORT) $< $@ <$(PRIVATE_PATH)/rs.spec
56 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec
72 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR_SUPPORT) $< $@ <$(PRIVATE_PATH)/rs.spec
73 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp59 m_Spec.m_pWildcardFile = pInputDesc.spec().m_pWildcardFile;
60 m_Spec.m_pExcludeFiles = pInputDesc.spec().m_pExcludeFiles;
61 m_Spec.m_pWildcardSections = pInputDesc.spec().m_pWildcardSections;
278 (*in)->spec() == pInputDesc.spec())
312 if (pInput.spec().hasFile() && !matched(pInput.spec().file(), pInputFile))
315 if (pInput.spec().hasExcludeFiles()) {
317 fileEnd = pInput.spec().excludeFiles().end();
318 for (file = pInput.spec()
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java228 MagnificationSpec spec = mMagnificationController.getMagnificationSpec();
231 final float scale = spec.scale;
232 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale;
233 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
310 MagnificationSpec spec = mMagnificationController.getMagnificationSpec();
312 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
313 rect.scale(1.0f / spec.scale);
1015 MagnificationSpec spec = mCurrentMagnificationSpec;
1016 final float oldScale = spec
1108 setMagnificationSpec(MagnificationSpec spec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java71 * Each spec defines the set of rows or columns that are to be
665 Spec spec = horizontal ? p.columnSpec : p.rowSpec;
667 Interval span = spec.span;
689 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
690 int index = leading ? spec.span.min : spec.span.max;
828 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
829 Interval span = spec.span;
1019 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
1020 if (spec
2414 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
2635 public static Spec spec(int start, int size, Alignment alignment, float weight) { method in class:GridLayout
2646 public static Spec spec(int start, Alignment alignment, float weight) { method in class:GridLayout
2659 public static Spec spec(int start, int size, float weight) { method in class:GridLayout
2669 public static Spec spec(int start, float weight) { method in class:GridLayout
2680 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout
2698 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout
2715 public static Spec spec(int start, int size) { method in class:GridLayout
2731 public static Spec spec(int start) { method in class:GridLayout
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java68 * Each spec defines the set of rows or columns that are to be
649 Spec spec = horizontal ? p.columnSpec : p.rowSpec;
651 Interval span = spec.span;
677 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
678 int index = leading ? spec.span.min : spec.span.max;
804 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
805 Interval span = spec.span;
908 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
909 if (spec
2289 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
2510 public static Spec spec(int start, int size, Alignment alignment, float weight) { method in class:GridLayout
2521 public static Spec spec(int start, Alignment alignment, float weight) { method in class:GridLayout
2534 public static Spec spec(int start, int size, float weight) { method in class:GridLayout
2544 public static Spec spec(int start, float weight) { method in class:GridLayout
2555 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout
2573 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout
2590 public static Spec spec(int start, int size) { method in class:GridLayout
2606 public static Spec spec(int start) { method in class:GridLayout
[all...]

Completed in 525 milliseconds

123