Home
last modified time | relevance | path

Searched refs:finder (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DAttributeFinder_test.cpp54 MockAttributeFinder finder(kSortedAttributes, end); in TEST() local
56 EXPECT_EQ(0, finder.Find(0x01010000)); in TEST()
57 EXPECT_EQ(1, finder.Find(0x01010001)); in TEST()
58 EXPECT_EQ(2, finder.Find(0x01010002)); in TEST()
59 EXPECT_EQ(3, finder.Find(0x01010004)); in TEST()
60 EXPECT_EQ(4, finder.Find(0x02010001)); in TEST()
61 EXPECT_EQ(5, finder.Find(0x02010010)); in TEST()
62 EXPECT_EQ(6, finder.Find(0x7f010001)); in TEST()
63 EXPECT_EQ(end, finder.Find(0x7f010002)); in TEST()
68 MockAttributeFinder finder(kSortedAttributes, end); in TEST() local
[all …]
/frameworks/base/core/java/android/service/autofill/
DInternalTransformation.java49 abstract void apply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in apply() argument
61 public static boolean batchApply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in batchApply() argument
72 transformation.apply(finder, template, id); in batchApply()
DNegationValidator.java40 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
41 return !mValidator.isValid(finder); in isValid()
DRequiredValidators.java49 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
51 final boolean valid = validator.isValid(finder); in isValid()
DOptionalValidators.java49 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
51 final boolean valid = validator.isValid(finder); in isValid()
DRegexValidator.java59 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
60 final String value = finder.findByAutofillId(mId); in isValid()
DLuhnChecksumValidator.java88 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
93 final String partialNumber = finder.findByAutofillId(id); in isValid()
DDateTransformation.java66 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
68 final AutofillValue value = finder.findRawValueByAutofillId(mFieldId); in apply()
DInternalValidator.java37 public abstract boolean isValid(@NonNull ValueFinder finder); in isValid() argument
DCharSequenceTransformation.java78 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
86 final String value = finder.findByAutofillId(id); in apply()
DImageTransformation.java74 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
76 final String value = finder.findByAutofillId(mId); in apply()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java323 private void onAppChanged(AppServiceFinder finder, int userId) { in onAppChanged() argument
325 Slog.d(TAG, "onAppChanged: u" + userId + " " + finder.getAppDescription()); in onAppChanged()
328 final String reason = finder.getAppDescription() + " changed"; in onAppChanged()
329 unbindServicesLocked(userId, finder, reason); in onAppChanged()
330 bindServicesLocked(userId, finder, reason); in onAppChanged()
362 final AppServiceFinder finder = findFinderLocked(userId, packageName); in handlePackageAddedReplacing() local
363 if (finder != null) { in handlePackageAddedReplacing()
364 unbindServicesLocked(userId, finder, "package update"); in handlePackageAddedReplacing()
365 bindServicesLocked(userId, finder, "package update"); in handlePackageAddedReplacing()
435 Handler handler, AppServiceFinder finder, in AppServiceConnection() argument
[all …]