/frameworks/base/core/java/android/app/admin/ |
IDevicePolicyManager.aidl | 21 import android.content.ComponentName; 39 void setPasswordQuality(in ComponentName who, int quality, boolean parent); 40 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); 42 void setPasswordMinimumLength(in ComponentName who, int length, boolean parent); 43 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); 45 void setPasswordMinimumUpperCase(in ComponentName who, int length, boolean parent); 46 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); 48 void setPasswordMinimumLowerCase(in ComponentName who, int length, boolean parent); 49 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); 51 void setPasswordMinimumLetters(in ComponentName who, int length, boolean parent) [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...] |
/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() {
|
PaymentServiceDynamicAids.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 29 public ComponentName getComponent() {
|
PrefixAccessService.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 31 public ComponentName getComponent() {
|
PrefixPaymentService1.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 29 public ComponentName getComponent() {
|
PrefixPaymentService2.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 33 public ComponentName getComponent() {
|
PrefixTransportService1.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 31 public ComponentName getComponent() {
|
PrefixTransportService2.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 31 public ComponentName getComponent() {
|
LargeNumAidsService.java | 3 import android.content.ComponentName; 8 static final ComponentName COMPONENT = 9 new ComponentName("com.android.cts.verifier", 34 public ComponentName getComponent() {
|
/external/robolectric/v1/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) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ComponentKey.java | 19 import android.content.ComponentName; 28 public final ComponentName componentName; 33 public ComponentKey(ComponentName componentName, UserHandleCompat user) { 34 assert (componentName != null); 36 this.componentName = componentName; 38 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); 52 componentName = ComponentName.unflattenFromString(componentStr) [all...] |
/frameworks/base/core/java/android/nfc/ |
INfcCardEmulation.aidl | 19 import android.content.ComponentName; 29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); 31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 32 boolean setDefaultForNextTap(int userHandle, in ComponentName service); 33 boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup); 34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); 35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); 37 boolean setPreferredService(in ComponentName service);
|
INfcFCardEmulation.aidl | 19 import android.content.ComponentName; 27 String getSystemCodeForService(int userHandle, in ComponentName service); 28 boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); 29 boolean removeSystemCodeForService(int userHandle, in ComponentName service); 30 String getNfcid2ForService(int userHandle, in ComponentName service); 31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); 32 boolean enableNfcFForegroundService(in ComponentName service);
|
/frameworks/base/telecomm/java/android/telecom/ |
RemoteConnectionManager.java | 19 import android.content.ComponentName; 31 private final Map<ComponentName, RemoteConnectionService> mRemoteConnectionServices = 40 ComponentName componentName, 42 if (!mRemoteConnectionServices.containsKey(componentName)) { 47 mRemoteConnectionServices.put(componentName, remoteConnectionService); 62 ComponentName componentName = request.getAccountHandle().getComponentName(); 63 if (!mRemoteConnectionServices.containsKey(componentName)) { 65 + componentName); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
InfoDropTarget.java | 19 import android.content.ComponentName; 45 ComponentName componentName = null; 47 componentName = ((AppInfo) info).componentName; 49 componentName = ((ShortcutInfo) info).intent.getComponent(); 51 componentName = ((PendingAddItemInfo) info).componentName; 60 if (componentName != null) { 61 launcher.startApplicationDetailsActivity(componentName, user) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AppInfo.java | 19 import android.content.ComponentName; 26 private final ComponentName mComponentName; 29 public AppInfo(ComponentName componentName, UserHandle user) { 30 if (componentName == null || user == null) throw new IllegalArgumentException(); 31 mComponentName = componentName; 35 public ComponentName getComponentName() {
|
/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...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
ConnectionServiceRepository.java | 19 import android.content.ComponentName; 34 private final HashMap<Pair<ComponentName, UserHandle>, ConnectionServiceWrapper> mServiceCache = 63 public ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) { 64 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle); 68 componentName, 89 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) { 90 ComponentName componentName = cacheKey.first [all...] |
/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);
|