/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
AccessService.java | 3 import android.content.ComponentName; 6 static final ComponentName COMPONENT = 7 new ComponentName("com.android.cts.verifier", 25 public ComponentName getComponent() {
|
PaymentService2.java | 3 import android.content.ComponentName; 6 static final ComponentName COMPONENT = 7 new ComponentName("com.android.cts.verifier", 25 public ComponentName getComponent() {
|
TransportService1.java | 3 import android.content.ComponentName; 6 static final ComponentName COMPONENT = 7 new ComponentName("com.android.cts.verifier", 25 public ComponentName getComponent() {
|
TransportService2.java | 3 import android.content.ComponentName; 6 static final ComponentName COMPONENT = 7 new ComponentName("com.android.cts.verifier", 25 public ComponentName getComponent() {
|
OffHostService.java | 3 import android.content.ComponentName; 6 public static final ComponentName COMPONENT = 7 new ComponentName("com.android.cts.verifier",
|
PaymentService1.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 29 public ComponentName getComponent() {
|
ThroughputService.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 55 public ComponentName getComponent() {
|
/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/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 22 import android.content.ComponentName; 67 private final HashMap<ComponentName, CacheEntry> mCache = 68 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY); 150 * Remove any records for the supplied ComponentName. 152 public void remove(ComponentName componentName) { 154 mCache.remove(componentName); 162 HashSet<ComponentName> forDeletion = new HashSet<ComponentName>(); 163 for (ComponentName componentName: mCache.keySet()) [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...] |
/packages/apps/Settings/src/com/android/settings/print/ |
SettingsUtils.java | 19 import android.content.ComponentName; 37 public static List<ComponentName> readEnabledPrintServices(Context context) { 38 List<ComponentName> enabledServices = new ArrayList<ComponentName>(); 52 ComponentName enabledService = ComponentName.unflattenFromString( 61 List<ComponentName> services) { 65 ComponentName service = services.get(i);
|
/frameworks/base/core/java/android/content/ |
ComponentName.java | 35 public final class ComponentName implements Parcelable, Cloneable, Comparable<ComponentName> { 47 public ComponentName(String pkg, String cls) { 62 public ComponentName(Context pkg, String cls) { 76 public ComponentName(Context pkg, Class<?> cls) { 81 public ComponentName clone() { 82 return new ComponentName(mPackage, mClass); 142 * class names contained in the ComponentName. You can later recover 143 * the ComponentName from this string through 192 * 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);
|
/frameworks/base/core/java/android/nfc/ |
INfcCardEmulation.aidl | 19 import android.content.ComponentName; 28 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 29 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); 30 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 31 boolean setDefaultForNextTap(int userHandle, in ComponentName service);
|
/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...] |
/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);
|