Home
last modified time | relevance | path

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

12

/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapClient.java401 BluetoothPbapRequest req = (BluetoothPbapRequest) msg.obj; in handleMessage() local
403 if (req instanceof BluetoothPbapRequestPullPhoneBookSize) { in handleMessage()
405 } else if (req instanceof BluetoothPbapRequestPullVcardListingSize) { in handleMessage()
407 } else if (req instanceof BluetoothPbapRequestPullPhoneBook) { in handleMessage()
409 } else if (req instanceof BluetoothPbapRequestPullVcardListing) { in handleMessage()
411 } else if (req instanceof BluetoothPbapRequestPullVcardEntry) { in handleMessage()
413 } else if (req instanceof BluetoothPbapRequestSetPath) { in handleMessage()
422 BluetoothPbapRequest req = (BluetoothPbapRequest) msg.obj; in handleMessage() local
424 if (req instanceof BluetoothPbapRequestPullPhoneBookSize) { in handleMessage()
425 int size = ((BluetoothPbapRequestPullPhoneBookSize) req).getSize(); in handleMessage()
[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()
Doutputmix.c130 SLboolean req[10] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE /*SL_BOOLEAN_TRUE*/, SL_BOOLEAN_TRUE, in main() local
133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req); in main()
Dmonkey.c118 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in actionCreate() local
120 &audioSnk, 1, ids, req); in actionCreate()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java107 ArgumentCaptor<SynthesisRequest> req = LittleMock.createCaptor(); in testSetLanguage_availableLanguage() local
108 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testSetLanguage_availableLanguage()
111 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
112 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
113 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
114 assertEquals("en-US", req.getValue().getVoiceName()); in testSetLanguage_availableLanguage()
174 ArgumentCaptor<SynthesisRequest> req = LittleMock.createCaptor(); in testDefaultLanguage_setsVoiceName() local
175 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testDefaultLanguage_setsVoiceName()
178 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
179 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java223 WifiP2pServiceRequest req = (WifiP2pServiceRequest)o; in equals() local
229 if ((req.mProtocolType != mProtocolType) || in equals()
230 (req.mLength != mLength)) { in equals()
234 if (req.mQuery == null && mQuery == null) { in equals()
236 } else if (req.mQuery != null) { in equals()
237 return req.mQuery.equals(mQuery); in equals()
DWifiP2pServiceResponse.java312 WifiP2pServiceResponse req = (WifiP2pServiceResponse)o; in equals() local
314 return (req.mServiceType == mServiceType) && in equals()
315 (req.mStatus == mStatus) && in equals()
316 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && in equals()
317 Arrays.equals(req.mData, mData); in equals()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasClient.java369 BluetoothMasRequestSetPath req = (BluetoothMasRequestSetPath) request; in handleMessage() local
370 switch (req.mDir) { in handleMessage()
382 client.mPath.addLast(req.mName); in handleMessage()
391 … BluetoothMasRequestGetFolderListing req = (BluetoothMasRequestGetFolderListing) request; in handleMessage() local
392 ArrayList<String> folders = req.getList(); in handleMessage()
403 … BluetoothMasRequestGetMessagesListing req = (BluetoothMasRequestGetMessagesListing) request; in handleMessage() local
404 ArrayList<BluetoothMapMessage> msgs = req.getList(); in handleMessage()
409 BluetoothMasRequestGetMessage req = (BluetoothMasRequestGetMessage) request; in handleMessage() local
410 BluetoothMapBmessage bmsg = req.getMessage(); in handleMessage()
418 … BluetoothMasRequestPushMessage req = (BluetoothMasRequestPushMessage) request; in handleMessage() local
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp630 struct usb_request* req = mRequestIn1; in readObject() local
637 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining); in readObject()
638 if (mData.readDataAsync(req)) { in readObject()
643 req = NULL; in readObject()
651 if (req) in readObject()
660 if (req) { in readObject()
666 writeBuffer = req->buffer; in readObject()
669 req = (req == mRequestIn1 ? mRequestIn2 : mRequestIn1); in readObject()
731 struct usb_request* req = mRequestIn1; in readObject() local
738 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining); in readObject()
[all …]
DMtpDataPacket.cpp493 int MtpDataPacket::readDataAsync(struct usb_request *req) { in readDataAsync() argument
494 if (usb_request_queue(req)) { in readDataAsync()
503 struct usb_request *req = usb_request_wait(device); in readDataWait() local
504 return (req ? req->actual_length : -1); in readDataWait()
DMtpDataPacket.h109 int readDataAsync(struct usb_request *req);
/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()
DFastThread.cpp94 const struct timespec req = {0, mSleepNs}; in threadLoop() local
95 nanosleep(&req, NULL); in threadLoop()
/frameworks/base/core/java/android/app/
DVoiceInteractor.java894 Request req = mActiveRequests.get(request.asBinder()); in pullRequest() local
895 if (req != null && complete) { in pullRequest()
898 return req; in pullRequest()
924 Request req = reqs.get(i); in attachActivity() local
925 req.mContext = activity; in attachActivity()
926 req.mActivity = activity; in attachActivity()
927 req.onAttached(activity); in attachActivity()
940 Request req = reqs.get(i); in detachActivity() local
941 req.onDetached(); in detachActivity()
942 req.mActivity = null; in detachActivity()
[all …]
/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()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java865 private static void checkServiceRequest(WifiP2pServiceRequest req) { in checkServiceRequest() argument
866 if (req == null) throw new IllegalArgumentException("service request is null"); in checkServiceRequest()
1222 WifiP2pServiceRequest req, ActionListener listener) { in addServiceRequest() argument
1224 checkServiceRequest(req); in addServiceRequest()
1226 c.putListener(listener), req); in addServiceRequest()
1241 public void removeServiceRequest(Channel c, WifiP2pServiceRequest req, in removeServiceRequest() argument
1244 checkServiceRequest(req); in removeServiceRequest()
1246 c.putListener(listener), req); in removeServiceRequest()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java355 Request req = session.removeRequest(mInterface.asBinder()); in finishRequest() local
356 if (req == null) { in finishRequest()
358 } else if (req != this) { in finishRequest()
359 throw new IllegalStateException("Current active request " + req in finishRequest()
938 void addRequest(Request req) { in addRequest() argument
940 mActiveRequests.put(req.mInterface.asBinder(), req); in addRequest() local
1557 Request req = mActiveRequests.valueAt(i); in dump() local
1560 writer.println(req); in dump()
1561 req.dump(innerPrefix, fd, writer, args); in dump()
/frameworks/native/cmds/atrace/
Datrace.cpp288 bool req = category.sysfiles[i].required == REQ; in isCategorySupported() local
290 if (req) { in isCategorySupported()
313 bool req = category.sysfiles[i].required == REQ; in isCategorySupportedForRoot() local
315 if (req) { in isCategorySupportedForRoot()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp204 const struct timespec req = {0, static_cast<long>(ns)}; in write() local
205 nanosleep(&req, NULL); in write()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2350 ExtractedTextRequest req = new ExtractedTextRequest(); in startExtractingText() local
2351 req.token = mExtractedToken; in startExtractingText()
2352 req.flags = InputConnection.GET_TEXT_WITH_STYLES; in startExtractingText()
2353 req.hintMaxLines = 10; in startExtractingText()
2354 req.hintMaxChars = 10000; in startExtractingText()
2357 : ic.getExtractedText(req, InputConnection.GET_EXTRACTED_TEXT_MONITOR); in startExtractingText()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2873 WifiP2pServiceRequest req; in updateSupplicantServiceRequest() local
2875 req = c.mReqList.valueAt(i); in updateSupplicantServiceRequest()
2876 if (req != null) { in updateSupplicantServiceRequest()
2877 sb.append(req.getSupplicantQuery()); in updateSupplicantServiceRequest()
2906 private boolean addServiceRequest(Messenger m, WifiP2pServiceRequest req) { in addServiceRequest() argument
2916 req.setTransactionId(mServiceTransactionId); in addServiceRequest()
2917 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
2926 private void removeServiceRequest(Messenger m, WifiP2pServiceRequest req) { in removeServiceRequest() argument
2936 if (req.equals(clientInfo.mReqList.valueAt(i))) { in removeServiceRequest()
3045 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse() local
[all …]
/frameworks/base/docs/html/training/volley/
Drequestqueue.jd185 public &lt;T&gt; void addToRequestQueue(Request&lt;T&gt; req) {
186 getRequestQueue().add(req);

12