Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 575) sorted by relevance

12345678910>>...23

/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h145 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/
DConversion.h276 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/
DAppStateTrackerTest.java205 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/
DLoggingContentInterface.java95 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/
DLinkAddressTest.java322 private LinkAddress passThroughParcel(LinkAddress l) { in passThroughParcel() argument
326 l.writeToParcel(p, 0); in passThroughParcel()
336 private void assertParcelingIsLossless(LinkAddress l) { in assertParcelingIsLossless() argument
337 LinkAddress l2 = passThroughParcel(l); in assertParcelingIsLossless()
338 assertEquals(l, l2); in assertParcelingIsLossless()
343 LinkAddress l; in testParceling() local
345 l = new LinkAddress(V6_ADDRESS, 64, 123, 456); in testParceling()
346 assertParcelingIsLossless(l); in testParceling()
348 l = new LinkAddress(V4 + "/28", IFA_F_PERMANENT, RT_SCOPE_LINK); in testParceling()
349 assertParcelingIsLossless(l); in testParceling()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp66 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/
DTaskChangeNotificationController.java77 private final TaskStackConsumer mNotifyTaskStackChanged = (l, m) -> {
78 l.onTaskStackChanged();
81 private final TaskStackConsumer mNotifyTaskCreated = (l, m) -> {
82 l.onTaskCreated(m.arg1, (ComponentName) m.obj);
85 private final TaskStackConsumer mNotifyTaskRemoved = (l, m) -> {
86 l.onTaskRemoved(m.arg1);
89 private final TaskStackConsumer mNotifyTaskMovedToFront = (l, m) -> {
90 l.onTaskMovedToFront((RunningTaskInfo) m.obj);
93 private final TaskStackConsumer mNotifyTaskDescriptionChanged = (l, m) -> {
94 l.onTaskDescriptionChanged((RunningTaskInfo) m.obj);
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp62 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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb284 l = Google::Protobuf::RepeatedField.new(:int32)
285 assert l.count == 0
286 l = Google::Protobuf::RepeatedField.new(:int32, [1, 2, 3])
287 assert l.count == 3
288 assert_equal [1, 2, 3], l
289 assert_equal l, [1, 2, 3]
290 l.push 4
291 assert l == [1, 2, 3, 4]
293 l.each { |val| dst_list.push val }
295 assert l.to_a == [1, 2, 3, 4]
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsConfigLoader.c157 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/opt/telephony/src/java/com/android/internal/telephony/
DCall.java154 List<Connection> l; in getEarliestConnection() local
159 l = getConnections(); in getEarliestConnection()
161 if (l.size() == 0) { in getEarliestConnection()
165 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestConnection()
166 c = l.get(i); in getEarliestConnection()
182 List<Connection> l; in getEarliestCreateTime() local
185 l = getConnections(); in getEarliestCreateTime()
187 if (l.size() == 0) { in getEarliestCreateTime()
191 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestCreateTime()
192 Connection c = l.get(i); in getEarliestCreateTime()
[all …]
DConnection.java946 for (Listener l : mListeners) { in setVideoState()
947 l.onVideoStateChanged(mVideoState); in setVideoState()
961 for (Listener l : mListeners) { in setConnectionCapabilities()
962 l.onConnectionCapabilitiesChanged(mConnectionCapabilities); in setConnectionCapabilities()
978 for (Listener l : mListeners) { in setCallRadioTech()
979 l.onCallRadioTechChanged(vrat); in setCallRadioTech()
999 for (Listener l : mListeners) { in setAudioQuality()
1000 l.onAudioQualityChanged(mAudioQuality); in setAudioQuality()
1027 for (Listener l : mListeners) { in setConnectionExtras()
1028 l.onExtrasChanged(mExtras); in setConnectionExtras()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java111 final Locale l = Locale.forLanguageTag(locale.replace('_', '-')); in getAllAssetLocales() local
112 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales()
113 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
117 if (!isInDeveloperMode && LocaleList.isPseudoLocale(l)) { in getAllAssetLocales()
123 Log.v(TAG, "adding initial "+ toTitleCase(l.getDisplayLanguage(l))); in getAllAssetLocales()
125 localeInfos.add(new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l)); in getAllAssetLocales()
132 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
142 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in getAllAssetLocales()
145 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales()
147 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConference.java385 for (Listener l : mListeners) { in setDisconnected()
386 l.onDisconnected(this, mDisconnectCause); in setDisconnected()
407 for (Listener l : mListeners) { in setConnectionCapabilities()
408 l.onConnectionCapabilitiesChanged(this, mConnectionCapabilities); in setConnectionCapabilities()
423 for (Listener l : mListeners) { in setConnectionProperties()
424 l.onConnectionPropertiesChanged(this, mConnectionProperties); in setConnectionProperties()
441 for (Listener l : mListeners) { in addConnection()
442 l.onConnectionAdded(this, connection); in addConnection()
459 for (Listener l : mListeners) { in removeConnection()
460 l.onConnectionRemoved(this, connection); in removeConnection()
[all …]
DConnection.java2010 public final Connection addConnectionListener(Listener l) { in addConnectionListener() argument
2011 mListeners.add(l); in addConnectionListener()
2023 public final Connection removeConnectionListener(Listener l) { in removeConnectionListener() argument
2024 if (l != null) { in removeConnectionListener()
2025 mListeners.remove(l); in removeConnectionListener()
2125 for (Listener l : mListeners) { in setAddress()
2126 l.onAddressChanged(this, address, presentation); in setAddress()
2142 for (Listener l : mListeners) { in setCallerDisplayName()
2143 l.onCallerDisplayNameChanged(this, callerDisplayName, presentation); in setCallerDisplayName()
2160 for (Listener l : mListeners) { in setVideoState()
[all …]
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll6 ; 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/
Dpvmp3_stereo_proc.cpp325 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 …]
Dpvmp3_dequantize_sample.cpp214 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/base/location/java/android/location/
DLocation.java170 public Location(Location l) { in Location() argument
171 set(l); in Location()
177 public void set(Location l) { in set() argument
178 mProvider = l.mProvider; in set()
179 mTime = l.mTime; in set()
180 mElapsedRealtimeNanos = l.mElapsedRealtimeNanos; in set()
181 mElapsedRealtimeUncertaintyNanos = l.mElapsedRealtimeUncertaintyNanos; in set()
182 mFieldsMask = l.mFieldsMask; in set()
183 mLatitude = l.mLatitude; in set()
184 mLongitude = l.mLongitude; in set()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dprimitives.rs25 long longTest = 17179869184l; // 1 << 34
26 long long longlongTest = 68719476736l; // 1 << 36
32 int64_t int64_tTest = -17179869184l; // - 1 << 34
33 uint64_t uint64_tTest = 117179869184l;
44 _RS_ASSERT(longTest == 17179869185l);
45 _RS_ASSERT(longlongTest == 68719476735l);
51 _RS_ASSERT(int64_tTest == -17179869184l);
52 _RS_ASSERT(uint64_tTest == 117179869185l);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dprimitives.rs27 long longTest = 17179869184l; // 1 << 34
28 long long longlongTest = 68719476736l; // 1 << 36
34 int64_t int64_tTest = -17179869184l; // - 1 << 34
35 uint64_t uint64_tTest = 117179869184l;
46 _RS_ASSERT(longTest == 17179869185l);
47 _RS_ASSERT(longlongTest == 68719476735l);
53 _RS_ASSERT(int64_tTest == -17179869184l);
54 _RS_ASSERT(uint64_tTest == 117179869185l);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dprimitives.rs9 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/
Dprimitives.rs9 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_16/src/com/android/rs/test/
Dprimitives.rs9 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_CompatLibLegacy/src/com/android/rs/test/
Dprimitives.rs9 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);

12345678910>>...23