Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl20 import android.content.ComponentName;
35 void setPasswordQuality(in ComponentName who, int quality, int userHandle); in setPasswordQuality()
36 int getPasswordQuality(in ComponentName who, int userHandle); in getPasswordQuality()
38 void setPasswordMinimumLength(in ComponentName who, int length, int userHandle); in setPasswordMinimumLength()
39 int getPasswordMinimumLength(in ComponentName who, int userHandle); in getPasswordMinimumLength()
41 void setPasswordMinimumUpperCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumUpperCase()
42 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle); in getPasswordMinimumUpperCase()
44 void setPasswordMinimumLowerCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumLowerCase()
45 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle); in getPasswordMinimumLowerCase()
47 void setPasswordMinimumLetters(in ComponentName who, int length, int userHandle); in setPasswordMinimumLetters()
[all …]
DDevicePolicyManager.java24 import android.content.ComponentName;
489 public boolean isAdminActive(ComponentName who) { in isAdminActive()
497 public boolean isAdminActiveAsUser(ComponentName who, int userId) { in isAdminActiveAsUser()
512 public boolean isRemovingAdmin(ComponentName who, int userId) { in isRemovingAdmin()
529 public List<ComponentName> getActiveAdmins() { in getActiveAdmins()
537 public List<ComponentName> getActiveAdminsAsUser(int userId) { in getActiveAdminsAsUser()
570 public void removeActiveAdmin(ComponentName who) { in removeActiveAdmin()
589 public boolean hasGrantedPolicy(ComponentName admin, int usesPolicy) { in hasGrantedPolicy()
690 public void setPasswordQuality(ComponentName admin, int quality) { in setPasswordQuality()
706 public int getPasswordQuality(ComponentName admin) { in getPasswordQuality()
[all …]
/frameworks/base/core/java/android/content/
DComponentName.java35 public final class ComponentName implements Parcelable, Cloneable, Comparable<ComponentName> { class
47 public ComponentName(String pkg, String cls) { in ComponentName() method in ComponentName
62 public ComponentName(Context pkg, String cls) { in ComponentName() method in ComponentName
76 public ComponentName(Context pkg, Class<?> cls) { in ComponentName() method in ComponentName
81 public ComponentName clone() { in clone()
82 return new ComponentName(mPackage, mClass); in clone()
207 public static ComponentName unflattenFromString(String str) { in unflattenFromString()
217 return new ComponentName(pkg, cls); in unflattenFromString()
237 ComponentName other = (ComponentName)obj; in equals()
253 public int compareTo(ComponentName that) { in compareTo()
[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()
154 boolean isSyncActive(in Account account, String authority, in ComponentName cname); in isSyncActive()
164 SyncStatusInfo getSyncStatus(in Account account, String authority, in ComponentName cname); in getSyncStatus()
165 SyncStatusInfo getSyncStatusAsUser(in Account account, String authority, in ComponentName cname, in getSyncStatusAsUser()
175 boolean isSyncPending(in Account account, String authority, in ComponentName cname); in isSyncPending()
176 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/core/java/com/android/server/trust/
DTrustArchive.java19 import android.content.ComponentName;
45 final ComponentName agent;
56 private Event(int type, int userId, ComponentName agent, String message, in Event()
71 public void logGrantTrust(int userId, ComponentName agent, String message, in logGrantTrust()
77 public void logRevokeTrust(int userId, ComponentName agent) { in logRevokeTrust()
81 public void logTrustTimeout(int userId, ComponentName agent) { in logTrustTimeout()
85 public void logAgentDied(int userId, ComponentName agent) { in logAgentDied()
89 public void logAgentConnected(int userId, ComponentName agent) { in logAgentConnected()
93 public void logAgentStopped(int userId, ComponentName agent) { in logAgentStopped()
97 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;
49 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass
50 = new HashMap<ComponentName, ContentProviderRecord>();
54 … private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser
55 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>();
79 ContentProviderRecord getProviderByClass(ComponentName name) { in getProviderByClass()
83 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { in getProviderByClass()
110 void putProviderByClass(ComponentName name, ContentProviderRecord record) { in putProviderByClass()
142 void removeProviderByClass(ComponentName name, int userId) { in removeProviderByClass()
152 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId); in removeProviderByClass()
[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()
33 ComponentName getAssistIntent(int userHandle); in getAssistIntent()
/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/services/core/java/com/android/server/notification/
DManagedServices.java21 import android.content.ComponentName;
85 private ArraySet<ComponentName> mEnabledServicesForCurrentProfiles
86 = new ArraySet<ComponentName>();
116 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, in newServiceInfo()
129 for (ComponentName cmpt : mEnabledServicesForCurrentProfiles) { in dump()
194 public void registerService(IInterface service, ComponentName component, int userid) { in registerService()
226 Set<ComponentName> installed = new ArraySet<ComponentName>(); in disableNonexistentServices()
238 installed.add(new ComponentName(info.packageName, info.name)); in disableNonexistentServices()
246 ComponentName enabledComponent = ComponentName.unflattenFromString(enabled[i]); in disableNonexistentServices()
281 final SparseArray<ArrayList<ComponentName>> toAdd in rebindServices()
[all …]
/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/base/core/java/android/content/pm/
DIPackageManager.aidl20 import android.content.ComponentName;
77 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo()
79 boolean activitySupportsIntent(in ComponentName className, in Intent intent, in activitySupportsIntent()
82 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo()
84 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo()
86 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); in getProviderInfo()
126 in ComponentName caller, in Intent[] specifics, in queryIntentActivityOptions()
192 in ComponentName className, int flags); in getInstrumentationInfo()
244 in IntentFilter filter, int match, in ComponentName activity); in setLastChosenActivity()
247 in ComponentName[] set, in ComponentName activity, int userId); in addPreferredActivity()
[all …]
/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/cmds/dpm/src/com/android/commands/dpm/
DDpm.java20 import android.content.ComponentName;
47 private ComponentName mComponent = null;
109 ComponentName component = parseComponentName(nextArgRequired()); in runSetDeviceOwner()
129 ComponentName component = parseComponentName(nextArgRequired()); in runSetProfileOwner()
147 private ComponentName parseComponentName(String component) { in parseComponentName()
148 ComponentName cn = ComponentName.unflattenFromString(component); in parseComponentName()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java20 import android.content.ComponentName;
43 private final ComponentName mComponentName;
48 ComponentName componentName, in PhoneAccountHandle()
55 ComponentName componentName, in PhoneAccountHandle()
69 public ComponentName getComponentName() { in getComponentName()
155 this(ComponentName.CREATOR.createFromParcel(in), in PhoneAccountHandle()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java22 import android.content.ComponentName;
137 ComponentName curRecognizer = getCurRecognizer(userHandle); in initForUser()
171 ComponentName curInteractor = !TextUtils.isEmpty(curInteractorStr) in initForUser()
172 ? ComponentName.unflattenFromString(curInteractorStr) : null; in initForUser()
193 setCurInteractor(new ComponentName(curInteractorInfo.getServiceInfo().packageName, in initForUser()
197 new ComponentName(curInteractorInfo.getServiceInfo().packageName, in initForUser()
237 ComponentName serviceComponent = null; in switchImplementationIfNeededLocked()
240 serviceComponent = ComponentName.unflattenFromString(curService); in switchImplementationIfNeededLocked()
263 VoiceInteractionServiceInfo findAvailInteractor(int userHandle, ComponentName recognizer) { in findAvailInteractor()
279 ComponentName comp = new ComponentName(cur.packageName, cur.name); in findAvailInteractor()
[all …]
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java19 import android.content.ComponentName;
41 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
59 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
64 private static final ComponentName SERVICE_COMPONENT = new ComponentName(

12345678910>>...16