/frameworks/base/core/java/com/android/internal/appwidget/ |
IAppWidgetService.aidl | 19 import android.content.ComponentName; 46 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views); 50 void bindAppWidgetId(int appWidgetId, in ComponentName provider); 53 int[] getAppWidgetIds(in ComponentName provider);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
FrontDoor.java | 31 String componentName = intent.getComponent().getClassName(); 32 if ("com.android.loaderapp.FrontDoorNormal".equals(componentName)) { 35 } else if ("com.android.loaderapp.FrontDoorXLarge".equals(componentName)) { 38 } else if ("com.android.loaderapp.FrontDoorGroupsXLarge".equals(componentName)) {
|
/cts/tests/appsecurity-tests/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/ |
InstrumentationFailToRunTest.java | 20 import android.content.ComponentName; 34 ComponentName appDiffCertInstrumentation = new ComponentName(myContext,
|
/cts/tests/tests/permission/src/android/permission/cts/ |
AppWidgetManagerPermissionTest.java | 20 import android.content.ComponentName; 40 * {@link AppWidgetManager#bindAppWidgetId(int, android.content.ComponentName)} 48 mAppWidgetManager.bindAppWidgetId(1, new ComponentName(mContext, "foo"));
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyInstrumentationEvent.java | 21 import android.content.ComponentName; 42 ComponentName cn = ComponentName.unflattenFromString(mRunnerName);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 19 import android.content.ComponentName; 42 private void checkMetaData(ComponentName cn, PackageItemInfo ci) 99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); 112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); 125 ComponentName cn = new ComponentName(mContext, LocalService.class); 138 ComponentName cn = new ComponentName(mContext, LocalProvider.class) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
ContactsMockPackageManager.java | 18 import android.content.ComponentName; 31 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { 36 public Drawable getActivityIcon(ComponentName activityName) {
|
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 20 import android.content.ComponentName; 39 ComponentName name = new ComponentName(this, DefaultActivity.class);
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
ApplicationsLatency.java | 19 import android.content.ComponentName; 38 private static ComponentName APPS_COMPONENT = 39 new ComponentName("com.android.providers.applications",
|
ContactsLatency.java | 19 import android.content.ComponentName; 38 private static ComponentName CONTACTS_COMPONENT = 39 new ComponentName("com.android.contacts",
|
WebConcurrency.java | 19 import android.content.ComponentName; 50 private ComponentName getWebSearchComponent() { 57 ComponentName webComponent = getWebSearchComponent();
|
WebLatency.java | 19 import android.content.ComponentName; 53 private ComponentName getWebSearchComponent() { 60 ComponentName webComponent = getWebSearchComponent();
|
/packages/apps/Stk/src/com/android/stk/ |
StkAppInstaller.java | 21 import android.content.ComponentName; 49 ComponentName cName = new ComponentName("com.android.stk",
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
InstrumentationInfoTest.java | 24 import android.content.ComponentName; 71 ComponentName componentName = new ComponentName(PACKAGE_NAME, INSTRUMENTATION_NAME); 76 InstrumentationInfo instrInfo = pm.getInstrumentationInfo(componentName, 0);
|
PackageManagerTest.java | 27 import android.content.ComponentName; 78 args = {android.content.ComponentName.class, android.content.Intent[].class, 125 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, 0); 130 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, 0); 267 args = {android.content.ComponentName.class, int.class} 291 args = {android.content.ComponentName.class, int.class} 333 args = {android.content.ComponentName.class, int.class} 339 args = {android.content.ComponentName.class, int.class} 375 ComponentName activityName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME) [all...] |
ServiceInfoTest.java | 24 import android.content.ComponentName; 70 ComponentName componentName = new ComponentName(PACKAGE_NAME, SERVICE_NAME); 76 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0);
|
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminInfoTest.java | 20 import android.content.ComponentName; 29 private ComponentName mComponent; 31 private ComponentName mSecondComponent; 41 static ComponentName getReceiverComponent() { 42 return new ComponentName("android.deviceadmin.cts", 46 static ComponentName getSecondReceiverComponent() { 47 return new ComponentName("android.deviceadmin.cts",
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 19 import android.content.ComponentName; 114 public ActivityInfo getActivityInfo(ComponentName className, int flags) 120 public ActivityInfo getReceiverInfo(ComponentName className, int flags) 126 public ServiceInfo getServiceInfo(ComponentName className, int flags) 132 public ProviderInfo getProviderInfo(ComponentName className, int flags) 206 public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller, 237 public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags) 254 public Drawable getActivityIcon(ComponentName activityName) 280 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { 316 public Resources getResourcesForActivity(ComponentName activityName [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 22 import android.content.ComponentName; 63 if (findActivity(data, info.componentName)) { 106 final ComponentName component = info.intent.getComponent(); 126 final ComponentName component = applicationInfo.intent.getComponent(); 147 mIconCache.remove(applicationInfo.componentName); 156 final ComponentName component = applicationInfo.intent.getComponent(); 183 private static boolean findActivity(List<ResolveInfo> apps, ComponentName component) { 197 private static boolean findActivity(ArrayList<ApplicationInfo> apps, ComponentName component) { 201 if (info.componentName.equals(component)) { 213 final ComponentName component = info.intent.getComponent() [all...] |
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
ApplicationsProviderTest.java | 20 import android.content.ComponentName; 83 "Email", new ComponentName("com.android.email", "com.android.email.MainView")); 85 "Ebay", new ComponentName("com.android.ebay", "com.android.ebay.Shopping")); 87 "Fakeapp", new ComponentName("com.android.fakeapp", "com.android.fakeapp.FakeView")); 90 mockPackageManager.addPackage("AlphabeticA", new ComponentName("a", "a.AView")); 91 mockPackageManager.addPackage("AlphabeticB", new ComponentName("b", "b.BView")); 92 mockPackageManager.addPackage("AlphabeticC", new ComponentName("c", "c.CView")); 93 mockPackageManager.addPackage("AlphabeticD", new ComponentName("d", "d.DView")); 94 mockPackageManager.addPackage("AlphabeticD2", new ComponentName("d", "d.DView2")); 220 new ComponentName("dp", "dp.DisView1")) [all...] |
/frameworks/base/core/java/android/server/search/ |
Searchables.java | 21 import android.content.ComponentName; 54 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null; 60 private ComponentName mCurrentGlobalSearchActivity = null; 61 private ComponentName mWebSearchActivity = null; 103 public SearchableInfo getSearchableInfo(ComponentName activity) { 143 ComponentName referredActivity; 145 referredActivity = new ComponentName(pkg, pkg + refActivityName); 147 referredActivity = new ComponentName(pkg, refActivityName); 191 HashMap<ComponentName, SearchableInfo> newSearchablesMap 192 = new HashMap<ComponentName, SearchableInfo>() [all...] |
/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 21 import android.content.ComponentName; 62 ComponentName name = new ComponentName(this, DefaultActivity.class);
|
/frameworks/base/media/libstagefright/omx/tests/ |
OMXHarness.h | 67 const char *componentName, const char *componentRole); 70 const char *componentName, const char *componentRole); 73 const char *componentName, const char *componentRole);
|
/frameworks/base/services/java/com/android/server/pm/ |
PreferredActivity.java | 26 import android.content.ComponentName; 39 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) {
|
/frameworks/base/core/java/android/content/ |
ComponentName.aidl | 19 parcelable ComponentName;
|