/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | test_stats.py | 55 spec = """ 59 self.feed_spec_text(spec) 63 spec = """ 69 self.feed_spec_text(spec) 75 spec = """ 82 self.feed_spec_text(spec) 85 spec = """ 91 self.feed_spec_text(spec) 96 spec = """ 102 self.feed_spec_text(spec) [all …]
|
/frameworks/base/keystore/tests/src/android/security/ |
D | ParcelableKeyGenParameterSpecTest.java | 34 import java.security.spec.ECGenParameterSpec; 35 import java.security.spec.RSAKeyGenParameterSpec; 90 public static void validateSpecValues(KeyGenParameterSpec spec, int uid, String alias) { in validateSpecValues() argument 91 assertThat(spec.getKeystoreAlias(), is(alias)); in validateSpecValues() 92 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues() 93 assertThat(spec.getUid(), is(uid)); in validateSpecValues() 94 assertThat(spec.getKeySize(), is(KEYSIZE)); in validateSpecValues() 95 assertThat(spec.getCertificateSubject(), is(SUBJECT)); in validateSpecValues() 96 assertThat(spec.getCertificateSerialNumber(), is(SERIAL)); in validateSpecValues() 97 assertThat(spec.getCertificateNotBefore(), is(NOT_BEFORE)); in validateSpecValues() [all …]
|
/frameworks/rs/script_api/ |
D | generate.sh | 48 …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 << "static const " << spec.getType() << " " << constant->getName() in writeConstantSpecification() 124 << " = " << spec.getValue() << ";\n\n"; in writeConstantSpecification() 128 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { in writeTypeSpecification() argument 129 const Type* type = spec.getType(); in writeTypeSpecification() 131 const VersionInfo info = spec.getVersionInfo(); in writeTypeSpecification() 135 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(), in writeTypeSpecification() 138 switch (spec.getKind()) { in writeTypeSpecification() [all …]
|
D | Specification.cpp | 377 ConstantSpecification* spec = new ConstantSpecification(constant); in scanConstantSpecification() local 378 constant->addSpecification(spec); in scanConstantSpecification() 380 specFile->addConstantSpecification(spec, created); in scanConstantSpecification() 381 spec->mVersionInfo = info; in scanConstantSpecification() 384 spec->mValue = scanner->getValue(); in scanConstantSpecification() 387 spec->mType = scanner->getValue(); in scanConstantSpecification() 406 TypeSpecification* spec = new TypeSpecification(type); in scanTypeSpecification() local 407 type->addSpecification(spec); in scanTypeSpecification() 409 specFile->addTypeSpecification(spec, created); in scanTypeSpecification() 410 spec->mVersionInfo = info; in scanTypeSpecification() [all …]
|
D | GenerateRSFunctionsList.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 static bool addManglingsForSpecification(const FunctionSpecification& spec, in addManglingsForSpecification() argument 355 if (spec.hasInline()) { in addManglingsForSpecification() 358 const VersionInfo info = spec.getVersionInfo(); in addManglingsForSpecification() 362 const bool overloadable = spec.isOverloadable(); in addManglingsForSpecification() 371 for (auto permutation : spec.getPermutations()) { in addManglingsForSpecification() [all …]
|
D | GenerateDocumentation.cpp | 351 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { in writeDetailedTypeSpecification() argument 352 switch (spec->getKind()) { in writeDetailedTypeSpecification() 354 Type* type = spec->getType(); in writeDetailedTypeSpecification() 355 *file << "<p>A typedef of: " << spec->getSimpleType() in writeDetailedTypeSpecification() 356 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(), in writeDetailedTypeSpecification() 359 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 365 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 371 writeHtmlVersionTag(file, spec->getVersionInfo(), false); in writeDetailedTypeSpecification() 375 const vector<string>& values = spec->getValues(); in writeDetailedTypeSpecification() 376 const vector<string>& valueComments = spec->getValueComments(); in writeDetailedTypeSpecification() [all …]
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyGeneratorSpi.java | 32 import java.security.spec.AlgorithmParameterSpec; 166 KeyGenParameterSpec spec = (KeyGenParameterSpec) params; in engineInit() local 167 if (spec.getKeystoreAlias() == null) { in engineInit() 172 mSpec = spec; in engineInit() 174 mKeySizeBits = (spec.getKeySize() != -1) ? spec.getKeySize() : mDefaultKeySizeBits; in engineInit() 184 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit() 186 spec.getEncryptionPaddings()); in engineInit() 187 if (spec.getSignaturePaddings().length > 0) { in engineInit() 191 mKeymasterBlockModes = KeyProperties.BlockMode.allToKeymaster(spec.getBlockModes()); in engineInit() 192 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit() [all …]
|
D | KeymasterUtils.java | 106 public static void addUserAuthArgs(KeymasterArguments args, UserAuthArgs spec) { in addUserAuthArgs() argument 108 if (spec.isUserConfirmationRequired()) { in addUserAuthArgs() 112 if (spec.isUserPresenceRequired()) { in addUserAuthArgs() 116 if (spec.isUnlockedDeviceRequired()) { in addUserAuthArgs() 120 if (!spec.isUserAuthenticationRequired()) { in addUserAuthArgs() 125 if (spec.getUserAuthenticationValidityDurationSeconds() == -1) { in addUserAuthArgs() 154 if (spec.getBoundToSpecificSecureUserId() != GateKeeper.INVALID_SECURE_USER_ID) { in addUserAuthArgs() 155 sids.add(spec.getBoundToSpecificSecureUserId()); in addUserAuthArgs() 156 } else if (spec.isInvalidatedByBiometricEnrollment()) { in addUserAuthArgs() 173 if (spec.isUserAuthenticationValidWhileOnBody()) { in addUserAuthArgs() [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 | 66 import java.security.spec.AlgorithmParameterSpec; 67 import java.security.spec.ECGenParameterSpec; 68 import java.security.spec.RSAKeyGenParameterSpec; 198 KeyGenParameterSpec spec; in initialize() local 202 spec = (KeyGenParameterSpec) params; in initialize() 284 spec = specBuilder.build(); in initialize() 295 mEntryAlias = spec.getKeystoreAlias(); in initialize() 296 mEntryUid = spec.getUid(); in initialize() 297 mSpec = spec; in initialize() 300 mKeySizeBits = spec.getKeySize(); in initialize() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 95 for (String spec : stockSplit) { in addCurrentAndStockTiles() 96 if (!current.contains(spec)) { in addCurrentAndStockTiles() 97 possibleTiles.add(spec); in addCurrentAndStockTiles() 105 for (String spec : possibleTiles) { in addCurrentAndStockTiles() 108 if (spec.startsWith(CustomTile.PREFIX)) continue; in addCurrentAndStockTiles() 109 final QSTile tile = host.createTile(spec); in addCurrentAndStockTiles() 119 tile.setTileSpec(spec); in addCurrentAndStockTiles() 153 String spec = CustomTile.toSpec(componentName); in addPackageTiles() local 154 State state = getState(params, spec); in addPackageTiles() 156 addTile(spec, appLabel, state, false); in addPackageTiles() [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/keystore/tests/src/android/security/keystore/ |
D | KeyGenParameterSpecTest.java | 40 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testBuilderCopyingValues() local 42 new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingValues() 44 copiedSpec, spec.getUid(), spec.getKeystoreAlias()); in testBuilderCopyingValues() 49 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build(); in testBuilderCopyingEmptyValues() local 50 KeyGenParameterSpec copiedSpec = new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingEmptyValues() 58 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testCanModifyValuesInCopiedBuilder() local 60 new KeyGenParameterSpec.Builder(spec) in testCanModifyValuesInCopiedBuilder()
|
/frameworks/av/media/libwatchdog/ |
D | Watchdog.cpp | 43 struct itimerspec spec; in Watchdog() local 44 memset(&spec, 0, sizeof(spec)); in Watchdog() 47 spec.it_value.tv_sec = ns.count() / 1000000000; in Watchdog() 48 spec.it_value.tv_nsec = ns.count() % 1000000000; in Watchdog() 49 err = timer_settime(mTimerId, 0, &spec, nullptr); in Watchdog()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 86 int getTime(int type, struct itimerspec *spec); 117 struct itimerspec spec; in set() local 118 memset(&spec, 0, sizeof(spec)); in set() 119 memcpy(&spec.it_value, ts, sizeof(spec.it_value)); in set() 121 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL); in set() 124 int AlarmImpl::getTime(int type, struct itimerspec *spec) in getTime() argument 131 return timerfd_gettime(fds[type], spec); in getTime() 316 struct itimerspec spec = {}; in android_server_AlarmManagerService_init() local 321 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NULL); in android_server_AlarmManagerService_init() 333 struct itimerspec spec; in android_server_AlarmManagerService_getNextAlarm() local [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 624 public static DisplayCutout fromSpec(String spec, int displayWidth, int displayHeight, in fromSpec() argument 626 return pathAndDisplayCutoutFromSpec(spec, displayWidth, displayHeight, density).second; in fromSpec() 629 private static Pair<Path, DisplayCutout> pathAndDisplayCutoutFromSpec(String spec, in pathAndDisplayCutoutFromSpec() argument 631 if (TextUtils.isEmpty(spec)) { in pathAndDisplayCutoutFromSpec() 635 if (spec.equals(sCachedSpec) && sCachedDisplayWidth == displayWidth in pathAndDisplayCutoutFromSpec() 641 final String specToCache = spec.trim(); in pathAndDisplayCutoutFromSpec() 642 spec = specToCache; in pathAndDisplayCutoutFromSpec() 644 if (spec.endsWith(RIGHT_MARKER)) { in pathAndDisplayCutoutFromSpec() 646 spec = spec.substring(0, spec.length() - RIGHT_MARKER.length()).trim(); in pathAndDisplayCutoutFromSpec() 647 } else if (spec.endsWith(LEFT_MARKER)) { in pathAndDisplayCutoutFromSpec() [all …]
|
D | AccessibilityInteractionController.java | 165 long interrogatingTid, MagnificationSpec spec, Bundle arguments) { in findAccessibilityNodeInfoByAccessibilityIdClientThread() argument 175 args.arg2 = spec; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 326 final MagnificationSpec spec = (MagnificationSpec) args.arg2; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local 346 infos, callback, interactionId, spec, interactiveRegion); in findAccessibilityNodeInfoByAccessibilityIdUiThread() 353 long interrogatingTid, MagnificationSpec spec) { in findAccessibilityNodeInfosByViewIdClientThread() argument 362 args.arg2 = spec; in findAccessibilityNodeInfosByViewIdClientThread() 378 final MagnificationSpec spec = (MagnificationSpec) args.arg2; in findAccessibilityNodeInfosByViewIdUiThread() local 406 infos, callback, interactionId, spec, interactiveRegion); in findAccessibilityNodeInfosByViewIdUiThread() 413 long interrogatingTid, MagnificationSpec spec) { in findAccessibilityNodeInfosByTextClientThread() argument 421 args.arg3 = spec; in findAccessibilityNodeInfosByTextClientThread() [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/core/java/android/view/accessibility/ |
D | IAccessibilityInteractionConnection.aidl | 36 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec, in findAccessibilityNodeInfoByAccessibilityId() argument 41 int flags, int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); in findAccessibilityNodeInfosByViewId() argument 45 int interrogatingPid, long interrogatingTid, in MagnificationSpec spec); in findAccessibilityNodeInfosByText() argument 49 long interrogatingTid, in MagnificationSpec spec); in findFocus() argument 53 long interrogatingTid, in MagnificationSpec spec); in focusSearch() argument
|
/frameworks/rs/ |
D | support.bp | 16 "rs.spec", 17 "rs_compat.spec", 19 …cmd: "cat $(location rs.spec) $(location rs_compat.spec) | $(location rsg-generator) $(in) $(out)", 32 "rs.spec", 33 "rs_compat.spec", 35 …cmd: "cat $(location rs.spec) $(location rs_compat.spec) | $(location rsg-generator) $(in) $(out)",
|
D | Android.bp | 117 "spec.l", 136 "rs.spec", 137 "rsg.spec", 139 cmd: "cat $(location rs.spec) $(location rsg.spec) | $(location rsg-generator) $(in) $(out)", 152 "rs.spec", 153 "rsg.spec", 155 cmd: "cat $(location rs.spec) $(location rsg.spec) | $(location rsg-generator) $(in) $(out)",
|
/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()
|