/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 34 private Path(Path parent, String segment) { in Path() argument 36 mSegment = segment; in Path() 39 public Path getChild(String segment) { in getChild() argument 44 Path p = mChildren.get(segment); in getChild() 48 Path p = new Path(this, segment); in getChild() 49 mChildren.put(segment, p); in getChild() 60 public Path getChild(int segment) { in getChild() argument 61 return getChild(String.valueOf(segment)); in getChild() 64 public Path getChild(long segment) { in getChild() argument 65 return getChild(String.valueOf(segment)); in getChild()
|
D | PathMatcher.java | 76 Node addChild(String segment) { in addChild() argument 80 Node node = mMap.get(segment); in addChild() 85 mMap.put(segment, n); in addChild() 89 Node getChild(String segment) { in getChild() argument 91 return mMap.get(segment); in getChild()
|
D | UriSource.java | 45 String segment[] = path.split(); in createMediaObject() local 46 if (segment.length != 3) { in createMediaObject() 50 String uri = URLDecoder.decode(segment[1], CHARSET_UTF_8); in createMediaObject() 51 String type = URLDecoder.decode(segment[2], CHARSET_UTF_8); in createMediaObject()
|
D | DataManager.java | 202 public MediaSet[] getMediaSetsFromString(String segment) { in getMediaSetsFromString() argument 203 String[] seq = Path.splitSequence(segment); in getMediaSetsFromString()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 246 LookupKeySegment segment = new LookupKeySegment(); in parse() local 247 segment.accountHashCode = hashCode; in parse() 248 segment.lookupType = lookupType; in parse() 249 segment.rawContactId = rawContactId; in parse() 250 segment.key = key; in parse() 251 segment.contactId = -1; in parse() 252 list.add(segment); in parse()
|
D | ContactsProvider2.java | 2867 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in insertInTransaction() local 2868 values.put(Data.RAW_CONTACT_ID, uri.getPathSegments().get(segment)); in insertInTransaction() 4293 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in updateInTransaction() local 4294 final String rawContactId = uri.getPathSegments().get(segment); in updateInTransaction() 6813 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in queryLocal() local 6814 long rawContactId = Long.parseLong(uri.getPathSegments().get(segment)); in queryLocal() 7883 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds() 7884 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds() 7885 DatabaseUtils.appendEscapedSQLString(sb, segment.key); in lookupContactIdBySourceIds() 7903 LookupKeySegment segment = segments.get(i); in lookupContactIdBySourceIds() local [all …]
|
/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | utils.cc | 37 for (const auto& segment : segments) { in ParseAudioParams() local 38 if (segment.length() == 0) { in ParseAudioParams() 41 std::vector<std::string> kv = android::base::Split(segment, "="); in ParseAudioParams() 43 LOG(WARNING) << __func__ << ": Invalid audio parameter " << segment; in ParseAudioParams()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.kt | 1096 for (segment in segments) { in weaveDNAStrands() constant 1098 val strand: DNAStrand? = strands.get(segment.color) in weaveDNAStrands() 1099 val dayIndex = segment.day - firstJulianDay in weaveDNAStrands() 1100 val dayStartMinute = segment.startMinute % DAY_IN_MINUTES in weaveDNAStrands() 1101 val dayEndMinute = segment.endMinute % DAY_IN_MINUTES in weaveDNAStrands() 1113 "Adding " + Integer.toHexString(segment.color).toString() + " at x,y0,y1: " + x in weaveDNAStrands() 1195 val segment = DNASegment() in addNewSegment() constant 1199 segment.startMinute = Math.max(dayOffset + event.startTime, minStart) in addNewSegment() 1202 val minEnd: Int = Math.min(segment.startMinute + minMinutes, endOfDay) in addNewSegment() 1203 segment.endMinute = Math.max(dayOffset + event.endTime, minEnd) in addNewSegment() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SyntheticPathUtils.java | 92 for (String segment : segmentArray) { in extractSyntheticRelativePathSegements() 93 if (TextUtils.isEmpty(segment)) { in extractSyntheticRelativePathSegements() 96 segments.add(segment); in extractSyntheticRelativePathSegements()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapConvoListingTest.java | 74 mListing.segment(0, 1); in segment_whenCountIsLessThanOne_returnsOffsetToEnd() 80 mListing.segment(1, 4); in segment_whenOffsetIsBiggerThanSize_returnsEmptyList() 86 mListing.segment(1, 1); in segment_whenOffsetCountCombinationIsValid_returnsCorrectly()
|
D | BluetoothMapMessageListingTest.java | 88 mListing.segment(0, 1); in segment_whenCountIsLessThanOne_returnsOffsetToEnd() 94 mListing.segment(1, 4); in segment_whenOffsetIsBiggerThanSize_returnsEmptyList() 100 mListing.segment(1, 1); in segment_whenOffsetCountCombinationIsValid_returnsCorrectly()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLookupKeyTest.java | 246 LookupKeySegment segment = list.get(i); in assertLookupKey() local 247 assertEquals(accountHashCodes[i], segment.accountHashCode); in assertLookupKey() 248 assertEquals(types[i], segment.lookupType); in assertLookupKey() 249 assertEquals(keys[i], segment.key); in assertLookupKey()
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller_test.cc | 102 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local 104 … SegmentationAndReassembly::UNSEGMENTED, std::move(segment)); in TEST_F() 195 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local 197 1, 0, Final::NOT_SET, 0, SegmentationAndReassembly::UNSEGMENTED, std::move(segment)); in TEST_F()
|
D | enhanced_retransmission_mode_channel_data_controller.cc | 577 …void _send_i_frame(SegmentationAndReassembly sar, std::unique_ptr<CopyablePacketBuilder> segment, … in _send_i_frame() 583 sdu_size, std::move(segment)); in _send_i_frame() 586 std::move(segment)); in _send_i_frame() 591 std::move(segment)); in _send_i_frame() 594 std::move(segment)); in _send_i_frame() 600 …data(SegmentationAndReassembly sar, uint16_t sdu_size, std::unique_ptr<packet::RawBuilder> segment, in send_data() 602 std::shared_ptr<packet::RawBuilder> shared_segment(segment.release()); in send_data() 708 …cation(SegmentationAndReassembly sar, uint16_t sdu_size, const packet::PacketView<true>& segment) { in data_indication() 709 controller_->stage_for_reassembly(sar, sdu_size, segment); in data_indication()
|
D | le_credit_based_channel_data_controller_test.cc | 130 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local 131 auto builder = FirstLeInformationFrameBuilder::Create(0x41, 4, std::move(segment)); in TEST_F()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 422 String segment = uri.getPathSegments().get(1); in update() local 423 rowId = Long.parseLong(segment); in update() 459 String segment = uri.getPathSegments().get(1); in delete() local 460 long rowId = Long.parseLong(segment); in delete()
|
/packages/providers/MediaProvider/jni/ |
D | node.cpp | 87 for (const std::string& segment : segments) { in LookupAbsolutePath() local 88 node = node->LookupChildByName(segment, false /* acquire */); in LookupAbsolutePath()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | NavStateController.java | 86 mSegment = container.findViewById(R.id.segment); in NavStateController() 213 private String getSegmentString(Road segment) { in getSegmentString() argument 214 if (segment != null) { in getSegmentString() 215 return segment.getName(); in getSegmentString()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | NavStateController.java | 85 mSegment = container.findViewById(R.id.segment); in NavStateController() 215 private String getSegmentString(Road segment) { in getSegmentString() argument 216 if (segment != null) { in getSegmentString() 217 return segment.getName(); in getSegmentString()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugStorageProvider.java | 202 static Uri buildUriWithSegment(int bugReportId, @UriActionSegments String segment) { in buildUriWithSegment() argument 204 + segment + "/" + bugReportId); in buildUriWithSegment()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListing.java | 147 public void segment(int count, int offset) { in segment() method in BluetoothMapMessageListing
|
D | BluetoothMapConvoListing.java | 121 public void segment(int count, int offset) { in segment() method in BluetoothMapConvoListing
|
/packages/modules/NeuralNetworks/tools/api/ |
D | OperationTypes.t | 117 * the array segments. The array segments represent how to segment the indices array, 118 * each segment corresponds to one element in the previous dimension. Array segments are
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 909 String segment = uri.getPathSegments().get(pathIndex); in parseSubscriptionIdFromUri() local 911 return Integer.parseInt(segment); in parseSubscriptionIdFromUri() 913 throw new IllegalArgumentException("Invalid subscription ID: " + segment); in parseSubscriptionIdFromUri()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_device.py | 868 for segment in cmd: 872 current_cmd = pathlib.Path(segment).stem[:15] 877 segment, backing_process_pid))
|