/frameworks/base/core/java/android/app/admin/ |
IDevicePolicyManager.aidl | 20 import android.content.ComponentName; 28 void setPasswordQuality(in ComponentName who, int quality); 29 int getPasswordQuality(in ComponentName who); 31 void setPasswordMinimumLength(in ComponentName who, int length); 32 int getPasswordMinimumLength(in ComponentName who); 34 void setPasswordMinimumUpperCase(in ComponentName who, int length); 35 int getPasswordMinimumUpperCase(in ComponentName who); 37 void setPasswordMinimumLowerCase(in ComponentName who, int length); 38 int getPasswordMinimumLowerCase(in ComponentName who); 40 void setPasswordMinimumLetters(in ComponentName who, int length) [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);
|
/cts/tests/tests/content/src/android/content/cts/ |
ComponentNameTest.java | 19 import android.content.ComponentName; 30 * Test {@link ComponentName}. 32 @TestTargetClass(ComponentName.class) 37 method = "ComponentName", 42 method = "ComponentName", 47 method = "ComponentName", 52 method = "ComponentName", 58 // new the ComponentName instance 59 new ComponentName("com.android.app", "com.android.app.InstrumentationTestActivity"); 63 new ComponentName((String) null, (String) null) [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();
|
IInstrumentationWatcher.aidl | 20 import android.content.ComponentName; 26 void instrumentationStatus(in ComponentName name, int resultCode, 28 void instrumentationFinished(in ComponentName name, int resultCode,
|
IServiceConnection.aidl | 20 import android.content.ComponentName; 24 void connected(in ComponentName name, IBinder service);
|
/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));
|
/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...] |
/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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 19 import android.content.ComponentName; 47 private final HashMap<ComponentName, CacheEntry> mCache = 48 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY); 134 * Remove any records for the supplied ComponentName. 136 public void remove(ComponentName componentName) { 138 mCache.remove(componentName); 157 CacheEntry entry = cacheLocked(application.componentName, info, labelCache); 167 ComponentName component = intent.getComponent(); 178 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo [all...] |
PendingAddItemInfo.java | 20 import android.content.ComponentName; 30 ComponentName componentName; 46 componentName = i.provider;
|
ApplicationInfo.java | 19 import android.content.ComponentName; 56 ComponentName componentName; 74 this.componentName = new ComponentName(packageName, info.activityInfo.name); 76 this.setActivity(componentName, 98 componentName = info.componentName; 112 final void setActivity(ComponentName className, int launchFlags) {
|
InfoDropTarget.java | 19 import android.content.ComponentName; 79 ComponentName componentName = null; 81 componentName = ((ApplicationInfo) d.dragInfo).componentName; 83 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); 85 if (componentName != null) { 86 mLauncher.startApplicationDetailsActivity(componentName);
|
/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);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageItemInfo_DisplayNameComparatorTest.java | 24 import android.content.ComponentName; 57 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); 58 ActivityInfo activityInfo = pm.getActivityInfo(componentName, 0); 61 componentName = new ComponentName(PACKAGE_NAME, CMPACTIVITY_NAME); 62 activityInfo = pm.getActivityInfo(componentName, 0);
|
ActivityInfoTest.java | 26 import android.content.ComponentName; 76 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 79 componentName, PackageManager.GET_META_DATA); 108 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 111 componentName, PackageManager.GET_META_DATA); 137 ComponentName componentName = new ComponentName(mContext, MockActivity.class) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Sources.java | 4 import android.content.ComponentName; 35 Source createSourceFor(ComponentName component);
|
/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);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MediaButtonHelper.java | 3 import android.content.ComponentName; 28 new Class[] { ComponentName.class }); 31 new Class[] { ComponentName.class }); 38 ComponentName receiver) { 63 ComponentName receiver) {
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 22 import android.content.ComponentName; 59 private SearchableInfo getSearchable(ComponentName componentName) { 60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName); 63 + componentName.flattenToShortString()); 89 public void checkSourceConcurrent(final String src, final ComponentName componentName, 92 final SearchableInfo searchable = getSearchable(componentName); 122 public void checkSource(String src, ComponentName componentName, String[] queries) [all...] |
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.app.admin.DevicePolicyManager.html | 86 <A NAME="android.app.admin.DevicePolicyManager.getPasswordExpiration_added(android.content.ComponentName)"></A> 87 <nobr><code>long</code> <A HREF="../../../../reference/android/app/admin/DevicePolicyManager.html#getPasswordExpiration(android.content.ComponentName)" target="_top"><code>getPasswordExpiration</code></A>(<code>ComponentName</code>)</nobr> 93 <A NAME="android.app.admin.DevicePolicyManager.getPasswordExpirationTimeout_added(android.content.ComponentName)"></A> 94 <nobr><code>long</code> <A HREF="../../../../reference/android/app/admin/DevicePolicyManager.html#getPasswordExpirationTimeout(android.content.ComponentName)" target="_top"><code>getPasswordExpirationTimeout</code></A>(<code>ComponentName</code>)</nobr> 100 <A NAME="android.app.admin.DevicePolicyManager.getPasswordHistoryLength_added(android.content.ComponentName)"></A> 101 <nobr><code>int</code> <A HREF="../../../../reference/android/app/admin/DevicePolicyManager.html#getPasswordHistoryLength(android.content.ComponentName)" target="_top"><code>getPasswordHistoryLength</code></A>(<code>ComponentName</code>)</nobr> 107 <A NAME="android.app.admin.DevicePolicyManager.getPasswordMinimumLetters_added(android.content.ComponentName)"></A [all...] |
/frameworks/base/services/java/com/android/server/ |
RecognitionManagerService.java | 21 import android.content.ComponentName; 43 ComponentName comp = getCurRecognizer(); 72 ComponentName comp = getCurRecognizer(); 88 ComponentName findAvailRecognizer(String prefPackage) { 102 return new ComponentName(serviceInfo.packageName, serviceInfo.name); 111 return new ComponentName(serviceInfo.packageName, serviceInfo.name); 115 ComponentName getCurRecognizer() { 122 return ComponentName.unflattenFromString(curRecognizer); 125 void setCurRecognizer(ComponentName comp) {
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyActivityEvent.java | 20 import android.content.ComponentName; 30 private ComponentName mApp; 33 public MonkeyActivityEvent(ComponentName app) { 38 public MonkeyActivityEvent(ComponentName app, long arg) {
|