/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | QueryController.java | 127 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 …]
|
D | UiSelector.java | 76 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 …]
|
D | UiScrollable.java | 93 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()
|
D | UiObject.java | 80 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()
|
D | UiCollection.java | 34 public UiCollection(UiSelector selector) { in UiCollection() argument 35 super(selector); in UiCollection()
|
/frameworks/base/tools/split-select/ |
D | SplitSelector_test.cpp | 48 SplitSelector selector(splits); in TEST() local 50 bestSplits.merge(selector.getBestSplits(targetSplit)); in TEST() 56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); in TEST()
|
D | Main.cpp | 67 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/ |
D | Tuner.java | 85 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/packages/SystemUI/src/com/android/systemui/volume/ |
D | MediaRouterWrapper.java | 36 public void addCallback(MediaRouteSelector selector, MediaRouter.Callback callback, int flags) { in addCallback() argument 37 mRouter.addCallback(selector, callback, flags); in addCallback()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 556 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 …]
|
D | TunerCallback.cpp | 118 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
|
D | Tuner.cpp | 292 auto selector = convert::ProgramSelectorToHal(env, jSelector); in nativeTune() local 294 convert::ThrowIfFailed(env, halTuner11->tuneByProgramSelector(selector)); in nativeTune() 297 if (!utils::getLegacyChannel(selector, &channel, &subChannel)) { in nativeTune()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 43 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/ |
D | DirectoryCertificateSource.java | 139 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/ |
D | Announcement.java | 86 public Announcement(@NonNull ProgramSelector selector, @Type int type, in Announcement() argument 88 mSelector = Objects.requireNonNull(selector); in Announcement()
|
D | RadioTuner.java | 193 public abstract void tune(@NonNull ProgramSelector selector); in tune() argument 520 public void onTuneFailed(int result, @Nullable ProgramSelector selector) {} in onTuneFailed() argument
|
D | ITunerCallback.aidl | 27 void onTuneFailed(int result, in ProgramSelector selector); in onTuneFailed() argument
|
D | TunerCallbackAdapter.java | 121 public void onTuneFailed(int status, @Nullable ProgramSelector selector) { in onTuneFailed() argument 122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed()
|
D | ITuner.aidl | 58 void tune(in ProgramSelector selector); in tune() argument
|
D | TunerAdapter.java | 172 public void tune(@NonNull ProgramSelector selector) { in tune() argument 174 mTuner.tune(selector); in tune()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | TestUtils.java | 38 hwInfo.selector = Convert.programSelectorToHal(info.getSelector()); in programInfoToHal()
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 135 private void clickOn(UiSelector selector) throws UiObjectNotFoundException { in clickOn() argument 136 Log.i(LOG_TAG, "Click on " + selector); in clickOn() 137 UiObject view = getUiDevice().findObject(selector); in clickOn()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 234 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/broadcastradio/hal2/ |
D | TunerSession.java | 155 public void tune(ProgramSelector selector) throws RemoteException { in tune() argument 158 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector)); in tune()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | VpnIkev2Utils.java | 405 for (final IkeTrafficSelector selector : trafficSelectors) { in getRoutesFromTrafficSelectors() 407 new IpRange(selector.startingAddress, selector.endingAddress).asIpPrefixes()) { in getRoutesFromTrafficSelectors()
|