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

12

/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/keystore/java/android/security/keystore/
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 DAndroidKeyStoreKeyPairGeneratorSpi.java65 import java.security.spec.AlgorithmParameterSpec;
66 import java.security.spec.ECGenParameterSpec;
67 import java.security.spec.RSAKeyGenParameterSpec;
197 KeyGenParameterSpec spec;
201 spec = (KeyGenParameterSpec) params;
203 // Legacy/deprecated spec
283 spec = specBuilder.build();
294 mEntryAlias = spec.getKeystoreAlias();
295 mEntryUid = spec.getUid();
296 mSpec = spec;
744 getCertificateSignatureAlgorithm( int keymasterAlgorithm, int keySizeBits, KeyGenParameterSpec spec) argument
[all...]
H A DKeyGenParameterSpec.java31 import java.security.spec.AlgorithmParameterSpec;
42 * system</a>. The spec determines authorized uses of the key, such as whether user authentication
45 * the key's validity start and end dates. Key use authorizations expressed in the spec apply
56 * Keystore under the alias specified in this spec. To obtain the secret or private key from the
72 * of the certificate can be customized in this spec. The self-signed certificate may be replaced at
273 AlgorithmParameterSpec spec,
317 mSpec = spec;
572 * <p>If this method returns {@code null}, and the spec is used to generate an asymmetric (RSA
717 * be an instance of {@link java.security.spec.RSAKeyGenParameterSpec} whereas for EC keys
718 * this may be an instance of {@link java.security.spec
269 KeyGenParameterSpec( String keyStoreAlias, int uid, int keySize, AlgorithmParameterSpec spec, X500Principal certificateSubject, BigInteger certificateSerialNumber, Date certificateNotBefore, Date certificateNotAfter, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.DigestEnum String[] digests, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.BlockModeEnum String[] blockModes, boolean randomizedEncryptionRequired, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, byte[] attestationChallenge, boolean uniqueIdIncluded, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment) argument
723 setAlgorithmParameterSpec(@onNull 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.h79 const Spec& spec() const { return m_Spec; } function in class:mcld::InputSectDesc
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DDefaultMeasureSpecTest.java164 private static String log(int spec) { argument
165 final int size = View.MeasureSpec.getSize(spec);
166 int mode = View.MeasureSpec.getMode(spec);
H A DTestedFrameLayout.java94 public static int chooseSize(int spec, int desired, int min) { argument
95 final int mode = View.MeasureSpec.getMode(spec);
96 final int size = View.MeasureSpec.getSize(spec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java66 final String spec = possibleTiles[i];
67 final QSTile<?> tile = host.createTile(spec);
85 addTile(spec, null, state, true);
109 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { argument
110 if (mSpecs.contains(spec)) {
117 info.spec = spec;
121 mSpecs.add(spec);
124 private void addTile(String spec, Drawable drawable, CharSequence label, CharSequence appLabel, argument
130 addTile(spec, appLabe
134 public String spec; field in class:TileQueryHelper.TileInfo
176 getState(Collection<QSTile<?>> tiles, String spec) argument
[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 + "]");
/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
385 size_t size = strlen(spec);
388 if (sscanf(spec, "%02x %02x ", &native, &dummy) != 2) {
395 parseH264Codec(spec + offset);
456 // Support for the native format is a great idea, the spec includes
/frameworks/base/core/java/android/view/
H A DWindowManagerInternal.java153 * @param spec The MagnficationSpec to set.
157 public abstract void setMagnificationSpec(MagnificationSpec spec); argument
174 * @return The magnification spec for the window.
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/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/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java40 import java.security.spec.AlgorithmParameterSpec;
41 import java.security.spec.RSAKeyGenParameterSpec;
237 AlgorithmParameterSpec spec = new RSAKeyGenParameterSpec(1024, BigInteger.valueOf(3L));
241 .setAlgorithmParameterSpec(spec)
251 assertKeyPairCorrect(pair, TEST_ALIAS_1, "RSA", 1024, spec, TEST_DN_1, TEST_SERIAL_1, NOW,
331 AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end)
344 if (spec != null) {
345 RSAKeyGenParameterSpec params = (RSAKeyGenParameterSpec) spec;
330 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java330 public static ComponentName getComponentFromSpec(String spec) { argument
331 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
333 throw new IllegalArgumentException("Empty custom tile spec action");
338 public static QSTile<?> create(QSTileHost host, String spec) { argument
339 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
340 throw new IllegalArgumentException("Bad custom tile spec: " + spec);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java62 public static QSTile<?> create(Host host, String spec) { argument
63 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
64 throw new IllegalArgumentException("Bad intent tile spec: " + spec);
66 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
68 throw new IllegalArgumentException("Empty intent tile spec action");
/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...]
H A DQSTileHost.java350 Log.w(TAG, "Error creating tile for spec: " + tileSpec, t);
372 public void addTile(String spec) { argument
376 if (tileSpecs.contains(spec)) {
379 tileSpecs.add(spec);
453 Log.w(TAG, "Bad tile spec: " + tileSpec);
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp158 struct itimerspec spec; local
159 memset(&spec, 0, sizeof(spec));
160 memcpy(&spec.it_value, ts, sizeof(spec.it_value));
162 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL);
398 struct itimerspec spec; local
399 memset(&spec, 0, sizeof(spec));
404 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NUL
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h42 const InputSectDesc::Spec& spec() const { return m_Spec; } function in class:mcld::SectionMap::Input
/frameworks/rs/api/
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 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...]

Completed in 1046 milliseconds

12