/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 145 inline Status toStatus(status_t l) { in toStatus() argument 146 switch (l) { in toStatus() 161 return static_cast<Status>(l); in toStatus() 165 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(l)); in toStatus() 166 return static_cast<Status>(l); in toStatus() 186 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 187 *nh = native_handle_create_from_fd(l.fenceFd); in wrapAs() 192 switch (l.type) { in wrapAs() 195 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs() 196 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() [all …]
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 276 inline Status toStatus(status_t l) { in toStatus() argument 277 switch (l) { in toStatus() 292 return static_cast<Status>(l); in toStatus() 296 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(l)); in toStatus() 297 return static_cast<Status>(l); in toStatus() 328 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 329 *nh = native_handle_create_from_fd(l.fenceFd); in wrapAs() 334 switch (l.type) { in wrapAs() 337 t->data.eventData.event = uint32_t(l.u.event_data.event); in wrapAs() 338 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 205 final CountDownLatch l = new CountDownLatch(1); in waitUntilMainHandlerDrain() local 207 l.countDown(); in waitUntilMainHandlerDrain() 209 assertTrue(l.await(5, TimeUnit.SECONDS)); in waitUntilMainHandlerDrain() 740 private void assertNoCallbacks(Listener l) throws Exception { in assertNoCallbacks() argument 742 verify(l, times(0)).updateAllJobs(); in assertNoCallbacks() 743 verify(l, times(0)).updateJobsForUid(anyInt(), anyBoolean()); in assertNoCallbacks() 744 verify(l, times(0)).updateJobsForUidPackage(anyInt(), anyString(), anyBoolean()); in assertNoCallbacks() 746 verify(l, times(0)).unblockAllUnrestrictedAlarms(); in assertNoCallbacks() 747 verify(l, times(0)).unblockAlarmsForUid(anyInt()); in assertNoCallbacks() 748 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/tests/net/common/java/android/net/ |
D | LinkAddressTest.java | 325 LinkAddress l; in testParceling() local 327 l = new LinkAddress(V6_ADDRESS, 64, 123, 456); in testParceling() 328 assertParcelingIsLossless(l); in testParceling() 330 l = new LinkAddress(V4 + "/28", IFA_F_PERMANENT, RT_SCOPE_LINK); in testParceling() 331 assertParcelingIsLossless(l); in testParceling() 336 final LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 123, 456, 1L, 3600000L); in testLifetimeParceling() local 337 assertParcelingIsLossless(l); in testLifetimeParceling() 395 LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 123, RT_SCOPE_HOST); in testGetFlags() local 396 assertEquals(123, l.getFlags()); in testGetFlags() 403 LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 0, RT_SCOPE_HOST, in testGetFlags_Deprecation() local [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 66 SharedParameters::Lock l(mParameters); in Camera2Client() local 67 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client() 101 SharedParameters::Lock l(mParameters); in initializeImpl() local 103 res = l.mParameters.initialize(mDevice.get(), mDeviceVersion); in initializeImpl() 110 l.mParameters.isDeviceZslSupported = isZslEnabledInStillTemplate(); in initializeImpl() 146 SharedParameters::Lock l(mParameters); in initializeImpl() local 149 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initializeImpl() 418 SharedParameters::Lock l(mParameters); in disconnect() local 419 if (l.mParameters.state == Parameters::DISCONNECTED) return res; in disconnect() 420 l.mParameters.state = Parameters::DISCONNECTED; in disconnect() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskChangeNotificationController.java | 79 private final TaskStackConsumer mNotifyTaskStackChanged = (l, m) -> { 80 l.onTaskStackChanged(); 83 private final TaskStackConsumer mNotifyTaskCreated = (l, m) -> { 84 l.onTaskCreated(m.arg1, (ComponentName) m.obj); 87 private final TaskStackConsumer mNotifyTaskRemoved = (l, m) -> { 88 l.onTaskRemoved(m.arg1); 91 private final TaskStackConsumer mNotifyTaskMovedToFront = (l, m) -> { 92 l.onTaskMovedToFront((RunningTaskInfo) m.obj); 95 private final TaskStackConsumer mNotifyTaskDescriptionChanged = (l, m) -> { 96 l.onTaskDescriptionChanged((RunningTaskInfo) m.obj); [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 …]
|
/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/telecomm/java/android/telecom/ |
D | Conference.java | 402 for (Listener l : mListeners) { in setDisconnected() 403 l.onDisconnected(this, mDisconnectCause); in setDisconnected() 424 for (Listener l : mListeners) { in setConnectionCapabilities() 425 l.onConnectionCapabilitiesChanged(this, mConnectionCapabilities); in setConnectionCapabilities() 440 for (Listener l : mListeners) { in setConnectionProperties() 441 l.onConnectionPropertiesChanged(this, mConnectionProperties); in setConnectionProperties() 458 for (Listener l : mListeners) { in addConnection() 459 l.onConnectionAdded(this, connection); in addConnection() 476 for (Listener l : mListeners) { in removeConnection() 477 l.onConnectionRemoved(this, connection); in removeConnection() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 995 for (Listener l : mListeners) { in setVideoState() 996 l.onVideoStateChanged(mVideoState); in setVideoState() 1010 for (Listener l : mListeners) { in setConnectionCapabilities() 1011 l.onConnectionCapabilitiesChanged(mConnectionCapabilities); in setConnectionCapabilities() 1027 for (Listener l : mListeners) { in setCallRadioTech() 1028 l.onCallRadioTechChanged(vrat); in setCallRadioTech() 1048 for (Listener l : mListeners) { in setAudioQuality() 1049 l.onAudioQualityChanged(mAudioQuality); in setAudioQuality() 1076 for (Listener l : mListeners) { in setConnectionExtras() 1077 l.onExtrasChanged(mExtras); in setConnectionExtras() [all …]
|
D | Call.java | 231 List<Connection> l; in getEarliestConnection() local 236 l = getConnections(); in getEarliestConnection() 238 if (l.size() == 0) { in getEarliestConnection() 242 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestConnection() 243 c = l.get(i); in getEarliestConnection() 259 List<Connection> l; in getEarliestCreateTime() local 262 l = getConnections(); in getEarliestCreateTime() 264 if (l.size() == 0) { in getEarliestCreateTime() 268 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestCreateTime() 269 Connection c = l.get(i); in getEarliestCreateTime() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateIntervalFormatTest.java | 324 ULocale l = ULocale.US; in test8862241() local 326 Calendar c = Calendar.getInstance(tz, l); in test8862241() 334 formatDateRange(l, tz, jan_19_2042, oct_4_2046, flags)); in test8862241() 340 ULocale l = ULocale.US; in test10089890() local 347 formatDateRange(l, utc, 0, DAY + 1, flags)); in test10089890() 350 formatDateRange(l, pacific, 0, DAY, flags)); in test10089890() 365 ULocale l = ULocale.US; in test10318326() local 369 assertEquals("00:00", formatDateRange(l, utc, midnight, midnight, time24)); in test10318326() 370 assertEquals("12:00 AM", formatDateRange(l, utc, midnight, midnight, time12)); in test10318326() 371 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/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_stereo_proc.cpp | 325 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_stereo_proc() 334 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) in pvmp3_stereo_proc() 342 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; in pvmp3_stereo_proc() 358 sfbStart = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* = Start in 0 ... 575 */ in pvmp3_stereo_proc() 359 …sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to… in pvmp3_stereo_proc() 361 if (scalefac->l[sfbTemp] != 7) in pvmp3_stereo_proc() 363 pvmp3_st_intensity(xr, xl, scalefac->l[sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc() 472 sfbStart = mp3_sfBandIndex[sfreq].l[8]; in pvmp3_stereo_proc() 577 if (mp3_sfBandIndex[sfreq].l[14] <= sb) in pvmp3_stereo_proc() 581 else if (mp3_sfBandIndex[sfreq].l[7] <= sb) in pvmp3_stereo_proc() [all …]
|
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 …]
|
D | pvmp3_mpeg2_stereo_proc.cpp | 297 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_mpeg2_stereo_proc() 306 while (mp3_sfBandIndex[sfreq].l[i] <= sb) in pvmp3_mpeg2_stereo_proc() 312 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* number of lines to process */ in pvmp3_mpeg2_stereo_proc() 325 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; /* = Start in 0 ... 575 */ in pvmp3_mpeg2_stereo_proc() 326 …sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process… in pvmp3_mpeg2_stereo_proc() 328 if ((uint32)(scalefac_R->l[sfb]) != scalefac_IIP_buffer[sfb]) in pvmp3_mpeg2_stereo_proc() 330 … pvmp3_st_intensity_ver2(xr, xl, io, scalefac_R->l[sfb], sfbStart, sfbNo); in pvmp3_mpeg2_stereo_proc() 466 sfbNo = mp3_sfBandIndex[sfreq].l[6]; /* number of lines to process */ in pvmp3_mpeg2_stereo_proc() 595 if (mp3_sfBandIndex[sfreq].l[14] <= sb) in pvmp3_mpeg2_stereo_proc() 599 else if (mp3_sfBandIndex[sfreq].l[7] <= sb) in pvmp3_mpeg2_stereo_proc() [all …]
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 173 public Location(Location l) { in Location() argument 174 set(l); in Location() 180 public void set(Location l) { in set() argument 181 mProvider = l.mProvider; in set() 182 mTime = l.mTime; in set() 183 mElapsedRealtimeNanos = l.mElapsedRealtimeNanos; in set() 184 mElapsedRealtimeUncertaintyNanos = l.mElapsedRealtimeUncertaintyNanos; in set() 185 mFieldsMask = l.mFieldsMask; in set() 186 mLatitude = l.mLatitude; in set() 187 mLongitude = l.mLongitude; in set() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 148 final Locale l = Locale.forLanguageTag(locale.replace('_', '-')); in getAllAssetLocales() local 149 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales() 150 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales() 154 if (!isInDeveloperMode && LocaleList.isPseudoLocale(l)) { in getAllAssetLocales() 160 Log.v(TAG, "adding initial "+ toTitleCase(l.getDisplayLanguage(l))); in getAllAssetLocales() 162 localeInfos.add(new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l)); in getAllAssetLocales() 169 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales() 179 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in getAllAssetLocales() 182 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales() 184 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales() [all …]
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 163 Dataspace toHardwareDataspace(int32_t l); 182 hidl_vec<uint8_t> inHidlBytes(void const* l, size_t size); 192 hidl_vec<uint8_t> toHidlBytes(void const* l, size_t size); 201 void wrapAs(AnwBuffer* t, GraphicBuffer const& l); 213 bool convertTo(GraphicBuffer* l, AnwBuffer const& t); 353 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l); 365 bool convertTo(Fence* l, hidl_handle const& t); 552 ::android::FrameEventHistoryDelta const& l); 564 ::android::FrameEventHistoryDelta* l, 604 bool convertTo(Region* t, ::android::Region const& l); [all …]
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 155 float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f); in runTonalExtraction() local 156 int[] colorPalette = getColorPalette(h, s, l); in runTonalExtraction() 160 ". Main color: " + Integer.toHexString(getColorInt(fitIndex, h, s, l)) + in runTonalExtraction() 164 builder.append(Integer.toHexString(getColorInt(i, h, s, l))); in runTonalExtraction() 173 int mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 204 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 218 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 277 private int getColorInt(int fitIndex, float[] h, float[] s, float[] l) { in getColorInt() argument 280 mTmpHSL[2] = l[fitIndex]; in getColorInt() 284 private int[] getColorPalette(float[] h, float[] s, float[] l) { in getColorPalette() argument [all …]
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 143 Dataspace toHardwareDataspace(int32_t l) { in toHardwareDataspace() argument 144 return static_cast<Dataspace>(l); in toHardwareDataspace() 166 hidl_vec<uint8_t> inHidlBytes(void const* l, size_t size) { in inHidlBytes() argument 168 t.setToExternal(static_cast<uint8_t*>(const_cast<void*>(l)), size, false); in inHidlBytes() 180 hidl_vec<uint8_t> toHidlBytes(void const* l, size_t size) { in toHidlBytes() argument 183 uint8_t const* src = static_cast<uint8_t const*>(l); in toHidlBytes() 195 void wrapAs(AnwBuffer* t, GraphicBuffer const& l) { in wrapAs() argument 196 t->attr.width = l.getWidth(); in wrapAs() 197 t->attr.height = l.getHeight(); in wrapAs() 198 t->attr.stride = l.getStride(); in wrapAs() [all …]
|
/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/rs/tests/java_api/RSTest_CompatLibLegacy/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);
|