/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 283 ResTable_config supported, requested; in TEST() local 286 fillIn("fr", "CA", NULL, NULL, &requested); in TEST() 288 EXPECT_TRUE(supported.match(requested)); in TEST() 291 fillIn("fr", "CA", NULL, NULL, &requested); in TEST() 293 EXPECT_FALSE(supported.match(requested)); in TEST() 296 fillIn("qaa", "CA", NULL, NULL, &requested); in TEST() 298 EXPECT_FALSE(supported.match(requested)); in TEST() 301 fillIn("qaa", "CA", NULL, NULL, &requested); in TEST() 303 EXPECT_FALSE(supported.match(requested)); in TEST() 306 fillIn("qaa", "CA", "Latn", NULL, &requested); in TEST() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | CreateJavaOutputStreamAdaptor.cpp | 67 jint requested = 0; in doRead() local 69 requested = fCapacity; in doRead() 73 requested = static_cast<jint>(size); in doRead() 77 gInputStream_readMethodID, fJavaByteArray, 0, requested); in doRead() 197 jint requested = 0; in write() local 199 requested = fCapacity; in write() 203 requested = static_cast<jint>(size); in write() 206 env->SetByteArrayRegion(storage, 0, requested, in write() 216 storage, 0, requested); in write() 224 buffer = (void*)((char*)buffer + requested); in write() [all …]
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 111 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer() argument 127 if (requested == NULL) { in obtainBuffer() 129 } else if (requested->tv_sec == 0 && requested->tv_nsec == 0) { in obtainBuffer() 131 } else if (requested->tv_sec == INT_MAX) { in obtainBuffer() 135 if (requested->tv_sec > 0 || requested->tv_nsec >= MEASURE_NS) { in obtainBuffer() 246 ts = requested; in obtainBuffer() 252 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer() 253 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer() 257 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer() 258 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer() [all …]
|
D | AudioRecord.cpp | 757 const struct timespec *requested; in obtainBuffer() local 760 requested = &ClientProxy::kForever; in obtainBuffer() 762 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 767 requested = &timeout; in obtainBuffer() 770 requested = NULL; in obtainBuffer() 772 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); in obtainBuffer() 775 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() argument 821 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 828 status = proxy->obtainBuffer(&buffer, requested, elapsed); in obtainBuffer() 1054 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer() local [all …]
|
D | AudioTrack.cpp | 1577 const struct timespec *requested; in obtainBuffer() local 1580 requested = &ClientProxy::kForever; in obtainBuffer() 1582 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 1587 requested = &timeout; in obtainBuffer() 1590 requested = NULL; in obtainBuffer() 1592 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); in obtainBuffer() 1595 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() argument 1651 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 1658 status = proxy->obtainBuffer(&buffer, requested, elapsed); in obtainBuffer() 2018 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer() local [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 158 public boolean requested; // do we have a request outstanding, limited by score field in NetworkFactory.NetworkRequestInfo 163 this.requested = false; in NetworkRequestInfo() 168 return "{" + request + ", score=" + score + ", requested=" + requested + "}"; in toString() 193 if (n.requested) releaseNetworkFor(n.request); in handleRemoveRequest() 232 if (n.requested == false && n.score < mScore && in evalRequest() 237 n.requested = true; in evalRequest() 238 } else if (n.requested == true && in evalRequest() 243 n.requested = false; in evalRequest()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusionEngine.java | 120 public boolean requested; field in FusionEngine.ProviderStats 125 return (requested ? " REQUESTED" : " ---"); in toString() 134 if (!stats.requested) { in enableProvider() 136 stats.requested = true; in enableProvider() 150 if (stats.requested) { in disableProvider() 151 stats.requested = false; in disableProvider()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 138 mCurrentState.requested = mCurrentState.active; in Layer() 1449 const bool sizeChanged = (c.requested.w != s.requested.w) || 1450 (c.requested.h != s.requested.h); 1469 c.requested.w, c.requested.h, 1477 s.requested.w, s.requested.h); 1482 c.requested.w, c.requested.h); 1485 const bool resizePending = (c.requested.w != c.active.w) || 1486 (c.requested.h != c.active.h); 1514 c.active = c.requested; 1518 editCurrentState.active = editCurrentState.requested; [all …]
|
/frameworks/base/native/android/ |
D | configuration.cpp | 238 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { in AConfiguration_match() argument 239 return base->match(*requested); in AConfiguration_match() 243 AConfiguration* requested) { in AConfiguration_isBetterThan() argument 244 return base->isBetterThan(*test, requested); in AConfiguration_isBetterThan()
|
/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 126 size_t requested = min(size, mByteArrayLength); in doRead() local 129 gInputStreamClassInfo.read, mByteArray, 0, requested); in doRead()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | IntentBindRecord.java | 41 boolean requested; field in IntentBindRecord 61 pw.print(prefix); pw.print("requested="); pw.print(requested); in dumpInService()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 2174 const ResTable_config* requested) const { in isLocaleBetterThan() 2175 if (requested->locale == 0) { in isLocaleBetterThan() 2208 if (requested->language[0] == 'e' && requested->language[1] == 'n') { in isLocaleBetterThan() 2209 if (requested->country[0] == 'U' && requested->country[1] == 'S') { in isLocaleBetterThan() 2218 } else if (localeDataIsCloseToUsEnglish(requested->country)) { in isLocaleBetterThan() 2241 language, requested->localeScript, requested->country); in isLocaleBetterThan() 2247 if (requested->localeVariant[0] != '\0' in isLocaleBetterThan() 2248 && strncmp(localeVariant, requested->localeVariant, sizeof(localeVariant)) == 0) { in isLocaleBetterThan() 2249 return (strncmp(o.localeVariant, requested->localeVariant, sizeof(localeVariant)) != 0); in isLocaleBetterThan() 2256 const ResTable_config* requested) const { in isBetterThan() [all …]
|
/frameworks/native/include/android/ |
D | configuration.h | 687 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested); 700 AConfiguration* requested);
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 659 FrameLayout.LayoutParams requested = (FrameLayout.LayoutParams)view.getLayoutParams(); in prepareView() local 660 if (requested == null) { in prepareView() 661 requested = new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, in prepareView() 665 requested.gravity = Gravity.CENTER; in prepareView() 666 view.setLayoutParams(requested); in prepareView()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewFocusRecoveryTest.java | 364 RecyclerView.ViewHolder requested = mRecyclerView.findViewHolderForItemId(toFocusId.get()); in testDoNotOverrideAdapterRequestedFocus() local 366 assertFocus(requested, true); in testDoNotOverrideAdapterRequestedFocus() 407 RecyclerView.ViewHolder requested = mRecyclerView.findViewHolderForItemId(toFocusId.get()); in testDoNotOverrideLayoutManagerRequestedFocus() local 409 assertFocus(requested, true); in testDoNotOverrideLayoutManagerRequestedFocus()
|
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/ |
D | DoclavaTask.groovy | 175 // If requested, generate the api files. 182 // If requested, generate the keep list. 187 // If requested, generate stubs.
|
/frameworks/native/vulkan/doc/implementors_guide/ |
D | implementors_guide.adoc | 50 …creating a swapchain, the platform will ask the driver to translate the requested format and image… 60 … for that format and usage. These will be combined with the usage flags requested by the swapchain… 62 …..)+. The WSI implementation will allocate the number of native buffers requested for the swapchai… 74 // Gralloc format and usage requested when the buffer was allocated. 83 .format = a VkFormat matching the format requested for the gralloc buffer 84 .extent = the 2D dimensions requested for the gralloc buffer
|
/frameworks/av/media/libnbaio/ |
D | README.txt | 7 transferred frames is less than the requested number of frames.
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 270 size_t requested = *bytes; in readCallback() local 271 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); in readCallback() 280 assert(actual <= requested); in readCallback()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 80 void startScan(in ScanSettings requested, in WorkSource ws); in startScan() argument
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 278 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL, 399 status_t waitStreamEndDone(const struct timespec *requested);
|
/frameworks/base/docs/html/design/patterns/ |
D | confirming-acknowledging.jd | 29 …<p>In this example, the user has requested to delete a book from their Google Play library. An <a … 30 …<p>When crafting a confirmation dialog, make the title meaningful by echoing the requested action.…
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 177 const struct timespec *requested = NULL) = 0;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagCommonKinds.inc | 148 "requested memory region [%0, %1] is out of range.", 149 "requested memory region [%0, %1] is out of range.")
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | how-android-draws.jd | 7 <p>When an {@link android.app.Activity} receives focus, it will be requested to 13 <p>Drawing begins with the root node of the layout. It is requested to measure and
|