/frameworks/base/core/java/android/app/admin/ |
IDevicePolicyManager.aidl | 20 import android.content.ComponentName; 28 void setPasswordQuality(in ComponentName who, int quality, int userHandle); 29 int getPasswordQuality(in ComponentName who, int userHandle); 31 void setPasswordMinimumLength(in ComponentName who, int length, int userHandle); 32 int getPasswordMinimumLength(in ComponentName who, int userHandle); 34 void setPasswordMinimumUpperCase(in ComponentName who, int length, int userHandle); 35 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle); 37 void setPasswordMinimumLowerCase(in ComponentName who, int length, int userHandle); 38 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle); 40 void setPasswordMinimumLetters(in ComponentName who, int length, int userHandle) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ComponentNameTest.java | 19 import android.content.ComponentName; 25 * Test {@link ComponentName}. 29 // new the ComponentName instance 30 new ComponentName("com.android.app", "com.android.app.InstrumentationTestActivity"); 34 new ComponentName((String) null, (String) null); 35 fail("ComponentName's constructor (String, Stirng) can not accept null input values."); 40 // new the ComponentName instance: test real Context , real class name string 41 new ComponentName(mContext, "ActivityTestCase"); 45 new ComponentName((Context) null, "ActivityTestCase"); 53 new ComponentName(mContext, (String) null) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
IUsageStats.aidl | 19 import android.content.ComponentName; 23 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);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TestService.java | 4 import android.content.ComponentName; 10 ComponentName name; 12 ComponentName nameUnbound; 20 public void onServiceConnected(ComponentName name, IBinder service) { 26 public void onServiceDisconnected(ComponentName name) {
|
/frameworks/base/core/java/android/service/dreams/ |
IDreamManager.aidl | 21 import android.content.ComponentName; 28 void setDreamComponents(in ComponentName[] componentNames); 29 ComponentName[] getDreamComponents(); 30 ComponentName getDefaultDreamComponent(); 31 void testDream(in ComponentName componentName);
|
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
MockPackageManager.java | 21 import android.content.ComponentName; 55 public int getComponentEnabledSetting(ComponentName componentName) { 56 return mComponentEnabledSettings.get(componentName.flattenToString()); 63 * addPackage("Email", new ComponentName("com.android.email", "com.android.email.MainView"), 69 * @param componentName The full component name of the app. 75 public void addPackage(final String title, ComponentName componentName, int appEnabledSetting, 85 // Set the application's ComponentName. 87 packageInfo.activityInfo.name = componentName.getClassName() [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityTest.java | 20 import android.content.ComponentName; 26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 45 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 52 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 59 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 65 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 72 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 80 new ComponentName(getContext(), RemoteSubActivityScreen.class)) [all...] |
LaunchTest.java | 19 import android.content.ComponentName; 26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); 32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); 38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); 44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); 63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageItemInfo_DisplayNameComparatorTest.java | 20 import android.content.ComponentName; 37 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); 38 ActivityInfo activityInfo = pm.getActivityInfo(componentName, 0); 41 componentName = new ComponentName(PACKAGE_NAME, CMPACTIVITY_NAME); 42 activityInfo = pm.getActivityInfo(componentName, 0);
|
ActivityInfoTest.java | 21 import android.content.ComponentName; 50 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 53 componentName, PackageManager.GET_META_DATA); 77 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 80 componentName, PackageManager.GET_META_DATA); 96 ComponentName componentName = new ComponentName(mContext, MockActivity.class) [all...] |
/frameworks/base/core/java/android/content/ |
ComponentName.java | 33 public final class ComponentName implements Parcelable, Cloneable, Comparable<ComponentName> { 45 public ComponentName(String pkg, String cls) { 60 public ComponentName(Context pkg, String cls) { 74 public ComponentName(Context pkg, Class<?> cls) { 79 public ComponentName clone() { 80 return new ComponentName(mPackage, mClass); 114 * class names contained in the ComponentName. You can later recover 115 * the ComponentName from this string through 144 * Recover a ComponentName from a String that was previously created wit [all...] |
/frameworks/base/core/java/android/app/ |
ISearchManager.aidl | 21 import android.content.ComponentName; 28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); 31 ComponentName getGlobalSearchActivity(); 32 ComponentName getWebSearchActivity(); 33 ComponentName getAssistIntent(int userHandle);
|
IInstrumentationWatcher.aidl | 20 import android.content.ComponentName; 26 void instrumentationStatus(in ComponentName name, int resultCode, 28 void instrumentationFinished(in ComponentName name, int resultCode,
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
Enabler.java | 21 import android.content.ComponentName; 37 final ComponentName componentName = new ComponentName(context, SpareParts.class); 41 pm.setComponentEnabledSetting(componentName, value, PackageManager.DONT_KILL_APP);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 3 import android.content.ComponentName; 70 public ActivityInfo getActivityInfo(ComponentName className, int flags) throws NameNotFoundException { 75 public ActivityInfo getReceiverInfo(ComponentName className, int flags) throws NameNotFoundException { 80 public ServiceInfo getServiceInfo(ComponentName className, int flags) throws NameNotFoundException { 85 public ProviderInfo getProviderInfo(ComponentName componentName, int i) throws NameNotFoundException { 149 public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller, Intent[] specifics, Intent intent, int flags) { 174 public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags) throws NameNotFoundException { 186 @Override public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException { 206 @Override public Drawable getActivityLogo(ComponentName componentName) throws NameNotFoundException [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 20 import android.content.ComponentName; 50 private final HashMap<ComponentName, CacheEntry> mCache = 51 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY); 132 * Remove any records for the supplied ComponentName. 134 public void remove(ComponentName componentName) { 136 mCache.remove(componentName); 155 CacheEntry entry = cacheLocked(application.componentName, info, labelCache); 165 ComponentName component = intent.getComponent(); 176 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo [all...] |
PendingAddItemInfo.java | 21 import android.content.ComponentName; 33 ComponentName componentName; 69 componentName = i.provider; 94 componentName = copy.componentName; 105 return "Widget: " + componentName.toShortString();
|
InfoDropTarget.java | 19 import android.content.ComponentName; 76 ComponentName componentName = null; 78 componentName = ((ApplicationInfo) d.dragInfo).componentName; 80 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); 82 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; 84 if (componentName != null) { 85 mLauncher.startApplicationDetailsActivity(componentName); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
TestDeviceAdminReceiver.java | 20 import android.content.ComponentName; 25 public static ComponentName getComponent(Context context) { 26 return new ComponentName(context, TestDeviceAdminReceiver.class);
|
/frameworks/support/v4/honeycomb/android/support/v4/content/ |
IntentCompatHoneycomb.java | 19 import android.content.ComponentName; 23 public static Intent makeMainActivity(ComponentName mainActivity) { 27 public static Intent makeRestartActivityTask(ComponentName mainActivity) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Sources.java | 4 import android.content.ComponentName; 35 Source createSourceFor(ComponentName component);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManager.java | 8 import android.content.ComponentName; 23 private Map<ComponentName, ComponentState> componentList = new HashMap<ComponentName,ComponentState>(); 24 private Map<ComponentName, Drawable> drawableList = new HashMap<ComponentName, Drawable>(); 110 public Drawable getActivityIcon(ComponentName componentName) { 111 return drawableList.get(componentName); 114 public void addActivityIcon( ComponentName component, Drawable d ) { 125 i.setComponent( new ComponentName(packageName, "") ) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
LaunchTest.java | 21 import android.content.ComponentName; 45 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 51 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 60 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); 65 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); 70 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); 75 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowComponentName.java | 3 import android.content.ComponentName; 13 * Shadows the {@code android.content.ComponentName} class. 18 @Implements(ComponentName.class) 52 public static ComponentName readFromParcel(Parcel in) { 58 return new ComponentName(pkg, cls); 69 public static void writeToParcel(ComponentName c, Parcel out) { 102 return "ComponentName{" +
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationLauncher.java | 22 import android.content.ComponentName; 89 ComponentName componentName = Applications.uriToComponentName(uri); 90 Log.i(TAG, "Launching " + componentName); 91 if (componentName != null) { 95 launchIntent.setComponent(componentName); 99 Log.w(TAG, "Activity not found: " + componentName);
|