Home
last modified time | relevance | path

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

12

/external/sl4a/Common/src/com/googlecode/android_scripting/
DConstants.java19 import android.content.ComponentName;
84 public static final ComponentName SL4A_SERVICE_COMPONENT_NAME = new ComponentName(
87 public static final ComponentName SL4A_SERVICE_LAUNCHER_COMPONENT_NAME = new ComponentName(
90 public static final ComponentName BLUETOOTH_DEVICE_LIST_COMPONENT_NAME = new ComponentName(
93 public static final ComponentName TRIGGER_SERVICE_COMPONENT_NAME = new ComponentName(
DIntentBuilders.java20 import android.content.ComponentName;
51 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; in buildStartInBackgroundIntent()
67 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; in buildStartInTerminalIntent()
83 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; in buildStartInterpreterIntent()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java3 import android.content.ComponentName;
70 …public ActivityInfo getActivityInfo(ComponentName className, int flags) throws NameNotFoundExcepti… in getActivityInfo()
75 …public ActivityInfo getReceiverInfo(ComponentName className, int flags) throws NameNotFoundExcepti… in getReceiverInfo()
80 …public ServiceInfo getServiceInfo(ComponentName className, int flags) throws NameNotFoundException… in getServiceInfo()
85 …public ProviderInfo getProviderInfo(ComponentName componentName, int i) throws NameNotFoundExcepti… in getProviderInfo()
149 …public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller, Intent[] specifics, Inte… in queryIntentActivityOptions()
174 …public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags) throws NameN… in getInstrumentationInfo()
186 …@Override public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException… in getActivityIcon()
206 …@Override public Drawable getActivityLogo(ComponentName componentName) throws NameNotFoundExceptio… in getActivityLogo()
235 …public Resources getResourcesForActivity(ComponentName activityName) throws NameNotFoundException { in getResourcesForActivity()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTestService.java4 import android.content.ComponentName;
10 ComponentName name;
12 ComponentName nameUnbound;
20 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
26 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
DApplicationTest.java6 import android.content.ComponentName;
114 ComponentName expectedComponentName = new ComponentName("", ""); in bindServiceShouldCallOnServiceConnectedWhenNotPaused()
133 ComponentName expectedComponentName = new ComponentName("", ""); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused()
148 ComponentName expectedComponentName = new ComponentName("", ""); in unbindServiceAddsEntryToUnboundServicesCollection()
162 ComponentName expectedComponentName = new ComponentName("", ""); in declaringServiceUnbindableMakesBindServiceReturnFalse()
DIntentTest.java15 import android.content.ComponentName;
293 ComponentName cn = new ComponentName("com.foobar.app", "activity"); in shouldFillIn()
319 .setComponent(new ComponentName("pkg", "cls")) in equals_shouldTestActionComponentNameDataAndExtras()
327 .setComponent(new ComponentName("pkg", "cls")) in equals_shouldTestActionComponentNameDataAndExtras()
342 intentB.setComponent(new ComponentName("other-pkg", "other-cls")); in equals_shouldTestActionComponentNameDataAndExtras()
345 intentB.setComponent(new ComponentName("pkg", "cls")); in equals_shouldTestActionComponentNameDataAndExtras()
DAppWidgetManagerTest.java5 import android.content.ComponentName;
88 new ComponentName( in getAppWidgetIds()
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DRemoteAPI.java28 import android.content.ComponentName;
50 private ComponentName getDefaultTesterComponent () { in getDefaultTesterComponent()
51 return new ComponentName(m_context.getPackageName(), "android.app.NativeActivity"); in getDefaultTesterComponent()
54 private ComponentName getTesterComponent (String testerName) { in getTesterComponent()
56 ComponentName component = ComponentName.unflattenFromString(testerName); in getTesterComponent()
70 ComponentName component = getTesterComponent(testerName); in start()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java9 import android.content.ComponentName;
24 …private Map<ComponentName, ComponentState> componentList = new HashMap<ComponentName,ComponentStat…
25 private Map<ComponentName, Drawable> drawableList = new HashMap<ComponentName, Drawable>();
120 public Drawable getActivityIcon(ComponentName componentName) { in getActivityIcon()
124 public void addActivityIcon( ComponentName component, Drawable d ) { in addActivityIcon()
135 i.setComponent( new ComponentName(packageName, "") ); in getLaunchIntentForPackage()
145 public void setComponentEnabledSetting(ComponentName componentName, int newState, int flags) { in setComponentEnabledSetting()
156 public RobolectricPackageManager.ComponentState getComponentState(ComponentName componentName) { in getComponentState()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DLauncherUtils.java33 import android.content.ComponentName;
54 ComponentName comp = new ComponentName(context.getPackageName(), in launchRcsService()
56 ComponentName service = context.startService(new Intent().setComponent(comp)); in launchRcsService()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowComponentName.java3 import android.content.ComponentName;
18 @Implements(ComponentName.class)
52 public static ComponentName readFromParcel(Parcel in) { in readFromParcel()
58 return new ComponentName(pkg, cls); in readFromParcel()
69 public static void writeToParcel(ComponentName c, Parcel out) { in writeToParcel()
DShadowIntent.java3 import android.content.ComponentName;
31 private ComponentName componentName;
40 componentName = new ComponentName(packageContext, cls); in __constructor__()
151 componentName = new ComponentName(packageName, className); in setClassName()
162 componentName = new ComponentName(packageContext.getPackageName(), className); in setClassName()
416 public Intent setComponent(ComponentName componentName) { in setComponent()
422 public ComponentName getComponent() { in getComponent()
616 ComponentName.writeToParcel(componentName, out); in writeToParcel()
634 componentName = ComponentName.readFromParcel(in); in readFromParcel()
DShadowApplication.java6 import android.content.ComponentName;
95 private ComponentName componentNameForBindService;
178 public ComponentName startService(Intent intent) { in startService()
180 return new ComponentName("some.service.package", "SomeServiceName-FIXME"); in startService()
191 public void setComponentNameAndServiceForBindService(ComponentName name, IBinder service) { in setComponentNameAndServiceForBindService()
DShadowAppWidgetManager.java7 import android.content.ComponentName;
96 public int[] getAppWidgetIds(ComponentName provider) { in getAppWidgetIds()
DShadowContextWrapper.java4 import android.content.ComponentName;
129 public ComponentName startService(Intent service) { in startService()
/external/opencv3/platforms/android/service/engine/src/org/opencv/engine/manager/
DManagerActivity.java9 import android.content.ComponentName;
82 public void onServiceDisconnected(ComponentName name) { in onServiceDisconnected()
86 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManagerTest.java13 import android.content.ComponentName;
126 i.setComponent(new ComponentName("foo.bar", "No Activity")); in resolveActivity__NoMatch()
145 i.setComponent(new ComponentName("foo.bar", "No Activity")); in resolveService__NoMatch()
DMenuLoaderTest.java14 import android.content.ComponentName;
106 ComponentName caller, Intent[] specifics, Intent intent, in addIntentOptions()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java20 import android.content.ComponentName;
69 public void onServiceConnected(ComponentName name, IBinder service) {
77 public void onServiceDisconnected(ComponentName name) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestMenu.java3 import android.content.ComponentName;
93 …public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] spe… in addIntentOptions()
/external/opencv3/modules/java/generator/src/java/
Dandroid+AsyncServiceHelper.java9 import android.content.ComponentName;
158 public void onServiceConnected(ComponentName className, IBinder service)
334 public void onServiceDisconnected(ComponentName className)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaSessionFacade.java24 import android.content.ComponentName;
70 new ComponentName(mService.getPackageName(), this.getClass().getName())); in MediaSessionFacade()
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp489 std::string ComponentName = StringRef(Component).upper(); in EmitClangDiagsDefs() local
490 OS << "#ifdef " << ComponentName << "START\n"; in EmitClangDiagsDefs()
491 OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName in EmitClangDiagsDefs()
493 OS << "#undef " << ComponentName << "START\n"; in EmitClangDiagsDefs()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java314 public ComponentName startService(Intent intent) { in startService()
334 public boolean startInstrumentation(ComponentName componentName, String s, Bundle bundle) { in startInstrumentation()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABProvider.java45 import android.content.ComponentName;
345 ComponentName component = new ComponentName("com.android.service.ims.presence", in sendInsertBroadcast()

12