/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyGeneratorSpi.java | 32 import java.security.spec.AlgorithmParameterSpec; 160 KeyGenParameterSpec spec = (KeyGenParameterSpec) params; in engineInit() local 161 if (spec.getKeystoreAlias() == null) { in engineInit() 166 mSpec = spec; in engineInit() 168 mKeySizeBits = (spec.getKeySize() != -1) ? spec.getKeySize() : mDefaultKeySizeBits; in engineInit() 178 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit() 180 spec.getEncryptionPaddings()); in engineInit() 181 if (spec.getSignaturePaddings().length > 0) { in engineInit() 185 mKeymasterBlockModes = KeyProperties.BlockMode.allToKeymaster(spec.getBlockModes()); in engineInit() 186 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit() [all …]
|
D | AndroidKeyStoreRSACipherSpi.java | 33 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; 190 OAEPParameterSpec spec = (OAEPParameterSpec) params; in initAlgorithmSpecificParameters() local 191 if (!MGF_ALGORITGM_MGF1.equalsIgnoreCase(spec.getMGFAlgorithm())) { in initAlgorithmSpecificParameters() 193 "Unsupported MGF: " + spec.getMGFAlgorithm() in initAlgorithmSpecificParameters() 196 String jcaDigest = spec.getDigestAlgorithm(); in initAlgorithmSpecificParameters() 216 AlgorithmParameterSpec mgfParams = spec.getMGFParameters(); in initAlgorithmSpecificParameters() [all …]
|
D | AndroidKeyStoreKeyFactorySpi.java | 27 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; 127 protected PrivateKey engineGeneratePrivate(KeySpec spec) throws InvalidKeySpecException { in engineGeneratePrivate() argument 134 protected PublicKey engineGeneratePublic(KeySpec spec) throws InvalidKeySpecException { in engineGeneratePublic() argument
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 65 import java.security.spec.AlgorithmParameterSpec; 66 import java.security.spec.ECGenParameterSpec; 67 import java.security.spec.RSAKeyGenParameterSpec; 197 KeyGenParameterSpec spec; in initialize() local 201 spec = (KeyGenParameterSpec) params; in initialize() 283 spec = specBuilder.build(); in initialize() 294 mEntryAlias = spec.getKeystoreAlias(); in initialize() 295 mEntryUid = spec.getUid(); in initialize() 296 mSpec = spec; in initialize() 299 mKeySizeBits = spec.getKeySize(); in initialize() [all …]
|
/frameworks/rs/api/ |
D | generate.sh | 34 …spec rs_value_types.spec rs_object_types.spec rs_convert.spec rs_math.spec rs_vector_math.spec rs_…
|
D | GenerateHeaderFiles.cpp | 119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { in writeConstantSpecification() argument 120 const Constant* constant = spec.getConstant(); in writeConstantSpecification() 121 VersionInfo info = spec.getVersionInfo(); in writeConstantSpecification() 123 *file << "#define " << constant->getName() << " " << spec.getValue() << "\n\n"; in writeConstantSpecification() 127 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { in writeTypeSpecification() argument 128 const Type* type = spec.getType(); in writeTypeSpecification() 130 const VersionInfo info = spec.getVersionInfo(); in writeTypeSpecification() 134 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(), in writeTypeSpecification() 137 switch (spec.getKind()) { in writeTypeSpecification() 139 *file << spec.getSimpleType() << attribute; in writeTypeSpecification() [all …]
|
D | Specification.cpp | 376 ConstantSpecification* spec = new ConstantSpecification(constant); in scanConstantSpecification() local 377 constant->addSpecification(spec); in scanConstantSpecification() 379 specFile->addConstantSpecification(spec, created); in scanConstantSpecification() 380 spec->mVersionInfo = info; in scanConstantSpecification() 383 spec->mValue = scanner->getValue(); in scanConstantSpecification() 402 TypeSpecification* spec = new TypeSpecification(type); in scanTypeSpecification() local 403 type->addSpecification(spec); in scanTypeSpecification() 405 specFile->addTypeSpecification(spec, created); in scanTypeSpecification() 406 spec->mVersionInfo = info; in scanTypeSpecification() 409 spec->mKind = SIMPLE; in scanTypeSpecification() [all …]
|
D | GenerateStubsWhiteList.cpp | 66 for (TypeSpecification* spec : type->second->getSpecifications()) { in findSubstitute() 68 const VersionInfo info = spec->getVersionInfo(); in findSubstitute() 72 switch (spec->getKind()) { in findSubstitute() 74 return spec->getSimpleType(); in findSubstitute() 81 return spec->getStructName(); in findSubstitute() 351 … const FunctionSpecification& spec, unsigned int lastApiLevel, in addManglingsForSpecification() argument 354 if (spec.hasInline()) { in addManglingsForSpecification() 357 const VersionInfo info = spec.getVersionInfo(); in addManglingsForSpecification() 361 const bool overloadable = spec.isOverloadable(); in addManglingsForSpecification() 370 for (auto permutation : spec.getPermutations()) { in addManglingsForSpecification() [all …]
|
D | GenerateDocumentation.cpp | 348 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { in writeDetailedTypeSpecification() argument 349 switch (spec->getKind()) { in writeDetailedTypeSpecification() 351 Type* type = spec->getType(); in writeDetailedTypeSpecification() 352 *file << "<p>A typedef of: " << spec->getSimpleType() in writeDetailedTypeSpecification() 353 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(), in writeDetailedTypeSpecification() 356 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 362 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 368 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 372 const vector<string>& values = spec->getValues(); in writeDetailedTypeSpecification() 373 const vector<string>& valueComments = spec->getValueComments(); in writeDetailedTypeSpecification() [all …]
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyPairGeneratorSpecTest.java | 42 KeyPairGeneratorSpec spec = in testConstructor_Success() local 46 assertEquals("Context should be the one specified", getContext(), spec.getContext()); in testConstructor_Success() 48 assertEquals("Alias should be the one specified", TEST_ALIAS_1, spec.getKeystoreAlias()); in testConstructor_Success() 50 assertEquals("Key algorithm should be the one specified", "RSA", spec.getKeyType()); in testConstructor_Success() 52 assertEquals("Key size should be the one specified", 1024, spec.getKeySize()); in testConstructor_Success() 54 assertEquals("subjectDN should be the one specified", TEST_DN_1, spec.getSubjectDN()); in testConstructor_Success() 56 assertEquals("startDate should be the one specified", NOW, spec.getStartDate()); in testConstructor_Success() 58 assertEquals("endDate should be the one specified", NOW_PLUS_10_YEARS, spec.getEndDate()); in testConstructor_Success() 62 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Success() local 73 assertEquals("Context should be the one specified", getContext(), spec.getContext()); in testBuilder_Success() [all …]
|
/frameworks/rs/ |
D | Android.mk | 78 spec.l \ 105 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT… 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_GENERAT… 122 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec 208 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT… 209 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec 224 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT… 225 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec 276 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT… [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeRtl.java | 43 import static android.widget.GridLayout.spec; 69 Spec row1 = spec(0); in create() 70 Spec row2 = spec(1); in create() 71 Spec row3 = spec(2, BASELINE); in create() 72 Spec row4 = spec(3, BASELINE); in create() 73 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two in create() 74 Spec row6 = spec(5); in create() 75 Spec row7 = spec(6); in create() 77 Spec col1a = spec(0, 4, CENTER); in create() 78 Spec col1b = spec(0, 4, LEFT); in create() [all …]
|
D | BiDiTestGridLayoutCodeLtr.java | 43 import static android.widget.GridLayout.spec; 69 Spec row1 = spec(0); in create() 70 Spec row2 = spec(1); in create() 71 Spec row3 = spec(2, BASELINE); in create() 72 Spec row4 = spec(3, BASELINE); in create() 73 Spec row5 = spec(2, 3, FILL); // allow the last two rows to overlap the middle two in create() 74 Spec row6 = spec(5); in create() 75 Spec row7 = spec(6); in create() 77 Spec col1a = spec(0, 4, CENTER); in create() 78 Spec col1b = spec(0, 4, LEFT); in create() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 66 final String spec = possibleTiles[i]; in addSystemTiles() local 67 final QSTile<?> tile = host.createTile(spec); in addSystemTiles() 85 addTile(spec, null, state, true); in addSystemTiles() 109 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { in addTile() argument 110 if (mSpecs.contains(spec)) { in addTile() 117 info.spec = spec; in addTile() 121 mSpecs.add(spec); in addTile() 124 private void addTile(String spec, Drawable drawable, CharSequence label, CharSequence appLabel, in addTile() argument 130 addTile(spec, appLabel, state, false); in addTile() 134 public String spec; field in TileQueryHelper.TileInfo [all …]
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 102 long interrogatingTid, MagnificationSpec spec) { in findAccessibilityNodeInfoByAccessibilityIdClientThread() argument 112 args.arg2 = spec; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 137 final MagnificationSpec spec = (MagnificationSpec) args.arg2; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local 161 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec); in findAccessibilityNodeInfoByAccessibilityIdUiThread() 164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 165 spec.recycle(); in findAccessibilityNodeInfoByAccessibilityIdUiThread() 185 long interrogatingTid, MagnificationSpec spec) { in findAccessibilityNodeInfosByViewIdClientThread() argument 194 args.arg2 = spec; in findAccessibilityNodeInfosByViewIdClientThread() 220 final MagnificationSpec spec = (MagnificationSpec) args.arg2; in findAccessibilityNodeInfosByViewIdUiThread() local 255 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec); in findAccessibilityNodeInfosByViewIdUiThread() [all …]
|
D | MagnificationSpec.java | 74 MagnificationSpec spec = sPool.acquire(); in obtain() local 75 return (spec != null) ? spec : new MagnificationSpec(); in obtain() 157 MagnificationSpec spec = MagnificationSpec.obtain(); 158 spec.initFromParcel(parcel); 159 return spec;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 376 final MagnificationSpec spec = mCurrentMagnificationSpec; in resetLocked() local 377 final boolean changed = !spec.isNop(); in resetLocked() 379 spec.clear(); in resetLocked() 383 mSpecAnimationBridge.updateSentSpec(spec, animate); in resetLocked() 411 final MagnificationSpec spec = mCurrentMagnificationSpec; in setScale() local 412 final float oldScale = spec.scale; in setScale() 413 final float oldCenterX = (viewport.width() / 2.0f - spec.offsetX) / oldScale; in setScale() 414 final float oldCenterY = (viewport.height() / 2.0f - spec.offsetY) / oldScale; in setScale() 415 final float normPivotX = (pivotX - spec.offsetX) / oldScale; in setScale() 416 final float normPivotY = (pivotY - spec.offsetY) / oldScale; in setScale() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 118 final String spec = getString("doze.pulse.schedule", R.string.doze_pulse_schedule); in getPulseSchedule() local 119 if (sPulseSchedule == null || !sPulseSchedule.mSpec.equals(spec)) { in getPulseSchedule() 120 sPulseSchedule = PulseSchedule.parse(spec); in getPulseSchedule() 152 public static PulseSchedule parse(String spec) { in parse() argument 153 if (TextUtils.isEmpty(spec)) return null; in parse() 156 rt.mSpec = spec; in parse() 157 final String[] tokens = spec.split(","); in parse() 164 if (DEBUG) Log.d(TAG, "Parsed spec [" + spec + "] as: " + rt); in parse() 167 Log.w(TAG, "Error parsing spec: " + spec, e); in parse()
|
/frameworks/support/v8/renderscript/rs_support/ |
D | Android.mk | 28 spec.l \ 56 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rs_compat.spec | $(RSG_G… 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_G… 74 $(GEN) : $(RSG_GENERATOR_SUPPORT) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rs_compat.spec
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityInteractionConnection.aidl | 36 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); in findAccessibilityNodeInfoByAccessibilityId() argument 40 int flags, int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); in findAccessibilityNodeInfosByViewId() argument 44 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); in findAccessibilityNodeInfosByText() argument 48 long interrogatingTid, in MagnificationSpec spec); in findFocus() argument 52 long interrogatingTid, in MagnificationSpec spec); in focusSearch() argument
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 520 LinkSpec spec = new LinkSpec(); in gatherLinks() local 523 spec.url = url; in gatherLinks() 524 spec.start = start; in gatherLinks() 525 spec.end = end; in gatherLinks() 527 links.add(spec); in gatherLinks() 537 LinkSpec spec = new LinkSpec(); in gatherTelLinks() local 538 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString()); in gatherTelLinks() 539 spec.start = match.start(); in gatherTelLinks() 540 spec.end = match.end(); in gatherTelLinks() 541 links.add(spec); in gatherTelLinks() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 665 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin() local 667 Interval span = spec.span; in getDefaultMargin() 689 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in getMargin() local 690 int index = leading ? spec.span.min : spec.span.max; in getMargin() 828 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in checkLayoutParams() local 829 Interval span = spec.span; in checkLayoutParams() 1015 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in measureChildrenWithMargins() local 1016 if (spec.getAbsoluteAlignment(horizontal) == FILL) { in measureChildrenWithMargins() 1017 Interval span = spec.span; in measureChildrenWithMargins() 1247 Spec spec = horizontal ? params.columnSpec : params.rowSpec; in calculateMaxIndex() local [all …]
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 652 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin() local 654 Interval span = spec.span; in getDefaultMargin() 680 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in getMargin() local 681 int index = leading ? spec.span.min : spec.span.max; in getMargin() 807 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in checkLayoutParams() local 808 Interval span = spec.span; in checkLayoutParams() 915 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; in measureChildrenWithMargins() local 916 if (spec.getAbsoluteAlignment(horizontal) == FILL) { in measureChildrenWithMargins() 917 Interval span = spec.span; in measureChildrenWithMargins() 1142 Spec spec = horizontal ? params.columnSpec : params.rowSpec; in calculateMaxIndex() local [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | RootTrustManagerFactorySpi.java | 41 public void engineInit(ManagerFactoryParameters spec) in engineInit() argument 43 if (!(spec instanceof ApplicationConfigParameters)) { in engineInit() 44 throw new InvalidAlgorithmParameterException("Unsupported spec: " + spec + ". Only " in engineInit() 48 mApplicationConfig = ((ApplicationConfigParameters) spec).config; in engineInit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 330 public static ComponentName getComponentFromSpec(String spec) { in getComponentFromSpec() argument 331 final String action = spec.substring(PREFIX.length(), spec.length() - 1); in getComponentFromSpec() 338 public static QSTile<?> create(QSTileHost host, String spec) { in create() argument 339 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) { in create() 340 throw new IllegalArgumentException("Bad custom tile spec: " + spec); in create() 342 final String action = spec.substring(PREFIX.length(), spec.length() - 1); in create()
|