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.java48 abstract void apply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in apply() argument
60 public static boolean batchApply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in batchApply() argument
71 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()
DOptionalValidators.java47 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
49 final boolean valid = validator.isValid(finder); in isValid()
DRequiredValidators.java47 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
49 final boolean valid = validator.isValid(finder); in isValid()
DRegexValidator.java60 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
61 final String value = finder.findByAutofillId(mId); in isValid()
DDateTransformation.java67 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
69 final AutofillValue value = finder.findRawValueByAutofillId(mFieldId); in apply()
DLuhnChecksumValidator.java88 public boolean isValid(@NonNull ValueFinder finder) { in isValid() argument
93 final String partialNumber = finder.findByAutofillId(id); in isValid()
DInternalValidator.java37 public abstract boolean isValid(@NonNull ValueFinder finder); in isValid() argument
DCharSequenceTransformation.java77 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
85 final String value = finder.findByAutofillId(id); in apply()
DImageTransformation.java73 public void apply(@NonNull ValueFinder finder, @NonNull RemoteViews parentTemplate, in apply() argument
75 final String value = finder.findByAutofillId(mId); in apply()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java318 private void onAppChanged(AppServiceFinder finder, int userId) { in onAppChanged() argument
320 Slog.d(TAG, "onAppChanged: u" + userId + " " + finder.getAppDescription()); in onAppChanged()
323 final String reason = finder.getAppDescription() + " changed"; in onAppChanged()
324 unbindServicesLocked(userId, finder, reason); in onAppChanged()
325 bindServicesLocked(userId, finder, reason); in onAppChanged()
357 final AppServiceFinder finder = findFinderLocked(userId, packageName); in handlePackageAddedReplacing() local
358 if (finder != null) { in handlePackageAddedReplacing()
359 unbindServicesLocked(userId, finder, "package update"); in handlePackageAddedReplacing()
360 bindServicesLocked(userId, finder, "package update"); in handlePackageAddedReplacing()
430 Handler handler, AppServiceFinder finder, in AppServiceConnection() argument
[all …]