Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DIkeSessionTestBase.java433 public void onIpSecTransformCreated(@NonNull IpSecTransform ipSecTransform, int direction) { in onIpSecTransformCreated() argument
435 new IpSecTransformCallRecord(ipSecTransform, direction)); in onIpSecTransformCreated()
439 public void onIpSecTransformDeleted(@NonNull IpSecTransform ipSecTransform, int direction) { in onIpSecTransformDeleted() argument
441 new IpSecTransformCallRecord(ipSecTransform, direction)); in onIpSecTransformDeleted()
481 public final int direction;
483 IpSecTransformCallRecord(IpSecTransform ipSecTransform, @PolicyDirection int direction) {
485 this.direction = direction;
490 return Objects.hash(ipSecTransform, direction);
498 return ipSecTransform.equals(record.ipSecTransform) && direction == record.direction;
571 resultDirections.add(transformRecordA.direction);
[all …]
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_attributes.cpp38 aaudio_direction_t direction = AAUDIO_DIRECTION_OUTPUT) { in checkAttributes() argument
39 if (direction == AAUDIO_DIRECTION_INPUT in checkAttributes()
41 else if (direction == AAUDIO_DIRECTION_OUTPUT in checkAttributes()
54 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkAttributes()
101 if (direction == AAUDIO_DIRECTION_INPUT) { in checkAttributes()
Dtest_session_id.cpp76 aaudio_direction_t direction) { in checkSessionIdAllocate() argument
97 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkSessionIdAllocate()
114 if (direction == AAUDIO_DIRECTION_INPUT) { in checkSessionIdAllocate()
128 aaudio_direction_t otherDirection = (direction == AAUDIO_DIRECTION_OUTPUT) in checkSessionIdAllocate()
Dutils.cpp89 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper() argument
92 : mDirection{direction}, in StreamBuilderHelper()
Dutils.h69 StreamBuilderHelper(aaudio_direction_t direction, int32_t sampleRate,
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java51 private ScrollDirection direction; field in ScrollPatternGenerator
57 direction = ScrollDirection.DOWN; in ScrollPatternGenerator()
63 direction = ScrollDirection.UP;
65 direction = ScrollDirection.DOWN;
67 if (direction == ScrollDirection.DOWN) {
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java109 private void verifyNextFocus(View currentFocus, int direction, View expectedNextFocus) { in verifyNextFocus() argument
110 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); in verifyNextFocus()
153 private void verifytNextFocusFromRect(Rect rect, int direction, View expectedNextFocus) { in verifytNextFocusFromRect() argument
154 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); in verifytNextFocusFromRect()
283 private void verifyNextCluster(View currentCluster, int direction, View expectedNextCluster) { in verifyNextCluster() argument
285 mLayout, currentCluster, direction); in verifyNextCluster()
289 private void verifyNextClusterView(View currentCluster, int direction, View expectedNextView) { in verifyNextClusterView() argument
291 mLayout, currentCluster, direction); in verifyNextClusterView()
294 mFocusFinder.findNextKeyboardNavigationCluster(mLayout, null, direction); in verifyNextClusterView()
DMockView.java428 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
430 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
552 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
553 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
644 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
646 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
DViewGroupTest.java2933 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
3211 public boolean onRequestFocusInDescendants(int direction, in onRequestFocusInDescendants() argument
3214 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
3265 public View focusSearch(View focused, int direction) { in focusSearch() argument
3267 return super.focusSearch(focused, direction); in focusSearch()
3269 super.focusSearch(focused, direction); in focusSearch()
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java120 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() argument
181 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
182 ism.applyTransportModeTransform(mFd, direction, transform); in applyTransportModeTransform()
262 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
263 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
310 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
311 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
332 for (int direction : DIRECTIONS) { in applyTransformBidirectionally()
333 socket.applyTransportModeTransform(ism, direction, transform); in applyTransformBidirectionally()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java324 @NonNull private UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
327 if (ep.getDirection() == direction) { in getEndpoint()
332 throw new IllegalStateException("Could not find " + direction + " endpoint in " in getEndpoint()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java51 final float direction = rand.nextFloat(); in addByteNoise() local
53 if (direction < 0.5f) { in addByteNoise()
/cts/tests/openglperf2/assets/fragment/
Dperspective21 // Get a lighting direction vector from the light to the vertex.
Dwater28 // Get a lighting direction vector from the light to the vertex.
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java431 public boolean requestFocus(final int direction,
434 return mWebView.requestFocus(direction, previouslyFocusedRect);
/cts/tests/tests/widget/src/android/widget/cts/
DGalleryTest.java405 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
407 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DGridViewTest.java696 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
699 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
DAutoCompleteTextViewTest.java1094 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
1095 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1390 public int[] getAvailableFormats(StreamDirection direction) { in getAvailableFormats() argument
1399 switch (direction) { in getAvailableFormats()
1435 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction) { in getAvailableSizesForFormatChecked() argument
1436 return getAvailableSizesForFormatChecked(format, direction, in getAvailableSizesForFormatChecked()
1450 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1462 switch (direction) { in getAvailableSizesForFormatChecked()
/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java177 public void onAdjustVolume(int direction) { in testVolumeControl()
179 switch (direction) { in testVolumeControl()
DMediaRouterTest.java600 public void onVolumeUpdateRequest(RouteInfo info, int direction) { in onVolumeUpdateRequest() argument
603 mDirection = direction; in onVolumeUpdateRequest()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2317 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2318 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2319 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
2334 int direction = TextUtils.getLayoutDirectionFromLocale(l); in testGetLayoutDirectionFromLocale() local
2335 assertEquals(l.toLanguageTag() + " not RTL: " + direction, in testGetLayoutDirectionFromLocale()
2336 LAYOUT_DIRECTION_RTL, direction); in testGetLayoutDirectionFromLocale() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java695 final String direction = (userId == mParentUserId) in testCrossProfileCopyPasteInternal() local
701 direction, mProfileUserId); in testCrossProfileCopyPasteInternal()
/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1432 private Size getMaxSize(int format, StaticMetadata.StreamDirection direction) { in getMaxSize() argument
1433 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction); in getMaxSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java449 private @NonNull UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
452 if (ep.getDirection() == direction) { in getEndpoint()
457 throw new IllegalStateException("Could not find " + direction + " endpoint in " in getEndpoint()

12