/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/ |
D | CaptivePortalProbeSpec.java | 63 public static CaptivePortalProbeSpec parseSpec(@NonNull String spec) throws ParseException, in parseSpec() argument 65 if (TextUtils.isEmpty(spec)) { in parseSpec() 69 String[] splits = TextUtils.split(spec, REGEX_SEPARATOR); in parseSpec() 79 return new RegexMatchProbeSpec(spec, new URL(splits[0]), statusRegex, locationRegex); in parseSpec() 102 public static CaptivePortalProbeSpec parseSpecOrNull(@Nullable String spec) { in parseSpecOrNull() argument 103 if (spec != null) { in parseSpecOrNull() 105 return parseSpec(spec); in parseSpecOrNull() 107 Log.e(TAG, "Invalid probe spec: " + spec, e); in parseSpecOrNull() 125 for (String spec : TextUtils.split(settingsVal, SPEC_SEPARATOR)) { in parseCaptivePortalProbeSpecs() 127 specs.add(parseSpec(spec)); in parseCaptivePortalProbeSpecs() [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/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/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/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 169 final KeyGenParameterSpec spec = parcelableSpec.getSpec(); 170 final String alias = spec.getKeystoreAlias(); 173 if (TextUtils.isEmpty(alias) || spec.getUid() != KeyStore.UID_SELF) { 178 if (spec.getAttestationChallenge() != null) { 196 generator.initialize(spec);
|
/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/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/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCertActivity.java | 44 import java.security.spec.InvalidKeySpecException; 45 import java.security.spec.X509EncodedKeySpec;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 321 for (final MoreKeySpec spec : parentKey.getMoreKeys()) { in getMaxKeyWidth() 322 final String label = spec.mLabel; in getMaxKeyWidth()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CredentialHelper.java | 51 import java.security.spec.InvalidKeySpecException; 52 import java.security.spec.PKCS8EncodedKeySpec;
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 131 final String spec = getIntent().getStringExtra(EXTRA_CAPTIVE_PORTAL_PROBE_SPEC); in onCreate() local 133 mProbeSpec = CaptivePortalProbeSpec.parseSpecOrNull(spec); in onCreate()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 747 GridViewSpecial.LayoutSpec spec, in ImageBlockManager() argument 754 mSpec = spec; in ImageBlockManager()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustedDeviceService.java | 54 import javax.crypto.spec.GCMParameterSpec;
|
D | CarTrustAgentUnlockService.java | 61 import javax.crypto.spec.SecretKeySpec;
|