Searched defs:requested (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
H A DIntentBindRecord.java41 boolean requested; field in class:IntentBindRecord
42 /** Set when we have received the requested binder. */
61 pw.print(prefix); pw.print("requested="); pw.print(requested);
/frameworks/ex/framesequence/jni/
H A DStream.cpp98 size_t requested = min(size, mByteArrayLength); local
101 gInputStreamClassInfo.read, mByteArray, 0, requested);
/frameworks/base/core/java/android/net/
H A DNetworkFactory.java156 public boolean requested; // do we have a request outstanding, limited by score field in class:NetworkFactory.NetworkRequestInfo
161 this.requested = false;
182 if (n != null && n.requested) {
223 if (n.requested == false && n.score < mScore &&
228 n.requested = true;
229 } else if (n.requested == true &&
234 n.requested = false;
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp66 jint requested = 0; local
68 requested = fCapacity;
70 // This is safe because requested is clamped to (jint)
72 requested = static_cast<jint>(size);
76 gInputStream_readMethodID, fJavaByteArray, 0, requested);
196 jint requested = 0; local
198 requested = fCapacity;
200 // This is safe because requested is clamped to (jint)
202 requested = static_cast<jint>(size);
205 env->SetByteArrayRegion(storage, 0, requested,
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java119 public boolean requested; field in class:FusionEngine.ProviderStats
126 s.append(requested ? " REQUESTED" : " ---");
135 if (!stats.requested) {
137 stats.requested = true;
150 if (stats.requested) {
151 stats.requested = false;
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java467 * @return True if requested, false otherwise.
474 * Indicates whether hardware acceleration is currently requested but not
479 void setRequested(boolean requested) { argument
480 mRequested = requested;
/frameworks/base/native/android/
H A Dconfiguration.cpp229 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { argument
230 return base->match(*requested);
234 AConfiguration* requested) {
235 return base->isBetterThan(*test, requested);
233 AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, AConfiguration* requested) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.h104 Geometry requested; member in struct:android::Layer::State
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp566 // If IAudioRecord is re-created, don't let the requested frameCount
603 const struct timespec *requested; local
606 requested = &ClientProxy::kForever;
608 requested = &ClientProxy::kNonBlocking;
613 requested = &timeout;
616 requested = NULL;
618 return obtainBuffer(audioBuffer, requested);
621 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, argument
667 requested = &ClientProxy::kNonBlocking;
673 // FIXME starts the requested timeou
890 const struct timespec *requested = &ClientProxy::kForever; local
[all...]
H A DAudioTrackShared.cpp62 #define MEASURE_NS 10000000 // attempt to provide accurate timeouts if requested >= MEASURE_NS
70 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, argument
81 TIMEOUT_ZERO, // requested == NULL || *requested == 0
82 TIMEOUT_INFINITE, // *requested == infinity
83 TIMEOUT_FINITE, // 0 < *requested < infinity
86 if (requested == NULL) {
88 } else if (requested->tv_sec == 0 && requested->tv_nsec == 0) {
90 } else if (requested
376 waitStreamEndDone(const struct timespec *requested) argument
[all...]
H A DAudioTrack.cpp327 // or offload was requested
338 // force direct flag if HW A/V sync requested
610 // this time when requested until the track is resumed.
1224 // If IAudioTrack is re-created, don't let the requested frameCount
1273 const struct timespec *requested; local
1276 requested = &ClientProxy::kForever;
1278 requested = &ClientProxy::kNonBlocking;
1283 requested = &timeout;
1286 requested = NULL;
1288 return obtainBuffer(audioBuffer, requested);
1291 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument
1730 const struct timespec *requested = &ClientProxy::kForever; local
[all...]
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp270 size_t requested = *bytes; local
271 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested);
280 assert(actual <= requested);
H A DMPEG4Extractor.cpp1134 ssize_t requested = (ssize_t) pssh.datalen; local
1135 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) {
3965 // The requested time is somewhere in this segment
3969 // requested next sync, or closest sync and it was closer to the end of
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java486 public boolean requestBatchedScan(BatchedScanSettings requested, IBinder binder, argument
496 requested = new BatchedScanSettings(requested);
497 if (requested.isInvalid()) return false;
498 BatchedScanRequest r = new BatchedScanRequest(requested, binder, workSource);
1733 // if anybody had requested filters be off, leave off
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java463 * remembered access points. Scans must be explicitly requested by
1045 public boolean startCustomizedScan(ScanSettings requested) { argument
1047 mService.startScan(requested, null);
1055 public boolean startCustomizedScan(ScanSettings requested, WorkSource workSource) { argument
1057 mService.startScan(requested, workSource);
1065 * Request a batched scan for access points. To end your requested batched scan,
1071 * @param requested {@link BatchedScanSettings} the scan settings requested.
1075 public boolean requestBatchedScan(BatchedScanSettings requested) { argument
1077 return mService.requestBatchedScan(requested, ne
1081 requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) argument
1109 stopBatchedScan(BatchedScanSettings requested) argument
[all...]

Completed in 515 milliseconds