/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkAddressTest.java | 340 LinkAddress l; in testParceling() local 342 l = new LinkAddress(V6_ADDRESS, 64, 123, 456); in testParceling() 343 assertParcelingIsLossless(l); in testParceling() 345 l = new LinkAddress(V4 + "/28", IFA_F_PERMANENT, RT_SCOPE_LINK); in testParceling() 346 assertParcelingIsLossless(l); in testParceling() 351 final LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 123, 456, 1L, 3600000L); in testLifetimeParceling() local 352 assertParcelingIsLossless(l); in testLifetimeParceling() 399 LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 123, RT_SCOPE_HOST); in testGetFlags() local 400 assertEquals(123, l.getFlags()); in testGetFlags() 407 LinkAddress l = new LinkAddress(V6_ADDRESS, 64, 0, RT_SCOPE_HOST, in testGetFlags_Deprecation() local [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | BaseDvrDataManager.java | 121 for (OnDvrScheduleLoadFinishedListener l : mOnDvrScheduleLoadFinishedListeners) { in notifyDvrScheduleLoadFinished() 123 l.onDvrScheduleLoadFinished(); in notifyDvrScheduleLoadFinished() 132 for (OnRecordedProgramLoadFinishedListener l : mOnRecordedProgramLoadFinishedListeners) { in notifyRecordedProgramLoadFinished() 134 l.onRecordedProgramLoadFinished(); in notifyRecordedProgramLoadFinished() 140 for (RecordedProgramListener l : mRecordedProgramListeners) { in notifyRecordedProgramsAdded() 141 if (DEBUG) Log.d(TAG, "notify " + l + " added " + Arrays.asList(recordedPrograms)); in notifyRecordedProgramsAdded() 142 l.onRecordedProgramsAdded(recordedPrograms); in notifyRecordedProgramsAdded() 148 for (RecordedProgramListener l : mRecordedProgramListeners) { in notifyRecordedProgramsChanged() 149 if (DEBUG) Log.d(TAG, "notify " + l + " changed " + Arrays.asList(recordedPrograms)); in notifyRecordedProgramsChanged() 150 l.onRecordedProgramsChanged(recordedPrograms); in notifyRecordedProgramsChanged() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | edge.c | 59 int l; in JNIFUNCF() local 60 for (l = 0; l < 3; l++) { in JNIFUNCF() 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 74 for (l = 0; l < 3; l++) { in JNIFUNCF() 76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TransportSipMessageValidatorTest.java | 202 CountDownLatch l = new CountDownLatch(1); in testTransportClosingGracefullyNoPendingSessions() local 205 l.countDown(); in testTransportClosingGracefullyNoPendingSessions() 209 assertEquals(0, l.getCount()); in testTransportClosingGracefullyNoPendingSessions() 224 CountDownLatch l = new CountDownLatch(1); in testTransportClosingGracefullyCloseCallIds() local 227 l.countDown(); in testTransportClosingGracefullyCloseCallIds() 231 assertTrue(l.getCount() >= 1); in testTransportClosingGracefullyCloseCallIds() 239 assertEquals(0, l.getCount()); in testTransportClosingGracefullyCloseCallIds() 254 CountDownLatch l = new CountDownLatch(1); in testTransportClosingGracefullyThenForceClose() local 257 l.countDown(); in testTransportClosingGracefullyThenForceClose() 261 assertTrue(l.getCount() >= 1); in testTransportClosingGracefullyThenForceClose() [all …]
|
/packages/services/Car/tools/cpu_perf/ |
D | cpu_perf.py | 90 for l in lines: 91 l = l.strip() 92 if l.find("/dev/cpuset/") == 0: 93 l = l.replace("/dev/cpuset/", "") 94 l = l.replace("cpus", "") 95 l = l.replace("/", "") 96 key = l 98 cores = parse_ints(l) 109 for l in lines: 110 l = l.strip() [all …]
|
D | perfetto_cpu_analysis.py | 61 l = self.perCoreLoads.get(coreId) 62 if l is None: 64 return l.totalCycles 69 l = self.perCoreLoads[c] 70 sum += l.totalCycles 84 l = self.perCoreLoads[c] 85 coreLoad = float(l.totalCycles) / perCoreTotalCycles[c] * 100.0 113 l = self.perCoreLoads[c] 114 coreLoad = float(l.totalCycles) / perCoreTotalCycles[c] * 100.0 177 for l in self.totalLoads: [all …]
|
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/ |
D | QuantiseDifference.c | 29 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 36 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 43 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 50 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 56 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 63 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 70 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 77 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 95 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchHL() 102 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchHL() [all …]
|
D | AptxParameters.h | 63 uint32_t l; member 65 uint32_t l; 72 int32_t l; member 74 int32_t l; 86 uint16_t l; member 88 uint16_t l; 95 int16_t l; member 97 int16_t l;
|
/packages/modules/adb/ |
D | adb_listeners.cpp | 129 for (auto& l : listener_list) { in format_listeners() local 131 if (l->connect_to[0] == '*') { in format_listeners() 138 !l->transport->serial.empty() ? l->transport->serial.c_str() : "(reverse)", in format_listeners() 139 l->local_name.c_str(), l->connect_to.c_str()); in format_listeners() 171 for (auto& l : listener_list) { in enable_server_sockets() local 172 if (l->connect_to == "*smartsocket*") { in enable_server_sockets() 173 fdevent_set(l->fde, FDE_READ); in enable_server_sockets() 192 for (auto& l : listener_list) { in install_listener() local 193 if (local_name == l->local_name) { in install_listener() 195 if (l->connect_to[0] == '*') { in install_listener() [all …]
|
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/ |
D | QuantiseDifference.c | 32 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 39 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 45 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 52 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 59 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 66 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLL() 97 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchHH() 103 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchHH() 124 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLH() 131 tmp = tmp_acc.s32.h | (tmp_acc.u32.l >> 1); in BsearchLH() [all …]
|
D | AptxParameters.h | 63 uint32_t l; member 65 uint32_t l; 73 int32_t l; member 75 int32_t l; 88 uint16_t l; member 90 uint16_t l; 97 int16_t l; member 99 int16_t l;
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MediaSaverImpl.java | 70 int height, int orientation, ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage() 77 int height, int orientation, ExifInterface exif, OnMediaSavedListener l, in addImage() argument 85 width, height, orientation, mimeType, exif, mContentResolver, l); in addImage() 96 ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage() 104 int orientation, ExifInterface exif, OnMediaSavedListener l) { in addImage() argument 105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l, in addImage() 110 public void addVideo(Uri uri, ContentValues values, OnMediaSavedListener l) { in addVideo() argument 112 new VideoSaveTask(uri, values, l, mContentResolver).execute(); in addVideo() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | WorkProfileTest.java | 139 WorkProfileManager manager = getFromLauncher(l -> l.getAppsView().getWorkManager()); in toggleWorks() 149 executeOnLauncher(l -> { in toggleWorks() 151 l.getAppsView().getAppsStore().disableDeferUpdates(DEFER_UPDATES_TEST); in toggleWorks() 152 l.getAppsView().getWorkManager().getWorkModeSwitch().performClick(); in toggleWorks() 163 executeOnLauncher(l -> { in toggleWorks() 164 ActivityAllAppsContainerView<?> allApps = l.getAppsView(); in toggleWorks() 181 executeOnLauncher(l -> { in testEdu() 182 l.getSharedPrefs().edit().putInt(WorkProfileManager.KEY_WORK_EDU_STEP, 0).commit(); in testEdu() 183 ((AllAppsPagedView) l.getAppsView().getContentView()).setCurrentPage(WORK_PAGE); in testEdu() 184 l.getAppsView().getWorkManager().reset(); in testEdu() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageProcessorProxyListener.java | 127 for (ImageProcessorListener l : mRegisteredListeners) { in filteredListeners() 128 if (mImageFilter.get(l) == null || mImageFilter.get(l) == imageId) { in filteredListeners() 129 filteredList.add(l); in filteredListeners() 156 for (ImageProcessorListener l : listeners) { in onStart() 157 l.onStart(job); in onStart() 168 for (ImageProcessorListener l : listeners) { in onResultCompressed() 169 l.onResultCompressed(job, payload); in onResultCompressed() 180 for (ImageProcessorListener l : listeners) { in onResultUncompressed() 181 l.onResultUncompressed(job, payload); in onResultUncompressed() 191 for (ImageProcessorListener l : listeners) { in onResultUri() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 1261 for (Listener l : mListeners) { in setRingbackRequested() 1262 l.onRingbackRequested(this, mRingbackRequested); in setRingbackRequested() 1334 mListeners.forEach(l -> l.onCallerNumberVerificationStatusChanged(this, in setCallerNumberVerificationStatus() 1383 for (Listener l : mListeners) { in setHandle() 1384 l.onHandleChanged(this); in setHandle() 1417 for (Listener l : mListeners) { in setCallerDisplayName() 1418 l.onCallerDisplayNameChanged(this); in setCallerDisplayName() 1525 for (Listener l : mListeners) { in setConnectionManagerPhoneAccount() 1526 l.onConnectionManagerPhoneAccountChanged(this); in setConnectionManagerPhoneAccount() 1580 for (Listener l : mListeners) { in setTargetPhoneAccount() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 92 return getLauncherUIProperty(Bundle::putInt, l -> { in call() 93 final float progress = LauncherState.NORMAL.getVerticalProgress(l) in call() 94 - LauncherState.ALL_APPS.getVerticalProgress(l); in call() 95 final float distance = l.getAllAppsController().getShiftRange() * progress; in call() 105 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call() 106 l.getAppsView().getAppsStore().enableDeferUpdates(DEFER_UPDATES_TEST); in call() 110 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call() 111 l.getAppsView().getAppsStore().disableDeferUpdates(DEFER_UPDATES_TEST); in call() 117 l -> l.getAppsView().getActiveRecyclerView().computeVerticalScrollOffset()); in call() 122 l -> WidgetsFullSheet.getWidgetsView(l).computeVerticalScrollOffset()); in call() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | ThemeIconsTest.java | 67 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getAppsView(), false)); in testIconWithoutTheme() 69 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getWorkspace(), false)); in testIconWithoutTheme() 88 executeOnLauncher(l -> verifyIconTheme(SHORTCUT_NAME, l.getWorkspace(), false)); in testShortcutIconWithoutTheme() 104 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getAppsView(), false)); in testIconWithTheme() 106 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getWorkspace(), true)); in testIconWithTheme() 125 executeOnLauncher(l -> verifyIconTheme(SHORTCUT_NAME, l.getWorkspace(), true)); in testShortcutIconWithTheme()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeCallList.java | 139 for (Listener l : mListeners) { in addCall() 140 l.onCallAdded(call); in addCall() 153 for (Listener l : mListeners) { in removeCall() 154 if (l != null) { in removeCall() 155 l.onCallRemoved(call); in removeCall() 236 for (Listener l : mListeners) { in onRttStatusChanged() 237 l.onRttStarted(call); in onRttStatusChanged() 240 for (Listener l : mListeners) { in onRttStatusChanged() 241 l.onRttStopped(call); in onRttStatusChanged() 248 for (Listener l : mListeners) { in onRttInitiationFailure() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 139 for (Listener l : mListeners) { in addCall() 140 l.onCallAdded(call); in addCall() 153 for (Listener l : mListeners) { in removeCall() 154 if (l != null) { in removeCall() 155 l.onCallRemoved(call); in removeCall() 236 for (Listener l : mListeners) { in onRttStatusChanged() 237 l.onRttStarted(call); in onRttStatusChanged() 240 for (Listener l : mListeners) { in onRttStatusChanged() 241 l.onRttStopped(call); in onRttStatusChanged() 248 for (Listener l : mListeners) { in onRttInitiationFailure() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | CheckBroker.java | 46 for (OnCheckedChangedListener l : mListeners) { in onCheckedChange() 47 l.onCheckedChanged(position, checked); in onCheckedChange() 53 for (OnCheckedChangedListener l : mListeners) { in onBulkCheckedChange() 54 l.onBulkCheckedChanged(); in onBulkCheckedChange() 60 public void registerOnCheckedChangeListener(OnCheckedChangedListener l) { in registerOnCheckedChangeListener() argument 61 mListeners.add(l); in registerOnCheckedChangeListener() 64 public void unregisterOnCheckedChangeListener(OnCheckedChangedListener l) { in unregisterOnCheckedChangeListener() argument 65 mListeners.remove(l); in unregisterOnCheckedChangeListener()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 101 DebugLogUtils.l("New download action for client ", clientId, " : ", wordList); in StartDownloadAction() 112 DebugLogUtils.l("Downloading word list"); in execute() 130 DebugLogUtils.l("Upgrade word list, downloading", mWordList.mRemoteFilename); in execute() 152 DebugLogUtils.l("Starting download of", uri, "with id", downloadId); in execute() 169 DebugLogUtils.l("New InstallAfterDownloadAction for client ", clientId, " : ", in InstallAfterDownloadAction() 189 DebugLogUtils.l("Setting word list as installed"); in execute() 212 DebugLogUtils.l("New EnableAction for client ", clientId, " : ", wordList); in EnableAction() 223 DebugLogUtils.l("Enabling word list"); in execute() 247 DebugLogUtils.l("New Disable action for client ", clientId, " : ", wordlist); in DisableAction() 258 DebugLogUtils.l("Disabling word list : " + mWordList); in execute() [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/net/ |
D | RefinedStats.java | 86 for (int l = 0; l < left.mUid.size(); l++) { in subtract() 87 int rIndex = right.findIndex(left.mUid.get(l), left.mTag.get(l)); in subtract() 88 result.mUid.add(left.mUid.get(l)); in subtract() 89 result.mTag.add(left.mTag.get(l)); in subtract() 91 result.mRxBytes.add(left.mRxBytes.get(l)); in subtract() 92 result.mTxBytes.add(left.mTxBytes.get(l)); in subtract() 95 result.mRxBytes.add(Math.max(left.mRxBytes.get(l) - right.mRxBytes.get(rIndex), 0)); in subtract() 96 result.mTxBytes.add(Math.max(left.mTxBytes.get(l) - right.mTxBytes.get(rIndex), 0)); in subtract()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 14 cL�Py2��W��_,ݨ��l�*��z4m:����7<k֎�Bl���$/�Pe��0i����=���ϋ������+�ar�� f����Go�'�5���vb�… 15 :�����c�*��_���l� 2N��b3h����ٴ*T����(�J�Hj�&�WJ�M+�Ln��tÅ���h�۱�t��G<��Bvþ���ӯhk��������W… 19 ��e�!ac�/9�/!t�O�i�ˊ����U���v��R���l\�p� �I���9z�p߱�xv<��Z<zKI��k� \�x:S�8X �&�a5�O … 23 4���gFHS�$/iՙ'��?PЈ50�z�qЗ�Z7�b�M��iodHc�n�����)�oh�ho�jO���lW���$��zQ`�l���ךI��*��Q 30 …���#*${�������:�k:��X�?���,c0�O��YuɄ����E[�����{�`��Xy*g2+ۿ���j�G.z��l��3DN�1�����o��xY/4R… 32 ��0P\�A^u�[��V�������#��L��{K@K�!���s������!l�H�&���ͧ��O��[�̮��zP��m��ԣ�x��>I��� 34 …C�,��NP1ip��4�2:��>vǝ�Ù@����Q��<��o�SS�,���P�8B�؉T#|zh�7��W`b������"�ũ������_B���v��3*I�lŗ� 35 Z�}�Z�l��5�,Ab5�4HШ.sk���ΛRC3�P���݇"T?r;��*��0��J`3S������}�� �7��jz�ս�'��ߋ�p�g�j�������… 44 �-�֠}���g�˅���l�@��q-N�'`z�0�,�vw�)FCY�?�g�i��@2uR�H0�t],�d����ߡӆ�#%��3�W��W�&d�Z\+���� 45 …7�?�P�\������%�h贵��$��"�r�t���)�u�9��r�Y���n��&@�ܜ��?�uL�+�U����l�~��۽�ׁ(2�N[<�;�d… [all …]
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbUtil.java | 70 public static boolean isTheSameDevice(UsbDevice l, UsbDevice r) { in isTheSameDevice() argument 71 if (TextUtils.equals(l.getManufacturerName(), r.getManufacturerName()) in isTheSameDevice() 72 && TextUtils.equals(l.getProductName(), r.getProductName()) in isTheSameDevice() 73 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isTheSameDevice() 79 public static boolean isDevicesMatching(UsbDevice l, UsbDevice r) { in isDevicesMatching() argument 80 if (l.getVendorId() == r.getVendorId() && l.getProductId() == r.getProductId() in isDevicesMatching() 81 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { in isDevicesMatching()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 73 Location l = new Location(); in atHotseat() local 74 l.items.put(ATTR_CONTAINER, CONTAINER_HOTSEAT); in atHotseat() 75 l.items.put(ATTR_RANK, Integer.toString(rank)); in atHotseat() 76 return l; in atHotseat() 80 Location l = new Location(); in atWorkspace() local 81 l.items.put(ATTR_CONTAINER, CONTAINER_DESKTOP); in atWorkspace() 82 l.items.put(ATTR_X, Integer.toString(x)); in atWorkspace() 83 l.items.put(ATTR_Y, Integer.toString(y)); in atWorkspace() 84 l.items.put(ATTR_SCREEN, Integer.toString(screen)); in atWorkspace() 85 return l; in atWorkspace()
|