Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DQueryController.java127 public int getPatternCount(UiSelector selector) { in getPatternCount() argument
128 findAccessibilityNodeInfo(selector, true /*counting*/); in getPatternCount()
137 public AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector) { in findAccessibilityNodeInfo() argument
138 return findAccessibilityNodeInfo(selector, false); in findAccessibilityNodeInfo()
141 protected AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector, in findAccessibilityNodeInfo() argument
147 Log.d(LOG_TAG, "Searching: " + selector); in findAccessibilityNodeInfo()
157 UiSelector uiSelector = new UiSelector(selector); in findAccessibilityNodeInfo()
215 private AccessibilityNodeInfo translateCompoundSelector(UiSelector selector, in translateCompoundSelector() argument
221 if(selector.hasContainerSelector()) in translateCompoundSelector()
223 if(selector.getContainerSelector().hasContainerSelector()) { in translateCompoundSelector()
[all …]
DUiSelector.java76 UiSelector(UiSelector selector) { in UiSelector() argument
77 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; in UiSelector()
95 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder() argument
96 if (!selector.hasPatternSelector()) { in patternBuilder()
97 return new UiSelector().patternSelector(selector); in patternBuilder()
99 return selector; in patternBuilder()
533 public UiSelector childSelector(UiSelector selector) { in childSelector() argument
534 return buildSelector(SELECTOR_CHILD, selector); in childSelector()
537 private UiSelector patternSelector(UiSelector selector) { in patternSelector() argument
538 return buildSelector(SELECTOR_PATTERN, selector); in patternSelector()
[all …]
DUiScrollable.java93 protected boolean exists(UiSelector selector) { in exists() argument
94 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { in exists()
259 public boolean scrollIntoView(UiSelector selector) throws UiObjectNotFoundException { in scrollIntoView() argument
260 Tracer.trace(selector); in scrollIntoView()
262 UiSelector childSelector = getSelector().childSelector(selector); in scrollIntoView()
DUiObject.java80 public UiObject(UiSelector selector) { in UiObject() argument
81 mSelector = selector; in UiObject()
123 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild() argument
124 Tracer.trace(selector); in getChild()
125 return new UiObject(getSelector().childSelector(selector)); in getChild()
137 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent() argument
138 Tracer.trace(selector); in getFromParent()
139 return new UiObject(getSelector().fromParent(selector)); in getFromParent()
DUiCollection.java34 public UiCollection(UiSelector selector) { in UiCollection() argument
35 super(selector); in UiCollection()
/frameworks/base/tools/split-select/
DSplitSelector_test.cpp48 SplitSelector selector(splits); in TEST() local
50 bestSplits.merge(selector.getBestSplits(targetSplit)); in TEST()
56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); in TEST()
DMain.cpp67 const SplitSelector selector(splits); in select() local
68 return selector.getBestSplits(target); in select()
77 const SplitSelector selector(allSplits); in generate() local
78 KeyedVector<SplitDescription, sp<Rule> > rules(selector.getRules()); in generate()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java85 private native void nativeTune(long nativeContext, @NonNull ProgramSelector selector); in nativeTune() argument
191 public void tune(ProgramSelector selector) { in tune() argument
192 if (selector == null) { in tune()
195 Slog.i(TAG, "Tuning to " + selector); in tune()
199 nativeTune(mNativeContext, selector); in tune()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp556 static JavaRef<jobject> ProgramSelectorFromHal(JNIEnv *env, const ProgramSelector &selector) { in ProgramSelectorFromHal() argument
558 auto jPrimary = ProgramIdentifierFromHal(env, selector.primaryId); in ProgramSelectorFromHal()
559 auto jSecondary = ArrayFromHal(env, selector.secondaryIds, in ProgramSelectorFromHal()
561 auto jVendor = ArrayFromHal(env, selector.vendorIds); in ProgramSelectorFromHal()
564 selector.programType, jPrimary.get(), jSecondary.get(), jVendor.get())); in ProgramSelectorFromHal()
579 ProgramSelector selector = {}; in ProgramSelectorToHal() local
581 selector.programType = env->GetIntField(jSelector, gjni.ProgramSelector.programType); in ProgramSelectorToHal()
594 selector.primaryId = ProgramIdentifierToHal(env, jPrimary); in ProgramSelectorToHal()
596 selector.secondaryIds.resize(count); in ProgramSelectorToHal()
599 selector.secondaryIds[i] = ProgramIdentifierToHal(env, jId); in ProgramSelectorToHal()
[all …]
DTunerCallback.cpp118 virtual Return<void> tuneComplete_1_1(Result result, const ProgramSelector& selector);
209 auto selector = utils::make_selector(mBand, info.channel, info.subChannel); in tuneComplete() local
210 return tuneComplete_1_1(result, selector); in tuneComplete()
213 Return<void> NativeCallback::tuneComplete_1_1(Result result, const ProgramSelector& selector) { in tuneComplete_1_1() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaRouterWrapper.java36 public void addCallback(MediaRouteSelector selector, MediaRouter.Callback callback, int flags) { in addCallback() argument
37 mRouter.addCallback(selector, callback, flags); in addCallback()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity() argument
45 UiObject2 window = device.wait(Until.findObject(selector), WAIT_FOR_ACTIVITY_TIMEOUT); in waitForActivity()
47 throw new RuntimeException(selector.toString() + " has not been started."); in waitForActivity()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java139 private Set<X509Certificate> findCerts(X500Principal subj, CertSelector selector) {
157 if (selector.match(cert)) {
167 private X509Certificate findCert(X500Principal subj, CertSelector selector) {
184 if (selector.match(cert)) {
/frameworks/base/core/java/android/hardware/radio/
DAnnouncement.java86 public Announcement(@NonNull ProgramSelector selector, @Type int type, in Announcement() argument
88 mSelector = Objects.requireNonNull(selector); in Announcement()
DRadioTuner.java193 public abstract void tune(@NonNull ProgramSelector selector); in tune() argument
520 public void onTuneFailed(int result, @Nullable ProgramSelector selector) {} in onTuneFailed() argument
DTunerCallbackAdapter.java121 public void onTuneFailed(int status, @Nullable ProgramSelector selector) { in onTuneFailed() argument
122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed()
DITunerCallback.aidl27 void onTuneFailed(int result, in ProgramSelector selector); in onTuneFailed() argument
DITuner.aidl58 void tune(in ProgramSelector selector); in tune() argument
DTunerAdapter.java172 public void tune(@NonNull ProgramSelector selector) { in tune() argument
174 mTuner.tune(selector); in tune()
/frameworks/base/core/java/com/android/internal/app/
DLocalePickerWithRegion.java216 LocalePickerWithRegion selector = LocalePickerWithRegion.createCountryPicker( in onListItemClick() local
218 if (selector != null) { in onListItemClick()
221 .replace(getId(), selector).addToBackStack(null) in onListItemClick()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java130 private void clickOn(UiSelector selector) throws UiObjectNotFoundException { in clickOn() argument
131 Log.i(LOG_TAG, "Click on " + selector); in clickOn()
132 UiObject view = getUiDevice().findObject(selector); in clickOn()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java153 public void tune(ProgramSelector selector) throws RemoteException { in tune() argument
156 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector)); in tune()
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl37 float selector = step(uPer85, uReveal);
38 float lower = mix(uReveal, uPer85, selector);
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp234 SplitValueSelector selector(split_constraint); in SplitTable() local
236 selector.SelectValues(density_groups, &config_claimed_map); in SplitTable()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java405 for (final IkeTrafficSelector selector : trafficSelectors) { in getRoutesFromTrafficSelectors()
407 new IpRange(selector.startingAddress, selector.endingAddress).asIpPrefixes()) { in getRoutesFromTrafficSelectors()

12