Searched refs:componentName (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
H A DIUsageStats.aidl23 void noteResumeComponent(in ComponentName componentName);
24 void notePauseComponent(in ComponentName componentName);
25 void noteLaunchTime(in ComponentName componentName, int millis);
26 PkgUsageStats getPkgUsageStats(in ComponentName componentName);
/frameworks/base/core/java/android/service/dreams/
H A DIDreamManager.aidl27 void setDreamComponent(in ComponentName componentName);
29 void testDream(in ComponentName componentName);
H A DDreamManagerService.java122 public void bindDreamComponentL(ComponentName componentName, boolean test) { argument
123 if (DEBUG) Slog.v(TAG, "bindDreamComponent: componentName=" + componentName
127 .setComponent(componentName)
134 Slog.w(TAG, "unable to bind service: " + componentName);
137 mCurrentDreamComponent = componentName;
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h67 const char *componentName, const char *componentRole);
70 const char *componentName, const char *componentRole);
73 const char *componentName, const char *componentRole);
H A DOMXHarness.cpp283 const char *componentName, const char *componentRole) {
284 if (strncmp(componentName, "OMX.", 4)) {
294 mOMX->allocateNode(componentName, this, &node);
559 const char *componentName, const char *componentRole) {
591 source, componentName);
734 const char *componentName, const char *componentRole) {
735 printf("testing %s [%s] ... ", componentName, componentRole);
736 ALOGI("testing %s [%s].", componentName, componentRole);
738 status_t err1 = testStateTransitions(componentName, componentRole);
739 status_t err2 = testSeek(componentName, componentRol
282 testStateTransitions( const char *componentName, const char *componentRole) argument
558 testSeek( const char *componentName, const char *componentRole) argument
733 test( const char *componentName, const char *componentRole) argument
756 const char *componentName = info.mName.string(); local
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNavUtils.java223 * @param componentName ComponentName for the source Activity
227 public static Intent getParentActivityIntent(Context context, ComponentName componentName) argument
229 String parentActivity = getParentActivityName(context, componentName);
231 return new Intent().setClassName(componentName.getPackageName(), parentActivity);
254 * the application's manifest. The source activity is provided by componentName.
257 * @param componentName ComponentName for the source Activity
261 public static String getParentActivityName(Context context, ComponentName componentName) argument
264 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java671 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, argument
673 if (DEBUG) Slog.v(TAG, "bindWallpaperComponentLocked: componentName=" + componentName);
678 if (componentName == null) {
683 } else if (wallpaper.wallpaperComponent.equals(componentName)) {
692 if (componentName == null) {
697 componentName = ComponentName.unflattenFromString(defaultComponent);
698 if (DEBUG) Slog.v(TAG, "Use default component wallpaper:" + componentName);
700 if (componentName == null) {
702 componentName
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DUsageStatsService.java680 public void noteResumeComponent(ComponentName componentName) { argument
684 if ((componentName == null) ||
685 ((pkgName = componentName.getPackageName()) == null)) {
704 && componentName.getClassName().equals(mLastResumedComp);
708 mLastResumedComp = componentName.getClassName();
730 public void notePauseComponent(ComponentName componentName) { argument
735 if ((componentName == null) ||
736 ((pkgName = componentName.getPackageName()) == null)) {
761 public void noteLaunchTime(ComponentName componentName, int millis) { argument
764 if ((componentName
788 getPkgUsageStats(ComponentName componentName) argument
[all...]
H A DProviderMap.java247 ComponentName componentName = name != null
250 if (componentName == null) {
255 componentName = null;
262 if (componentName != null) {
263 if (r1.name.equals(componentName)) {
/frameworks/base/core/java/android/app/
H A DSearchDialog.java211 ComponentName componentName, Bundle appSearchData) {
212 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData);
228 ComponentName componentName, Bundle appSearchData) {
230 if (!show(componentName, appSearchData)) {
248 private boolean show(ComponentName componentName, Bundle appSearchData) { argument
251 Log.d(LOG_TAG, "show(" + componentName + ", "
258 mSearchable = searchManager.getSearchableInfo(componentName);
264 mLaunchComponent = componentName;
210 show(String initialQuery, boolean selectInitialQuery, ComponentName componentName, Bundle appSearchData) argument
227 doShow(String initialQuery, boolean selectInitialQuery, ComponentName componentName, Bundle appSearchData) argument
H A DSearchManager.java744 * @param componentName The activity to get searchable information for.
748 public SearchableInfo getSearchableInfo(ComponentName componentName) { argument
750 return mService.getSearchableInfo(componentName);
H A DApplicationPackageManager.java1146 public void setComponentEnabledSetting(ComponentName componentName, argument
1149 mPM.setComponentEnabledSetting(componentName, newState, flags, UserId.myUserId());
1156 public int getComponentEnabledSetting(ComponentName componentName) { argument
1158 return mPM.getComponentEnabledSetting(componentName, UserId.myUserId());
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp196 char componentName[256]; local
198 componentName, sizeof(componentName), index) == OMX_ErrorNone) {
202 info.mName = componentName;
206 mMaster->getRolesOfComponent(componentName, &roles);
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DICalendar.java491 String componentName = extractValue(state);
492 Component child = new Component(componentName, component);
499 String componentName = extractValue(state);
501 !componentName.equals(component.getName())) {
502 throw new FormatException("Unexpected END " + componentName);
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java182 public final ComponentName componentName; field in class:RegisteredServicesCache.ServiceInfo
186 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
188 this.componentName = componentName;
194 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
369 ComponentName componentName = new ComponentName(si.packageName, si.name);
401 return new ServiceInfo<V>(v, componentName, uid);
H A DIPackageManager.aidl215 void setComponentEnabledSetting(in ComponentName componentName,
221 int getComponentEnabledSetting(in ComponentName componentName, int userId);
H A DPackageManager.java2523 * @param componentName The component to enable
2534 public abstract void setComponentEnabledSetting(ComponentName componentName, argument
2545 * @param componentName The component to retrieve.
2553 public abstract int getComponentEnabledSetting(ComponentName componentName); argument
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h117 static bool findCodecQuirks(const char *componentName, uint32_t *quirks);
233 bool isEncoder, const char *mime, const char *componentName,
391 const char *componentName, const char *mime,
/frameworks/base/services/java/com/android/server/pm/
H A DPackageSettingBase.java265 int getCurrentEnabledStateLPr(String componentName, int userId) { argument
268 if (enabled.contains(componentName)) {
270 } else if (disabled.contains(componentName)) {
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp135 static bool IsSoftwareCodec(const char *componentName) { argument
136 if (!strncmp("OMX.google.", componentName, 11)) {
140 if (!strncmp("OMX.", componentName, 4)) {
209 const char *componentName = list->getCodecName(matchIndex); local
212 if (matchComponentName && strcmp(componentName, matchComponentName)) {
220 if (((flags & kSoftwareCodecsOnly) && IsSoftwareCodec(componentName)) ||
221 ((flags & kHardwareCodecsOnly) && !IsSoftwareCodec(componentName)) ||
224 matchingCodecs->push(String8(componentName));
258 bool OMXCodec::findCodecQuirks(const char *componentName, uint32_t *quirks) { argument
265 ssize_t index = list->findCodecByName(componentName);
313 const char *componentName = componentNameBase; local
1287 OMXCodec( const sp<IOMX> &omx, IOMX::node_id node, uint32_t quirks, uint32_t flags, bool isEncoder, const char *mime, const char *componentName, const sp<MediaSource> &source, const sp<ANativeWindow> &nativeWindow) argument
4524 const char *componentName = matchingCodecs.itemAt(c).string(); local
4540 QueryCodec( const sp<IOMX> &omx, const char *componentName, const char *mime, bool isEncoder, CodecCapabilities *caps) argument
[all...]
H A DAwesomePlayer.cpp1512 const char *componentName; local
1514 ->findCString(kKeyDecoderComponent, &componentName));
1520 stat->mDecoderName = componentName;
1527 size_t componentNameLength = strlen(componentName);
1529 if (!strncmp(componentName, kPrefix, strlen(kPrefix))
1531 && !strcmp(&componentName[
H A DMediaCodec.cpp523 AString componentName; local
524 CHECK(msg->findString("componentName", &componentName));
526 if (componentName.startsWith("OMX.google.")) {
532 if (componentName.endsWith(".secure")) {
779 format->setString("componentName", name.c_str());
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java505 ComponentName componentName = new ComponentName("foo.bar",
525 mUiAutomationService = new Service(componentName, accessibilityServiceInfo, true);
526 mUiAutomationService.onServiceConnected(componentName, serviceClient.asBinder());
875 for (ComponentName componentName : componentNames) {
879 builder.append(componentName.flattenToShortString());
901 ComponentName componentName = ComponentName.unflattenFromString(
903 Service service = componentNameToServiceMap.get(componentName);
906 if (enabledServices.contains(componentName)) {
908 service = new Service(componentName, installedService, false);
1198 public Service(ComponentName componentName, argument
1318 onServiceConnected(ComponentName componentName, IBinder service) argument
1601 onServiceDisconnected(ComponentName componentName) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java437 public void setComponentEnabledSetting(ComponentName componentName, argument
443 public int getComponentEnabledSetting(ComponentName componentName) { argument
/frameworks/base/tools/aapt/
H A DCommand.cpp376 const char *getComponentName(String8 &pkgName, String8 &componentName) { argument
377 ssize_t idx = componentName.find(".");
380 retStr += componentName;
383 retStr += componentName;
385 return componentName.string();

Completed in 414 milliseconds

12