OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:componentName
(Results
1 - 25
of
149
) sorted by null
1
2
3
4
5
6
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
EnableProfileActivity.java
20
import android.content.
ComponentName
;
39
ComponentName
componentName
= EnforcerDeviceAdminReceiver.getComponentName(this);
40
manager.setProfileName(
componentName
, getString(R.string.profile_name));
41
manager.setProfileEnabled(
componentName
);
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
EnableProfileActivity.java
21
import android.content.
ComponentName
;
49
ComponentName
componentName
= BasicDeviceAdminReceiver.getComponentName(this);
51
manager.setProfileName(
componentName
, getString(R.string.profile_name));
53
manager.setProfileEnabled(
componentName
);
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
EnableProfileActivity.java
20
import android.content.
ComponentName
;
39
ComponentName
componentName
= EnforcerDeviceAdminReceiver.getComponentName(this);
40
manager.setProfileName(
componentName
, getString(R.string.profile_name));
41
manager.setProfileEnabled(
componentName
);
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
EnableProfileActivity.java
21
import android.content.
ComponentName
;
49
ComponentName
componentName
= BasicDeviceAdminReceiver.getComponentName(this);
51
manager.setProfileName(
componentName
, getString(R.string.profile_name));
53
manager.setProfileEnabled(
componentName
);
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
EnableProfileActivity.java
20
import android.content.
ComponentName
;
39
ComponentName
componentName
= EnforcerDeviceAdminReceiver.getComponentName(this);
40
manager.setProfileName(
componentName
, getString(R.string.profile_name));
41
manager.setProfileEnabled(
componentName
);
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
EnableProfileActivity.java
21
import android.content.
ComponentName
;
49
ComponentName
componentName
= BasicDeviceAdminReceiver.getComponentName(this);
51
manager.setProfileName(
componentName
, getString(R.string.profile_name));
53
manager.setProfileEnabled(
componentName
);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/core/
Exynos_OMX_Component_Register.h
38
OMX_U8
componentName
[MAX_OMX_COMPONENT_NAME_SIZE];
52
OMX_U8
componentName
[MAX_OMX_COMPONENT_NAME_SIZE];
/packages/apps/Camera2/src_pd/com/android/camera/util/
GalleryHelper.java
18
import android.content.
ComponentName
;
52
ComponentName
componentName
= galleryIntent.getComponent();
53
if (
componentName
!= null
54
&& GALLERY_PACKAGE_NAME.equals(
componentName
.getPackageName())
55
&& GALLERY_ACTIVITY_CLASS.equals(
componentName
.getClassName())) {
/packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneAccountUtils.java
19
import android.content.
ComponentName
;
39
final
ComponentName
componentName
=
ComponentName
.unflattenFromString(componentString);
40
return new PhoneAccountHandle(
componentName
, accountId);
/packages/apps/Launcher2/src/com/android/launcher2/
PendingAddItemInfo.java
21
import android.content.
ComponentName
;
33
ComponentName
componentName
;
63
componentName
= i.provider;
76
componentName
= copy.
componentName
;
87
return "Widget: " +
componentName
.toShortString();
ApplicationInfo.java
19
import android.content.
ComponentName
;
53
ComponentName
componentName
;
70
this.
componentName
= info.getComponentName();
72
this.setActivity(
componentName
,
93
componentName
= info.
componentName
;
107
final void setActivity(
ComponentName
className, int launchFlags) {
InfoDropTarget.java
19
import android.content.
ComponentName
;
77
ComponentName
componentName
= null;
79
componentName
= ((ApplicationInfo) d.dragInfo).
componentName
;
81
componentName
= ((ShortcutInfo) d.dragInfo).intent.getComponent();
83
componentName
= ((PendingAddItemInfo) d.dragInfo).
componentName
;
91
if (
componentName
!= null) {
92
mLauncher.startApplicationDetailsActivity(
componentName
, user)
[
all
...]
/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);
/packages/experimental/LoaderApp/src/com/android/loaderapp/
FrontDoor.java
31
String
componentName
= intent.getComponent().getClassName();
32
if ("com.android.loaderapp.FrontDoorNormal".equals(
componentName
)) {
35
} else if ("com.android.loaderapp.FrontDoorXLarge".equals(
componentName
)) {
38
} else if ("com.android.loaderapp.FrontDoorGroupsXLarge".equals(
componentName
)) {
/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);
InstrumentationInfoTest.java
20
import android.content.
ComponentName
;
34
ComponentName
componentName
= new
ComponentName
(PACKAGE_NAME, INSTRUMENTATION_NAME);
39
InstrumentationInfo instrInfo = pm.getInstrumentationInfo(
componentName
, 0);
ServiceInfoTest.java
20
import android.content.
ComponentName
;
33
ComponentName
componentName
= new
ComponentName
(PACKAGE_NAME, SERVICE_NAME);
39
ServiceInfo serviceInfo = pm.getServiceInfo(
componentName
, 0);
/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/
PendingAddItemInfo.java
21
import android.content.
ComponentName
;
33
ComponentName
componentName
;
69
componentName
= i.provider;
94
componentName
= copy.
componentName
;
105
return "Widget: " +
componentName
.toShortString();
AppInfo.java
19
import android.content.
ComponentName
;
57
ComponentName
componentName
;
81
this.
componentName
= info.getComponentName();
111
componentName
= info.
componentName
;
InfoDropTarget.java
19
import android.content.
ComponentName
;
79
ComponentName
componentName
= null;
81
componentName
= ((AppInfo) d.dragInfo).
componentName
;
83
componentName
= ((ShortcutInfo) d.dragInfo).intent.getComponent();
85
componentName
= ((PendingAddItemInfo) d.dragInfo).
componentName
;
94
if (
componentName
!= null) {
95
mLauncher.startApplicationDetailsActivity(
componentName
, user)
[
all
...]
/frameworks/base/core/java/com/android/internal/net/
VpnConfig.java
20
import android.content.
ComponentName
;
54
ComponentName
componentName
=
ComponentName
.unflattenFromString(
57
intent.setClassName(
componentName
.getPackageName(),
componentName
.getClassName());
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
AccessibilityServiceTestRunner.java
86
String
componentName
= DELEGATING_ACCESSIBLITY_SERVICE_PACKAGE_NAME + "/"
89
componentName
);
/development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessagingDemo.java
24
import android.content.
ComponentName
;
71
final
ComponentName
componentName
= new
ComponentName
("com.example.android.apis",
74
enableCheckBox.setChecked(pm.getComponentEnabledSetting(
componentName
) ==
81
pm.setComponentEnabledSetting(
componentName
,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/
DisplayBrowseInfo.java
19
import android.content.
ComponentName
;
79
ComponentName
componentName
= new
ComponentName
(targetPackage, targetClass);
81
i.setComponent(
componentName
);
Completed in 807 milliseconds
1
2
3
4
5
6