Home
last modified time | relevance | path

Searched refs:hierarchy (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DMediaIDHelper.java93 String[] hierarchy = getHierarchy(mediaID); in extractBrowseCategoryValueFromMediaID() local
94 if (hierarchy != null && hierarchy.length == 2) { in extractBrowseCategoryValueFromMediaID()
95 return hierarchy[1]; in extractBrowseCategoryValueFromMediaID()
105 String[] hierarchy = getHierarchy(mediaID); in getParentMediaID() local
107 return createMediaID(null, hierarchy); in getParentMediaID()
109 if (hierarchy == null || hierarchy.length <= 1) { in getParentMediaID()
112 String[] parentHierarchy = Arrays.copyOf(hierarchy, hierarchy.length-1); in getParentMediaID()
DQueueHelper.java43 String[] hierarchy = MediaIDHelper.getHierarchy(mediaId); in getPlayingQueue() local
45 if (hierarchy.length != 2) { in getPlayingQueue()
50 String categoryType = hierarchy[0]; in getPlayingQueue()
51 String categoryValue = hierarchy[1]; in getPlayingQueue()
67 return convertToQueue(tracks, hierarchy[0], hierarchy[1]); in getPlayingQueue()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTestBase.java39 TestBase(Context context, Node hierarchy) { in TestBase() argument
42 setActivities(hierarchy); in TestBase()
95 void setActivities(Node hierarchy) { in setActivities() argument
97 if (hierarchy.mChildren.isEmpty()) return; in setActivities()
99 hierarchy.mChildren.forEach(taskParent -> { in setActivities()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py4150 hierarchy = dict()
4153 hierarchy[tag] = 'vendor.private.{}'.format(tag)
4157 hierarchy[tag] = 'system.{}.{}'.format(pub, tag)
4158 return hierarchy
4162 def _get_lib_tag(hierarchy, tagged_paths, lib): argument
4163 return hierarchy[tagged_paths.get_path_tag(lib.path)]
4179 hierarchy = self._create_tag_hierarchy()
4186 lib_tag = self._get_lib_tag(hierarchy, tagged_paths, lib)
4195 dep_tag = self._get_lib_tag(hierarchy, tagged_paths, dep)
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js308 return d3.hierarchy(map[""]);