Home
last modified time | relevance | path

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

12

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_basic.cpp39 aaudio_direction_t direction) { in testConfiguration() argument
40 if (direction == AAUDIO_DIRECTION_INPUT) { in testConfiguration()
55 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in testConfiguration()
65 if (direction == AAUDIO_DIRECTION_INPUT) { in testConfiguration()
82 const char* directionToString(aaudio_sharing_mode_t direction) { in directionToString() argument
83 switch (direction) { in directionToString()
Dtest_aaudio_stream_builder.cpp439 void testChannelMask(aaudio_channel_mask_t channelMask, aaudio_direction_t direction);
443 aaudio_direction_t direction) { in testChannelMask() argument
446 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in testChannelMask()
449 isValidChannelMask(channelMask, direction) ? Expect::SUCCEED : Expect::FAIL; in testChannelMask()
565 void testSetChannelMaskAndCount(aaudio_direction_t direction,
572 aaudio_direction_t direction, aaudio_channel_mask_t channelMask, in testSetChannelMaskAndCount() argument
576 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in testSetChannelMaskAndCount()
605 const aaudio_direction_t direction = GetParam().first; in TEST_P() local
606 if ((direction == AAUDIO_DIRECTION_OUTPUT && !deviceSupportsFeature(FEATURE_PLAYBACK)) || in TEST_P()
607 (direction == AAUDIO_DIRECTION_INPUT && !deviceSupportsFeature(FEATURE_RECORDING))) { in TEST_P()
[all …]
Dtest_session_id.cpp77 aaudio_direction_t direction) { in checkSessionIdAllocate() argument
98 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in checkSessionIdAllocate()
115 if (direction == AAUDIO_DIRECTION_INPUT) { in checkSessionIdAllocate()
129 aaudio_direction_t otherDirection = (direction == AAUDIO_DIRECTION_OUTPUT) in checkSessionIdAllocate()
Dutils.cpp99 aaudio_direction_t direction, int32_t sampleRate, in StreamBuilderHelper() argument
102 : mDirection{direction}, in StreamBuilderHelper()
Dutils.h92 StreamBuilderHelper(aaudio_direction_t direction, int32_t sampleRate,
/cts/hostsidetests/media/app/MediaMetricsTest/jni/
Daaudio_stream.cpp30 void tryOpeningStream(aaudio_direction_t direction, aaudio_performance_mode_t performanceMode) { in tryOpeningStream() argument
34 AAudioStreamBuilder_setDirection(builder, direction); in tryOpeningStream()
40 ASSERT_EQ(direction, AAudioStream_getDirection(stream)); in tryOpeningStream()
49 if (direction == AAUDIO_DIRECTION_INPUT) { in tryOpeningStream()
/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.java120 private void verifyNextFocus(View currentFocus, int direction, View expectedNextFocus) { in verifyNextFocus() argument
121 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); in verifyNextFocus()
164 private void verifytNextFocusFromRect(Rect rect, int direction, View expectedNextFocus) { in verifytNextFocusFromRect() argument
165 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); in verifytNextFocusFromRect()
294 private void verifyNextCluster(View currentCluster, int direction, View expectedNextCluster) { in verifyNextCluster() argument
296 mLayout, currentCluster, direction); in verifyNextCluster()
300 private void verifyNextClusterView(View currentCluster, int direction, View expectedNextView) { in verifyNextClusterView() argument
302 mLayout, currentCluster, direction); in verifyNextClusterView()
305 mFocusFinder.findNextKeyboardNavigationCluster(mLayout, null, direction); in verifyNextClusterView()
DMockView.java429 public boolean dispatchUnhandledMove(View focused, int direction) { in dispatchUnhandledMove() argument
431 return super.dispatchUnhandledMove(focused, direction); in dispatchUnhandledMove()
553 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { in onFocusChanged() argument
554 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
645 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() argument
647 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockImsService.java194 public void sendAnbrQuery(int mediaType, int direction, int bitsPerSecond) { in sendAnbrQuery() argument
196 + direction + ", bitsPerSecond" + bitsPerSecond); in sendAnbrQuery()
200 mAnbrValues[1] = direction; in sendAnbrQuery()
DIRadioImsImpl.java143 public void sendAnbrQuery(int serial, int qosSessionId, int direction, int bitsPerSecond) { in sendAnbrQuery() argument
146 mImsState.sendAnbrQuery(qosSessionId, direction, bitsPerSecond); in sendAnbrQuery()
172 public void notifyAnbr(int qosSessionId, int direction, int bitsPerSecond) { in notifyAnbr() argument
178 qosSessionId, direction, bitsPerSecond); in notifyAnbr()
DMockModemManager.java657 public boolean notifyAnbr(int slotId, int qosSessionId, int direction, int bitsPerSecond) { in notifyAnbr() argument
659 + ", direction=" + direction + ", bitsPerSecond" + bitsPerSecond); in notifyAnbr()
666 radioIms.notifyAnbr(qosSessionId, direction, bitsPerSecond); in notifyAnbr()
/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/autofillservice/src/android/autofillservice/cts/testcore/
DInlineUiBot.java159 public void scrollSuggestionView(Direction direction, int speed) throws Exception { in scrollSuggestionView() argument
164 strip.fling(direction, speed); in scrollSuggestionView()
/cts/common/device-side/bedstead/modules/permissions/
DAndroid.bp8 // flowing in a single direction to split these targets
/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/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/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsCallSessionImpl.java873 public void callSessionSendAnbrQuery(int mediaType, int direction, int bitsPerSecond) { in callSessionSendAnbrQuery() argument
875 mListener.callSessionSendAnbrQuery(mediaType, direction, bitsPerSecond); in callSessionSendAnbrQuery()
884 public void callSessionNotifyAnbr(int mediaType, int direction, int bitsPerSecond) { in callSessionNotifyAnbr() argument
886 mAnbrValues[1] = direction; in callSessionNotifyAnbr()
/cts/hostsidetests/media/app/AudioTest/src/android/media/audio/app/
DAudioVolumeBehaviorCompatTest.java162 @AudioManager.VolumeAdjustment int direction, in onAudioDeviceVolumeAdjusted() argument
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java433 public boolean requestFocus(final int direction,
436 return mWebView.requestFocus(direction, previouslyFocusedRect);
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java307 private ResolveInfo getResolveInfo(UserReference targetProfile, int direction) { in getResolveInfo() argument
315 new IntentFilter(CROSS_PROFILE_ACTION), direction); in getResolveInfo() local
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1527 public int[] getAvailableFormats(StreamDirection direction) { in getAvailableFormats() argument
1536 switch (direction) { in getAvailableFormats()
1572 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction) { in getAvailableSizesForFormatChecked() argument
1573 return getAvailableSizesForFormatChecked(format, direction, in getAvailableSizesForFormatChecked()
1587 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1589 return getAvailableSizesForFormatChecked(format, direction, fastSizes, slowSizes, in getAvailableSizesForFormatChecked()
1603 public Size[] getAvailableSizesForFormatChecked(int format, StreamDirection direction, in getAvailableSizesForFormatChecked() argument
1616 switch (direction) { in getAvailableSizesForFormatChecked()
/cts/tests/tests/widget/src/android/widget/cts/
DGalleryTest.java413 protected void onFocusChanged(boolean gainFocus, int direction, in onFocusChanged() argument
415 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); in onFocusChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDisconnectActivity.java117 TestConfiguration(int direction, int sampleRate, int numChannels, int options) { in TestConfiguration() argument
118 mDirection = direction; in TestConfiguration()

12