Home
last modified time | relevance | path

Searched refs:ComponentName (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl21 import android.content.ComponentName;
38 void setPasswordQuality(in ComponentName who, int quality); in setPasswordQuality()
39 int getPasswordQuality(in ComponentName who, int userHandle); in getPasswordQuality()
41 void setPasswordMinimumLength(in ComponentName who, int length); in setPasswordMinimumLength()
42 int getPasswordMinimumLength(in ComponentName who, int userHandle); in getPasswordMinimumLength()
44 void setPasswordMinimumUpperCase(in ComponentName who, int length); in setPasswordMinimumUpperCase()
45 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle); in getPasswordMinimumUpperCase()
47 void setPasswordMinimumLowerCase(in ComponentName who, int length); in setPasswordMinimumLowerCase()
48 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle); in getPasswordMinimumLowerCase()
50 void setPasswordMinimumLetters(in ComponentName who, int length); in setPasswordMinimumLetters()
[all …]
DDevicePolicyManager.java25 import android.content.ComponentName;
824 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive()
832 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
847 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin()
864 public List<ComponentName> getActiveAdmins() { in getActiveAdmins()
872 public List<ComponentName> getActiveAdminsAsUser(int userId) { in getActiveAdminsAsUser()
905 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin()
924 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy()
1025 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality()
1041 public int getPasswordQuality(@Nullable ComponentName admin) { in getPasswordQuality()
[all …]
/frameworks/base/core/java/android/content/
DComponentName.java36 public final class ComponentName implements Parcelable, Cloneable, Comparable<ComponentName> { class
55 public static ComponentName createRelative(String pkg, String cls) { in createRelative()
68 return new ComponentName(pkg, fullName); in createRelative()
86 public static ComponentName createRelative(Context pkg, String cls) { in createRelative()
98 public ComponentName(String pkg, String cls) { in ComponentName() method in ComponentName
113 public ComponentName(Context pkg, String cls) { in ComponentName() method in ComponentName
127 public ComponentName(Context pkg, Class<?> cls) { in ComponentName() method in ComponentName
132 public ComponentName clone() { in clone()
133 return new ComponentName(mPackage, mClass); in clone()
258 public static ComponentName unflattenFromString(String str) { in unflattenFromString()
[all …]
DIContentService.aidl20 import android.content.ComponentName;
64 void cancelSync(in Account account, String authority, in ComponentName cname); in cancelSync()
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId); in cancelSyncAsUser()
96 in ComponentName cname); in getPeriodicSyncs()
156 boolean isSyncActive(in Account account, String authority, in ComponentName cname); in isSyncActive()
166 SyncStatusInfo getSyncStatus(in Account account, String authority, in ComponentName cname); in getSyncStatus()
167 SyncStatusInfo getSyncStatusAsUser(in Account account, String authority, in ComponentName cname, in getSyncStatusAsUser()
177 boolean isSyncPending(in Account account, String authority, in ComponentName cname); in isSyncPending()
178 boolean isSyncPendingAsUser(in Account account, String authority, in ComponentName cname, in isSyncPendingAsUser()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl19 import android.content.ComponentName;
29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory()
30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid()
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory()
32 boolean setDefaultForNextTap(int userHandle, in ComponentName service); in setDefaultForNextTap()
33 …boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup); in registerAidGroupForService()
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService()
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService()
37 boolean setPreferredService(in ComponentName service); in setPreferredService()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityTest.java20 import android.content.ComponentName;
26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testPendingResult()
32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testNoResult()
38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testResult()
45 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testFinishSub()
52 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteNoResult()
59 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteResult()
65 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testRemoteFinishSub()
72 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteRestartNoResult()
80 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteRestartResult()
[all …]
DLaunchTest.java19 import android.content.ComponentName;
26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
DMetaDataTest.java19 import android.content.ComponentName;
42 private void checkMetaData(ComponentName cn, PackageItemInfo ci) in checkMetaData()
99 ComponentName cn = new ComponentName(mContext, LocalActivity.class); in testActivityWithData()
112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class); in testReceiverWithData()
125 ComponentName cn = new ComponentName(mContext, LocalService.class); in testServiceWithData()
138 ComponentName cn = new ComponentName(mContext, LocalProvider.class); in testProviderWithData()
152 ComponentName cn = new ComponentName("foo", in testPermissionWithData()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java22 import android.content.ComponentName;
61 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null;
67 private ComponentName mCurrentGlobalSearchActivity = null;
68 private ComponentName mWebSearchActivity = null;
117 public SearchableInfo getSearchableInfo(ComponentName activity) { in getSearchableInfo()
160 ComponentName referredActivity; in getSearchableInfo()
162 referredActivity = new ComponentName(pkg, pkg + refActivityName); in getSearchableInfo()
164 referredActivity = new ComponentName(pkg, refActivityName); in getSearchableInfo()
205 HashMap<ComponentName, SearchableInfo> newSearchablesMap in buildSearchableList()
206 = new HashMap<ComponentName, SearchableInfo>(); in buildSearchableList()
[all …]
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java28 import android.content.ComponentName;
79 private ComponentName mCurrentDreamName;
191 private void testDreamInternal(ComponentName dream, int userId) { in testDreamInternal()
199 final ComponentName dream = chooseDreamForUser(doze, userId); in startDreamInternal()
250 private ComponentName chooseDreamForUser(boolean doze, int userId) { in chooseDreamForUser()
252 ComponentName dozeComponent = getDozeComponent(userId); in chooseDreamForUser()
255 ComponentName[] dreams = getDreamComponentsForUser(userId); in chooseDreamForUser()
259 private boolean validateDream(ComponentName component) { in validateDream()
275 private ComponentName[] getDreamComponentsForUser(int userId) { in getDreamComponentsForUser()
279 ComponentName[] components = componentsFromString(names); in getDreamComponentsForUser()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DIntentCompat.java19 import android.content.ComponentName;
31 Intent makeMainActivity(ComponentName componentName); in makeMainActivity()
33 Intent makeRestartActivityTask(ComponentName mainActivity); in makeRestartActivityTask()
38 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity()
57 public Intent makeRestartActivityTask(ComponentName mainActivity) { in makeRestartActivityTask()
67 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity()
71 public Intent makeRestartActivityTask(ComponentName componentName) { in makeRestartActivityTask()
220 public static Intent makeMainActivity(ComponentName mainActivity) { in makeMainActivity()
265 public static Intent makeRestartActivityTask(ComponentName mainActivity) { in makeRestartActivityTask()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDeviceOwnerTest.java19 import android.content.ComponentName;
56 ComponentName admin = new ComponentName( in testProfileOwnerOnly()
74 ComponentName profileAdmin = new ComponentName( in testDeviceAndProfileOwners()
76 ComponentName otherProfileAdmin = new ComponentName( in testDeviceAndProfileOwners()
80 ComponentName legacyComponentName = new ComponentName("legacy.profile.owner.package", ""); in testDeviceAndProfileOwners()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustArchive.java19 import android.content.ComponentName;
46 final ComponentName agent;
57 private Event(int type, int userId, ComponentName agent, String message, in Event()
72 public void logGrantTrust(int userId, ComponentName agent, String message, in logGrantTrust()
78 public void logRevokeTrust(int userId, ComponentName agent) { in logRevokeTrust()
82 public void logTrustTimeout(int userId, ComponentName agent) { in logTrustTimeout()
86 public void logAgentDied(int userId, ComponentName agent) { in logAgentDied()
90 public void logAgentConnected(int userId, ComponentName agent) { in logAgentConnected()
94 public void logAgentStopped(int userId, ComponentName agent) { in logAgentStopped()
98 public void logManagingTrust(int userId, ComponentName agent, boolean managing) { in logManagingTrust()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java19 import android.content.ComponentName;
50 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass
51 = new HashMap<ComponentName, ContentProviderRecord>();
55 … private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser
56 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>();
80 ContentProviderRecord getProviderByClass(ComponentName name) { in getProviderByClass()
84 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { in getProviderByClass()
111 void putProviderByClass(ComponentName name, ContentProviderRecord record) { in putProviderByClass()
143 void removeProviderByClass(ComponentName name, int userId) { in removeProviderByClass()
153 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass()
[all …]
/frameworks/base/core/java/android/service/dreams/
DIDreamManager.aidl19 import android.content.ComponentName;
28 void setDreamComponents(in ComponentName[] componentNames); in setDreamComponents()
29 ComponentName[] getDreamComponents(); in getDreamComponents()
30 ComponentName getDefaultDreamComponent(); in getDefaultDreamComponent()
31 void testDream(in ComponentName componentName); in testDream()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsPackageMonitor.java19 import android.content.ComponentName;
95 public HashSet<ComponentName> computeComponentsRemoved(List<Task.TaskKey> taskKeys, in computeComponentsRemoved()
99 HashSet<ComponentName> existingComponents = new HashSet<ComponentName>(); in computeComponentsRemoved()
100 HashSet<ComponentName> removedComponents = new HashSet<ComponentName>(); in computeComponentsRemoved()
105 ComponentName cn = t.baseIntent.getComponent(); in computeComponentsRemoved()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java22 import android.content.ComponentName;
242 ComponentName componentName = ComponentName.unflattenFromString(component); in getEnabledListenerPackages()
290 private final Map<ComponentName, ListenerRecord> mRecordMap =
291 new HashMap<ComponentName, ListenerRecord>();
320 handleServiceDisconnected((ComponentName) msg.obj); in handleMessage()
323 handleRetryListenerQueue((ComponentName) msg.obj); in handleMessage()
337 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { in handleServiceConnected()
346 private void handleServiceDisconnected(ComponentName componentName) { in handleServiceDisconnected()
353 private void handleRetryListenerQueue(ComponentName componentName) { in handleRetryListenerQueue()
361 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in onServiceConnected()
[all …]
DNavUtils.java20 import android.content.ComponentName;
57 final ComponentName target = new ComponentName(activity, parentName); in getParentActivityIntent()
232 new ComponentName(context, sourceActivityClass)); in getParentActivityIntent()
236 final ComponentName target = new ComponentName(context, parentActivity); in getParentActivityIntent()
254 public static Intent getParentActivityIntent(Context context, ComponentName componentName) in getParentActivityIntent()
260 final ComponentName target = new ComponentName( in getParentActivityIntent()
298 public static String getParentActivityName(Context context, ComponentName componentName) in getParentActivityName()
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java19 import android.content.ComponentName;
121 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, in matches()
137 public abstract String getValue(ComponentName resolvedComponent, Intent intent, in getValue()
232 public String getValue(ComponentName resolvedComponent, Intent intent,
243 public String getValue(ComponentName resolvedComponent, Intent intent,
254 public String getValue(ComponentName resolvedComponent, Intent intent,
265 public String getValue(ComponentName resolvedComponent, Intent intent,
273 public String getValue(ComponentName resolvedComponent, Intent intent,
285 public String getValue(ComponentName resolvedComponent, Intent intent,
293 public String getValue(ComponentName resolvedComponent, Intent intent,
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java22 import android.content.ComponentName;
89 private ArraySet<ComponentName> mEnabledServicesForCurrentProfiles
90 = new ArraySet<ComponentName>();
140 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, in newServiceInfo()
153 for (ComponentName cmpt : mEnabledServicesForCurrentProfiles) { in dump()
247 public void registerService(IInterface service, ComponentName component, int userid) { in registerService()
294 Set<ComponentName> installed = new ArraySet<ComponentName>(); in disableNonexistentServices()
299 ComponentName component = new ComponentName(info.packageName, info.name); in disableNonexistentServices()
316 ComponentName enabledComponent = ComponentName.unflattenFromString(enabled[i]); in disableNonexistentServices()
362 final SparseArray<ArrayList<ComponentName>> toAdd in rebindServices()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DServiceMonitor.java20 import android.content.ComponentName;
88 serviceDisconnected((ComponentName)msg.obj);
101 ComponentName cn = getComponentNameFromSetting();
114 private ComponentName mName;
117 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
128 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
157 private ComponentName mServiceName;
187 private ComponentName getComponentNameFromSetting() { in getComponentNameFromSetting()
190 return cn == null ? null : ComponentName.unflattenFromString(cn); in getComponentNameFromSetting()
252 private void serviceDisconnected(ComponentName serviceName) { in serviceDisconnected()
[all …]
/frameworks/base/core/java/android/service/chooser/
DChooserTarget.java21 import android.content.ComponentName;
62 private ComponentName mComponentName;
104 ComponentName componentName, @Nullable Bundle intentExtras) { in ChooserTarget()
124 mComponentName = ComponentName.readFromParcel(in); in ChooserTarget()
164 public ComponentName getComponentName() { in getComponentName()
201 ComponentName.writeToParcel(mComponentName, dest); in writeToParcel()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java19 import android.content.ComponentName;
39 private final ComponentName mComponentName;
44 ComponentName componentName, in PhoneAccountHandle()
50 ComponentName componentName, in PhoneAccountHandle()
64 public ComponentName getComponentName() { in getComponentName()
152 this(ComponentName.CREATOR.createFromParcel(in), in PhoneAccountHandle()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl20 import android.content.ComponentName;
81 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
83 boolean activitySupportsIntent(in ComponentName className, in Intent intent, in activitySupportsIntent()
86 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
88 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
90 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
144 in ComponentName caller, in Intent[] specifics, in queryIntentActivityOptions()
210 in ComponentName className, int flags); in getInstrumentationInfo()
262 in IntentFilter filter, int match, in ComponentName activity); in setLastChosenActivity()
265 in ComponentName[] set, in ComponentName activity, int userId); in addPreferredActivity()
[all …]
/frameworks/base/core/java/android/app/
DISearchManager.aidl21 import android.content.ComponentName;
28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); in getSearchableInfo()
31 ComponentName getGlobalSearchActivity(); in getGlobalSearchActivity()
32 ComponentName getWebSearchActivity(); in getWebSearchActivity()

12345678910>>...17