Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java440 android.hardware.wifi.V1_4.NanEnableRequest req = in enableAndConfigure() local
443 req.operateInBand[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigure()
444 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
445 req.operateInBand[android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = in enableAndConfigure()
447 req.hopCountMax = 2; in enableAndConfigure()
448 req.configParams.masterPref = (byte) configRequest.mMasterPreference; in enableAndConfigure()
449 req.configParams.disableDiscoveryAddressChangeIndication = in enableAndConfigure()
451 req.configParams.disableStartedClusterIndication = !notifyIdentityChange; in enableAndConfigure()
452 req.configParams.disableJoinedClusterIndication = !notifyIdentityChange; in enableAndConfigure()
453 req.configParams.includePublishServiceIdsInBeacon = true; in enableAndConfigure()
[all …]
/frameworks/av/camera/ndk/
DNdkCaptureRequest.cpp51 ACaptureRequest* req, const ACameraOutputTarget* target) { in ACaptureRequest_addTarget() argument
53 if (req == nullptr || req->targets == nullptr || target == nullptr) { in ACaptureRequest_addTarget()
55 if (req != nullptr) in ACaptureRequest_addTarget()
56 req_targets = req->targets; in ACaptureRequest_addTarget()
60 __FUNCTION__, req, req_targets, target); in ACaptureRequest_addTarget()
63 auto pair = req->targets->mOutputs.insert(*target); in ACaptureRequest_addTarget()
72 ACaptureRequest* req, const ACameraOutputTarget* target) { in ACaptureRequest_removeTarget() argument
74 if (req == nullptr || req->targets == nullptr || target == nullptr) { in ACaptureRequest_removeTarget()
76 if (req != nullptr) in ACaptureRequest_removeTarget()
77 req_targets = req->targets; in ACaptureRequest_removeTarget()
[all …]
/frameworks/av/media/libaudioclient/tests/
Drecord_test_output_v1.0_ref_walleye.txt5 flags(0), req. flags(0), audio source(0)
7 frame count(4800), req. frame count(4800)
8 notif. frame count(960), req. notif. frame count(2400)
14 flags(0), req. flags(0), audio source(0)
16 frame count(4800), req. frame count(4800)
17 notif. frame count(480), req. notif. frame count(2400)
23 flags(0), req. flags(0), audio source(0)
25 frame count(4800), req. frame count(4800)
26 notif. frame count(320), req. notif. frame count(2400)
32 flags(0), req. flags(0), audio source(0)
[all …]
Dtrack_test_output_v1.0_ref_walleye.txt8 frame count(4800), req. frame count(4800)
9 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0)
19 frame count(4800), req. frame count(4800)
20 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
30 frame count(4800), req. frame count(4800)
31 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
41 frame count(4800), req. frame count(4800)
42 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0)
52 frame count(4410), req. frame count(4410)
53 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0)
[all …]
/frameworks/wilhelm/tests/sandbox/
Dsrcsink.c64 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in main() local
67 &audioSnk, 1, ids, req); in main()
74 &audioSnk, 1, ids, req); in main()
86 &audioSnk, 1, ids, req); in main()
98 &audioSnk, 1, ids, req); in main()
111 &audioSnk, 1, ids, req); in main()
116 &audioSnk, 1, ids, req); in main()
124 &audioSnk, 1, ids, req); in main()
129 &audioSnk, 1, ids, req); in main()
137 &audioSnk, 1, ids, req); in main()
[all …]
Durimime.c79 SLboolean req[1]; in main() local
81 req[0] = SL_BOOLEAN_TRUE; in main()
84 &audioSnk, numInterfaces, ids, req); in main()
90 &audioSnk, numInterfaces, ids, req); in main()
Dconfigbq.c130 SLboolean req[1]; in main() local
132 req[0] = SL_BOOLEAN_TRUE; in main()
135 &audioSnk, numInterfaces, ids, req); in main()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java111 ArgumentCaptor<SynthesisRequest> req = ArgumentCaptor.forClass(SynthesisRequest.class); in testSetLanguage_availableLanguage() local
112 Mockito.verify(delegate, Mockito.times(1)).onSynthesizeText(req.capture(), in testSetLanguage_availableLanguage()
115 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
116 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
117 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
118 assertEquals("en-US", req.getValue().getVoiceName()); in testSetLanguage_availableLanguage()
178 ArgumentCaptor<SynthesisRequest> req = ArgumentCaptor.forClass(SynthesisRequest.class); in testDefaultLanguage_setsVoiceName() local
179 Mockito.verify(delegate, Mockito.times(1)).onSynthesizeText(req.capture(), in testDefaultLanguage_setsVoiceName()
182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
183 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()
[all …]
/frameworks/av/media/mtp/
DMtpEventPacket.cpp65 struct usb_request* const req = usb_request_wait(device, -1); in readResponse() local
66 if (req) { in readResponse()
67 mPacketSize = req->actual_length; in readResponse()
68 return req->actual_length; in readResponse()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java220 final int req = w.mAttrs.screenOrientation;
221 if (req == SCREEN_ORIENTATION_UNSPECIFIED || req == SCREEN_ORIENTATION_BEHIND
222 || req == SCREEN_ORIENTATION_UNSET) {
244 int req = win.mAttrs.screenOrientation; in getOrientation() local
246 win, req, mDisplayContent.getDisplayId()); in getOrientation()
250 if (req != SCREEN_ORIENTATION_UNSET && req != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
251 mLastKeyguardForcedOrientation = req; in getOrientation()
253 req = mLastKeyguardForcedOrientation; in getOrientation()
257 return req; in getOrientation()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java226 WifiP2pServiceRequest req = (WifiP2pServiceRequest)o; in equals() local
232 if ((req.mProtocolType != mProtocolType) || in equals()
233 (req.mLength != mLength)) { in equals()
237 if (req.mQuery == null && mQuery == null) { in equals()
239 } else if (req.mQuery != null) { in equals()
240 return req.mQuery.equals(mQuery); in equals()
DWifiP2pServiceResponse.java304 WifiP2pServiceResponse req = (WifiP2pServiceResponse)o; in equals() local
306 return (req.mServiceType == mServiceType) && in equals()
307 (req.mStatus == mStatus) && in equals()
308 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && in equals()
309 Arrays.equals(req.mData, mData); in equals()
/frameworks/av/services/audioflinger/
DAudioWatchdog.cpp99 struct timespec req; in threadLoop() local
100 req.tv_sec = 0; in threadLoop()
101 req.tv_nsec = mPeriodNs; in threadLoop()
102 rc = nanosleep(&req, NULL); in threadLoop()
DStateQueue.cpp98 static const struct timespec req = {0, PUSH_BLOCK_ACK_NS}; in push() local
135 nanosleep(&req, NULL); in push()
175 nanosleep(&req, NULL); in push()
/frameworks/native/vulkan/scripts/
Dgenerator_common.py382 for req in extension:
383 if req.get('feature') is not None:
384 apiversion = req.get('feature')
385 for commands in req:
395 for req in feature:
396 for command in req:
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DTestInteractionActivity.java135 VoiceInteractor.AbortVoiceRequest req = new TestAbortVoice(); in onClick() local
136 mInteractor.submitRequest(req, REQUEST_ABORT); in onClick()
138 VoiceInteractor.CompleteVoiceRequest req = new TestCompleteVoice(); in onClick() local
139 mInteractor.submitRequest(req, REQUEST_COMPLETE); in onClick()
141 VoiceInteractor.CommandRequest req = new TestCommand("Some arg"); in onClick() local
142 mInteractor.submitRequest(req, REQUEST_COMMAND); in onClick()
151 VoiceInteractor.PickOptionRequest req = new TestPickOption(options); in onClick() local
152 mInteractor.submitRequest(req, REQUEST_PICK); in onClick()
DStartVoiceInteractionActivity.java74 VoiceInteractor.CommandRequest req = new TestCommand("Some arg"); in onClick() local
75 mInteractor.submitRequest(req, REQUEST_COMMAND); in onClick()
84 VoiceInteractor.PickOptionRequest req = new TestPickOption(options); in onClick() local
85 mInteractor.submitRequest(req, REQUEST_PICK); in onClick()
/frameworks/base/core/java/android/app/
DVoiceInteractor.java919 Request req = mActiveRequests.get(request.asBinder()); in pullRequest() local
920 if (req != null && complete) { in pullRequest()
923 return req; in pullRequest()
949 Request req = reqs.get(i); in attachActivity() local
950 req.mContext = activity; in attachActivity()
951 req.mActivity = activity; in attachActivity()
952 req.onAttached(activity); in attachActivity()
965 Request req = reqs.get(i); in detachActivity() local
966 req.onDetached(); in detachActivity()
967 req.mActivity = null; in detachActivity()
[all …]
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp98 struct v4l2_requestbuffers req = {}; in create() local
99 req.count = NUM_BUFFERS; in create()
100 req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in create()
101 req.memory = V4L2_MEMORY_MMAP; in create()
103 result = ioctl(fd.get(), VIDIOC_REQBUFS, &req); in create()
108 if (req.count != NUM_BUFFERS) { in create()
109 ALOGE("Requested %zu buffers, but driver responded with count=%i", NUM_BUFFERS, req.count); in create()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDeviceVendor.inc75 sp<CaptureRequest> req;
76 ret = allocateCaptureRequestLocked(requests[i], req);
81 addRequestSettingsMetadata(requests[i], req);
86 if (req->mCaptureRequest.streamAndWindowIds.size() == 0) {
90 requestList.push_back(utils::convertToHidl(req.get()));
91 requestsV.push_back(req);
DACameraDevice.cpp260 sp<CaptureRequest> &req) { in addRequestSettingsMetadata() argument
261 req->mPhysicalCameraSettings.resize(1 + aCaptureRequest->physicalSettings.size()); in addRequestSettingsMetadata()
263 &(req->mPhysicalCameraSettings[0])); in addRequestSettingsMetadata()
267 physicalSetting.first, &(req->mPhysicalCameraSettings[i])); in addRequestSettingsMetadata()
342 sp<CaptureRequest> req(new CaptureRequest()); in allocateCaptureRequestLocked() local
343 req->mCaptureRequest.physicalCameraSettings.resize(1 + request->physicalSettings.size()); in allocateCaptureRequestLocked()
347 req->mCaptureRequest.physicalCameraSettings[index++], mCameraId, request->settings); in allocateCaptureRequestLocked()
351 req->mCaptureRequest.physicalCameraSettings[index++], in allocateCaptureRequestLocked()
360 req->mSurfaceList.push_back(anw); in allocateCaptureRequestLocked()
385 req->mCaptureRequest.streamAndWindowIds.resize(requestStreamIdxList.size()); in allocateCaptureRequestLocked()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraDevice.inc67 sp<CaptureRequest> req;
68 ret = allocateCaptureRequest(requests[i], req);
73 if (req->mSurfaceList.empty()) {
77 requestList.push_back(*(req.get()));
78 requestsV.push_back(req);
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java562 for (NetworkRequest req : mCM.requested.values()) { in isDunRequested()
563 if (req.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) { in isDunRequested()
604 for (NetworkRequest req : listening.values()) { in isListeningForAll()
605 if (req.networkCapabilities.equalRequestableCapabilities(empty)) { in isListeningForAll()
634 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { in requestNetwork() argument
637 if (sDefaultRequest.equals(req)) { in requestNetwork()
642 requested.put(cb, req); in requestNetwork()
647 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { in requestNetwork() argument
652 public void requestNetwork(NetworkRequest req, in requestNetwork() argument
657 requested.put(cb, req); in requestNetwork()
[all …]
/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner_test.py114 req = "--package com.fake.package --readahead warm"
115 return parse_args("%s %s" % (req, str))
/frameworks/base/services/core/java/com/android/server/am/
DLmkdConnection.java275 public boolean exchange(ByteBuffer req, ByteBuffer repl) { in exchange() argument
277 return write(req); in exchange()
285 if (write(req)) { in exchange()

123