Home
last modified time | relevance | path

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

12345678910>>...19

/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc74 static list_node_t* list_free_node_(list_t* l, list_node_t* node) { in list_free_node_() argument
75 log::assert_that(l != nullptr, "assert failed: l != nullptr"); in list_free_node_()
80 if (l->free_cb_) l->free_cb_(node->data_); in list_free_node_()
82 --l->length_; in list_free_node_()
127 test::mock::osi_list::list_free.body = [](list_t* l) { in FakeOsi() argument
128 log::assert_that(l != nullptr, "assert failed: l != nullptr"); in FakeOsi()
129 test::mock::osi_list::list_clear(l); in FakeOsi()
130 delete l; in FakeOsi()
132 test::mock::osi_list::list_is_empty.body = [](const list_t* l) { in FakeOsi() argument
133 return test::mock::osi_list::list_length(l) == 0; in FakeOsi()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkAddressTest.java340 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/
DBaseDvrDataManager.java121 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/
Dedge.c59 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/
DTransportSipMessageValidatorTest.java202 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/
Dcpu_perf.py90 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 …]
Dperfetto_cpu_analysis.py61 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/adb/
Dadb_listeners.cpp132 for (auto& l : listener_list) { in format_listeners() local
133 if (l->isSmartSocket()) { in format_listeners()
140 !l->transport->serial.empty() ? l->transport->serial.c_str() : "(reverse)", in format_listeners()
141 l->local_name.c_str(), l->connect_to.c_str()); in format_listeners()
174 for (auto& l : listener_list) { in enable_server_sockets() local
175 if (l->isSmartSocket()) { in enable_server_sockets()
176 fdevent_set(l->fde, FDE_READ); in enable_server_sockets()
194 for (auto& l : listener_list) { in install_listener() local
195 if (local_name == l->local_name) { in install_listener()
197 if (l->isSmartSocket()) { in install_listener()
[all …]
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/
DQuantiseDifference.c29 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 …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaBinaryFormat.cpp72 int8_t c, h, l; in BinaryToBase16() local
77 l = c & 0x0F; in BinaryToBase16()
83 if (l < 10) in BinaryToBase16()
84 l += '0'; in BinaryToBase16()
86 l += 'A' - 10; in BinaryToBase16()
89 pszDst[n++] = l; in BinaryToBase16()
109 char h, l; in Base16ToBinary() local
112 l = pszSrc[src_pos + 1]; in Base16ToBinary()
121 if (l >= '0' && l <= '9') in Base16ToBinary()
122 l = l - '0'; in Base16ToBinary()
[all …]
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/
DQuantiseDifference.c32 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 …]
DAptxParameters.h63 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/processing/imagebackend/
DImageProcessorProxyListener.java127 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/apps/Camera2/src/com/android/camera/
DMediaSaverImpl.java70 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/Gallery2/src/com/android/gallery3d/ingest/adapter/
DCheckBroker.java46 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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java128 for (WifiLinkLayerStats.LinkSpecificStats l : s.links) { in bumpCounters()
129 l.rxmpdu_be += rxg & m0; in bumpCounters()
130 l.txmpdu_be += txg & m0; in bumpCounters()
131 l.lostmpdu_be += txb & m0; in bumpCounters()
132 l.retries_be += txr & m0; in bumpCounters()
134 l.rxmpdu_bk += rxg & m1; in bumpCounters()
135 l.txmpdu_bk += txg & m1; in bumpCounters()
136 l.lostmpdu_bk += txb & m1; in bumpCounters()
137 l.retries_bk += txr & m1; in bumpCounters()
139 l.rxmpdu_vi += rxg & m2; in bumpCounters()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
DTaplThemeIconsTest.java68 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getAppsView(), false)); in testIconWithoutTheme()
70 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getWorkspace(), false)); in testIconWithoutTheme()
89 executeOnLauncher(l -> verifyIconTheme(SHORTCUT_NAME, l.getWorkspace(), false)); in testShortcutIconWithoutTheme()
105 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getAppsView(), false)); in testIconWithTheme()
107 executeOnLauncher(l -> verifyIconTheme(APP_NAME, l.getWorkspace(), true)); in testIconWithTheme()
126 executeOnLauncher(l -> verifyIconTheme(SHORTCUT_NAME, l.getWorkspace(), true)); in testShortcutIconWithTheme()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplWorkProfileTest.java160 WorkProfileManager manager = getFromLauncher(l -> l.getAppsView().getWorkManager()); in toggleWorks()
170 executeOnLauncher(l -> { in toggleWorks()
172 l.getAppsView().getAppsStore().disableDeferUpdates(DEFER_UPDATES_TEST); in toggleWorks()
173 l.getAppsView().getWorkManager().getWorkModeSwitch().performClick(); in toggleWorks()
184 executeOnLauncher(l -> { in toggleWorks()
185 ActivityAllAppsContainerView<?> allApps = l.getAppsView(); in toggleWorks()
203 executeOnLauncher(l -> { in testEdu()
204 LauncherPrefs.get(l).putSync(WORK_EDU_STEP.to(0)); in testEdu()
205 ((AllAppsPagedView) l.getAppsView().getContentView()).setCurrentPage(WORK_PAGE); in testEdu()
206 l.getAppsView().getWorkManager().reset(); in testEdu()
[all …]
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java139 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/
DTestCallList.java139 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/Car/service/src/com/android/car/telemetry/publisher/net/
DRefinedStats.java86 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/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java128 return getLauncherUIProperty(Bundle::putInt, l -> { in call()
129 final float progress = LauncherState.NORMAL.getVerticalProgress(l) in call()
130 - LauncherState.ALL_APPS.getVerticalProgress(l); in call()
131 final float distance = l.getAllAppsController().getShiftRange() * progress; in call()
141 final Bundle bundle = getLauncherUIProperty(Bundle::putBoolean, l -> l.isStarted()); in call()
150 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call()
151 l.getAppsView().getAppsStore().enableDeferUpdates(DEFER_UPDATES_TEST); in call()
155 return getLauncherUIProperty(Bundle::putBoolean, l -> { in call()
156 l.getAppsView().getAppsStore().disableDeferUpdates(DEFER_UPDATES_TEST); in call()
162 l -> l.getAppsView().getActiveRecyclerView().computeVerticalScrollOffset()); in call()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java101 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/apps/Launcher3/src/com/android/launcher3/views/
DAccessibilityActionsView.java66 Launcher l = Launcher.getLauncher(getContext()); in createAccessibilityNodeInfo() local
68 R.string.all_apps_button_label, l.getText(R.string.all_apps_button_label))); in createAccessibilityNodeInfo()
69 for (OptionItem item : OptionsPopupView.getOptions(l)) { in createAccessibilityNodeInfo()
80 Launcher l = Launcher.getLauncher(getContext()); in performAccessibilityAction() local
82 l.getStatsLogManager().keyboardStateManager().setLaunchedFromA11y(true); in performAccessibilityAction()
83 l.getStateManager().goToState(ALL_APPS); in performAccessibilityAction()
86 for (OptionItem item : OptionsPopupView.getOptions(l)) { in performAccessibilityAction()
89 l.getStatsLogManager().logger().log(item.eventId); in performAccessibilityAction()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java70 public static boolean isTheSameDevice(UsbDevice l, UsbDevice r) { in isTheSameDevice() argument
71 return 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()
76 public static boolean isDevicesMatching(UsbDevice l, UsbDevice r) { in isDevicesMatching() argument
77 return l.getVendorId() == r.getVendorId() && l.getProductId() == r.getProductId() in isDevicesMatching()
78 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber()); in isDevicesMatching()

12345678910>>...19