Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 273) sorted by relevance

1234567891011

/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java83 ComponentName component = parseComponentName(nextArgRequired()); in runSetDeviceOwner() local
84 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, UserHandle.USER_OWNER); in runSetDeviceOwner()
86 String packageName = component.getPackageName(); in runSetDeviceOwner()
94 mDevicePolicyManager.removeActiveAdmin(component, UserHandle.USER_OWNER); in runSetDeviceOwner()
98 System.out.println("Active admin set to component " + component.toShortString()); in runSetDeviceOwner()
102 ComponentName component = parseComponentName(nextArgRequired()); in runSetProfileOwner() local
104 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, userId); in runSetProfileOwner()
107 if (!mDevicePolicyManager.setProfileOwner(component, "" /*ownerName*/, userId)) { in runSetProfileOwner()
108 throw new RuntimeException("Can't set component " + component.toShortString() + in runSetProfileOwner()
113 mDevicePolicyManager.removeActiveAdmin(component, userId); in runSetProfileOwner()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp31 OMX_COMPONENTTYPE **component) in SoftOMXComponent() argument
63 *component = mComponent; in SoftOMXComponent()
112 OMX_HANDLETYPE component, in SendCommandWrapper() argument
118 ((OMX_COMPONENTTYPE *)component)->pComponentPrivate; in SendCommandWrapper()
125 OMX_HANDLETYPE component, in GetParameterWrapper() argument
130 ((OMX_COMPONENTTYPE *)component)->pComponentPrivate; in GetParameterWrapper()
137 OMX_HANDLETYPE component, in SetParameterWrapper() argument
142 ((OMX_COMPONENTTYPE *)component)->pComponentPrivate; in SetParameterWrapper()
149 OMX_HANDLETYPE component, in GetConfigWrapper() argument
154 ((OMX_COMPONENTTYPE *)component)->pComponentPrivate; in GetConfigWrapper()
[all …]
DOMXMaster.cpp125 OMX_COMPONENTTYPE **component) { in makeComponentInstance() argument
128 *component = NULL; in makeComponentInstance()
138 plugin->makeComponentInstance(name, callbacks, appData, component); in makeComponentInstance()
144 mPluginByInstance.add(*component, plugin); in makeComponentInstance()
150 OMX_COMPONENTTYPE *component) { in destroyComponentInstance() argument
153 ssize_t index = mPluginByInstance.indexOfKey(component); in destroyComponentInstance()
162 return plugin->destroyComponentInstance(component); in destroyComponentInstance()
DSoftOMXPlugin.cpp73 OMX_COMPONENTTYPE **component) { in makeComponentInstance() argument
111 (*createSoftOMXComponent)(name, callbacks, appData, component); in makeComponentInstance()
138 OMX_COMPONENTTYPE *component) { in destroyComponentInstance() argument
141 ((OMX_COMPONENTTYPE *)component)->pComponentPrivate; in destroyComponentInstance()
DSoftOMXPlugin.h33 OMX_COMPONENTTYPE **component);
36 OMX_COMPONENTTYPE *component);
/frameworks/av/media/libstagefright/include/
DSoftOMXComponent.h34 OMX_COMPONENTTYPE **component);
106 OMX_HANDLETYPE component,
112 OMX_HANDLETYPE component,
117 OMX_HANDLETYPE component,
122 OMX_HANDLETYPE component,
127 OMX_HANDLETYPE component,
132 OMX_HANDLETYPE component,
137 OMX_HANDLETYPE component,
145 OMX_HANDLETYPE component,
152 OMX_HANDLETYPE component,
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java190 public static boolean populateContentValues(ICalendar.Component component, in populateContentValues() argument
194 component.getFirstProperty("DTSTART"); in populateContentValues()
210 String duration = computeDuration(start, component); in populateContentValues()
211 String rrule = flattenProperties(component, "RRULE"); in populateContentValues()
212 String rdate = extractDates(component.getFirstProperty("RDATE")); in populateContentValues()
213 String exrule = flattenProperties(component, "EXRULE"); in populateContentValues()
214 String exdate = extractDates(component.getFirstProperty("EXDATE")); in populateContentValues()
223 + component.toString()); in populateContentValues()
235 Log.d(TAG, "DTSTART is out of range: " + component.toString()); in populateContentValues()
250 Log.i(TAG,"Failed to parse event: " + component.toString()); in populateContentValues()
[all …]
DICalendar.java208 for (Component component : mChildren) { in toString()
209 component.toString(sb); in toString()
427 private static Component parseComponentImpl(Component component, in parseComponentImpl() argument
430 Component current = component; in parseComponentImpl()
445 if (component == null) { in parseComponentImpl()
446 component = current; in parseComponentImpl()
457 return component; in parseComponentImpl()
467 Component component) in parseLine() argument
482 if (component == null) { in parseLine()
492 Component child = new Component(componentName, component); in parseLine()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java116 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, in newServiceInfo() argument
118 return new ManagedServiceInfo(service, component, userid, isSystem, connection, in newServiceInfo()
136 if (filter != null && !filter.matches(info.component)) continue; in dump()
137 pw.println(" " + info.component in dump()
194 public void registerService(IInterface service, ComponentName component, int userid) { in registerService() argument
196 ManagedServiceInfo info = registerServiceImpl(service, component, userid); in registerService()
304 final ComponentName component in rebindServices() local
306 if (component != null) { in rebindServices()
307 newEnabled.add(component); in rebindServices()
308 add.add(component); in rebindServices()
[all …]
DConditionProviders.java92 if (filter != null && !filter.matches(r.component)) continue; in dump()
131 if (info.component.equals(mExitConditionComponent)) { in onServiceAdded()
140 if (!r.component.equals(info.component)) continue; in onServiceAdded()
155 if (!r.component.equals(removed.component)) continue; in onServiceRemovedLocked()
217 private ConditionRecord getRecordLocked(Uri id, ComponentName component) { in getRecordLocked() argument
221 if (r.id.equals(id) && r.component.equals(component)) { in getRecordLocked()
225 final ConditionRecord r = new ConditionRecord(id, component); in getRecordLocked()
246 final ConditionRecord r = getRecordLocked(c.id, info.component); in notifyConditions()
323 conditionComponent = r.component; in setZenModeCondition()
448 Slog.w(TAG, "Error requesting conditions from " + info.component, e); in requestConditionsLocked()
[all …]
DZenLog.java89 public static void traceExitCondition(Condition c, ComponentName component, String reason) { in traceExitCondition() argument
90 append(TYPE_EXIT_CONDITION, c + "," + componentToString(component) + "," + reason); in traceExitCondition()
155 private static String componentToString(ComponentName component) { in componentToString() argument
156 return component != null ? component.toShortString() : null; in componentToString()
/frameworks/compile/slang/tests/F_mix_vector/
Dstderr.txt.expect1 mix_vector.rs:6:13: error: illegal vector component name 'g'
2 mix_vector.rs:7:13: error: illegal vector component name 'y'
3 mix_vector.rs:8:7: error: illegal vector component name 'r'
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl36 void startActivityAsUser(in ComponentName component, in Rect sourceBounds, in startActivityAsUser() argument
38 void showAppDetailsAsUser(in ComponentName component, in Rect sourceBounds, in showAppDetailsAsUser() argument
41 boolean isActivityEnabled(in ComponentName component, in UserHandle user); in isActivityEnabled() argument
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java246 public boolean isActivityEnabled(ComponentName component, UserHandle user) in isActivityEnabled() argument
256 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in isActivityEnabled()
264 public void startActivityAsUser(ComponentName component, Rect sourceBounds, in startActivityAsUser() argument
275 launchIntent.setPackage(component.getPackageName()); in startActivityAsUser()
280 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in startActivityAsUser()
283 + component); in startActivityAsUser()
294 if (activityInfo.packageName.equals(component.getPackageName()) && in startActivityAsUser()
295 activityInfo.name.equals(component.getClassName())) { in startActivityAsUser()
298 launchIntent.setComponent(component); in startActivityAsUser()
304 + " category Intent.CATEGORY_LAUNCHER " + component); in startActivityAsUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSearchPanelView.java122 ComponentName component = intent.getComponent(); in maybeSwapSearchIcon() local
123 replaceDrawable(mLogo, component, ASSIST_ICON_METADATA_NAME); in maybeSwapSearchIcon()
129 public void replaceDrawable(ImageView v, ComponentName component, String name) { in replaceDrawable() argument
130 if (component != null) { in replaceDrawable()
135 component, PackageManager.GET_META_DATA).metaData; in replaceDrawable()
139 Resources res = packageManager.getResourcesForActivity(component); in replaceDrawable()
146 + component.flattenToShortString() + " not found", e); in replaceDrawable()
149 + component.flattenToShortString(), nfe); in replaceDrawable()
DSystemUI.java46 public <T, C extends T> void putComponent(Class<T> interfaceType, C component) { in putComponent() argument
48 mComponents.put(interfaceType, component); in putComponent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java646 ComponentName component = null; in getDefaultSmsApplication() local
650 component = new ComponentName(smsApplicationData.mPackageName, in getDefaultSmsApplication()
653 return component; in getDefaultSmsApplication()
669 ComponentName component = null; in getDefaultMmsApplication() local
673 component = new ComponentName(smsApplicationData.mPackageName, in getDefaultMmsApplication()
676 return component; in getDefaultMmsApplication()
693 ComponentName component = null; in getDefaultRespondViaMessageApplication() local
697 component = new ComponentName(smsApplicationData.mPackageName, in getDefaultRespondViaMessageApplication()
700 return component; in getDefaultRespondViaMessageApplication()
719 ComponentName component = null; in getDefaultSendToApplication() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTask.java44 final ComponentName component; field in Task.ComponentNameKey
48 component = cn; in ComponentNameKey()
54 return Objects.hash(component, userId); in hashCode()
62 return component.equals(((ComponentNameKey) o).component) && in equals()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp35 OMX_COMPONENTTYPE **component) in SoftVPX() argument
39 320 /* width */, 240 /* height */, callbacks, appData, component), in SoftVPX()
180 OMX_PTR appData, OMX_COMPONENTTYPE **component) { in createSoftOMXComponent() argument
184 callbacks, appData, component); in createSoftOMXComponent()
188 callbacks, appData, component); in createSoftOMXComponent()
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
DAppListFragment.java61 Log.i("AppListFragment", "Item clicked: " + position + " -- " + item.component); in onListItemClick()
66 args.putParcelable(BrowserListFragment.ARG_COMPONENT, item.component); in onListItemClick()
78 final ComponentName component; field in AppListFragment.Item
82 this.component = c; in Item()
/frameworks/native/include/media/hardware/
DOMXPluginBase.h38 OMX_COMPONENTTYPE **component) = 0;
41 OMX_COMPONENTTYPE *component) = 0;
/frameworks/base/docs/html/guide/topics/manifest/
Dintent-filter-element.jd30 parent component &mdash; what an activity or service can do and what types
31 of broadcasts a receiver can handle. It opens the component to receiving
33 meaningful for the component.
54 receiver when that component is presented to the user as having the
60 by the parent component's {@code icon} attribute. If the parent
72 <dd>A user-readable label for the parent component. This label, rather than
73 the one set by the parent component, is used when the component is presented
84 The default value is the label set by the parent component. If the
97 <dd>The priority that should be given to the parent component with regard
/frameworks/rs/scriptc/
Drs_quaternion.rsh29 * @param w component
30 * @param x component
31 * @param y component
32 * @param z component
85 * @param x component of a vector
86 * @param y component of a vector
87 * @param x component of a vector
106 * @param x component of a vector
107 * @param y component of a vector
108 * @param x component of a vector
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java261 private static boolean hasHardwarePermission(PackageManager pm, ComponentName component) { in hasHardwarePermission() argument
263 component.getPackageName()) == PackageManager.PERMISSION_GRANTED; in hasHardwarePermission()
284 ComponentName component = new ComponentName(si.packageName, si.name); in buildTvInputListLocked() local
285 if (hasHardwarePermission(pm, component)) { in buildTvInputListLocked()
286 ServiceState serviceState = userState.serviceStateMap.get(component); in buildTvInputListLocked()
291 serviceState = new ServiceState(component, userId); in buildTvInputListLocked()
292 userState.serviceStateMap.put(component, serviceState); in buildTvInputListLocked()
293 updateServiceConnectionLocked(component, userId); in buildTvInputListLocked()
326 ComponentName component = inputMap.get(inputId).info.getComponent(); in buildTvInputListLocked() local
328 if (component.getPackageName().equals(updatedPackage)) { in buildTvInputListLocked()
[all …]
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java137 ComponentName component = new ComponentName(this, getClass()); in onCreate() local
139 ServiceInfo serviceInfo = getPackageManager().getServiceInfo(component, 0 /* flags */); in onCreate()
141 throw new IllegalStateException(component.flattenToShortString() in onCreate()
146 Log.e(TAG, "Can't get ServiceInfo for " + component.toShortString()); in onCreate()

1234567891011