/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkAddressTest.java | 297 LinkAddress l; in testHashCode() local 299 l = new LinkAddress(V4_ADDRESS, 23); in testHashCode() 300 assertEquals(-982787, l.hashCode()); in testHashCode() 302 l = new LinkAddress(V4_ADDRESS, 23, 0, RT_SCOPE_HOST); in testHashCode() 303 assertEquals(-971865, l.hashCode()); in testHashCode() 305 l = new LinkAddress(V4_ADDRESS, 27); in testHashCode() 306 assertEquals(-982743, l.hashCode()); in testHashCode() 308 l = new LinkAddress(V6_ADDRESS, 64); in testHashCode() 309 assertEquals(1076522926, l.hashCode()); in testHashCode() 311 l = new LinkAddress(V6_ADDRESS, 128); in testHashCode() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 49 Layout l = b.build(); in testGetters1() local 50 assertVertMetrics(l, 0, 0, in testGetters1() 54 assertEquals(0, l.getLineStart(0)); in testGetters1() 55 assertEquals(Layout.DIR_LEFT_TO_RIGHT, l.getParagraphDirection(0)); in testGetters1() 56 assertEquals(false, l.getLineContainsTab(0)); in testGetters1() 57 assertEquals(Layout.DIRS_ALL_LEFT_TO_RIGHT, l.getLineDirections(0)); in testGetters1() 58 assertEquals(0, l.getEllipsisCount(0)); in testGetters1() 59 assertEquals(0, l.getEllipsisStart(0)); in testGetters1() 60 assertEquals(b.width, l.getEllipsizedWidth()); in testGetters1() 73 Layout l = b.build(); in testGetters2() local [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 64 SharedParameters::Lock l(mParameters); in Camera2Client() local 65 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client() 82 SharedParameters::Lock l(mParameters); in initialize() local 84 res = l.mParameters.initialize(&(mDevice->info()), mDeviceVersion); in initialize() 144 SharedParameters::Lock l(mParameters); in initialize() local 147 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initialize() 408 SharedParameters::Lock l(mParameters); in disconnect() local 409 if (l.mParameters.state == Parameters::DISCONNECTED) return; in disconnect() 410 l.mParameters.state = Parameters::DISCONNECTED; in disconnect() 506 SharedParameters::Lock l(mParameters); in unlock() local [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_conceal.c | 270 i32 a[4] = { 0,0,0,0 }, b[4], l[4] = { 0,0,0,0 }, r[4]; in ConcealMb() local 368 l[0] = pData[0]; l[0] += pData[16*width]; in ConcealMb() 369 l[0] += pData[32*width]; l[0] += pData[48*width]; in ConcealMb() 371 l[1] = pData[0]; l[1] += pData[16*width]; in ConcealMb() 372 l[1] += pData[32*width]; l[1] += pData[48*width]; in ConcealMb() 374 l[2] = pData[0]; l[2] += pData[16*width]; in ConcealMb() 375 l[2] += pData[32*width]; l[2] += pData[48*width]; in ConcealMb() 377 l[3] = pData[0]; l[3] += pData[16*width]; in ConcealMb() 378 l[3] += pData[32*width]; l[3] += pData[48*width]; in ConcealMb() 381 firstPhase[0] += l[0] + l[1] + l[2] + l[3]; in ConcealMb() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Call.java | 139 List<Connection> l; in getEarliestConnection() local 144 l = getConnections(); in getEarliestConnection() 146 if (l.size() == 0) { in getEarliestConnection() 150 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestConnection() 151 c = l.get(i); in getEarliestConnection() 167 List<Connection> l; in getEarliestCreateTime() local 170 l = getConnections(); in getEarliestCreateTime() 172 if (l.size() == 0) { in getEarliestCreateTime() 176 for (int i = 0, s = l.size() ; i < s ; i++) { in getEarliestCreateTime() 177 Connection c = l.get(i); in getEarliestCreateTime() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 135 ResTable_config l; in TEST() local 138 fillIn("en", NULL, NULL, NULL, &l); in TEST() 141 EXPECT_TRUE(l.isMoreSpecificThan(r)); in TEST() 142 EXPECT_FALSE(r.isMoreSpecificThan(l)); in TEST() 144 fillIn("eng", NULL, NULL, NULL, &l); in TEST() 145 EXPECT_TRUE(l.isMoreSpecificThan(r)); in TEST() 146 EXPECT_FALSE(r.isMoreSpecificThan(l)); in TEST() 149 EXPECT_FALSE(l.isMoreSpecificThan(r)); in TEST() 150 EXPECT_TRUE(r.isMoreSpecificThan(l)); in TEST() 152 fillIn("en", NULL, NULL, NULL, &l); in TEST() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 61 Mutex::Autolock l(mInputMutex); in setZslProcessor() local 68 Mutex::Autolock l(mInputMutex); in startCapture() local 84 Mutex::Autolock l(mStateMutex); in waitUntilIdle() local 100 Mutex::Autolock l(mInputMutex); in notifyAutoExposure() local 112 Mutex::Autolock l(mInputMutex); in onResultAvailable() local 125 Mutex::Autolock l(mInputMutex); in onCaptureAvailable() local 195 Mutex::Autolock l(mStateMutex); in threadLoop() local 201 Mutex::Autolock l(mStateMutex); in threadLoop() local 228 Mutex::Autolock l(mInputMutex); in manageIdle() local 250 Mutex::Autolock l(mInputMutex); in manageDone() local [all …]
|
D | FrameProcessor.cpp | 42 SharedParameters::Lock l(client->getParameters()); in FrameProcessor() local 47 mUsePartialResult = l.mParameters.quirks.partialResults; in FrameProcessor() 51 m3aState.afTriggerId = l.mParameters.afTriggerCounter; in FrameProcessor() 52 m3aState.aeTriggerId = l.mParameters.precaptureTriggerCounter; in FrameProcessor() 54 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED) { in FrameProcessor() 104 SharedParameters::Lock l(client->getParameters()); in processFaceDetect() local 105 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect() 123 SharedParameters::Lock l(client->getParameters()); in processFaceDetect() local 133 l.mParameters.fastInfo.maxFaces) { in processFaceDetect() 136 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); in processFaceDetect() [all …]
|
D | CallbackProcessor.cpp | 50 Mutex::Autolock l(mInputMutex); in onFrameAvailable() local 62 Mutex::Autolock l(mInputMutex); in setCallbackWindow() local 90 Mutex::Autolock l(mInputMutex); in updateStream() local 175 Mutex::Autolock l(mInputMutex); in deleteStream() local 201 Mutex::Autolock l(mInputMutex); in deleteStream() local 213 Mutex::Autolock l(mInputMutex); in getStreamId() local 224 Mutex::Autolock l(mInputMutex); in threadLoop() local 273 SharedParameters::Lock l(client->getParameters()); in processNewCallback() local 294 if ( l.mParameters.state != Parameters::PREVIEW in processNewCallback() 295 && l.mParameters.state != Parameters::RECORD in processNewCallback() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 105 final Locale l = Locale.forLanguageTag(locale.replace('_', '-')); in getAllAssetLocales() local 106 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales() 107 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales() 113 Log.v(TAG, "adding initial "+ toTitleCase(l.getDisplayLanguage(l))); in getAllAssetLocales() 115 localeInfos.add(new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l)); in getAllAssetLocales() 122 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales() 132 getDisplayName(l, specialLocaleCodes, specialLocaleNames))); in getAllAssetLocales() 135 getDisplayName(l, specialLocaleCodes, specialLocaleNames)), l)); in getAllAssetLocales() 137 String displayName = toTitleCase(l.getDisplayLanguage(l)); in getAllAssetLocales() 141 localeInfos.add(new LocaleInfo(displayName, l)); in getAllAssetLocales() [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; 33 void foo_ld(long double l) { 36 m = l;
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Connection.java | 779 public final Connection addConnectionListener(Listener l) { in addConnectionListener() argument 780 mListeners.add(l); in addConnectionListener() 792 public final Connection removeConnectionListener(Listener l) { in removeConnectionListener() argument 793 if (l != null) { in removeConnectionListener() 794 mListeners.remove(l); in removeConnectionListener() 869 for (Listener l : mListeners) { in setAddress() 870 l.onAddressChanged(this, address, presentation); in setAddress() 886 for (Listener l : mListeners) { in setCallerDisplayName() 887 l.onCallerDisplayNameChanged(this, callerDisplayName, presentation); in setCallerDisplayName() 905 for (Listener l : mListeners) { in setVideoState() [all …]
|
D | Conference.java | 272 for (Listener l : mListeners) { in setDisconnected() 273 l.onDisconnected(this, mDisconnectCause); in setDisconnected() 299 for (Listener l : mListeners) { in setConnectionCapabilities() 300 l.onConnectionCapabilitiesChanged(this, mConnectionCapabilities); in setConnectionCapabilities() 316 for (Listener l : mListeners) { in addConnection() 317 l.onConnectionAdded(this, connection); in addConnection() 334 for (Listener l : mListeners) { in removeConnection() 335 l.onConnectionRemoved(this, connection); in removeConnection() 359 for (Listener l : mListeners) { in fireOnConferenceableConnectionsChanged() 360 l.onConferenceableConnectionsChanged(this, getConferenceableConnections()); in fireOnConferenceableConnectionsChanged() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 250 lib_entry_t *l = NULL; in EffectGetDescriptor() local 261 ret = findEffect(NULL, uuid, &l, &d); in EffectGetDescriptor() 272 lib_entry_t *l = NULL; in EffectCreate() local 297 ret = findEffect(NULL, uuid, &l, &d); in EffectCreate() 301 ret = findSubEffect(uuid, &l, &d); in EffectCreate() 308 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe); in EffectCreate() 310 ALOGW("EffectCreate() library %s: could not create fx %s, error %d", l->name, d->name, ret); in EffectCreate() 324 fx->lib = l; in EffectCreate() 333 … ALOGV("EffectCreate() created entry %p with sub itfe %p in library %s", *pHandle, itfe, l->name); in EffectCreate() 505 lib_entry_t *l; in loadLibrary() local [all …]
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 123 public Location(Location l) { in Location() argument 124 set(l); in Location() 130 public void set(Location l) { in set() argument 131 mProvider = l.mProvider; in set() 132 mTime = l.mTime; in set() 133 mElapsedRealtimeNanos = l.mElapsedRealtimeNanos; in set() 134 mLatitude = l.mLatitude; in set() 135 mLongitude = l.mLongitude; in set() 136 mHasAltitude = l.mHasAltitude; in set() 137 mAltitude = l.mAltitude; in set() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_stereo_proc.cpp | 321 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_stereo_proc() 330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) in pvmp3_stereo_proc() 338 sfbStart = mp3_sfBandIndex[sfreq].l[sfb]; in pvmp3_stereo_proc() 354 sfbStart = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* = Start in 0 ... 575 */ in pvmp3_stereo_proc() 355 …sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to… in pvmp3_stereo_proc() 357 if (scalefac->l[sfbTemp] != 7) in pvmp3_stereo_proc() 359 pvmp3_st_intensity(xr, xl, scalefac->l[sfbTemp], sfbStart, sfbNo); in pvmp3_stereo_proc() 468 sfbStart = mp3_sfBandIndex[sfreq].l[8]; in pvmp3_stereo_proc() 573 if (mp3_sfBandIndex[sfreq].l[14] <= sb) in pvmp3_stereo_proc() 577 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/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | primitives.rs | 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/java/tests/RsTest_16/src/com/android/rs/test/ |
D | primitives.rs | 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/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | primitives.rs | 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/java/tests/RsTest/src/com/android/rs/test/ |
D | primitives.rs | 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/java/tests/RsTest_11/src/com/android/rs/test/ |
D | primitives.rs | 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/ |
D | rsScriptGroup.cpp | 66 const Link *l = n->mOutputs[ct]; in calcOrderRecurse() local 68 if (l->mDstField.get()) { in calcOrderRecurse() 69 nt = findNode(l->mDstField->mScript); in calcOrderRecurse() 71 nt = findNode(l->mDstKernel->mScript); in calcOrderRecurse() 119 Link *l = mLinks[ct]; in calcOrder() local 121 Node *n = findNode(l->mSource->mScript); in calcOrder() 123 n->mOutputs.add(l); in calcOrder() 125 if (l->mDstKernel.get()) { in calcOrder() 127 n = findNode(l->mDstKernel->mScript); in calcOrder() 129 n->mInputs.add(l); in calcOrder() [all …]
|
/frameworks/native/opengl/libagl/ |
D | light.cpp | 223 light_t& l = c->lighting.lights[i]; in validate_light_mvi() local 226 &l.objPosition, &l.position); in validate_light_mvi() 228 l.objPosition = l.position; in validate_light_mvi() 230 vnorm3(l.normalizedObjPosition.v, l.objPosition.v); in validate_light_mvi() 251 light_t& l = c->lighting.lights[i]; in validate_light() local 252 vmul3(l.implicitAmbient.v, material.ambient.v, l.ambient.v); in validate_light() 253 vmul3(l.implicitDiffuse.v, material.diffuse.v, l.diffuse.v); in validate_light() 254 vmul3(l.implicitSpecular.v, material.specular.v, l.specular.v); in validate_light() 257 l.implicitSpecular.v[3] = in validate_light() 258 l.implicitSpecular.r | in validate_light() [all …]
|