HomeSort by relevance Sort by last modified time
    Searched full:componentname (Results 26 - 50 of 2584) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
BaseIDevicePolicyManager.java 20 import android.content.ComponentName;
67 public void setSystemSetting(ComponentName who, String setting, String value){}
69 public void transferOwnership(ComponentName admin, ComponentName target, PersistableBundle bundle) {}
75 public boolean generateKeyPair(ComponentName who, String callerPackage, String algorithm,
81 public boolean isUsingUnifiedPassword(ComponentName who) {
85 public boolean setKeyPairCertificate(ComponentName who, String callerPackage, String alias,
92 ComponentName admin, CharSequence startUserSessionMessage) {}
95 public void setEndUserSessionMessage(ComponentName admin, CharSequence endUserSessionMessage) {}
98 public String getStartUserSessionMessage(ComponentName admin)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
AppFilter.java 3 import android.content.ComponentName;
12 public boolean shouldShowApp(ComponentName app) {
  /development/samples/IntentPlayground/src/com/example/android/intentplayground/
LauncherActivity.java 19 import android.content.ComponentName;
33 Node mRoot = new Node(new ComponentName(this, LauncherActivity.class));
36 mRoot.addChild( new Node(new ComponentName(this, SingleTaskActivity.class)))
37 .addChild( new Node(new ComponentName(this, DocumentLaunchAlwaysActivity.class)))
38 .addChild( new Node(new ComponentName(this, DocumentLaunchIntoActivity.class)));
40 Node taskAffinity1 = new Node(new ComponentName(this, TaskAffinity1Activity.class));
42 .addChild(new Node(new ComponentName(this, TaskAffinity1Activity.class)))
43 .addChild(new Node(new ComponentName(this, TaskAffinity1Activity.class)));
44 Node taskAffinity2 = new Node(new ComponentName(this, ClearTaskOnLaunchActivity.class));
46 .addChild(new Node(new ComponentName(this, TaskAffinity2Activity.class))
    [all...]
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
InflatingListActivity.java 18 import android.content.ComponentName;
28 private static final ComponentName LATIN_WORDS =
29 ComponentName.createRelative(PACKAGE_NAME, ".InflatingListActivity");
30 private static final ComponentName EMOJI =
31 ComponentName.createRelative(PACKAGE_NAME, ".InflatingEmojiListActivity");
32 private static final ComponentName HAN =
33 ComponentName.createRelative(PACKAGE_NAME, ".InflatingHanListActivity");
34 private static final ComponentName LONG_STRING =
35 ComponentName.createRelative(PACKAGE_NAME, ".InflatingLongStringListActivity");
38 final ComponentName targetComponent = getIntent().getComponent()
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/display/
NightDisplayPreferenceControllerTest.java 6 import android.content.ComponentName;
45 final ComponentName componentName =
46 new ComponentName(context, NightDisplaySuggestionActivity.class);
55 final ComponentName componentName =
56 new ComponentName(context, NightDisplaySuggestionActivity.class);
65 final ComponentName componentName =
66 new ComponentName(context, NightDisplaySuggestionActivity.class)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDevicePolicyManager.java 10 import android.content.ComponentName;
32 * https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setOrganizationColor(android.content.ComponentName,
37 private ComponentName deviceOwner;
38 private ComponentName profileOwner;
39 private List<ComponentName> deviceAdmins = new ArrayList<>();
68 public boolean isAdminActive(ComponentName who) {
73 public List<ComponentName> getActiveAdmins() {
78 public void addUserRestriction(ComponentName admin, String key) {
84 public void clearUserRestriction(ComponentName admin, String key) {
90 public void setApplicationHidden(ComponentName admin, String packageName, boolean hidden)
    [all...]
  /cts/tests/framework/base/activitymanager/app/src/android/server/am/
Components.java 19 import android.content.ComponentName;
23 public static final ComponentName ALT_LAUNCHING_ACTIVITY = component("AltLaunchingActivity");
24 public static final ComponentName ALWAYS_FOCUSABLE_PIP_ACTIVITY =
26 public static final ComponentName ANIMATION_TEST_ACTIVITY = component("AnimationTestActivity");
27 public static final ComponentName ASSISTANT_ACTIVITY = component("AssistantActivity");
28 public static final ComponentName BOTTOM_ACTIVITY = component("BottomActivity");
29 public static final ComponentName BOTTOM_LEFT_LAYOUT_ACTIVITY =
31 public static final ComponentName BOTTOM_RIGHT_LAYOUT_ACTIVITY =
33 public static final ComponentName BROADCAST_RECEIVER_ACTIVITY =
35 public static final ComponentName DIALOG_WHEN_LARGE_ACTIVITY
    [all...]
  /frameworks/base/core/java/android/nfc/
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/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/java/android/net/
NetworkScorerAppData.java 4 import android.content.ComponentName;
18 private final ComponentName mRecommendationService;
22 * The {@link ComponentName} of the Activity to start before enabling the "connect to open
25 private final ComponentName mEnableUseOpenWifiActivity;
32 public NetworkScorerAppData(int packageUid, ComponentName recommendationServiceComp,
33 String recommendationServiceLabel, ComponentName enableUseOpenWifiActivity,
44 mRecommendationService = ComponentName.readFromParcel(in);
46 mEnableUseOpenWifiActivity = ComponentName.readFromParcel(in);
53 ComponentName.writeToParcel(mRecommendationService, dest);
55 ComponentName.writeToParcel(mEnableUseOpenWifiActivity, dest)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
LargeNumAidsService.java 3 import android.content.ComponentName;
8 static final ComponentName COMPONENT =
9 new ComponentName("com.android.cts.verifier",
34 public ComponentName getComponent() {
  /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 =
64 public ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) {
65 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle);
69 componentName,
90 for (Pair<ComponentName, UserHandle> cacheKey : mServiceCache.keySet()) {
91 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);
  /frameworks/base/services/backup/java/com/android/server/backup/
BackupPolicyEnforcer.java 4 import android.content.ComponentName;
22 public ComponentName getMandatoryBackupTransport() {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowDevicePolicyManager.java 7 import android.content.ComponentName;
24 ComponentName mDeviceOwnerComponentName;
27 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) {
33 CharSequence getShortSupportMessageForUser(@NonNull ComponentName admin,
39 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) {
49 public long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) {
54 public ComponentName getDeviceOwnerComponentOnAnyUser() {
70 public void setDeviceOwnerComponentOnAnyUser(ComponentName admin) {
ShadowAccessibilityServiceInfo.java 20 import android.content.ComponentName;
27 private static ComponentName sComponentName;
29 public static void setComponentName(String componentName) {
30 sComponentName = ComponentName.unflattenFromString(componentName);
34 public ComponentName getComponentName() {
  /cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/
ComponentController.java 18 import android.content.ComponentName;
26 private void enableComponent(ComponentName cn, boolean enabled) {
35 enableComponent(new ComponentName(getContext(), MyService.class), true);
39 enableComponent(new ComponentName(getContext(), MyService.class), false);
43 enableComponent(new ComponentName(getContext(), MyService2.class), true);
47 enableComponent(new ComponentName(getContext(), MyService2.class), false);
  /frameworks/base/core/java/android/service/dreams/
IDreamManager.aidl 19 import android.content.ComponentName;
28 void setDreamComponents(in ComponentName[] componentNames);
29 ComponentName[] getDreamComponents();
30 ComponentName getDefaultDreamComponent();
31 void testDream(in ComponentName componentName);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DefaultAppInfo.java 20 import android.content.ComponentName;
40 public final ComponentName componentName;
46 public DefaultAppInfo(Context context, PackageManagerWrapper pm, int uid, ComponentName cn) {
54 public DefaultAppInfo(Context context, PackageManagerWrapper pm, int uid, ComponentName cn,
61 componentName = cn;
72 componentName = null;
78 if (componentName != null) {
85 componentName.getPackageName(), 0, userId);
102 if (componentName != null)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
ItemInfoMatcher.java 19 import android.content.ComponentName;
37 public abstract boolean matches(ItemInfo info, ComponentName cn);
40 * Filters {@param infos} to those satisfying the {@link #matches(ItemInfo, ComponentName)}.
47 ComponentName cn = info.getTargetComponent();
54 ComponentName cn = s.getTargetComponent();
61 ComponentName cn = info.providerName;
77 public boolean matches(ItemInfo info, ComponentName cn) {
90 public boolean matches(ItemInfo info, ComponentName cn) {
103 public boolean matches(ItemInfo info, ComponentName cn) {
112 public boolean matches(ItemInfo info, ComponentName cn)
    [all...]
  /cts/tests/app/src/android/app/cts/
LaunchTest.java 26 import android.content.ComponentName;
31 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
37 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
46 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class));
51 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class));
56 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class));
61 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
  /developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DeviceOwnerReceiver.java 21 import android.content.ComponentName;
40 ComponentName componentName = getComponentName(context);
41 manager.setProfileName(componentName, context.getString(R.string.profile_name));
49 * @return A newly instantiated {@link android.content.ComponentName} for this
52 public static ComponentName getComponentName(Context context) {
53 return new ComponentName(context.getApplicationContext(), DeviceOwnerReceiver.class);
  /developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DeviceOwnerReceiver.java 21 import android.content.ComponentName;
40 ComponentName componentName = getComponentName(context);
41 manager.setProfileName(componentName, context.getString(R.string.profile_name));
49 * @return A newly instantiated {@link android.content.ComponentName} for this
52 public static ComponentName getComponentName(Context context) {
53 return new ComponentName(context.getApplicationContext(), DeviceOwnerReceiver.class);

Completed in 487 milliseconds

12 3 4 5 6 7 8 91011>>