Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 2176) sorted by relevance

12345678910>>...88

/aosp12/system/core/fs_mgr/tests/
H A Dfs_mgr_test.cpp524 entry++; in TEST()
549 entry++; in TEST()
606 entry++; in TEST()
612 entry++; in TEST()
618 entry++; in TEST()
645 entry++; in TEST()
671 entry++; in TEST()
701 entry++; in TEST()
706 entry++; in TEST()
711 entry++; in TEST()
[all …]
/aosp12/system/extras/memory_replay/tests/
H A DAllocTest.cpp27 AllocEntry entry; in TEST() local
38 AllocEntry entry; in TEST() local
47 AllocEntry entry; in TEST() local
58 AllocEntry entry; in TEST() local
64 AllocEntry entry; in TEST() local
75 AllocEntry entry; in TEST() local
87 AllocEntry entry; in TEST() local
98 AllocEntry entry; in TEST() local
110 AllocEntry entry; in TEST() local
121 AllocEntry entry; in TEST() local
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
H A DIconManager.kt80 entry -> updateIconsSafe(entry)
126 entry.icons = IconPack.buildEmptyPack(entry.icons)
157 entry.icons.aodIcon?.let {
170 updateIcons(entry)
179 entry: NotificationEntry
192 entry: NotificationEntry,
217 entry.sbn.user,
238 entry: NotificationEntry,
297 entry: NotificationEntry,
302 iconView === entry.icons.shelfIcon || iconView === entry.icons.aodIcon
[all …]
/aosp12/system/extras/memory_replay/
H A DAlloc.cpp50 entry->type = MALLOC; in AllocGetData()
54 entry->type = FREE; in AllocGetData()
61 entry->type = CALLOC; in AllocGetData()
68 entry->type = REALLOC; in AllocGetData()
72 if (sscanf(line_end, "%" SCNd64 " %zu", &entry->u.align, &entry->size) != 2) { in AllocGetData()
84 switch (entry.type) { in AllocDoesFree()
114 void* memory = calloc(entry.u.n_elements, entry.size); in CallocExecute()
115 MakeAllocationResident(memory, entry.u.n_elements * entry.size, pagesize); in CallocExecute()
143 void* memory = memalign(entry.u.align, entry.size); in MemalignExecute()
153 if (entry.ptr == 0) { in FreeExecute()
[all …]
/aosp12/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
H A DHWLUtils.cpp35 camera_metadata_ro_entry_t entry; in GetSensorCharacteristics() local
37 if ((ret != OK) || (entry.count != 2)) { in GetSensorCharacteristics()
41 sensor_chars->width = entry.data.i32[0]; in GetSensorCharacteristics()
42 sensor_chars->height = entry.data.i32[1]; in GetSensorCharacteristics()
47 &entry); in GetSensorCharacteristics()
48 if ((ret == OK) && (entry.count == 2)) { in GetSensorCharacteristics()
55 if ((ret != OK) || (entry.count != 3)) { in GetSensorCharacteristics()
77 if ((ret != OK) || (entry.count != 1)) { in GetSensorCharacteristics()
115 entry.data.u8[0]); in GetSensorCharacteristics()
186 if ((ret == OK) && (entry.count == 1)) { in GetSensorCharacteristics()
[all …]
H A DStreamConfigurationMap.cpp122 &entry); in StreamConfigurationMap()
128 entry.count = 0; in StreamConfigurationMap()
134 &entry); in StreamConfigurationMap()
142 &entry); in StreamConfigurationMap()
148 entry.count = 0; in StreamConfigurationMap()
154 &entry); in StreamConfigurationMap()
161 &entry); in StreamConfigurationMap()
167 entry.count = 0; in StreamConfigurationMap()
179 &entry); in StreamConfigurationMap()
182 while (i < entry.count) { in StreamConfigurationMap()
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanFilterQueue.java70 entry.irk = irk; in addDeviceAddress()
71 mEntries.add(entry); in addDeviceAddress()
83 entry.uuid = uuid; in addUuid()
91 entry.uuid = uuid; in addUuid()
99 entry.uuid = uuid; in addSolicitUuid()
107 entry.uuid = uuid; in addSolicitUuid()
115 entry.name = name; in addName()
124 entry.data = data; in addManufacturerData()
135 entry.data = data; in addManufacturerData()
143 entry.data = data; in addServiceData()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollection.java248 if (entry != mNotificationSet.get(entry.getKey())) { in dismissNotifications()
396 if (entry == null) { in onNotificationRemoved()
424 if (entry == null) { in postNotification()
447 entry.setSbn(sbn); in postNotification()
462 if (mNotificationSet.get(entry.getKey()) != entry) { in tryRemoveNotification()
468 if (!isCanceled(entry)) { in tryRemoveNotification()
484 mEventQueue.add(new EntryRemovedEvent(entry, entry.mCancellationReason)); in tryRemoveNotification()
553 entry.getKey(), in onEndLifetimeExtension()
581 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
827 if (entry == null) { in updateNotificationInternally()
[all …]
/aosp12/bionic/libc/malloc_debug/
H A DMapData.cpp74 entry->init = true; in parse_line()
77 return entry; in parse_line()
82 if (!(entry->flags & PROT_READ) || addr < entry->start || addr + sizeof(T) > entry->end) { in get_val()
104 entry->load_bias = 0; in read_loadbias()
137 if (entry->init) { in init()
140 entry->init = true; in init()
165 delete entry; in ReadMaps()
174 delete entry; in ~MapData()
195 init(entry); in find()
213 *rel_pc = pc - entry->start + entry->load_bias; in find()
[all …]
/aosp12/hardware/google/camera/devices/EmulatedCamera/hwl/
H A DEmulatedRequestState.cpp1277 available_scenes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlSceneDefaults()
1342 available_af_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlAFDefaults()
1405 available_awb_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlAWBDefaults()
1481 available_ae_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlAEDefaults()
1623 available_control_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlDefaults()
1711 available_effects_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeControlDefaults()
2154 available_edge_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeEdgeDefaults()
2635 available_ois_modes_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeLensDefaults()
2776 available_capabilities_.insert(entry.data.u8, entry.data.u8 + entry.count); in InitializeRequestDefaults()
2812 available_results_.insert(entry.data.i32, entry.data.i32 + entry.count); in InitializeRequestDefaults()
[all …]
/aosp12/frameworks/av/services/camera/libcameraservice/tests/
H A DZoomRatioTest.cpp98 ASSERT_EQ(entry.count, 2U); in TEST()
103 ASSERT_GT(entry.count, 0U); in TEST()
104 ASSERT_NE(std::find(entry.data.i32, entry.data.i32 + entry.count, in TEST()
105 ANDROID_CONTROL_ZOOM_RATIO_RANGE), entry.data.i32 + entry.count); in TEST()
108 ASSERT_GT(entry.count, 0U); in TEST()
109 ASSERT_NE(std::find(entry.data.i32, entry.data.i32 + entry.count, in TEST()
110 ANDROID_CONTROL_ZOOM_RATIO), entry.data.i32 + entry.count); in TEST()
114 ASSERT_NE(std::find(entry.data.i32, entry.data.i32 + entry.count, in TEST()
115 ANDROID_CONTROL_ZOOM_RATIO), entry.data.i32 + entry.count); in TEST()
296 ASSERT_TRUE(entry.count == 0 || (entry.count == 1 && entry.data.f[0] == 1.0f)); in subCropOverMaxDigitalZoomTest()
[all …]
/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DZoomRatioMapper.cpp47 if (entry.count == 0) { in initZoomRatioInTemplate()
61 if (entry.count != 2 && entry.count != 0) return BAD_VALUE; in overrideZoomRatioTags()
64 if (entry.count == 2) { in overrideZoomRatioTags()
73 if (entry.count != 1) { in overrideZoomRatioTags()
89 if (entry.count > 0) { in overrideZoomRatioTags()
90 requestKeys.insert(requestKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
103 if (entry.count > 0) { in overrideZoomRatioTags()
104 resultKeys.insert(resultKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
117 if (entry.count > 0) { in overrideZoomRatioTags()
118 charKeys.insert(charKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DPreparationCoordinator.java161 mInflationStates.remove(entry);
237 ListEntry entry = entries.get(i); in inflateAllRequiredViews() local
292 abortInflation(entry, reason);
293 mInflatingNotifs.add(entry);
298 mInflatingNotifs.add(entry);
304 entry.abortTask();
305 mInflatingNotifs.remove(entry);
310 mInflatingNotifs.remove(entry);
311 mViewBarn.registerViewForEntry(entry, entry.getRowController());
317 mViewBarn.removeViewForEntry(entry);
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DLooperStats.java102 if (entry != null) { in messageDispatched()
103 synchronized (entry) { in messageDispatched()
110 entry.maxLatencyMicro = Math.max(entry.maxLatencyMicro, latency); in messageDispatched()
112 entry.maxCpuUsageMicro = Math.max(entry.maxCpuUsageMicro, cpuUsage); in messageDispatched()
116 entry.maxDelayMillis = Math.max(entry.maxDelayMillis, delay); in messageDispatched()
134 if (entry != null) { in dispatchingThrewException()
135 synchronized (entry) { in dispatchingThrewException()
185 entry.messageCount = 1; in createDebugEntry()
248 Entry entry; in findEntry() local
251 if (entry == null) { in findEntry()
[all …]
/aosp12/bionic/libc/bionic/
H A Dpthread_atfork.cpp65 entry->next = nullptr; in push_back()
66 entry->prev = last_; in push_back()
68 entry->prev->next = entry; in push_back()
71 first_ = entry; in push_back()
73 last_ = entry; in push_back()
83 remove(entry); in remove_if()
93 entry->prev->next = entry->next; in remove()
99 entry->next->prev = entry->prev; in remove()
104 free(entry); in remove()
158 if (entry == nullptr) { in __register_atfork()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlidingWindow.java213 if (entry.coverLoader != null) entry.coverLoader.startLoad(); in requestImagesInSlot()
214 if (entry.labelLoader != null) entry.labelLoader.startLoad(); in requestImagesInSlot()
220 if (entry.coverLoader != null) entry.coverLoader.cancelLoad(); in cancelImagesInSlot()
221 if (entry.labelLoader != null) entry.labelLoader.cancelLoad(); in cancelImagesInSlot()
232 if (entry.coverLoader != null) entry.coverLoader.recycle(); in freeSlotContent()
233 if (entry.labelLoader != null) entry.labelLoader.recycle(); in freeSlotContent()
234 if (entry.labelTexture != null) entry.labelTexture.recycle(); in freeSlotContent()
235 if (entry.bitmapTexture != null) entry.bitmapTexture.recycle(); in freeSlotContent()
251 entry.album = album; in updateAlbumSetEntry()
260 entry.title = title; in updateAlbumSetEntry()
[all …]
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputState.cpp106 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
163 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
177 entry.deviceId, entry.source, entry.displayId); in trackMotion()
200 if (memento.deviceId == entry.deviceId && memento.source == entry.source && in findKeyMemento()
201 memento.displayId == entry.displayId && memento.keyCode == entry.keyCode && in findKeyMemento()
212 if (memento.deviceId == entry.deviceId && memento.source == entry.source && in findMotionMemento()
222 memento.deviceId = entry.deviceId; in addKeyMemento()
223 memento.source = entry.source; in addKeyMemento()
225 memento.keyCode = entry.keyCode; in addKeyMemento()
237 memento.source = entry.source; in addMotionMemento()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssGeofenceProxy.java74 entry.latitude = latitude; in addCircularHardwareGeofence()
76 entry.radius = radius; in addCircularHardwareGeofence()
104 if (entry != null) { in pauseHardwareGeofence()
105 entry.paused = true; in pauseHardwareGeofence()
118 if (entry != null) { in resumeHardwareGeofence()
119 entry.paused = false; in resumeHardwareGeofence()
132 boolean added = mGnssNative.addGeofence(entry.geofenceId, entry.latitude, in onHalRestarted()
133 entry.longitude, in onHalRestarted()
134 entry.radius, in onHalRestarted()
135 entry.lastTransition, entry.monitorTransitions, in onHalRestarted()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatteryDiffEntryTest.java85 final BatteryDiffEntry entry = in testSetTotalConsumePower_returnExpectedResult() local
99 final BatteryDiffEntry entry = in testSetTotalConsumePower_setZeroValue_returnsZeroValue() local
106 entry.setTotalConsumePower(0); in testSetTotalConsumePower_setZeroValue_returnsZeroValue()
231 entry.mIsLoaded = true; in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()
245 entry.mIsLoaded = true; in testGetAppIcon_nonUidConsumer_returnAppIconInBatteryDiffEntry()
246 entry.mAppIcon = mockDrawable; in testGetAppIcon_nonUidConsumer_returnAppIconInBatteryDiffEntry()
261 entry.mAppIcon = null; in testGetAppIcon_uidConsumerForNonOwner_returnDefaultActivityIconWithBadge()
271 entry.mAppIcon = null; in testGetAppIcon_uidConsumerWithNullIcon_returnDefaultActivityIcon()
317 final BatteryDiffEntry entry = in testIsSystemEntry_userBattery_returnTrue() local
326 final BatteryDiffEntry entry = in testIsSystemEntry_systemBattery_returnTrue() local
[all …]
/aosp12/hardware/interfaces/gnss/1.0/default/
H A DGnssMeasurement.cpp62 .flags = entry.flags, in gnssMeasurementCb()
63 .svid = entry.svid, in gnssMeasurementCb()
65 .timeOffsetNs = entry.time_offset_ns, in gnssMeasurementCb()
69 .cN0DbHz = entry.c_n0_dbhz, in gnssMeasurementCb()
76 .carrierCycles = entry.carrier_cycles, in gnssMeasurementCb()
77 .carrierPhase = entry.carrier_phase, in gnssMeasurementCb()
80 entry.multipath_indicator), in gnssMeasurementCb()
81 .snrDb = entry.snr_db in gnssMeasurementCb()
128 auto entry = gpsData->measurements[i]; in gpsMeasurementCb() local
131 if (entry.prn >= 1 && entry.prn <= 32) { in gpsMeasurementCb()
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/arc/
H A Dexif_utils.cpp93 if (!entry) { in SetMaker()
105 if (!entry) { in SetModel()
126 if (!entry) { in SetDateTime()
137 if (!entry) { in SetFocalLength()
164 if (!entry) { in SetGpsLatitude()
192 if (!entry) { in SetGpsLongitude()
220 if (!entry) { in SetGpsAltitude()
237 if (!entry) { in SetGpsTimestamp()
252 if (!entry) { in SetGpsTimestamp()
272 if (!entry) { in SetGpsProcessingMethod()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/stats/
H A DCarStatsService.java56 entry.getUid(), entry.getPackageName(),
68 entry -> String.format(
70 entry.getUid(),
71 entry.getLayerType(), entry.getLayerChannel(), entry.getLayerVersion(),
72 entry.getTxBytes(), entry.getTxPackets(),
73 entry.getRxBytes(), entry.getRxPackets(),
74 entry.getDroppedBytes(), entry.getDroppedPackets());
142 .filter(entry -> entry.getUid() > 0) in dumpVmsStats()
161 dumpVmsClientStats((entry) -> { in pullVmsClientStats()
164 entry.getUid(), in pullVmsClientStats()
[all …]
/aosp12/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp108 if (entry.count == 0 || entry.type != TYPE_BYTE) { in filterUnsupportedFeatures()
110 __FUNCTION__, entry.count, entry.type); in filterUnsupportedFeatures()
167 if (entry.count == 0) { in filterDurations()
172 if (entry.count % 4 || entry.type != TYPE_INT64) { in filterDurations()
174 __FUNCTION__, tag, entry.count, entry.type); in filterDurations()
259 if (entry.count > 0 && (entry.count % 4 || entry.type != TYPE_INT32)) { in filterStreamConfigurations()
261 __FUNCTION__, entry.count, entry.type); in filterStreamConfigurations()
292 if (entry.count > 0 && (entry.count % 4 || entry.type != TYPE_INT32)) { in filterStreamConfigurations()
294 __FUNCTION__, entry.count, entry.type); in filterStreamConfigurations()
395 if (entry == nullptr) { in getConstEntry()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DNotificationInterruptStateProviderImplTest.java176 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake() local
200 NotificationEntry entry = new NotificationEntryBuilder() in testShouldNotHeadsUp_suppressedForGroups() local
259 modifyRanking(entry) in testShouldNotHeadsUpWhenDozing_suppressingAmbient()
272 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldNotHeadsUpWhenDozing_lessImportant() local
320 modifyRanking(entry) in testShouldNotHeadsUp_suppressPeek()
397 entry.notifyFullScreenIntentLaunched(); in testShouldNotHeadsUp_justLaunchedFullscreen()
418 NotificationEntry entry = createBubble(); in shouldNotBubbleUp_notAllowedToBubble() local
419 modifyRanking(entry) in shouldNotBubbleUp_notAllowedToBubble()
434 modifyRanking(entry) in shouldNotBubbleUp_notABubble()
449 modifyRanking(entry) in shouldNotBubbleUp_invalidMetadata()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
H A DIconManagerTest.kt94 entry?.let {
104 entry?.let {
114 entry?.let {
124 entry?.let {
133 entry?.let {
144 entry?.let {
157 entry?.let {
162 entry?.let {
204 val entry = builder.build() regex
205 entry.row = row
[all …]

12345678910>>...88