Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 2676) sorted by relevance

12345678910>>...108

/frameworks/base/libs/androidfw/
DResourceTimer.cpp125 for (int d = 0; d < MaxDimension; d++) { in ~Timer() local
126 delete[] buckets[d]; in ~Timer()
131 for (int d = 0; d < MaxDimension; d++) { in freeBuckets() local
132 delete[] buckets[d]; in freeBuckets()
133 buckets[d] = 0; in freeBuckets()
142 for (int d = 0; d < MaxDimension; d++) { in reset() local
143 if (buckets[d] != 0) memset(buckets[d], 0, sizeof(int) * MaxBuckets); in reset()
156 for (int d = 0; d < MaxDimension; d++) { in copy() local
157 if (src.buckets[d] != nullptr) { in copy()
158 dst.buckets[d] = new int[MaxBuckets]; in copy()
[all …]
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DParamTypes.h44 void copyVector(DstVector* d, const SrcVector& s) { in copyVector() argument
45 static_assert(sizeof(Common) == sizeof(decltype((*d)[0])), in copyVector()
49 d->resize(s.size()); in copyVector()
53 reinterpret_cast<Common*>(&(*d)[0])); in copyVector()
58 void SetFieldId(FieldId *d, uint32_t offset, uint32_t size) { in SetFieldId() argument
59 d->offset = offset; in SetFieldId()
60 d->size = size; in SetFieldId()
77 bool objcpy(ParamField *d, const C2ParamField &s) { in objcpy() argument
78 d->index = static_cast<decltype(d->index)>(_C2ParamInspector::GetIndex(s)); in objcpy()
80 &d->fieldId, in objcpy()
[all …]
DBufferTypes.h232 bool objcpy(Handle* d, const C2Fence& s) { in objcpy() argument
233 d->setTo(nullptr); in objcpy()
236 d->setTo(handle, true /* owns */); in objcpy()
249 bool objcpy(Block* d, const C2ConstLinearBlock& s, in objcpy() argument
255 if (!addBaseBlock((uint32_t *)&d->index, s.handle(), bpData, in objcpy()
265 if (!_createParamsBlob(&d->meta, std::vector<C2Param*>{ &dRangeInfo })) { in objcpy()
271 if (!objcpy(&d->fence, s.fence())) { in objcpy()
282 bool objcpy(Block* d, const C2ConstGraphicBlock& s, in objcpy() argument
288 if (!addBaseBlock((uint32_t *)&d->index, s.handle(), bpData, in objcpy()
301 if (!_createParamsBlob(&d->meta, std::vector<C2Param*>{ &dRectInfo })) { in objcpy()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DImageDescriptor.java57 ImageDescriptor d = new ImageDescriptor(); in parse() local
59 d.mWidth = rawData[valueIndex++] & 0xff; in parse()
60 d.mHeight = rawData[valueIndex++] & 0xff; in parse()
61 d.mCodingScheme = rawData[valueIndex++] & 0xff; in parse()
64 d.mImageId = (rawData[valueIndex++] & 0xff) << 8; in parse()
65 d.mImageId |= rawData[valueIndex++] & 0xff; in parse()
67 d.mHighOffset = (rawData[valueIndex++] & 0xff); // high byte offset in parse()
68 d.mLowOffset = rawData[valueIndex++] & 0xff; // low byte offset in parse()
70 d.mLength = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff)); in parse()
71 CatLog.d("ImageDescriptor", "parse; Descriptor : " + d.mWidth + ", " + d.mHeight + in parse()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGestureManifoldTest.java71 final int d = 1000; // Length of each segment in the test gesture, in pixels. in testRecognizeGesturePath() local
73 testPath(p(-d, +0), AccessibilityService.GESTURE_SWIPE_LEFT); in testRecognizeGesturePath()
74 testPath(p(+d, +0), AccessibilityService.GESTURE_SWIPE_RIGHT); in testRecognizeGesturePath()
75 testPath(p(+0, -d), AccessibilityService.GESTURE_SWIPE_UP); in testRecognizeGesturePath()
76 testPath(p(+0, +d), AccessibilityService.GESTURE_SWIPE_DOWN); in testRecognizeGesturePath()
78 testPath(p(-d, +0), p((-d - d), +0), AccessibilityService.GESTURE_SWIPE_LEFT); in testRecognizeGesturePath()
79 testPath(p(-d, +0), p(+0, +0), AccessibilityService.GESTURE_SWIPE_LEFT_AND_RIGHT); in testRecognizeGesturePath()
80 testPath(p(-d, +0), p(-d, -d), AccessibilityService.GESTURE_SWIPE_LEFT_AND_UP); in testRecognizeGesturePath()
81 testPath(p(-d, +0), p(-d, +d), AccessibilityService.GESTURE_SWIPE_LEFT_AND_DOWN); in testRecognizeGesturePath()
83 testPath(p(+d, +0), p(+0, +0), AccessibilityService.GESTURE_SWIPE_RIGHT_AND_LEFT); in testRecognizeGesturePath()
[all …]
/frameworks/libs/binary_translation/guest_abi/arm64/
Dguest_params_test.cc144 double d = 3.14; in TEST() local
145 memcpy(state.cpu.v + 1, &d, sizeof(d)); in TEST()
179 double d; in TEST() local
187 memcpy(&d, state.cpu.v + 0, sizeof(d)); in TEST()
188 EXPECT_DOUBLE_EQ(3.14, d); in TEST()
191 memcpy(&d, state.cpu.v + 0, sizeof(d)); in TEST()
192 EXPECT_DOUBLE_EQ(3.15, d); in TEST()
195 memcpy(&d, state.cpu.v + 0, sizeof(d)); in TEST()
196 EXPECT_DOUBLE_EQ(3.15, d); in TEST()
199 memcpy(&d, state.cpu.v + 0, sizeof(d)); in TEST()
[all …]
/frameworks/av/media/codec2/hal/aidl/
DParamTypes.cpp41 void SetFieldId(FieldId *d, uint32_t offset, uint32_t size) { in SetFieldId() argument
42 d->offset = offset; in SetFieldId()
43 d->sizeBytes = size; in SetFieldId()
75 bool objcpy(FieldSupportedValues *d, const C2FieldSupportedValues &s) { in objcpy() argument
78 d->set<EMPTY>(true); in objcpy()
85 d->set<RANGE>(range); in objcpy()
88 d->set<RANGE>(range); in objcpy()
94 d->set<VALUES>(values); in objcpy()
100 d->set<FLAGS>(flags); in objcpy()
114 bool objcpy(C2FieldSupportedValues *d, const FieldSupportedValues &s) { in objcpy() argument
[all …]
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem70 75:60:e2:77:81:2e:3b:c6:5e:73:4d:e8:c2:7b:1d:
72 a0:6d:43:eb:e3:7c:7c:5f:51:f1:ac:13:98:0b:1b:
74 21:fb:4e:17:1a:88:24:16:21:88:a8:4d:26:13:ed:
75 17:58:bd:76:7f:8d:e4:78:c4:2a:69:09:3b:7a:57:
77 61:3e:da:0e:0f:69:9d:a3:3a:0b:ee:21:9a:14:3f:
78 d2:ad:a8:cb:36:2d:02:a1:66:ac:47:a7:6e:d2:3a:
79 1b:8e:d2:cc:c7:3e:b2:13:53:b9:82:ed:ab:6d:63:
80 fd:9d:ee:03:74:70:07:d4:b3:7e:ef:7d:17:ae:ad:
81 96:04:d7:bf:b2:bb:61:2e:7b:de:13:77:4d:06:3f:
82 fa:79:0b:7c:5c:bf:a0:5d:8b:41:16:2f:28:71:7e:
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
Dtypes.cpp48 FieldSupportedValues *d, const C2FieldSupportedValues &s) { in objcpy() argument
51 d->empty(::android::hidl::safe_union::V1_0::Monostate{}); in objcpy()
58 d->range(range); in objcpy()
61 d->range(range); in objcpy()
67 d->values(values); in objcpy()
73 d->flags(flags); in objcpy()
88 C2FieldSupportedValues *d, const FieldSupportedValues &s) { in objcpy() argument
91 d->type = C2FieldSupportedValues::EMPTY; in objcpy()
95 d->type = C2FieldSupportedValues::RANGE; in objcpy()
96 if (!objcpy(&d->range, s.range())) { in objcpy()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DRequestAPITest.java54 Log.d(LOGTAG, "Base setup context = " + mContext); in setUp()
63 Log.d(LOGTAG, "Base tearDown"); in tearDown()
65 Log.d(LOGTAG, "Base teardown done"); in tearDown()
89 Log.d(LOGTAG, "testRequestAddNullHeader start "); in testRequestAddNullHeader()
93 Log.d(LOGTAG, "testRequestAddNullHeader - returning"); in testRequestAddNullHeader()
101 Log.d(LOGTAG, "testRequestAddNullValue start "); in testRequestAddNullValue()
105 Log.d(LOGTAG, "testRequestAddNullValue - returning"); in testRequestAddNullValue()
113 Log.d(LOGTAG, "testRequestAddEmptyValue start "); in testRequestAddEmptyValue()
117 Log.d(LOGTAG, "testRequestAddEmptyValue - returning"); in testRequestAddEmptyValue()
133 Log.d(LOGTAG, "testRequestAddHeader start "); in testRequestAddHeader()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java142 BinderDeathDispatcher<MyTarget> d = new BinderDeathDispatcher<>(); in testRegisterAndUnregister() local
157 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
158 assertThat(d.getTargetsForTest().size()).isEqualTo(1); in testRegisterAndUnregister()
160 assertThat(d.linkToDeath(t1, r2)).isEqualTo(2); in testRegisterAndUnregister()
161 assertThat(d.linkToDeath(t1, r3)).isEqualTo(3); in testRegisterAndUnregister()
162 assertThat(d.getTargetsForTest().size()).isEqualTo(1); in testRegisterAndUnregister()
165 d.unlinkToDeath(t1, r1); in testRegisterAndUnregister()
166 d.unlinkToDeath(t1, r2); in testRegisterAndUnregister()
169 assertThat(d.getTargetsForTest().size()).isEqualTo(1); in testRegisterAndUnregister()
172 d.unlinkToDeath(t1, r3); in testRegisterAndUnregister()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLocalImageResolverTest.java52 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_invalidResource_returnsNull() local
53 assertThat(d).isNull(); in resolveImage_invalidResource_returnsNull()
61 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_invalidIconUri_returnsNull() local
62 assertThat(d).isNull(); in resolveImage_invalidIconUri_returnsNull()
67 Drawable d = LocalImageResolver.resolveImage(Uri.parse("bogus://uri"), mContext); in resolveImage_invalidUri_throwsException() local
68 assertThat(d).isNull(); in resolveImage_invalidUri_throwsException()
74 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad() local
75 assertThat(d).isInstanceOf(ColorDrawable.class); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad()
87 Drawable d = LocalImageResolver.resolveImage(R.drawable.blue, mContext, 480, 480); in resolveImageWithResId_nonBitmapResourceIcon_returnsNull() local
88 assertThat(d).isNull(); in resolveImageWithResId_nonBitmapResourceIcon_returnsNull()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Drange.h12 template <class T, int d>
16 Range(Eigen::Vector<T, d> p1, Eigen::Vector<T, d> p2) : p1(p1), p2(p2) {} in Range()
18 static Range<T, d> FromSize(Eigen::Vector<T, d> p1, in FromSize()
19 Eigen::Vector<T, d> size) { in FromSize()
20 return Range<T, d>(p1, p1 + size); in FromSize()
23 bool operator==(const Range<T, d>& rhs) const {
27 Eigen::Vector<T, d> GetMinPoint() const { return p1; } in GetMinPoint()
29 Eigen::Vector<T, d> GetMaxPoint() const { return p2; } in GetMaxPoint()
31 Eigen::Vector<T, d> GetSize() const { return p2 - p1; } in GetSize()
33 Eigen::Vector<T, d> p1;
[all …]
/frameworks/base/core/java/android/view/animation/
DClipRectAnimation.java67 Description d = Description.parseValue(a.peekValue( in ClipRectAnimation() local
69 mFromLeftType = d.type; in ClipRectAnimation()
70 mFromLeftValue = d.value; in ClipRectAnimation()
72 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
74 mFromTopType = d.type; in ClipRectAnimation()
75 mFromTopValue = d.value; in ClipRectAnimation()
77 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
79 mFromRightType = d.type; in ClipRectAnimation()
80 mFromRightValue = d.value; in ClipRectAnimation()
82 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
[all …]
DExtendAnimation.java65 Description d = Description.parseValue(a.peekValue( in ExtendAnimation() local
67 mFromLeftType = d.type; in ExtendAnimation()
68 mFromLeftValue = d.value; in ExtendAnimation()
70 d = Description.parseValue(a.peekValue( in ExtendAnimation()
72 mFromTopType = d.type; in ExtendAnimation()
73 mFromTopValue = d.value; in ExtendAnimation()
75 d = Description.parseValue(a.peekValue( in ExtendAnimation()
77 mFromRightType = d.type; in ExtendAnimation()
78 mFromRightValue = d.value; in ExtendAnimation()
80 d = Description.parseValue(a.peekValue( in ExtendAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/init/
DNotifPipelineInitializer.java112 Log.d(TAG, "Notif pipeline initialized." in initialize()
122 public void dumpPipeline(@NonNull PipelineDumper d) { in dumpPipeline() argument
123 d.println("STAGE 0: SETUP"); in dumpPipeline()
124 d.dump("notifPluggableCoordinators", mNotifPluggableCoordinators); in dumpPipeline()
125 d.println(""); in dumpPipeline()
127 d.println("STAGE 1: LISTEN"); in dumpPipeline()
128 d.dump("notificationService", mNotificationService); in dumpPipeline()
129 d.println(""); in dumpPipeline()
131 d.println("STAGE 2: BATCH EVENTS"); in dumpPipeline()
132 d.dump("groupCoalescer", mGroupCoalescer); in dumpPipeline()
[all …]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java84 if (DEBUG) Log.d(LOG_TAG, "Sample " + sampleId + " load status = " + status); in onLoadComplete()
131 if (DEBUG) Log.d(LOG_TAG, "Begin sounds test"); in TestSounds()
136 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); in TestSounds()
143 if (DEBUG) Log.d(LOG_TAG, "Stop note " + id); in TestSounds()
146 if (DEBUG) Log.d(LOG_TAG, "End sounds test"); in TestSounds()
151 if (DEBUG) Log.d(LOG_TAG, "Begin scale test"); in TestScales()
158 if (DEBUG) Log.d(LOG_TAG, "Start note " + id); in TestScales()
165 if (DEBUG) Log.d(LOG_TAG, "Stop note " + id); in TestScales()
168 if (DEBUG) Log.d(LOG_TAG, "End scale test"); in TestScales()
173 if (DEBUG) Log.d(LOG_TAG, "Begin rate test"); in TestRates()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamLogger.kt25 d({ "Dream overlay enabled: $bool1" }) { bool1 = enabled } in logDreamOverlayEnabled()
28 d({ "Ignore adding complication, reason: $str1, complication: $str2" }) { in logIgnoreAddComplication()
34 d({ "Ignore removing complication, reason: $str1, complication: $str2" }) { in logIgnoreRemoveComplication()
40 d({ "Add dream complication: $str1" }) { str1 = complication } in logAddComplication()
43 d({ "Remove dream complication: $str1" }) { str1 = complication } in logRemoveComplication()
45 fun logOverlayActive(active: Boolean) = d({ "Dream overlay active: $bool1" }) { bool1 = active } in <lambda>()
48 d({ "Low light mode active: $bool1" }) { bool1 = active } in logLowLightActive()
51 d({ "Dream overlay has Assistant attention: $bool1" }) { bool1 = hasAttention } in logHasAssistantAttention()
54 d({ "Dream overlay status bar visible: $bool1" }) { bool1 = visible } in logStatusBarVisible()
57 d({ "Available complication types: $int1" }) { int1 = types } in logAvailableComplicationTypes()
[all …]
/frameworks/av/media/module/extractors/mp4/
DHeifCleanAperture.cpp52 Fraction::Fraction(int32_t n, int32_t d) { in Fraction() argument
54 this->d = d; in Fraction()
58 int64_t gcd = calculateGreatestCommonDivisor(n, d); in simplify()
61 d = static_cast<int32_t>(d / gcd); in simplify()
68 if (d == f->d) return true; in commonDenominator()
69 const int64_t this_d = d; in commonDenominator()
70 const int64_t fd = f->d; in commonDenominator()
72 const int64_t thisdNew = d * fd; in commonDenominator()
74 const int64_t fdNew = f->d * this_d; in commonDenominator()
80 d = static_cast<int32_t>(thisdNew); in commonDenominator()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java187 for (int d = front; d >= back; --d) { in toString()
188 s += "layer " + n + " disparity " + d + " disk radius " in toString()
189 + getDiskRadius(d) + "\n"; in toString()
365 int d = backFocalDepth - 1; in groupDepthLevelsBehindFocus() local
366 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsBehindFocus()
368 float radiusThreshold = getDiskRadius(d) + diskRadiusInterval; in groupDepthLevelsBehindFocus()
373 while (d > MIN_DEPTH) { in groupDepthLevelsBehindFocus()
375 d--; in groupDepthLevelsBehindFocus()
376 if (getDiskRadius(d) <= radiusThreshold) { in groupDepthLevelsBehindFocus()
379 layerInfo.get(numLayers - 1).backDepth = d; in groupDepthLevelsBehindFocus()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothLeBroadcast.java141 Log.d(TAG, "Bluetooth service connected: " + profile);
154 Log.d(
174 Log.d(TAG, "Bluetooth service disconnected: " + profile);
200 Log.d(
214 Log.d(TAG, "onBroadcastStartFailed(), reason = " + reason);
222 Log.d(TAG, "onBroadcastMetadataChanged(), broadcastId = " + broadcastId);
231 Log.d(
246 Log.d(TAG, "onBroadcastStopFailed(), reason = " + reason);
253 Log.d(
267 Log.d(
[all …]
/frameworks/av/media/libstagefright/tests/
DVideoRenderQualityTracker_test.cpp137 Configuration d; // default configuration in TEST_F() local
138 EXPECT_EQ(c.enabled, d.enabled); in TEST_F()
139 EXPECT_EQ(c.areSkippedFramesDropped, d.areSkippedFramesDropped); in TEST_F()
140 EXPECT_EQ(c.maxExpectedContentFrameDurationUs, d.maxExpectedContentFrameDurationUs); in TEST_F()
141 EXPECT_EQ(c.frameRateDetectionToleranceUs, d.frameRateDetectionToleranceUs); in TEST_F()
142 EXPECT_EQ(c.liveContentFrameDropToleranceUs, d.liveContentFrameDropToleranceUs); in TEST_F()
143 EXPECT_EQ(c.pauseAudioLatencyUs, d.pauseAudioLatencyUs); in TEST_F()
144 EXPECT_EQ(c.freezeDurationMsHistogramBuckets, d.freezeDurationMsHistogramBuckets); in TEST_F()
145 EXPECT_EQ(c.freezeDurationMsHistogramToScore, d.freezeDurationMsHistogramToScore); in TEST_F()
146 EXPECT_EQ(c.freezeDistanceMsHistogramBuckets, d.freezeDistanceMsHistogramBuckets); in TEST_F()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java89 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() argument
90 final Class c = d.getClass(); in validateObjectIsPrimitiveArray()
600 public void copyFrom(BaseObj[] d) { in copyFrom() argument
603 if (d.length != mCurrentCount) { in copyFrom()
605 mCurrentCount + ", array length = " + d.length); in copyFrom()
609 long i[] = new long[d.length * 4]; in copyFrom()
610 for (int ct=0; ct < d.length; ct++) { in copyFrom()
611 i[ct * 4] = d[ct].getID(mRS); in copyFrom()
615 int i[] = new int[d.length]; in copyFrom()
616 for (int ct=0; ct < d.length; ct++) { in copyFrom()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionCoreStartable.kt41 is FromPrimaryBouncerTransitionInteractor -> Log.d(TAG, "Started $it") in start()
42 is FromAodTransitionInteractor -> Log.d(TAG, "Started $it") in start()
43 is FromGoneTransitionInteractor -> Log.d(TAG, "Started $it") in start()
44 is FromLockscreenTransitionInteractor -> Log.d(TAG, "Started $it") in start()
45 is FromDreamingTransitionInteractor -> Log.d(TAG, "Started $it") in start()
46 is FromGlanceableHubTransitionInteractor -> Log.d(TAG, "Started $it") in start()
47 is FromOccludedTransitionInteractor -> Log.d(TAG, "Started $it") in start()
48 is FromDozingTransitionInteractor -> Log.d(TAG, "Started $it") in start()
49 is FromAlternateBouncerTransitionInteractor -> Log.d(TAG, "Started $it") in start()
50 is FromDreamingLockscreenHostedTransitionInteractor -> Log.d(TAG, "Started $it") in start()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DSipDelegateAidlWrapper.java50 SipDelegate d = mDelegate;
51 if (d == null) {
56 mExecutor.execute(() -> d.sendMessage(sipMessage, configVersion));
64 SipDelegate d = mDelegate;
65 if (d == null) {
70 mExecutor.execute(() -> d.notifyMessageReceived(viaTransactionId));
79 SipDelegate d = mDelegate;
80 if (d == null) {
85 mExecutor.execute(() -> d.notifyMessageReceiveError(viaTransactionId, reason));
94 SipDelegate d = mDelegate;
[all …]

12345678910>>...108