Searched defs:componentName (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java125 protected Intent activityIntent(String pkg, String componentName) { argument
127 result.setClassName(pkg, componentName);
/frameworks/support/v4/java/android/support/v4/app/
H A DNavUtils.java249 * @param componentName ComponentName for the source Activity
253 public static Intent getParentActivityIntent(Context context, ComponentName componentName) argument
255 String parentActivity = getParentActivityName(context, componentName);
260 componentName.getPackageName(), parentActivity);
288 * the application's manifest. The source activity is provided by componentName.
291 * @param componentName ComponentName for the source Activity
295 public static String getParentActivityName(Context context, ComponentName componentName) argument
298 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
/frameworks/support/v4/java/android/support/v4/content/
H A DIntentCompat.java31 Intent makeMainActivity(ComponentName componentName); argument
38 public Intent makeMainActivity(ComponentName componentName) { argument
40 intent.setComponent(componentName);
67 public Intent makeMainActivity(ComponentName componentName) { argument
68 return IntentCompatHoneycomb.makeMainActivity(componentName);
71 public Intent makeRestartActivityTask(ComponentName componentName) { argument
72 return IntentCompatHoneycomb.makeRestartActivityTask(componentName);
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java226 public final ComponentName componentName; field in class:RegisteredServicesCache.ServiceInfo
230 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
232 this.componentName = componentName;
238 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
432 ComponentName componentName = new ComponentName(si.packageName, si.name);
464 return new ServiceInfo<V>(v, componentName, uid);
H A DPackageParser.java3437 ComponentName componentName; field in class:PackageParser.Component
3517 componentName = clone.componentName;
3522 if (componentName != null) {
3523 return componentName;
3526 componentName = new ComponentName(owner.applicationInfo.packageName,
3529 return componentName;
3544 componentName = null;
H A DPackageManager.java3014 * @param componentName The component to enable
3025 public abstract void setComponentEnabledSetting(ComponentName componentName, argument
3036 * @param componentName The component to retrieve.
3044 public abstract int getComponentEnabledSetting(ComponentName componentName); argument
/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.java745 * @param componentName The activity to get searchable information for.
749 public SearchableInfo getSearchableInfo(ComponentName componentName) { argument
751 return mService.getSearchableInfo(componentName);
H A DApplicationPackageManager.java1259 public void setComponentEnabledSetting(ComponentName componentName, argument
1262 mPM.setComponentEnabledSetting(componentName, newState, flags, mContext.getUserId());
1269 public int getComponentEnabledSetting(ComponentName componentName) { argument
1271 return mPM.getComponentEnabledSetting(componentName, mContext.getUserId());
/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/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp277 const char *componentName, const char *componentRole) {
278 if (strncmp(componentName, "OMX.", 4)) {
288 mOMX->allocateNode(componentName, this, &node);
556 const char *componentName, const char *componentRole) {
596 source, componentName);
739 const char *componentName, const char *componentRole) {
740 printf("testing %s [%s] ... ", componentName, componentRole);
741 ALOGI("testing %s [%s].", componentName, componentRole);
743 status_t err1 = testStateTransitions(componentName, componentRole);
744 status_t err2 = testSeek(componentName, componentRol
276 testStateTransitions( const char *componentName, const char *componentRole) argument
555 testSeek( const char *componentName, const char *componentRole) argument
738 test( const char *componentName, const char *componentRole) argument
761 const char *componentName = info.mName.string(); local
[all...]
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java784 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, argument
786 if (DEBUG) Slog.v(TAG, "bindWallpaperComponentLocked: componentName=" + componentName);
791 if (componentName == null) {
796 } else if (wallpaper.wallpaperComponent.equals(componentName)) {
805 if (componentName == null) {
810 componentName = ComponentName.unflattenFromString(defaultComponent);
811 if (DEBUG) Slog.v(TAG, "Use default component wallpaper:" + componentName);
813 if (componentName == null) {
815 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...]
/frameworks/base/services/java/com/android/server/pm/
H A DPackageSettingBase.java340 int getCurrentEnabledStateLPr(String componentName, int userId) { argument
342 if (state.enabledComponents != null && state.enabledComponents.contains(componentName)) {
345 && state.disabledComponents.contains(componentName)) {
H A DSettings.java971 String componentName = parser.getAttributeValue(null, ATTR_NAME);
972 if (componentName != null) {
976 components.add(componentName);
2527 + componentInfo.packageName + " componentName = " + componentInfo.name);
2576 int getComponentEnabledSettingLPr(ComponentName componentName, int userId) { argument
2577 final String packageName = componentName.getPackageName();
2580 throw new IllegalArgumentException("Unknown component: " + componentName);
2582 final String classNameStr = componentName.getClassName();
H A DPackageManagerService.java9611 public void setComponentEnabledSetting(ComponentName componentName, argument
9614 setEnabledSetting(componentName.getPackageName(),
9615 componentName.getClassName(), newState, flags, userId, null);
9636 String componentName = isApp ? packageName : className;
9712 if (!components.contains(componentName)) {
9713 components.add(componentName);
9794 public int getComponentEnabledSetting(ComponentName componentName, int userId) { argument
9800 return mSettings.getComponentEnabledSettingLPr(componentName, userId);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java56 public RegisteredMediaRouteProvider(Context context, ComponentName componentName) { argument
57 super(context, new ProviderMetadata(componentName.getPackageName()));
59 mComponentName = componentName;
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java488 public void setComponentEnabledSetting(ComponentName componentName, argument
494 public int getComponentEnabledSetting(ComponentName componentName) { argument
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp1514 const char *componentName; local
1516 ->findCString(kKeyDecoderComponent, &componentName));
1522 stat->mDecoderName = componentName;
1529 size_t componentNameLength = strlen(componentName);
1531 if (!strncmp(componentName, kPrefix, strlen(kPrefix))
1533 && !strcmp(&componentName[
H A DACodec.cpp3308 AString componentName; local
3310 if (msg->findString("componentName", &componentName)) {
3313 entry->mName = String8(componentName.c_str());
3316 componentName.c_str(), &entry->mQuirks)) {
3340 componentName = matchingCodecs.itemAt(matchIndex).mName.string();
3346 status_t err = omx->allocateNode(componentName.c_str(), observer, &node);
3361 ALOGE("Unable to instantiate decoder '%s'.", componentName.c_str());
3371 mCodec->mComponentName = componentName;
3374 if (componentName
[all...]
H A DOMXCodec.cpp135 static bool IsSoftwareCodec(const char *componentName) { argument
136 if (!strncmp("OMX.google.", componentName, 11)) {
140 if (!strncmp("OMX.", componentName, 4)) {
205 const char *componentName = list->getCodecName(matchIndex); local
208 if (matchComponentName && strcmp(componentName, matchComponentName)) {
216 if (((flags & kSoftwareCodecsOnly) && IsSoftwareCodec(componentName)) ||
217 ((flags & kHardwareCodecsOnly) && !IsSoftwareCodec(componentName)) ||
222 entry->mName = String8(componentName);
256 bool OMXCodec::findCodecQuirks(const char *componentName, uint32_t *quirks) { argument
263 ssize_t index = list->findCodecByName(componentName);
312 const char *componentName = componentNameBase; local
1315 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
4543 const char *componentName = matchingCodecs.itemAt(c).mName.string(); local
4559 QueryCodec( const sp<IOMX> &omx, const char *componentName, const char *mime, bool isEncoder, CodecCapabilities *caps) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp377 const char *getComponentName(String8 &pkgName, String8 &componentName) { argument
378 ssize_t idx = componentName.find(".");
381 retStr += componentName;
384 retStr += componentName;
386 return componentName.string();
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java1126 for (ComponentName componentName : componentNames) {
1130 builder.append(componentName.flattenToShortString());
1143 ComponentName componentName = ComponentName.unflattenFromString(
1145 Service service = componentNameToServiceMap.get(componentName);
1149 if (userState.mBindingServices.contains(componentName)) {
1152 if (userState.mEnabledServices.contains(componentName)) {
1154 service = new Service(userState.mUserId, componentName, installedService);
1168 userState.mBindingServices.remove(componentName);
1316 ComponentName componentName = new ComponentName(
1318 if (userState.mTouchExplorationGrantedServices.contains(componentName)) {
1752 Service(int userId, ComponentName componentName, AccessibilityServiceInfo accessibilityServiceInfo) argument
1886 onServiceConnected(ComponentName componentName, IBinder service) argument
2224 onServiceDisconnected(ComponentName componentName) argument
[all...]

Completed in 3907 milliseconds