/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 370 ResTable_config supported, requested; in TEST() local 373 fillIn("fr", "CA", NULL, NULL, &requested); in TEST() 375 EXPECT_TRUE(supported.match(requested)); in TEST() 378 fillIn("fr", "CA", NULL, NULL, &requested); in TEST() 380 EXPECT_FALSE(supported.match(requested)); in TEST() 383 fillIn("fil", "PH", NULL, NULL, &requested); in TEST() 385 EXPECT_TRUE(supported.match(requested)); in TEST() 388 fillIn("qaa", "CA", NULL, NULL, &requested); in TEST() 390 EXPECT_FALSE(supported.match(requested)); in TEST() 393 fillIn("qaa", "CA", NULL, NULL, &requested); in TEST() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | CreateJavaOutputStreamAdaptor.cpp | 98 jint requested = 0; in doRead() local 100 requested = fCapacity; in doRead() 104 requested = static_cast<jint>(size); in doRead() 108 gInputStream_readMethodID, fJavaByteArray, 0, requested); in doRead() 232 jint requested = 0; in write() local 234 requested = fCapacity; in write() 238 requested = static_cast<jint>(size); in write() 241 env->SetByteArrayRegion(storage, 0, requested, in write() 251 storage, 0, requested); in write() 259 buffer = (void*)((char*)buffer + requested); in write() [all …]
|
D | ByteBufferStreamAdaptor.cpp | 69 const size_t requested = (size > kStorageSize) ? kStorageSize : size; in read() local 70 const jint jrequested = static_cast<jint>(requested); in read() 80 env->GetByteArrayRegion(mStorage, 0, requested, reinterpret_cast<jbyte*>(buffer)); in read() 89 mPosition += requested; in read() 90 buffer = reinterpret_cast<void*>(reinterpret_cast<char*>(buffer) + requested); in read() 91 bytesRead += requested; in read() 92 size -= requested; in read()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 181 assertEquals(0, mCM.requested.size()); in testRequestsMobileNetwork() 185 assertEquals(0, mCM.requested.size()); in testRequestsMobileNetwork() 189 assertEquals(0, mCM.requested.size()); in testRequestsMobileNetwork() 204 assertEquals(0, mCM.requested.size()); in testDuplicateMobileRequestsIgnored() 210 assertEquals(0, mCM.requested.size()); in testDuplicateMobileRequestsIgnored() 240 assertEquals(0, mCM.requested.size()); in testRequestsDunNetwork() 244 assertEquals(0, mCM.requested.size()); in testRequestsDunNetwork() 248 assertEquals(0, mCM.requested.size()); in testRequestsDunNetwork() 320 assertEquals(1, mCM.requested.size()); in testSelectPreferredUpstreamType() 321 NetworkRequest netReq = (NetworkRequest) mCM.requested.values().toArray()[0]; in testSelectPreferredUpstreamType() [all …]
|
/frameworks/libs/net/common/src_servicescommon/android/net/ |
D | NetworkFactory.java | 180 public boolean requested; // do we have a request outstanding, limited by score field in NetworkFactory.NetworkRequestInfo 186 this.requested = false; in NetworkRequestInfo() 192 return "{" + request + ", score=" + score + ", requested=" + requested + "}"; in toString() 233 if (n.requested) releaseNetworkFor(n.request); in handleRemoveRequest() 273 log(" n.requests = " + n.requested); in evalRequest() 282 n.requested = true; in evalRequest() 286 n.requested = false; in evalRequest() 294 return !n.requested in shouldNeedNetworkFor() 309 return n.requested in shouldReleaseNetworkFor()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 113 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer() argument 130 if (requested == NULL) { in obtainBuffer() 132 } else if (requested->tv_sec == 0 && requested->tv_nsec == 0) { in obtainBuffer() 134 } else if (requested->tv_sec == INT_MAX) { in obtainBuffer() 138 if (requested->tv_sec > 0 || requested->tv_nsec >= MEASURE_NS) { in obtainBuffer() 249 ts = requested; in obtainBuffer() 255 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer() 256 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer() 260 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer() 261 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer() [all …]
|
D | AudioRecord.cpp | 970 const struct timespec *requested; in obtainBuffer() local 973 requested = &ClientProxy::kForever; in obtainBuffer() 975 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 980 requested = &timeout; in obtainBuffer() 983 requested = NULL; in obtainBuffer() 985 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); in obtainBuffer() 988 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() argument 1033 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 1040 status = proxy->obtainBuffer(&buffer, requested, elapsed); in obtainBuffer() 1274 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer() local [all …]
|
D | AudioTrack.cpp | 1785 const struct timespec *requested; in obtainBuffer() local 1788 requested = &ClientProxy::kForever; in obtainBuffer() 1790 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 1795 requested = &timeout; in obtainBuffer() 1798 requested = NULL; in obtainBuffer() 1800 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); in obtainBuffer() 1803 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() argument 1858 requested = &ClientProxy::kNonBlocking; in obtainBuffer() 1865 status = proxy->obtainBuffer(&buffer, requested, elapsed); in obtainBuffer() 2252 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer() local [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | IntentBindRecord.java | 42 boolean requested; field in IntentBindRecord 62 pw.print(prefix); pw.print("requested="); pw.print(requested); in dumpInService() 122 proto.write(IntentBindRecordProto.REQUESTED, requested); in dumpDebug()
|
/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 42 private static int computeNewCapacity(int currentSize, int requested) { in computeNewCapacity() argument 45 return targetCapacity > requested ? targetCapacity : requested; in computeNewCapacity()
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | ICameraService.hal | 30 * Return an ICameraDeviceUser interface for the requested cameraId. 41 * @return device ICameraDeviceUser interface to the camera device requested. 76 * being requested. 78 * @return metadata the static metadata of the camera device requested.
|
/frameworks/base/native/android/ |
D | configuration.cpp | 243 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { in AConfiguration_match() argument 244 return base->match(*requested); in AConfiguration_match() 248 AConfiguration* requested) { in AConfiguration_isBetterThan() argument 249 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/libs/androidfw/ |
D | ResourceTypes.cpp | 2312 const ResTable_config* requested) const { in isLocaleBetterThan() 2313 if (requested->locale == 0) { in isLocaleBetterThan() 2347 if (areIdentical(requested->language, kEnglish)) { in isLocaleBetterThan() 2348 if (areIdentical(requested->country, kUnitedStates)) { in isLocaleBetterThan() 2357 } else if (localeDataIsCloseToUsEnglish(requested->country)) { in isLocaleBetterThan() 2380 requested->language, requested->localeScript, requested->country); in isLocaleBetterThan() 2387 localeVariant, requested->localeVariant, sizeof(localeVariant)) == 0; in isLocaleBetterThan() 2389 o.localeVariant, requested->localeVariant, sizeof(localeVariant)) == 0; in isLocaleBetterThan() 2396 requested->localeNumberingSystem, in isLocaleBetterThan() 2399 requested->localeNumberingSystem, in isLocaleBetterThan() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 586 FrameLayout.LayoutParams requested = (FrameLayout.LayoutParams)view.getLayoutParams(); in prepareView() local 587 if (requested == null) { in prepareView() 588 requested = new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, in prepareView() 592 requested.gravity = Gravity.CENTER; in prepareView() 593 view.setLayoutParams(requested); in prepareView()
|
/frameworks/native/include/android/ |
D | configuration.h | 744 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested); 757 AConfiguration* requested);
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | layers.proto | 50 // The layer's requested position. 64 // The layer's requested color. 73 // The layer's requested transform.
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 1915 // ACTION: app requested access to a scoped directory, user granted it. 1921 // ACTION: app requested access to a scoped directory, user denied it. 1927 // ACTION: app requested access to a scoped directory, user granted it. 1928 // PACKAGE: app that requested access 1933 // ACTION: app requested access to a scoped directory, user denied it. 1934 // PACKAGE: app that requested access. 1939 // ACTION: app requested access to a directory user has already been granted 1946 // ACTION: app requested access to a directory user has already been granted 1948 // PACKAGE: app that requested access. 2918 // ACTION: An app requested an unknown permission [all …]
|
/frameworks/base/cmds/statsd/src/shell/ |
D | shell_config.proto | 32 /* Packages that the pull is requested from */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivityController.java | 555 private void setStartActivityRequested(boolean requested) { 557 mStartActivityRequested = requested; 558 mStartActivityRequestedTime = requested ? SystemClock.uptimeMillis() : 0;
|
/frameworks/av/media/libnbaio/ |
D | README.txt | 7 transferred frames is less than the requested number of frames.
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 120 // The package that requested the installation of this one. 123 // The package on behalf of which the initiiating package requested the install.
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableConference.java | 68 public Builder setRingbackRequested(boolean requested) { in setRingbackRequested() argument 69 mRingbackRequested = requested; in setRingbackRequested()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 294 size_t requested = *bytes; in readCallback() local 295 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); in readCallback() 304 assert(actual <= requested); in readCallback()
|
/frameworks/base/core/proto/android/os/ |
D | header.proto | 28 // Format a human readable reason why an incident report is requested.
|