/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ComponentKey.java | 19 import android.content.ComponentName; 29 public final ComponentName componentName; 34 public ComponentKey(ComponentName componentName, UserHandleCompat user) { 35 Preconditions.assertNotNull(componentName); 37 this.componentName = componentName; 39 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); 53 componentName = ComponentName.unflattenFromString(componentStr) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PendingAddItemInfo.java | 19 import android.content.ComponentName; 31 public ComponentName componentName; 35 return super.dumpProperties() + " componentName=" + componentName;
|
InfoDropTarget.java | 20 import android.content.ComponentName; 64 ComponentName componentName = null; 66 componentName = ((AppInfo) info).componentName; 68 componentName = ((ShortcutInfo) info).intent.getComponent(); 70 componentName = ((PendingAddItemInfo) info).componentName; 72 componentName = ((LauncherAppWidgetInfo) info).providerName; 74 if (componentName != null) [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...] |
/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...] |
PhoneAccountHandle.java | 20 import android.content.ComponentName; 37 * Note: This Class requires a non-null {@link ComponentName} and {@link UserHandle} to operate 43 private final ComponentName mComponentName; 48 @NonNull ComponentName componentName, 50 this(componentName, id, Process.myUserHandle()); 54 @NonNull ComponentName componentName, 57 checkParameters(componentName, userHandle); 58 mComponentName = componentName; [all...] |
/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/suite/audio_quality/lib/src/ |
ClientImpl.cpp | 42 android::String8 componentName("com.android.cts.audiotest/.CtsAudioClientActivity"); 43 if (!adb.launchClient(clientBinary, componentName)) {
|
/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();
|
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...] |
/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/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);
|
/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);
|
/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() {
|
/system/weaved/brillo/android/weave/ |
IWeaveClient.aidl | 24 oneway void onCommand(in String 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);
|
ActivityInfoTest.java | 21 import android.content.ComponentName; 50 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 53 componentName, PackageManager.GET_META_DATA); 77 ComponentName componentName = new ComponentName(mContext, MockActivity.class); 80 componentName, PackageManager.GET_META_DATA); 96 ComponentName componentName = new ComponentName(mContext, MockActivity.class) [all...] |
/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())) {
|
/frameworks/support/compat/java/android/support/v4/content/ |
IntentCompat.java | 19 import android.content.ComponentName; 31 Intent makeMainActivity(ComponentName componentName); 33 Intent makeRestartActivityTask(ComponentName mainActivity); 38 public Intent makeMainActivity(ComponentName componentName) { 40 intent.setComponent(componentName); 57 public Intent makeRestartActivityTask(ComponentName mainActivity) { 67 public Intent makeMainActivity(ComponentName componentName) { [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationManagerCompat.java | 22 import android.content.ComponentName; 324 ComponentName componentName = ComponentName.unflattenFromString(component); 325 if (componentName != null) { 326 packageNames.add(componentName.getPackageName()); 371 private final Map<ComponentName, ListenerRecord> mRecordMap = 372 new HashMap<ComponentName, ListenerRecord>(); 398 handleServiceConnected(event.componentName, event.iBinder); 401 handleServiceDisconnected((ComponentName) msg.obj) [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...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/ |
IntentBuilders.java | 20 import android.content.ComponentName; 51 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 53 intent.setComponent(componentName); 67 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 69 intent.setComponent(componentName); 83 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 85 intent.setComponent(componentName); [all...] |
/hardware/intel/common/utils/media_resource_manager/omx_adaptor/ |
OMX_adaptor.cpp | 112 ALOGV("pComponentHandle = 0x%x, componentName = %s", pComponentHandle, sComponentName.string()); 249 const char* componentName, 252 ALOGV("componentName = %s", componentName); 254 if (strstri(componentName,"SECURE") != NULL) { 260 if ((strstri(componentName, "ENCODER") != NULL) || 261 (strstri(componentName, "sw_ve") != NULL)) { 267 if (strstri(componentName, "AVC") != NULL) { 269 } else if (strstri(componentName, "VP8") != NULL) { 271 } else if (strstri(componentName, "VP9") != NULL) [all...] |
/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/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/ |
UpdateComplicationDataService.java | 4 import android.content.ComponentName; 50 ComponentName componentName = 51 new ComponentName(getApplicationContext(), RandomNumberProviderService.class); 54 new ProviderUpdateRequester(getApplicationContext(), componentName);
|