Searched defs:req (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp65 struct usb_request* const req = usb_request_wait(device, -1); local
66 if (req) {
67 mPacketSize = req->actual_length;
68 return req->actual_length;
H A DMtpDevice.cpp756 struct usb_request* req = NULL; local
762 if (req) {
768 writeBuffer = req->buffer;
777 req = (req == mRequestIn1 ? mRequestIn2 : mRequestIn1);
778 req->buffer_length = remaining > MTP_BUFFER_SIZE ?
780 if (mData.readDataAsync(req) != 0) {
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp99 struct timespec req; local
100 req.tv_sec = 0;
101 req.tv_nsec = mPeriodNs;
102 rc = nanosleep(&req, NULL);
H A DStateQueue.cpp98 static const struct timespec req = {0, PUSH_BLOCK_ACK_NS}; local
135 nanosleep(&req, NULL);
175 nanosleep(&req, NULL);
/frameworks/wilhelm/tests/sandbox/
H A Dsrcsink.c64 SLboolean req[1] = {SL_BOOLEAN_TRUE}; local
67 &audioSnk, 1, ids, req);
74 &audioSnk, 1, ids, req);
86 &audioSnk, 1, ids, req);
98 &audioSnk, 1, ids, req);
111 &audioSnk, 1, ids, req);
116 &audioSnk, 1, ids, req);
124 &audioSnk, 1, ids, req);
129 &audioSnk, 1, ids, req);
137 &audioSnk, 1, ids, req);
[all...]
H A Doutputmix.c130 SLboolean req[10] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE /*SL_BOOLEAN_TRUE*/, SL_BOOLEAN_TRUE, local
133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req);
H A Durimime.c79 SLboolean req[1]; local
81 req[0] = SL_BOOLEAN_TRUE;
84 &audioSnk, numInterfaces, ids, req);
90 &audioSnk, numInterfaces, ids, req);
H A Dconfigbq.c130 SLboolean req[1]; local
132 req[0] = SL_BOOLEAN_TRUE;
135 &audioSnk, numInterfaces, ids, req);
H A Dmonkey.c118 SLboolean req[1] = {SL_BOOLEAN_TRUE}; local
120 &audioSnk, 1, ids, req);
H A Dplaybq.cpp368 SLboolean req[1] = {SL_BOOLEAN_TRUE}; local
370 ids, req);
H A Dxaplay.c439 XAboolean req[4] = {XA_BOOLEAN_TRUE, XA_BOOLEAN_TRUE, XA_BOOLEAN_FALSE, XA_BOOLEAN_TRUE}; local
442 req);
/frameworks/av/camera/ndk/
H A DNdkCaptureRequest.cpp51 ACaptureRequest* req, const ACameraOutputTarget* target) {
53 if (req == nullptr || req->targets == nullptr || target == nullptr) {
55 if (req != nullptr)
56 req_targets = req->targets;
59 ALOGE("%s: Error: invalid input: req %p, req-targets %p, target %p",
60 __FUNCTION__, req, req_targets, target);
63 auto pair = req->targets->mOutputs.insert(*target);
72 ACaptureRequest* req, cons
50 ACaptureRequest_addTarget( ACaptureRequest* req, const ACameraOutputTarget* target) argument
71 ACaptureRequest_removeTarget( ACaptureRequest* req, const ACameraOutputTarget* target) argument
89 ACaptureRequest_getConstEntry( const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) argument
101 ACaptureRequest_getAllTags( const ACaptureRequest* req, int32_t* numTags, const uint32_t** tags) argument
[all...]
/frameworks/base/media/tests/NativeMidiDemo/jni/
H A Dnativemidi-jni.cpp157 const SLboolean req[1] = { SL_BOOLEAN_TRUE }; local
159 engineEngine, &playerObject, &audioSrc, &audioSnk, 1, ids, req);
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DUpstreamNetworkMonitorTest.java273 for (NetworkRequest req : listening.values()) {
274 if (req.networkCapabilities.equalRequestableCapabilities(empty)) {
282 for (NetworkRequest req : requested.values()) {
283 if (req.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) {
291 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { argument
295 requested.put(cb, req);
299 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { argument
304 public void requestNetwork(NetworkRequest req, NetworkCallback cb, argument
309 requested.put(cb, req);
317 public void registerNetworkCallback(NetworkRequest req, NetworkCallbac argument
325 registerNetworkCallback(NetworkRequest req, NetworkCallback cb) argument
[all...]
/frameworks/base/cmds/bootanimation/
H A Daudioplay.cpp175 const SLboolean req[3] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE}; local
177 3, ids, req);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java770 private String selectInterfaceForRequest(AwareNetworkRequestInformation req) { argument
776 Log.e(TAG, "selectInterfaceForRequest: req=" + req + " - but no interfaces available!");
786 private int selectChannelForRequest(AwareNetworkRequestInformation req) { argument
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp216 sp<CaptureRequest> req; local
217 ret = allocateCaptureRequest(requests[i], req);
222 if (req->mSurfaceList.empty()) {
226 requestList.push_back(*(req.get()));
227 requestsV.push_back(req);
282 sp<CaptureRequest> req(new CaptureRequest());
283 req->mMetadata = request->settings->getInternalData();
284 req->mIsReprocess = false; // NDK does not support reprocessing yet
294 req->mSurfaceList.push_back(surface);
296 outReq = req;
301 allocateACaptureRequest(sp<CaptureRequest>& req) argument
315 freeACaptureRequest(ACaptureRequest* req) argument
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp372 bool req = category.sysfiles[i].required == REQ; local
374 if (req) {
397 bool req = category.sysfiles[i].required == REQ; local
399 if (req) {
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java378 Request req = session.removeRequest(mInterface.asBinder());
379 if (req == null) {
381 } else if (req != this) {
382 throw new IllegalStateException("Current active request " + req
393 if (DEBUG) Log.d(TAG, "sendCancelResult: req=" + mInterface);
474 if (DEBUG) Log.d(TAG, "sendConfirmationResult: req=" + mInterface
536 if (DEBUG) Log.d(TAG, "sendPickOptionResult: req=" + mInterface
645 if (DEBUG) Log.d(TAG, "sendCompleteVoiceResult: req=" + mInterface
702 if (DEBUG) Log.d(TAG, "sendConfirmResult: req=" + mInterface
740 if (DEBUG) Log.d(TAG, "sendCommandResult: req
972 addRequest(Request req) argument
[all...]
/frameworks/base/services/net/java/android/net/ip/
H A DIpManager.java549 public void startProvisioning(ProvisioningConfiguration req) { argument
553 sendMessage(CMD_START, new ProvisioningConfiguration(req));
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java871 private static void checkServiceRequest(WifiP2pServiceRequest req) { argument
872 if (req == null) throw new IllegalArgumentException("service request is null");
1224 * @param req is the service discovery request.
1228 WifiP2pServiceRequest req, ActionListener listener) {
1230 checkServiceRequest(req);
1232 c.putListener(listener), req);
1244 * @param req is the service discovery request.
1247 public void removeServiceRequest(Channel c, WifiP2pServiceRequest req, argument
1250 checkServiceRequest(req);
1252 c.putListener(listener), req);
1227 addServiceRequest(Channel c, WifiP2pServiceRequest req, ActionListener listener) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java3055 WifiP2pServiceRequest req;
3057 req = c.mReqList.valueAt(i);
3058 if (req != null) {
3059 sb.append(req.getSupplicantQuery());
3085 private boolean addServiceRequest(Messenger m, WifiP2pServiceRequest req) { argument
3086 if (m == null || req == null) {
3102 req.setTransactionId(mServiceTransactionId);
3103 clientInfo.mReqList.put(mServiceTransactionId, req);
3112 private void removeServiceRequest(Messenger m, WifiP2pServiceRequest req) { argument
3113 if (m == null || req
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp1518 int32_t req = AaptXml::getIntegerAttribute(tree, REQUIRED_ATTR, 1, local
1536 commonFeatures.features.add(name, Feature(req != 0, version));
1537 if (req) {
1743 int req = AaptXml::getIntegerAttribute(tree, local
1746 req ? "" : "-not-required", ResTable::normalizeForOutput(
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java2828 private NetworkCallback getCallback(NetworkRequest req, String name) { argument
2831 callback = sCallbacks.get(req);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java4121 static String retToString(int req, Object ret) { argument
4123 switch (req) {
4166 } else if (req == RIL_REQUEST_GET_CURRENT_CALLS) {
4174 } else if (req == RIL_REQUEST_GET_NEIGHBORING_CELL_IDS) {
4182 } else if (req == RIL_REQUEST_QUERY_CALL_FORWARD_STATUS) {
4191 } else if (req == RIL_REQUEST_GET_HARDWARE_CONFIG) {

Completed in 584 milliseconds

12