Home
last modified time | relevance | path

Searched refs:seen (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java135 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_ascending() local
145 seen.set(Integer.parseInt( in testSort_names_ascending()
150 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_ascending()
159 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_descending() local
169 seen.set(Integer.parseInt( in testSort_names_descending()
174 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_descending()
188 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_ascending() local
192 seen.set(Integer.parseInt( in testSort_sizes_ascending()
200 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_sizes_ascending()
211 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_descending() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetail.java96 mScanResult.seen = mSeen; in ScanDetail()
116 int frequency, long tsf, long seen) { in ScanDetail() argument
118 mSeen = seen; in ScanDetail()
119 mScanResult.seen = seen; in ScanDetail()
134 mSeen = (mScanResult.seen == 0) ? System.currentTimeMillis() : mScanResult.seen; in ScanDetail()
220 mScanResult.seen = mSeen; in setSeen()
DScanDetailCache.java168 if (a.seen > b.seen) { in sort()
171 if (a.seen < b.seen) { in sort()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DStochasticRoundingUtilTest.java81 Set<Double> seen = new HashSet<>(); in testRoundStochasticallyIsNonDeterministic() local
82 while (seen.size() < 2) { in testRoundStochasticallyIsNonDeterministic()
85 seen.add(result); in testRoundStochasticallyIsNonDeterministic()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelUtils.java76 IntSet seen = new IntSet(); in getMissingHotseatRanks() local
79 .forEach(i -> seen.add(i.screenId)); in getMissingHotseatRanks()
81 IntStream.range(0, len).filter(i -> !seen.contains(i)).forEach(result::add); in getMissingHotseatRanks()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt247 private fun setModuleUpdateNeededSeen(context: Context, seen: Boolean) { in setModuleUpdateNeededSeen()
251 editor.putBoolean(Constants.MODULE_UPDATE_NEEDED_SEEN, seen) in setModuleUpdateNeededSeen()
255 private fun setAppUpgradeNeededSeen(context: Context, seen: Boolean) { in setAppUpgradeNeededSeen()
259 editor.putBoolean(Constants.APP_UPDATE_NEEDED_SEEN, seen) in setAppUpgradeNeededSeen()
263 private fun setIntegrationPausedSeen(context: Context, seen: Boolean) { in setIntegrationPausedSeen()
267 editor.putBoolean(Constants.INTEGRATION_PAUSED_SEEN_KEY, seen) in setIntegrationPausedSeen()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp170 std::set<std::shared_ptr<RandomOperand>> seen; in generateValue() local
171 auto fillOperands = [&seen, this](const std::vector<std::shared_ptr<RandomOperand>>& ops) { in generateValue()
173 if (seen.find(op) == seen.end()) { in generateValue()
174 seen.insert(op); in generateValue()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto220 // clockwise roundabout (as seen from above, typical for left-hand drive
224 // exit") on a clockwise roundabout (as seen from above, typical for
229 // exit") on a clockwise roundabout (as seen from above, typical for
234 // exit") on a clockwise roundabout (as seen from above, typical for
239 // clockwise roundabout (as seen from above, typical for left-hand drive
243 // exit") on a clockwise roundabout (as seen from above, typical for
248 // exit") on a clockwise roundabout (as seen from above, typical for
253 // exit") on a clockwise roundabout (as seen from above, typical for
258 // clockwise roundabout (as seen from above, typical for left-hand drive
263 // counter-clockwise roundabout (as seen from above, typical for right-hand
[all …]
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/utils/
DOemCarServiceHelper.java354 ArraySet<AudioAttributes> currentlyVisited, ArraySet<AudioAttributes> seen, in containLoops() argument
360 if (seen.contains(currentAttribute)) { in containLoops()
365 seen.add(currentAttribute); in containLoops()
367 if (containLoops(nextAttributes.get(i), currentlyVisited, seen, mapping)) { in containLoops()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java437 long timestampMillis, boolean seen, boolean read) {
440 return importSms(address, type, text, timestampMillis, seen, read, callingPkg);
445 String messageId, long timestampSecs, boolean seen, boolean read) {
448 return importMms(contentUri, messageId, timestampSecs, seen, read, callingPkg);
769 boolean seen, boolean read, String creator) { in importSms() argument
787 values.put(Telephony.Sms.SEEN, seen ? 1 : 0); in importSms()
808 boolean seen, boolean read, String creator) { in importMms() argument
855 values.put(Telephony.Mms.READ, seen ? 1 : 0); in importMms()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java280 final boolean seen, final boolean read) { in createReceivedSmsMessage() argument
292 message.mSeen = seen; in createReceivedSmsMessage()
316 final boolean seen, final boolean read, final long sent, in createSmsMessage() argument
324 message.mSeen = seen; in createSmsMessage()
339 final int smsPriority, final String subject, final boolean seen, final boolean read, in createMmsMessage() argument
350 message.mSeen = seen; in createMmsMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMapClientContent.java216 void storeMessage(Bmessage message, String handle, Long timestamp, boolean seen) { in storeMessage() argument
232 storeMms(message, handle, timestamp, seen); in storeMessage()
236 storeSms(message, handle, timestamp, seen); in storeMessage()
243 private void storeSms(Bmessage message, String handle, Long timestamp, boolean seen) { in storeSms() argument
272 values.put(Sms.SEEN, seen); in storeSms()
340 private void storeMms(Bmessage message, String handle, Long timestamp, boolean seen) { in storeMms() argument
365 values.put(Mms.SEEN, seen); in storeMms()
DMceStateMachine.java177 MessageMetadata(String handle, Long timestamp, boolean read, boolean seen) { in MessageMetadata() argument
181 mSeen = seen; in MessageMetadata()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java106 final boolean seen = read || messageInObservableConversation || blocked; in executeAction()
144 participantId, selfId, text, subject, sent, received, seen, read); in executeAction()
/packages/modules/Wifi/framework/java/android/net/wifi/
DScanResult.java651 public long seen; field in ScanResult
1789 seen = source.seen; in ScanResult()
1888 dest.writeLong(seen); in writeToParcel()
1977 sr.seen = in.readLong();
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexUtils.java385 final Set<Integer> seen = new HashSet<>(); in getNeighboringCoexUnsafeChannels() local
389 if (!seen.add(channel)) { in getNeighboringCoexUnsafeChannels()
401 if (overlapped5g20MhzChannels.contains(36) && !seen.contains(34)) { in getNeighboringCoexUnsafeChannels()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarEduTooltipController.kt103 private set(seen) { in <lambda>()
104 LauncherPrefs.get(activityContext).put(TASKBAR_SEARCH_EDU_SEEN, seen) in <lambda>()
/packages/modules/Connectivity/tests/common/
DAndroid.bp30 // - The target SDK of the CTS tests validates the behaviour seen by apps that call production APIs.
31 // - The behaviour seen by apps that target previous SDKs is tested by previous CTS versions
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java695 long tsf, long seen) { in createScanDetailForNetwork() argument
698 return new ScanDetail(ssid, bssid, caps, level, frequency, tsf, seen); in createScanDetailForNetwork()
707 long tsf, long seen) { in createScanDetailForWpa2Wpa3TransitionModeNetwork() argument
710 return new ScanDetail(ssid, bssid, caps, level, frequency, tsf, seen); in createScanDetailForWpa2Wpa3TransitionModeNetwork()
DScanTestUtil.java366 assertEquals(prefix + "seen", expected.seen, actual.seen); in assertScanResultEquals()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogTags.logtags19 # @param latency start-up latency as seen by QSB
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dreport_definition.proto729 // Always report the last SystemProfile seen in the aggregation window. This
730 // will be the last SystemProfile seen *at the time of an event* in the
734 // Always report the first SystemProfile seen in the aggregation window. This
735 // will be the first SystemProfile seen *at the time of an event* in the
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs433 pub(crate) fn seen(&mut self) { in seen() method
1243 d.seen(); in handle_delayed_actions()
1710 d.seen(); in device_found()
1945 device.seen(); in remote_device_properties_changed()
/packages/modules/Virtualization/microdroid/
DREADME.md159 by `add_hashtree_footer` in `avbtool`. The value could be seen with following
/packages/modules/SdkExtensions/
DREADME.md28 apex. The structure of this protobuf can be seen [here][sdkinfo-proto]. The

12