Searched defs:spec (Results 1 - 25 of 29) sorted by relevance

12

/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/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/compile/mclinker/include/mcld/Script/
H A DInputSectDesc.h83 const Spec& spec() const { return m_Spec; } function in class:mcld::InputSectDesc
/frameworks/base/core/java/android/view/
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.
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...]
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java102 * @param spec describing some or all scheduler options.
107 public static Options parseOptions(String spec, Options options) argument
109 for (String param : spec.split(" +")) {
114 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]");
/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]);
H A Dsf_estim.c116 /* calc sum of sqrt(spec) */
144 static Word16 improveScf(Word32 *spec, argument
160 sfbDist = calcSfbDist(spec, sfbWidth, scf);
175 sfbDist = calcSfbDist(spec, sfbWidth, scf);
189 sfbDist = calcSfbDist(spec, sfbWidth, scf);
212 sfbDist = calcSfbDist(spec, sfbWidth, scf);
/frameworks/av/media/libstagefright/wifi-display/
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/keystore/tests/src/android/security/
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/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/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/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/compile/mclinker/include/mcld/Object/
H A DSectionMap.h41 const InputSectDesc::Spec& spec() const { return m_Spec; } function in class:mcld::SectionMap::Input
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp642 struct timespec spec; local
643 spec.tv_sec = (now + delay) / 1000000000;
644 spec.tv_nsec = (now + delay) % 1000000000;
647 err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, NULL);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java41 * The measure spec for the scroll direction.
391 final int spec = View.MeasureSpec.makeMeasureSpec(mSizePerSpan * spanSize,
395 measureChildWithDecorationsAndMargin(view, spec, getMainDirSpec(lp.height));
397 measureChildWithDecorationsAndMargin(view, getMainDirSpec(lp.width), spec);
411 final int spec = View.MeasureSpec.makeMeasureSpec(mSizePerSpan * spanSize,
414 measureChildWithDecorationsAndMargin(view, spec, maxMeasureSpec);
416 measureChildWithDecorationsAndMargin(view, maxMeasureSpec, spec);
488 private int updateSpecWithExtra(int spec, int startInset, int endInset) { argument
490 return spec;
492 final int mode = View.MeasureSpec.getMode(spec);
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java112 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument
114 mDisplayMagnifier.setMagnificationSpecLocked(spec);
258 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument
259 mMagnifedViewport.updateMagnificationSpecLocked(spec);
374 MagnificationSpec spec = mMagnifedViewport.getMagnificationSpecLocked();
375 if (spec != null && !spec.isNop()) {
386 return spec;
437 public void updateMagnificationSpecLocked(MagnificationSpec spec) { argument
438 if (spec !
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp451 char spec[RESTABLE_MAX_LOCALE_LEN]; local
452 config.getBcp47Locale(spec);
453 setLocaleLocked(spec);
/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/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java255 * @param spec the Endpoint to match. If the spec has null fields, they indicate a wildcard
258 public boolean matchesSpec(EndPoint spec) { argument
259 if (userId != spec.userId
261 && spec.userId != UserHandle.USER_ALL) {
264 if (target_service && spec.target_service) {
265 return service.equals(spec.service);
266 } else if (target_provider && spec.target_provider) {
268 if (spec.account == null) {
271 accountsMatch = account.equals(spec
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java3277 static final void printFlags(PrintWriter pw, int val, Object[] spec) { argument
3279 for (int i=0; i<spec.length; i+=2) {
3280 int mask = (Integer)spec[i];
3282 pw.print(spec[i+1]);
/frameworks/rs/api/
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/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 582 milliseconds

12