/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 144 inline Status toStatus(status_t l) { in toStatus() argument 145 switch (l) { in toStatus() 160 return static_cast<Status>(l); in toStatus() 164 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(l)); in toStatus() 165 return static_cast<Status>(l); in toStatus() 185 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 186 *nh = native_handle_create_from_fd(l.fenceFd); in wrapAs() 191 switch (l.type) { in wrapAs() 194 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs() 195 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() [all …]
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 275 inline Status toStatus(status_t l) { in toStatus() argument 276 switch (l) { in toStatus() 291 return static_cast<Status>(l); in toStatus() 295 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(l)); in toStatus() 296 return static_cast<Status>(l); in toStatus() 327 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 328 *nh = native_handle_create_from_fd(l.fenceFd); in wrapAs() 333 switch (l.type) { in wrapAs() 336 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs() 337 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 218 final CountDownLatch l = new CountDownLatch(1); in waitUntilMainHandlerDrain() local 220 l.countDown(); in waitUntilMainHandlerDrain() 222 assertTrue(l.await(5, TimeUnit.SECONDS)); in waitUntilMainHandlerDrain() 1034 private void assertNoCallbacks(Listener l) throws Exception { in assertNoCallbacks() argument 1036 verify(l, times(0)).updateAllJobs(); in assertNoCallbacks() 1037 verify(l, times(0)).updateJobsForUid(anyInt(), anyBoolean()); in assertNoCallbacks() 1038 verify(l, times(0)).updateJobsForUidPackage(anyInt(), anyString(), anyBoolean()); in assertNoCallbacks() 1040 verify(l, times(0)).unblockAllUnrestrictedAlarms(); in assertNoCallbacks() 1041 verify(l, times(0)).unblockAlarmsForUid(anyInt()); in assertNoCallbacks() 1042 verify(l, times(0)).unblockAlarmsForUidPackage(anyInt(), anyString()); in assertNoCallbacks() [all …]
|
/frameworks/base/core/java/android/content/ |
D | LoggingContentInterface.java | 95 try (Logger l = new Logger("query", uri, projection, queryArgs, cancellationSignal)) { in query() argument 97 return l.setResult(delegate.query(uri, projection, queryArgs, cancellationSignal)); in query() 99 l.setResult(res); in query() 107 try (Logger l = new Logger("getType", uri)) { in getType() argument 109 return l.setResult(delegate.getType(uri)); in getType() 111 l.setResult(res); in getType() 120 try (Logger l = new Logger("getStreamTypes", uri, mimeTypeFilter)) { in getStreamTypes() argument 122 return l.setResult(delegate.getStreamTypes(uri, mimeTypeFilter)); in getStreamTypes() 124 l.setResult(res); in getStreamTypes() 132 try (Logger l = new Logger("canonicalize", uri)) { in canonicalize() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskChangeNotificationController.java | 83 private final TaskStackConsumer mNotifyTaskStackChanged = (l, m) -> { 84 l.onTaskStackChanged(); 87 private final TaskStackConsumer mNotifyTaskCreated = (l, m) -> { 88 l.onTaskCreated(m.arg1, (ComponentName) m.obj); 91 private final TaskStackConsumer mNotifyTaskRemoved = (l, m) -> { 92 l.onTaskRemoved(m.arg1); 95 private final TaskStackConsumer mNotifyTaskMovedToFront = (l, m) -> { 96 l.onTaskMovedToFront((RunningTaskInfo) m.obj); 99 private final TaskStackConsumer mNotifyTaskDescriptionChanged = (l, m) -> { 100 l.onTaskDescriptionChanged((RunningTaskInfo) m.obj); [all …]
|
D | TrustedOverlayHost.java | 104 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in removeOverlay() local 105 if (l.getSurfaceControl().isSameSurface(p.getSurfaceControl())) { in removeOverlay() 107 t.reparent(l.getSurfaceControl(), null); in removeOverlay() 108 l.release(); in removeOverlay() 117 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchConfigurationChanged() local 119 l.getRemoteInterface().onConfigurationChanged(c); in dispatchConfigurationChanged() 121 removeOverlay(l); in dispatchConfigurationChanged() 128 SurfaceControlViewHost.SurfacePackage l = mOverlays.get(i); in dispatchDetachedFromWindow() local 130 l.getRemoteInterface().onDispatchDetachedFromWindow(); in dispatchDetachedFromWindow() 134 l.release(); in dispatchDetachedFromWindow() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 83 SharedParameters::Lock l(mParameters); in Camera2Client() local 84 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client() 85 l.mParameters.isSlowJpegModeForced = forceSlowJpegMode; in Camera2Client() 120 SharedParameters::Lock l(mParameters); in initializeImpl() local 122 res = l.mParameters.initialize(mDevice.get()); in initializeImpl() 129 l.mParameters.isDeviceZslSupported = isZslEnabledInStillTemplate(); in initializeImpl() 198 SharedParameters::Lock l(mParameters); in initializeImpl() local 201 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initializeImpl() 471 SharedParameters::Lock l(mParameters); in disconnect() local 472 if (l.mParameters.state == Parameters::DISCONNECTED) return res; in disconnect() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ |
D | BinderCacheManagerTest.java | 71 CountDownLatch l = new CountDownLatch(1); in testAddListenerAndDie() local 72 assertEquals(mInterface, mBinderCache.listenOnBinder(l, l::countDown)); in testAddListenerAndDie() 75 assertEquals(0, l.getCount()); in testAddListenerAndDie() 78 assertNull(mBinderCache.listenOnBinder(l, l::countDown)); in testAddListenerAndDie() 79 assertNull(mBinderCache.removeRunnable(l)); in testAddListenerAndDie() 87 CountDownLatch l = new CountDownLatch(1); in testListenerNotCalledAfterRemoved() local 88 assertEquals(mInterface, mBinderCache.listenOnBinder(l, l::countDown)); in testListenerNotCalledAfterRemoved() 89 assertEquals(mInterface, mBinderCache.removeRunnable(l)); in testListenerNotCalledAfterRemoved() 93 assertNotEquals(0, l.getCount()); in testListenerNotCalledAfterRemoved() 102 CountDownLatch l = new CountDownLatch(1); in testAddListenerAlreadyDead() local [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 62 Mutex::Autolock l(mInputMutex); in setZslProcessor() local 69 Mutex::Autolock l(mInputMutex); in startCapture() local 84 Mutex::Autolock l(mStateMutex); in waitUntilIdle() local 100 Mutex::Autolock l(mInputMutex); in notifyAutoExposure() local 113 Mutex::Autolock l(mInputMutex); in notifyShutter() local 148 Mutex::Autolock l(mInputMutex); in onResultAvailable() local 161 Mutex::Autolock l(mInputMutex); in onCaptureAvailable() local 232 Mutex::Autolock l(mStateMutex); in threadLoop() local 238 Mutex::Autolock l(mStateMutex); in threadLoop() local 265 Mutex::Autolock l(mInputMutex); in manageIdle() local [all …]
|
D | FrameProcessor.cpp | 45 SharedParameters::Lock l(client->getParameters()); in FrameProcessor() local 50 m3aState.afTriggerId = l.mParameters.afTriggerCounter; in FrameProcessor() 51 m3aState.aeTriggerId = l.mParameters.precaptureTriggerCounter; in FrameProcessor() 53 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED) { in FrameProcessor() 63 mLastFocalLength = l.mParameters.params.getFloat(CameraParameters::KEY_FOCAL_LENGTH); in FrameProcessor() 113 SharedParameters::Lock l(client->getParameters()); in processLensState() local 114 l.mParameters.params.setFloat( in processLensState() 117 l.mParameters.paramsFlattened = l.mParameters.params.flatten(); in processLensState() 131 SharedParameters::Lock l(client->getParameters()); in processFaceDetect() local 132 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsConfigLoader.c | 157 lib_entry_t *l; in loadLibrary() local 194 l = malloc(sizeof(lib_entry_t)); in loadLibrary() 195 l->name = strndup(name, PATH_MAX); in loadLibrary() 196 l->path = strndup(path, PATH_MAX); in loadLibrary() 197 l->handle = hdl; in loadLibrary() 198 l->desc = desc; in loadLibrary() 199 l->effects = NULL; in loadLibrary() 200 pthread_mutex_init(&l->lock, NULL); in loadLibrary() 203 e->object = l; in loadLibrary() 208 ALOGV("getLibrary() linked library %p for path %s", l, path); in loadLibrary() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | HardwareAuthTokenUtils.java | 89 private static long flipIfNativelyLittle(long l) { in flipIfNativelyLittle() argument 91 return Long.reverseBytes(l); in flipIfNativelyLittle() 93 return l; in flipIfNativelyLittle() 103 private static void writeLong(long l, byte[] dest, int offset) { in writeLong() argument 104 dest[offset + 0] = (byte) l; in writeLong() 105 dest[offset + 1] = (byte) (l >> 8); in writeLong() 106 dest[offset + 2] = (byte) (l >> 16); in writeLong() 107 dest[offset + 3] = (byte) (l >> 24); in writeLong() 108 dest[offset + 4] = (byte) (l >> 32); in writeLong() 109 dest[offset + 5] = (byte) (l >> 40); in writeLong() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 1120 for (Listener l : mListeners) { in setVideoState() 1121 l.onVideoStateChanged(mVideoState); in setVideoState() 1135 for (Listener l : mListeners) { in setConnectionCapabilities() 1136 l.onConnectionCapabilitiesChanged(mConnectionCapabilities); in setConnectionCapabilities() 1152 for (Listener l : mListeners) { in setCallRadioTech() 1153 l.onCallRadioTechChanged(vrat); in setCallRadioTech() 1173 for (Listener l : mListeners) { in setAudioQuality() 1174 l.onAudioQualityChanged(mAudioQuality); in setAudioQuality() 1182 for (Listener l: mListeners) { in notifyMediaAttributesChanged() 1183 l.onMediaAttributesChanged(); in notifyMediaAttributesChanged() [all …]
|
D | Call.java | 236 List<Connection> l; in getEarliestConnection() local 241 l = getConnections(); in getEarliestConnection() 243 if (l.size() == 0) { in getEarliestConnection() 247 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestConnection() 248 c = l.get(i); in getEarliestConnection() 264 List<Connection> l; in getEarliestCreateTime() local 267 l = getConnections(); in getEarliestCreateTime() 269 if (l.size() == 0) { in getEarliestCreateTime() 273 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestCreateTime() 274 Connection c = l.get(i); in getEarliestCreateTime() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 440 for (Listener l : mListeners) { in setDisconnected() 441 l.onDisconnected(this, mDisconnectCause); in setDisconnected() 462 for (Listener l : mListeners) { in setConnectionCapabilities() 463 l.onConnectionCapabilitiesChanged(this, mConnectionCapabilities); in setConnectionCapabilities() 478 for (Listener l : mListeners) { in setConnectionProperties() 479 l.onConnectionPropertiesChanged(this, mConnectionProperties); in setConnectionProperties() 496 for (Listener l : mListeners) { in addConnection() 497 l.onConnectionAdded(this, connection); in addConnection() 514 for (Listener l : mListeners) { in removeConnection() 515 l.onConnectionRemoved(this, connection); in removeConnection() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateIntervalFormatTest.java | 325 ULocale l = ULocale.US; in test8862241() local 327 Calendar c = Calendar.getInstance(tz, l); in test8862241() 335 formatDateRange(l, tz, jan_19_2042, oct_4_2046, flags)); in test8862241() 341 ULocale l = ULocale.US; in test10089890() local 348 formatDateRange(l, utc, 0, DAY + 1, flags)); in test10089890() 351 formatDateRange(l, pacific, 0, DAY, flags)); in test10089890() 366 ULocale l = ULocale.US; in test10318326() local 370 assertEquals("00:00", formatDateRange(l, utc, midnight, midnight, time24)); in test10318326() 371 assertEquals("12:00\u202fAM", formatDateRange(l, utc, midnight, midnight, time12)); in test10318326() 372 assertEquals("16:00", formatDateRange(l, utc, teaTime, teaTime, time24)); in test10318326() [all …]
|
/frameworks/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 6 ; RUN: xxd -ps -l 4 %t11 | FileCheck %s 8 ; RUN: xxd -ps -l 4 %t12 | FileCheck %s 10 ; RUN: xxd -ps -l 4 %t13 | FileCheck %s 12 ; RUN: xxd -ps -l 4 %t14 | FileCheck %s 14 ; RUN: xxd -ps -l 4 %t15 | FileCheck %s 16 ; RUN: xxd -ps -l 4 %t16 | FileCheck %s 18 ; RUN: xxd -ps -l 4 %t17 | FileCheck %s 20 ; RUN: xxd -ps -l 4 %t18 | FileCheck %s 22 ; RUN: xxd -ps -l 4 %t19 | FileCheck %s 24 ; RUN: xxd -ps -l 4 %t20 | FileCheck %s [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimatorTest.kt | 118 checkBounds(rootView, l = 10, t = 10, r = 50, b = 50) in animatesFromStartToEnd() 122 checkBounds(rootView, l = 0, t = 15, r = 70, b = 80) in animatesFromStartToEnd() 137 checkBounds(rootView, l = 0, t = 15, r = 70, b = 80) in animatesSuccessiveLayoutChanges() 145 checkBounds(rootView, l = 0, t = 20, r = 60, b = 80) in animatesSuccessiveLayoutChanges() 153 checkBounds(rootView, l = 5, t = 25, r = 55, b = 95) in animatesSuccessiveLayoutChanges() 168 checkBounds(rootView, l = 5, t = 15, r = 60, b = 65) in animatesFromPreviousAnimationProgress() 174 checkBounds(rootView, l = 5, t = 15, r = 60, b = 65) in animatesFromPreviousAnimationProgress() 177 checkBounds(rootView, l = 25, t = 25, r = 55, b = 60) in animatesFromPreviousAnimationProgress() 197 checkBounds(rootView, l = 0, t = 0, r = 200, b = 100) in animatesRootAndChildren_withoutExcludedViews() 198 checkBounds(rootView.getChildAt(0), l = 0, t = 0, r = 100, b = 100) in animatesRootAndChildren_withoutExcludedViews() [all …]
|
/frameworks/av/media/module/codecs/mp3dec/src/ |
D | pvmp3_dequantize_sample.cpp | 214 next_cb_boundary = mp3_sfBandIndex[sfreq].l[1]; /* LONG blocks: 0,1,3 */ in pvmp3_dequantize_sample() 233 if (next_cb_boundary == mp3_sfBandIndex[sfreq].l[mixstart]) in pvmp3_dequantize_sample() 241 else if (ss < mp3_sfBandIndex[sfreq].l[mixstart]) in pvmp3_dequantize_sample() 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; in pvmp3_dequantize_sample() 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 331 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 343 if (used_freq_lines >= mp3_sfBandIndex[sfreq].l[cb+1]) in pvmp3_dequantize_sample() 350 … for (ss = mp3_sfBandIndex[sfreq].l[cb]; ss < mp3_sfBandIndex[sfreq].l[cb+1]; ss += 2) in pvmp3_dequantize_sample() 368 pv_memset(&is[ mp3_sfBandIndex[sfreq].l[cb]], in pvmp3_dequantize_sample() 370 … (mp3_sfBandIndex[sfreq].l[cb+1] - mp3_sfBandIndex[sfreq].l[cb])*sizeof(*is)); in pvmp3_dequantize_sample() [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | primitives.rscript | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | primitives.rscript | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | primitives.rscript | 9 long longTest = 17179869184l; // 1 << 34 10 long long longlongTest = 68719476736l; // 1 << 36 16 int64_t int64_tTest = -17179869184l; // - 1 << 34 17 uint64_t uint64_tTest = 117179869184l; 28 _RS_ASSERT(longTest == 17179869185l); 29 _RS_ASSERT(longlongTest == 68719476735l); 35 _RS_ASSERT(int64_tTest == -17179869184l); 36 _RS_ASSERT(uint64_tTest == 117179869185l);
|
/frameworks/minikin/libs/minikin/ |
D | StringPiece.h | 59 inline bool operator==(const StringPiece& l, const StringPiece& r) { 60 const size_t len = l.size(); 64 const char* lData = l.data(); 72 inline bool operator==(const StringPiece& l, const char* s) { 73 const size_t len = l.size(); 77 return memcmp(l.data(), s, len) == 0; 80 inline bool operator!=(const StringPiece& l, const StringPiece& r) { 81 return !(l == r); 84 inline bool operator!=(const StringPiece& l, const char* s) { 85 return !(l == s);
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 152 Dataspace toHardwareDataspace(int32_t l); 171 hidl_vec<uint8_t> inHidlBytes(void const* l, size_t size); 181 hidl_vec<uint8_t> toHidlBytes(void const* l, size_t size); 190 void wrapAs(AnwBuffer* t, GraphicBuffer const& l); 202 bool convertTo(GraphicBuffer* l, AnwBuffer const& t); 342 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l); 354 bool convertTo(Fence* l, hidl_handle const& t); 541 ::android::FrameEventHistoryDelta const& l); 553 ::android::FrameEventHistoryDelta* l, 593 bool convertTo(Region* t, ::android::Region const& l); [all …]
|
/frameworks/compile/slang/tests/F_fs_types/ |
D | fs_types.fs | 10 long l; 21 void foo_l(long l) { 23 int i = 1l; 24 m = l; 27 void foo_ll(long long l) { 30 m = l;
|