/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 117 CaptivePortalProbeSpec spec = CaptivePortalProbeSpec.parseSpecOrNull( in testParseSpecOrNull_UsesSpec() local 119 assertEquals(specUrl, spec.getUrl().toString()); in testParseSpecOrNull_UsesSpec() 121 assertPortal(spec.getResult(302, "http://portal.example.com")); in testParseSpecOrNull_UsesSpec() 122 assertSuccess(spec.getResult(302, redirectUrl)); in testParseSpecOrNull_UsesSpec() 127 CaptivePortalProbeSpec spec = CaptivePortalProbeSpec.parseSpecOrNull(null); in testParseSpecOrNull_UsesFallback() local 128 assertNull(spec); in testParseSpecOrNull_UsesFallback() 130 spec = CaptivePortalProbeSpec.parseSpecOrNull(""); in testParseSpecOrNull_UsesFallback() 131 assertNull(spec); in testParseSpecOrNull_UsesFallback() 133 spec = CaptivePortalProbeSpec.parseSpecOrNull("@@/@@ @@/@@ @@/@@"); in testParseSpecOrNull_UsesFallback() 134 assertNull(spec); in testParseSpecOrNull_UsesFallback() [all …]
|
/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/ |
D | CaptivePortalProbeSpec.java | 65 public static CaptivePortalProbeSpec parseSpec(@NonNull String spec) throws ParseException, in parseSpec() argument 67 if (TextUtils.isEmpty(spec)) { in parseSpec() 71 String[] splits = TextUtils.split(spec, REGEX_SEPARATOR); in parseSpec() 81 return new RegexMatchProbeSpec(spec, new URL(splits[0]), statusRegex, locationRegex); in parseSpec() 104 public static CaptivePortalProbeSpec parseSpecOrNull(@Nullable String spec) { in parseSpecOrNull() argument 105 if (spec != null) { in parseSpecOrNull() 107 return parseSpec(spec); in parseSpecOrNull() 109 Log.e(TAG, "Invalid probe spec: " + spec, e); in parseSpecOrNull() 127 for (String spec : TextUtils.split(settingsVal, SPEC_SEPARATOR)) { in parseCaptivePortalProbeSpecs() 129 specs.add(parseSpec(spec)); in parseCaptivePortalProbeSpecs() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/net/module/util/ |
D | TrackRecordTest.kt | 221 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() 236 TRTInterpreter.interpretTestSpec(useReadHeads = false, spec = """ in <lambda>() 250 TRTInterpreter.interpretTestSpec(useReadHeads = false, spec = """ in <lambda>() 260 TRTInterpreter.interpretTestSpec(useReadHeads = false, spec = """ in <lambda>() 271 TRTInterpreter.interpretTestSpec(useReadHeads = false, spec = """ in <lambda>() 281 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() 295 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() 307 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() 318 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() 334 TRTInterpreter.interpretTestSpec(useReadHeads = true, spec = """ in <lambda>() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_parser.cpp | 54 const OptionSpec &spec = option.second; in printUsage() local 56 if (spec.needsValue()) { in printUsage() 57 printf(" <%s>", spec.getValueName().c_str()); in printUsage() 75 const OptionSpec &spec = option.second; in printUsage() local 77 if (spec.needsValue()) { in printUsage() 78 printf(" <%s>", spec.getValueName().c_str()); in printUsage() 80 printf("\t\t\t%s", spec.getDescription().c_str()); in printUsage() 81 if (spec.needsValue() && !spec.getDefaultValue().empty()) { in printUsage() 82 printf("\tdefault: %s", spec.getDefaultValue().c_str()); in printUsage()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ActualKeyboardBuilder.java | 103 public String stringize(final MoreKeySpec spec) { in stringize() argument 104 if (spec == null) { in stringize() 107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtils.java | 226 @Nonnull DecoderChainSpec spec = new DecoderChainSpec(); in decodeDictionaryForProcess() local 227 while (null != spec) { in decodeDictionaryForProcess() 229 final InputStream input = spec.getStream(src); in decodeDictionaryForProcess() 230 spec.mResult = processor.process(input); in decodeDictionaryForProcess() 243 return spec; in decodeDictionaryForProcess() 250 spec = spec.next(); in decodeDictionaryForProcess()
|
D | Header.java | 51 final DecoderChainSpec<DictionaryHeader> spec = in run() local 54 if (null == spec) { in run() 59 final DictionaryHeader header = spec.mResult; in run() 64 System.out.println("Packaging : " + spec.describeChain()); in run()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumLabelMaker.java | 51 public AlbumLabelMaker(Context context, AlbumSetSlotRenderer.LabelSpec spec) { in AlbumLabelMaker() argument 53 mSpec = spec; in AlbumLabelMaker() 54 mTitlePaint = getTextPaint(spec.titleFontSize, spec.titleColor, false); in AlbumLabelMaker() 55 mCountPaint = getTextPaint(spec.countFontSize, spec.countColor, false); in AlbumLabelMaker()
|
D | SlotView.java | 91 public SlotView(AbstractGalleryActivity activity, Spec spec) { in SlotView() argument 95 setSlotSpec(spec); in SlotView() 144 public void setSlotSpec(Spec spec) { in setSlotSpec() argument 145 mLayout.setSlotSpec(spec); in setSlotSpec() 417 public void setSlotSpec(Spec spec) { in setSlotSpec() argument 418 mSpec = spec; in setSlotSpec()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecTests.java | 36 final MoreKeySpec spec = new MoreKeySpec( in assertParser() local 38 assertEquals(message + " [label]", expectedLabel, spec.mLabel); in assertParser() 39 assertEquals(message + " [ouptputText]", expectedOutputText, spec.mOutputText); in assertParser() 42 KeyboardIconsSet.getIconName(spec.mIconId)); in assertParser() 45 Constants.printableCode(spec.mCode)); in assertParser()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSquareFrameLayout.java | 56 int spec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure() local 57 this.getChildAt(i).measure(spec, spec); in onMeasure()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSquareFrameLayout.java | 56 int spec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure() local 57 this.getChildAt(i).measure(spec, spec); in onMeasure()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeKePayload.java | 39 import java.security.spec.InvalidKeySpecException; 44 import javax.crypto.spec.DHParameterSpec; 45 import javax.crypto.spec.DHPrivateKeySpec; 46 import javax.crypto.spec.DHPublicKeySpec;
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 197 final DecoderChainSpec<DictionaryHeader> spec = in runTestHeaderReaderProcessorWithOneSpec() local 200 assertNotNull("Can't decode a dictionary we just wrote : " + file, spec); in runTestHeaderReaderProcessorWithOneSpec() 201 final DictionaryHeader header = spec.mResult; in runTestHeaderReaderProcessorWithOneSpec() 203 spec.describeChain()); in runTestHeaderReaderProcessorWithOneSpec()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeCombinedModeCipher.java | 25 import java.security.spec.AlgorithmParameterSpec; 33 import javax.crypto.spec.GCMParameterSpec; 34 import javax.crypto.spec.SecretKeySpec;
|
D | IkeNormalModeCipher.java | 30 import javax.crypto.spec.IvParameterSpec; 31 import javax.crypto.spec.SecretKeySpec;
|
D | AesXCbcImpl.java | 32 import javax.crypto.spec.IvParameterSpec; 33 import javax.crypto.spec.SecretKeySpec;
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | StateTransitionAnimation.java | 107 public StateTransitionAnimation(Spec spec, RawTexture oldScreen) { in StateTransitionAnimation() argument 108 mTransitionSpec = spec != null ? spec : Spec.OUTGOING; in StateTransitionAnimation()
|
/packages/services/Car/tests/robotests/src/com/android/car/ |
D | CarServiceRobolectricTestRunner.java | 63 private static ResourcePath resourcePath(@NonNull String spec) { 65 return new ResourcePath(null, Fs.fromURL(new URL(spec)), null);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | PunctuationSuggestions.java | 60 for (String spec : punctuationSpecs) { in newPunctuationSuggestions() 61 punctuationList.add(newHardCodedWordInfo(spec)); in newPunctuationSuggestions()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 179 final KeyGenParameterSpec spec = parcelableSpec.getSpec(); 180 final String alias = spec.getKeystoreAlias(); 191 if (TextUtils.isEmpty(alias) || spec.getUid() != KeyStore.UID_SELF) { 196 if (spec.getAttestationChallenge() != null) { 214 generator.initialize(spec);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/shortcut/ |
D | CreateShortcutPreferenceController.java | 229 final int spec = View.MeasureSpec.makeMeasureSpec(size, View.MeasureSpec.EXACTLY); in createIcon() local 230 view.measure(spec, spec); in createIcon()
|
/packages/apps/Settings/src/com/android/settings/shortcut/ |
D | CreateShortcutPreferenceController.java | 239 final int spec = View.MeasureSpec.makeMeasureSpec(size, View.MeasureSpec.EXACTLY); in createIcon() local 240 view.measure(spec, spec); in createIcon()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | KeyChainServiceTestSupport.java | 98 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec) 101 return keyChainService.generateKeyPair(algorithm, spec);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCertActivity.java | 44 import java.security.spec.InvalidKeySpecException; 45 import java.security.spec.X509EncodedKeySpec;
|