Home
last modified time | relevance | path

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

12

/external/robolectric/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/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;
52 private ComponentName getDefaultTesterComponent () { in getDefaultTesterComponent()
53 return new ComponentName(m_context.getPackageName(), "android.app.NativeActivity"); in getDefaultTesterComponent()
56 private ComponentName getTesterComponent (String testerName) { in getTesterComponent()
58 ComponentName component = ComponentName.unflattenFromString(testerName); in getTesterComponent()
72 ComponentName component = getTesterComponent(testerName); in start()
/external/robolectric/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/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/share/
DShareHelper.java9 import android.content.ComponentName;
98 ComponentName component = in showShareDialog()
99 new ComponentName(ai.applicationInfo.packageName, ai.name); in showShareDialog()
118 ComponentName component = getLastShareComponentName(activity); in shareWithLastUsed()
134 ComponentName component = getLastShareComponentName(activity); in configureDirectShareMenuItem()
163 Bitmap screenshot, ComponentName component) { in getDirectShareIntentForComponent()
171 private static ComponentName getLastShareComponentName(Context context) { in getLastShareComponentName()
176 return new ComponentName(packageName, className); in getLastShareComponentName()
179 private static void setLastShareComponentName(Context context, ComponentName component) { in setLastShareComponentName()
/external/robolectric/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()
/external/chromium_org/tools/android/memconsumer/java/src/org/chromium/memconsumer/
DMemConsumer.java10 import android.content.ComponentName;
31 public void onServiceConnected(ComponentName name,
37 public void onServiceDisconnected(ComponentName name) {
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DHelpActivity.java8 import android.content.ComponentName;
67 public void onServiceConnected(ComponentName name, IBinder service) { in sendFeedback()
81 public void onServiceDisconnected(ComponentName name) {} in sendFeedback()
DThirdPartyTokenFetcher.java9 import android.content.ComponentName;
218 ComponentName component = new ComponentName( in setEnabled()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/translate/
DTranslatorManager.java19 import android.content.ComponentName;
157 public void onServiceConnected(ComponentName className, in onServiceConnected()
176 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
DSelfBrailleClient.java19 import android.content.ComponentName;
198 public void onServiceConnected(ComponentName className, in onServiceConnected()
215 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected()
/external/chromium_org/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/
DCronetSampleTestBase.java7 import android.content.ComponentName;
59 intent.setComponent(new ComponentName( in launchCronetSampleWithUrlAndCommandLineArgs()
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
DTestableInvalidationService.java8 import android.content.ComponentName;
79 public ComponentName startService(Intent intent) { in startService()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/display/
DDisplay.java20 import android.content.ComponentName;
156 public void onServiceConnected(ComponentName className, in onServiceConnected()
177 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DSpeechRecognition.java7 import android.content.ComponentName;
49 private static ComponentName sRecognitionProvider;
199 sRecognitionProvider = new ComponentName(service.packageName, service.name); in initialize()
DChildProcessConnectionImpl.java7 import android.content.ComponentName;
142 public void onServiceConnected(ComponentName className, IBinder service) { in onServiceConnected()
164 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected()
/external/robolectric/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/chromium_org/chrome/android/shell/javatests/src/org/chromium/chrome/shell/
DChromeShellTestBase.java9 import android.content.ComponentName;
63 intent.setComponent(new ComponentName(getInstrumentation().getTargetContext(), in launchChromeShellWithUrl()
/external/robolectric/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()

12