Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/content/
DIntentCompat.java31 Intent makeMainActivity(ComponentName componentName); in makeMainActivity() argument
38 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity() argument
40 intent.setComponent(componentName); in makeMainActivity()
67 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity() argument
68 return IntentCompatHoneycomb.makeMainActivity(componentName); in makeMainActivity()
71 public Intent makeRestartActivityTask(ComponentName componentName) { in makeRestartActivityTask() argument
72 return IntentCompatHoneycomb.makeRestartActivityTask(componentName); in makeRestartActivityTask()
/frameworks/base/core/java/com/android/internal/app/
DIUsageStats.aidl23 void noteResumeComponent(in ComponentName componentName); in noteResumeComponent() argument
24 void notePauseComponent(in ComponentName componentName); in notePauseComponent() argument
25 void noteLaunchTime(in ComponentName componentName, int millis); in noteLaunchTime() argument
26 PkgUsageStats getPkgUsageStats(in ComponentName componentName); in getPkgUsageStats() argument
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h67 const char *componentName, const char *componentRole);
70 const char *componentName, const char *componentRole);
73 const char *componentName, const char *componentRole);
DOMXHarness.cpp277 const char *componentName, const char *componentRole) { in testStateTransitions() argument
278 if (strncmp(componentName, "OMX.", 4)) { in testStateTransitions()
288 mOMX->allocateNode(componentName, this, &node); in testStateTransitions()
556 const char *componentName, const char *componentRole) { in testSeek() argument
596 source, componentName); in testSeek()
739 const char *componentName, const char *componentRole) { in test() argument
740 printf("testing %s [%s] ... ", componentName, componentRole); in test()
741 ALOGI("testing %s [%s].", componentName, componentRole); in test()
743 status_t err1 = testStateTransitions(componentName, componentRole); in test()
744 status_t err2 = testSeek(componentName, componentRole); in test()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DNavUtils.java253 public static Intent getParentActivityIntent(Context context, ComponentName componentName) in getParentActivityIntent() argument
255 String parentActivity = getParentActivityName(context, componentName); in getParentActivityIntent()
260 componentName.getPackageName(), parentActivity); in getParentActivityIntent()
295 public static String getParentActivityName(Context context, ComponentName componentName) in getParentActivityName() argument
298 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA); in getParentActivityName()
/frameworks/base/services/java/com/android/server/
DWallpaperManagerService.java784 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, in bindWallpaperComponentLocked() argument
786 if (DEBUG) Slog.v(TAG, "bindWallpaperComponentLocked: componentName=" + componentName); in bindWallpaperComponentLocked()
791 if (componentName == null) { in bindWallpaperComponentLocked()
796 } else if (wallpaper.wallpaperComponent.equals(componentName)) { in bindWallpaperComponentLocked()
805 if (componentName == null) { in bindWallpaperComponentLocked()
810 componentName = ComponentName.unflattenFromString(defaultComponent); in bindWallpaperComponentLocked()
811 if (DEBUG) Slog.v(TAG, "Use default component wallpaper:" + componentName); in bindWallpaperComponentLocked()
813 if (componentName == null) { in bindWallpaperComponentLocked()
815 componentName = IMAGE_WALLPAPER; in bindWallpaperComponentLocked()
822 ServiceInfo si = mIPackageManager.getServiceInfo(componentName, in bindWallpaperComponentLocked()
[all …]
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java680 public void noteResumeComponent(ComponentName componentName) { in noteResumeComponent() argument
684 if ((componentName == null) || in noteResumeComponent()
685 ((pkgName = componentName.getPackageName()) == null)) { in noteResumeComponent()
704 && componentName.getClassName().equals(mLastResumedComp); in noteResumeComponent()
708 mLastResumedComp = componentName.getClassName(); in noteResumeComponent()
730 public void notePauseComponent(ComponentName componentName) { in notePauseComponent() argument
735 if ((componentName == null) || in notePauseComponent()
736 ((pkgName = componentName.getPackageName()) == null)) { in notePauseComponent()
761 public void noteLaunchTime(ComponentName componentName, int millis) { in noteLaunchTime() argument
764 if ((componentName == null) || in noteLaunchTime()
[all …]
DProviderMap.java301 ComponentName componentName = name != null in dumpProvider() local
304 if (componentName == null) { in dumpProvider()
309 componentName = null; in dumpProvider()
316 if (componentName != null) { in dumpProvider()
317 if (r1.name.equals(componentName)) { in dumpProvider()
/frameworks/base/core/java/android/app/
DSearchDialog.java211 ComponentName componentName, Bundle appSearchData) { in show() argument
212 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData); in show()
228 ComponentName componentName, Bundle appSearchData) { in doShow() argument
230 if (!show(componentName, appSearchData)) { in doShow()
248 private boolean show(ComponentName componentName, Bundle appSearchData) { in show() argument
251 Log.d(LOG_TAG, "show(" + componentName + ", " in show()
258 mSearchable = searchManager.getSearchableInfo(componentName); in show()
264 mLaunchComponent = componentName; in show()
DSearchManager.java749 public SearchableInfo getSearchableInfo(ComponentName componentName) { in getSearchableInfo() argument
751 return mService.getSearchableInfo(componentName); in getSearchableInfo()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java226 public final ComponentName componentName; field in RegisteredServicesCache.ServiceInfo
230 public ServiceInfo(V type, ComponentName componentName, int uid) { in ServiceInfo() argument
232 this.componentName = componentName; in ServiceInfo()
238 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid; in toString()
432 ComponentName componentName = new ComponentName(si.packageName, si.name); in parseServiceInfo() local
464 return new ServiceInfo<V>(v, componentName, uid); in parseServiceInfo()
DIPackageManager.aidl218 void setComponentEnabledSetting(in ComponentName componentName, in setComponentEnabledSetting() argument
224 int getComponentEnabledSetting(in ComponentName componentName, int userId); in getComponentEnabledSetting() argument
DPackageManager.java2855 public abstract void setComponentEnabledSetting(ComponentName componentName, in setComponentEnabledSetting() argument
2874 public abstract int getComponentEnabledSetting(ComponentName componentName); in getComponentEnabledSetting() argument
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java491 String componentName = extractValue(state); in parseLine() local
492 Component child = new Component(componentName, component); in parseLine()
499 String componentName = extractValue(state); in parseLine() local
501 !componentName.equals(component.getName())) { in parseLine()
502 throw new FormatException("Unexpected END " + componentName); in parseLine()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp196 char componentName[256]; in listNodes() local
198 componentName, sizeof(componentName), index) == OMX_ErrorNone) { in listNodes()
202 info.mName = componentName; in listNodes()
206 mMaster->getRolesOfComponent(componentName, &roles); in listNodes()
/frameworks/av/media/libstagefright/
DOMXCodec.cpp135 static bool IsSoftwareCodec(const char *componentName) { in IsSoftwareCodec() argument
136 if (!strncmp("OMX.google.", componentName, 11)) { in IsSoftwareCodec()
140 if (!strncmp("OMX.", componentName, 4)) { in IsSoftwareCodec()
205 const char *componentName = list->getCodecName(matchIndex); in findMatchingCodecs() local
208 if (matchComponentName && strcmp(componentName, matchComponentName)) { in findMatchingCodecs()
216 if (((flags & kSoftwareCodecsOnly) && IsSoftwareCodec(componentName)) || in findMatchingCodecs()
217 ((flags & kHardwareCodecsOnly) && !IsSoftwareCodec(componentName)) || in findMatchingCodecs()
222 entry->mName = String8(componentName); in findMatchingCodecs()
256 bool OMXCodec::findCodecQuirks(const char *componentName, uint32_t *quirks) { in findCodecQuirks() argument
263 ssize_t index = list->findCodecByName(componentName); in findCodecQuirks()
[all …]
DMediaCodec.cpp537 AString componentName; in onMessageReceived() local
538 CHECK(msg->findString("componentName", &componentName)); in onMessageReceived()
540 if (componentName.startsWith("OMX.google.")) { in onMessageReceived()
546 if (componentName.endsWith(".secure")) { in onMessageReceived()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DEnableAccessibilityController.java246 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); in enableAccessibility() local
249 String enabledServiceString = componentName.flattenToString(); in enableAccessibility()
273 componentName, enableTouchExploration); in enableAccessibility()
/frameworks/base/core/java/android/service/dreams/
DIDreamManager.aidl31 void testDream(in ComponentName componentName); in testDream() argument
/frameworks/av/include/media/stagefright/
DOMXCodec.h120 static bool findCodecQuirks(const char *componentName, uint32_t *quirks);
236 bool isEncoder, const char *mime, const char *componentName,
394 const char *componentName, const char *mime,
/frameworks/base/services/java/com/android/server/pm/
DPackageSettingBase.java333 int getCurrentEnabledStateLPr(String componentName, int userId) { in getCurrentEnabledStateLPr() argument
335 if (state.enabledComponents != null && state.enabledComponents.contains(componentName)) { in getCurrentEnabledStateLPr()
338 && state.disabledComponents.contains(componentName)) { in getCurrentEnabledStateLPr()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java514 ComponentName componentName = new ComponentName("foo.bar", in registerUiTestAutomationService() local
531 mUiAutomationService = new Service(mCurrentUserId, componentName, in registerUiTestAutomationService()
533 mUiAutomationService.onServiceConnected(componentName, serviceClient.asBinder()); in registerUiTestAutomationService()
1011 for (ComponentName componentName : componentNames) { in persistComponentNamesToSettingLocked()
1015 builder.append(componentName.flattenToShortString()); in persistComponentNamesToSettingLocked()
1036 ComponentName componentName = ComponentName.unflattenFromString( in updateServicesStateLocked() local
1038 Service service = componentNameToServiceMap.get(componentName); in updateServicesStateLocked()
1041 if (userState.mEnabledServices.contains(componentName)) { in updateServicesStateLocked()
1043 service = new Service(userState.mUserId, componentName, in updateServicesStateLocked()
1461 public Service(int userId, ComponentName componentName, in Service() argument
[all …]
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java377 for (ComponentName componentName : componentNames) { in componentsToString()
381 names.append(componentName.flattenToString()); in componentsToString()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java475 public void setComponentEnabledSetting(ComponentName componentName, in setComponentEnabledSetting() argument
481 public int getComponentEnabledSetting(ComponentName componentName) { in getComponentEnabledSetting() argument
/frameworks/base/tools/aapt/
DCommand.cpp377 const char *getComponentName(String8 &pkgName, String8 &componentName) { in getComponentName() argument
378 ssize_t idx = componentName.find("."); in getComponentName()
381 retStr += componentName; in getComponentName()
384 retStr += componentName; in getComponentName()
386 return componentName.string(); in getComponentName()

12