/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | RedactingFileDescriptor.java | 75 public static long[] checkRangesArgument(long[] ranges) { in checkRangesArgument() argument 76 if (ranges.length % 2 != 0) { in checkRangesArgument() 79 for (int i = 0; i < ranges.length - 1; i += 2) { in checkRangesArgument() 80 if (ranges[i] > ranges[i + 1]) { in checkRangesArgument() 84 return ranges; in checkRangesArgument() 113 public static long[] removeRange(long[] ranges, long start, long end) { in removeRange() argument 115 return ranges; in removeRange() 121 for (int i = 0; i < ranges.length; i += 2) { in removeRange() 122 if (start <= ranges[i] && end >= ranges[i + 1]) { in removeRange() 124 } else if (start >= ranges[i] && end <= ranges[i + 1]) { in removeRange() [all …]
|
/packages/providers/MediaProvider/jni/ |
D | RedactionInfo.cpp | 30 static void mergeOverlappingRedactionRanges(vector<RedactionRange>& ranges) { in mergeOverlappingRedactionRanges() argument 31 int newRangesSize = ranges.size(); in mergeOverlappingRedactionRanges() 32 for (int i = 0; i < ranges.size() - 1; ++i) { in mergeOverlappingRedactionRanges() 33 if (ranges[i].second >= ranges[i + 1].first) { in mergeOverlappingRedactionRanges() 34 ranges[i + 1].first = ranges[i].first; in mergeOverlappingRedactionRanges() 35 ranges[i + 1].second = std::max(ranges[i].second, ranges[i + 1].second); in mergeOverlappingRedactionRanges() 37 ranges[i].first = LONG_MAX; in mergeOverlappingRedactionRanges() 38 ranges[i].second = LONG_MAX; in mergeOverlappingRedactionRanges() 42 if (newRangesSize < ranges.size()) { in mergeOverlappingRedactionRanges() 44 std::sort(ranges.begin(), ranges.end()); in mergeOverlappingRedactionRanges() [all …]
|
D | RedactionInfoTest.cpp | 55 off64_t ranges[2] = { in TEST() local 59 RedactionInfo info(1, ranges); in TEST() 64 EXPECT_EQ(*(createRedactionRangeVector(1, ranges)), *overlapping_rr); in TEST() 67 EXPECT_EQ(*(createRedactionRangeVector(1, ranges)), *overlapping_rr); in TEST() 70 EXPECT_EQ(*(createRedactionRangeVector(1, ranges)), *overlapping_rr); in TEST() 73 EXPECT_EQ(*(createRedactionRangeVector(1, ranges)), *overlapping_rr); in TEST() 76 EXPECT_EQ(*(createRedactionRangeVector(1, ranges)), *overlapping_rr); in TEST() 90 off64_t ranges[6] = { in TEST() local 94 RedactionInfo info = RedactionInfo(3, ranges); in TEST() 124 off64_t ranges[6] = { in TEST() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | IsoInterfaceTest.java | 56 final long[] ranges = mp4.getBoxRanges(0x746b6864); // tkhd in testRepeated() local 57 assertEquals(4, ranges.length); in testRepeated() 58 assertEquals(105534 + 8, ranges[0]); in testRepeated() 59 assertEquals(105534 + 92, ranges[1]); in testRepeated() 60 assertEquals(118275 + 8, ranges[2]); in testRepeated() 61 assertEquals(118275 + 92, ranges[3]); in testRepeated() 69 final long[] ranges = mp4.getBoxRanges(0xa978797a); // ?xyz in testGps() local 70 assertEquals(2, ranges.length); in testGps() 71 assertEquals(3369 + 8, ranges[0]); in testGps() 72 assertEquals(3369 + 30, ranges[1]); in testGps()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 249 String[] ranges = in getCellBroadcastChannelRanges() local 252 for (String range : ranges) { in getCellBroadcastChannelRanges() 289 ArrayList<CellBroadcastChannelRange> ranges = getCellBroadcastChannelRanges(key); in checkCellBroadcastChannelRange() local 291 for (CellBroadcastChannelRange range : ranges) { in checkCellBroadcastChannelRange() 353 ArrayList<CellBroadcastChannelRange> ranges = null; in getCellBroadcastChannelRangeFromMessage() local 357 ranges = getCellBroadcastChannelRanges(key); in getCellBroadcastChannelRangeFromMessage() 361 if (ranges != null) { in getCellBroadcastChannelRangeFromMessage() 362 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelRangeFromMessage() 391 ArrayList<CellBroadcastChannelRange> ranges = in isEmergencyMessage() local 393 for (CellBroadcastChannelRange range : ranges) { in isEmergencyMessage()
|
D | CellBroadcastConfigService.java | 263 ArrayList<CellBroadcastChannelRange> ranges = in enableCellBroadcastChannels() local 267 for (CellBroadcastChannelRange range: ranges) { in enableCellBroadcastChannels() 289 List<CellBroadcastChannelRange> ranges) { in setCellBroadcastRange() argument 297 if (ranges != null) { in setCellBroadcastRange() 298 for (CellBroadcastChannelRange range: ranges) { in setCellBroadcastRange()
|
D | CellBroadcastResources.java | 364 ArrayList<CellBroadcastChannelRange> ranges = in getDialogTitleResource() local 367 if (ranges != null) { in getDialogTitleResource() 368 for (CellBroadcastChannelRange range : ranges) { in getDialogTitleResource() 419 ArrayList<CellBroadcastChannelRange> ranges = in getDialogPictogramResource() local 422 for (CellBroadcastChannelRange range : ranges) { in getDialogPictogramResource()
|
D | CellBroadcastAlertService.java | 411 ArrayList<CellBroadcastChannelRange> ranges = channelManager.getCellBroadcastChannelRanges( in isChannelEnabled() local 414 for (CellBroadcastChannelRange range : ranges) { in isChannelEnabled() 547 ArrayList<CellBroadcastChannelRange> ranges = channelManager in openEmergencyAlertNotification() local 549 for (CellBroadcastChannelRange range : ranges) { in openEmergencyAlertNotification()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | DvrScheduleManagerTest.java | 430 List<Range<Long>> ranges = new ArrayList<>(); in testGetConflictingSchedules_period3() local 431 ranges.add(new Range<>(10L, 20L)); in testGetConflictingSchedules_period3() 432 ranges.add(new Range<>(110L, 120L)); in testGetConflictingSchedules_period3() 433 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1, ranges)) in testGetConflictingSchedules_period3()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 800 List<Range<Long>> ranges = new ArrayList<>(); in getConflictingSchedules() local 802 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules() 804 return getConflictingSchedules(schedulesToCheck, tunerCount, ranges); in getConflictingSchedules()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastConfigServiceTest.java | 144 List<CellBroadcastChannelRange> ranges) in setCellBroadcastRange() argument 156 method.invoke(mConfigService, subId, enable, ranges); in setCellBroadcastRange()
|
/packages/apps/TV/libs/m2/ |
D | auto-value-1.5.3.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | guava-28.0-android.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
D | guava-28.0-jre.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 6409 final long[] ranges = iso.getBoxRanges(box); 6410 for (int i = 0; i < ranges.length; i += 2) { 6411 long boxTypeOffset = ranges[i] - 4; 6414 res.add(ranges[i + 1]);
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 500 // within normalized ranges.
|
/packages/apps/TV/libs/ |
D | google-java-format-1.7-all-deps.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/apps/Messaging/build/gcheckstyle/ |
D | google-style-checker_deploy.jar | META-INF/
META-INF/MANIFEST.MF
build-data.properties
com/
com ... |
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | nb_wordlist.combined.gz | 1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ... |
D | pt_BR_wordlist.combined.gz | 1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ... |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ... |
D | pt_PT_wordlist.combined.gz | 1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ... |