/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 67 jint requested = 0; local 69 requested = fCapacity; 71 // This is safe because requested is clamped to (jint) 73 requested = static_cast<jint>(size); 77 gInputStream_readMethodID, fJavaByteArray, 0, requested); 197 jint requested = 0; local 199 requested = fCapacity; 201 // This is safe because requested is clamped to (jint) 203 requested = static_cast<jint>(size); 206 env->SetByteArrayRegion(storage, 0, requested, [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 283 ResTable_config supported, requested; local 286 fillIn("fr", "CA", NULL, NULL, &requested); 288 EXPECT_TRUE(supported.match(requested)); 291 fillIn("fr", "CA", NULL, NULL, &requested); 293 EXPECT_FALSE(supported.match(requested)); 296 fillIn("qaa", "CA", NULL, NULL, &requested); 298 EXPECT_FALSE(supported.match(requested)); 301 fillIn("qaa", "CA", NULL, NULL, &requested); 303 EXPECT_FALSE(supported.match(requested)); 306 fillIn("qaa", "CA", "Latn", NULL, &requested); 375 ResTable_config supported, requested; local [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkFactory.java | 158 public boolean requested; // do we have a request outstanding, limited by score field in class:NetworkFactory.NetworkRequestInfo 163 this.requested = false; 168 return "{" + request + ", score=" + score + ", requested=" + requested + "}"; 193 if (n.requested) releaseNetworkFor(n.request); 232 if (n.requested == false && n.score < mScore && 237 n.requested = true; 238 } else if (n.requested == true && 243 n.requested = false;
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 81 #define MEASURE_NS 10000000 // attempt to provide accurate timeouts if requested >= MEASURE_NS 111 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, argument 122 TIMEOUT_ZERO, // requested == NULL || *requested == 0 123 TIMEOUT_INFINITE, // *requested == infinity 124 TIMEOUT_FINITE, // 0 < *requested < infinity 127 if (requested == NULL) { 129 } else if (requested->tv_sec == 0 && requested->tv_nsec == 0) { 131 } else if (requested 414 waitStreamEndDone(const struct timespec *requested) argument [all...] |
H A D | AudioRecord.cpp | 707 // If IAudioRecord is re-created, don't let the requested frameCount 757 const struct timespec *requested; local 760 requested = &ClientProxy::kForever; 762 requested = &ClientProxy::kNonBlocking; 767 requested = &timeout; 770 requested = NULL; 772 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); 775 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, argument 821 requested = &ClientProxy::kNonBlocking; 827 // FIXME starts the requested timeou 1051 const struct timespec *requested = &ClientProxy::kForever; local [all...] |
H A D | AudioTrack.cpp | 401 // or offload was requested 412 // force direct flag if HW A/V sync requested 738 // this time when requested until the track is resumed. 1516 // If IAudioTrack is re-created, don't let the requested frameCount 1586 const struct timespec *requested; local 1589 requested = &ClientProxy::kForever; 1591 requested = &ClientProxy::kNonBlocking; 1596 requested = &timeout; 1599 requested = NULL; 1601 return obtainBuffer(audioBuffer, requested, NUL 1604 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument 2024 const struct timespec *requested = &ClientProxy::kForever; local [all...] |
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 120 public boolean requested; field in class:FusionEngine.ProviderStats 125 return (requested ? " REQUESTED" : " ---"); 134 if (!stats.requested) { 136 stats.requested = true; 150 if (stats.requested) { 151 stats.requested = false;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | IntentBindRecord.java | 41 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 D | Stream.cpp | 126 size_t requested = min(size, mByteArrayLength); local 129 gInputStreamClassInfo.read, mByteArray, 0, requested);
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 238 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { argument 239 return base->match(*requested); 243 AConfiguration* requested) { 244 return base->isBetterThan(*test, requested); 242 AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, AConfiguration* requested) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 136 mCurrentState.requested = mCurrentState.active; 1383 const bool sizeChanged = (c.requested.w != s.requested.w) || 1384 (c.requested.h != s.requested.h); 1391 " requested={ wh={%4u,%4u} }}\n" 1393 " requested={ wh={%4u,%4u} }}\n", 1403 c.requested.w, c.requested.h, 1411 s.requested [all...] |
H A D | Layer.h | 108 Geometry requested; member in struct:android::Layer::State
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | IWifiManager.aidl | 80 void startScan(in ScanSettings requested, in WorkSource ws);
|
/frameworks/native/include/android/ |
H A D | configuration.h | 684 * environment 'requested'. Returns 0 if there are any values in 'base' 685 * that conflict with 'requested'. Returns 1 if it does not conflict. 687 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested); 691 * configuration in 'base'. If 'requested' is non-NULL, this decision is based 700 AConfiguration* requested);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 431 // inflate any requested LayoutParams. 516 // inflate any requested LayoutParams. 658 // Take requested dimensions from child, but apply default gravity. 659 FrameLayout.LayoutParams requested = (FrameLayout.LayoutParams)view.getLayoutParams(); 660 if (requested == null) { 661 requested = new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, 665 requested.gravity = Gravity.CENTER; 666 view.setLayoutParams(requested); 670 * Inflate and return the default layout requested by AppWidget provider.
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 2174 const ResTable_config* requested) const { 2175 if (requested->locale == 0) { 2188 // match the requested locale. 2208 if (requested->language[0] == 'e' && requested->language[1] == 'n') { 2209 if (requested->country[0] == 'U' && requested->country[1] == 'S') { 2218 } else if (localeDataIsCloseToUsEnglish(requested->country)) { 2241 language, requested->localeScript, requested [all...] |
/frameworks/av/services/audioflinger/ |
H A D | TrackBase.h | 179 const struct timespec *requested = NULL) = 0;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewFocusRecoveryTest.java | 362 RecyclerView.ViewHolder requested = mRecyclerView.findViewHolderForItemId(toFocusId.get()); 364 assertFocus(requested, true); 405 RecyclerView.ViewHolder requested = mRecyclerView.findViewHolderForItemId(toFocusId.get()); 407 assertFocus(requested, true);
|
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 270 size_t requested = *bytes; local 271 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); 280 assert(actual <= requested);
|
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 167 uint32_t mSampleRate; // AudioTrack only: client's requested sample rate in Hz 254 // requested is the requested timeout in local monotonic delta time units: 278 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL, 399 status_t waitStreamEndDone(const struct timespec *requested);
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 156 * be larger if the requested size is not compatible with current audio HAL 385 * frameCount number of frames requested 393 * frameCount actual number of frames available, <= number requested 451 * in case the requested amount of frames is in two or more non-contiguous regions. 452 * FIXME requested and elapsed are both relative times. Consider changing to absolute time. 454 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, 510 void resume(); // allow thread to execute, if not requested to exit 523 bool mPaused; // whether thread is requested to pause at next loop entry 560 uint32_t mNotificationFramesReq; // requested number of frames between each
|
H A D | AudioTrack.h | 181 * larger if the requested size is not compatible with current audio HAL 195 * requested number of notifications (sub-buffers) in the entire buffer. 208 * uid: User ID of the app which initially requested this AudioTrack 210 * pid: Process ID of the app which initially requested this AudioTrack 366 * The requested size may be adjusted so that it is 656 * frameCount number of [empty slots for] frames requested 664 * frameCount actual number of [empty slots for] frames available, <= number requested 678 * in case the requested amount of frames is in two or more non-contiguous regions. 679 * FIXME requested and elapsed are both relative times. Consider changing to absolute time. 681 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 398 * @return True if requested, false otherwise. 405 * Indicates whether hardware acceleration is currently requested but not 410 void setRequested(boolean requested) { argument 411 mRequested = requested;
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 1205 // Return true if 'this' is a better match than 'o' for the 'requested' 1207 // remove any configurations that don't match the requested configuration 1213 // '==requested' will pass the match() call. So if this is not generic, 1215 bool isBetterThan(const ResTable_config& o, const ResTable_config* requested) const; 1222 // settings is the requested settings 1278 // 'requested' configuration. Similar to isBetterThan(), this assumes that 1280 // match the requested configuration at all. 1281 bool isLocaleBetterThan(const ResTable_config& o, const ResTable_config* requested) const;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
H A D | SoundTriggerHelper.java | 960 Slog.w(TAG, "startRecognition requested but not allowed."); 1072 // mRequested captures the explicit intent that a start was requested for this model. We 1185 // Whether a start recognition was requested. 1190 synchronized void setRequested(boolean requested) { argument 1191 mRequested = requested;
|