/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AbstractGalleryActivity.java | 23 import android.content.ComponentName; 314 public void onServiceConnected(ComponentName className, IBinder service) { 318 public void onServiceDisconnected(ComponentName className) {
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallbackModeExitDialog.java | 24 import android.content.ComponentName; 318 public void onServiceConnected(ComponentName className, IBinder service) { 326 public void onServiceDisconnected(ComponentName className) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 29 import android.content.ComponentName; 101 private static ComponentName myComponentName(Context context) { 104 return new ComponentName(pkg, cls);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestClient.java | 35 import android.content.ComponentName; 79 public ComponentName getIntentComponent() { 80 return new ComponentName(getContext(), GoogleSearch.class);
|
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 26 import android.content.ComponentName; 100 ComponentName mComponentName = new ComponentName(mContext, 390 ComponentName mComponentName = new ComponentName(mContext,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowApplication.java | 6 import android.content.ComponentName; 95 private ComponentName componentNameForBindService; 178 public ComponentName startService(Intent intent) { 180 return new ComponentName("some.service.package", "SomeServiceName-FIXME"); 191 public void setComponentNameAndServiceForBindService(ComponentName name, IBinder service) {
|
/frameworks/base/core/java/android/app/ |
ApplicationErrorReport.java | 19 import android.content.ComponentName; 158 public static ComponentName getErrorReportReceiver(Context context, 171 ComponentName result = getErrorReportReceiver(pm, packageName, candidate); 200 static ComponentName getErrorReportReceiver(PackageManager pm, String errorPackage, 217 return new ComponentName(receiverPackage, info.activityInfo.name);
|
IActivityManager.java | 19 import android.content.ComponentName; 101 public ComponentName getCallingActivity(IBinder token) throws RemoteException; 130 public PendingIntent getRunningServiceControlPanel(ComponentName service) 132 public ComponentName startService(IApplicationThread caller, Intent service, 136 public boolean stopServiceToken(ComponentName className, IBinder token, 138 public void setServiceForeground(ComponentName className, IBinder token, 160 public boolean startInstrumentation(ComponentName className, String profileFile, 172 public ComponentName getActivityClassForToken(IBinder token) throws RemoteException; 437 public ComponentName who; 451 ComponentName.writeToParcel(who, dest) [all...] |
SearchDialog.java | 21 import android.content.ComponentName; 87 private ComponentName mLaunchComponent; 211 ComponentName componentName, Bundle appSearchData) { 212 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData); 223 * {@link #show(String, boolean, ComponentName, Bundle)} and 228 ComponentName componentName, Bundle appSearchData) { 230 if (!show(componentName, appSearchData)) { 248 private boolean show(ComponentName componentName, Bundle appSearchData) [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetService.java | 22 import android.content.ComponentName; 151 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options, int userId) 158 String packageName, int appWidgetId, ComponentName provider, Bundle options, int userId) 247 public int[] getAppWidgetIds(ComponentName provider, int userId) throws RemoteException { 311 public void updateAppWidgetProvider(ComponentName provider, RemoteViews views, int userId)
|
WallpaperManagerService.java | 31 import android.content.ComponentName; 105 static final ComponentName IMAGE_WALLPAPER = new ComponentName("com.android.systemui", 186 ComponentName wallpaperComponent; 191 ComponentName nextWallpaperComponent; 228 public void onServiceConnected(ComponentName name, IBinder service) { 244 public void onServiceDisconnected(ComponentName name) { 306 ComponentName comp = wallpaper.wallpaperComponent; 550 ComponentName cname = wallpaper.wallpaperComponent != null ? 765 public void setWallpaperComponent(ComponentName name) [all...] |
AppWidgetServiceImpl.java | 24 import android.content.ComponentName; 150 public void onServiceConnected(ComponentName name, IBinder service) { 160 public void onServiceDisconnected(ComponentName name) { 249 HashSet<ComponentName> removedProviders = new HashSet<ComponentName>(); 253 ComponentName cn = p.info.provider; 577 private void bindAppWidgetIdImpl(int appWidgetId, ComponentName provider, Bundle options) { 639 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) { 646 String packageName, int appWidgetId, ComponentName provider, Bundle options) { 720 final ComponentName componentName = intent.getComponent() [all...] |
NotificationManagerService.java | 34 import android.content.ComponentName; 184 private HashSet<ComponentName> mEnabledListenersForCurrentUser 185 = new HashSet<ComponentName>(); 204 ComponentName component; 209 public NotificationListenerInfo(INotificationListener listener, ComponentName component, 218 public NotificationListenerInfo(INotificationListener listener, ComponentName component, 557 Set<ComponentName> installed = new HashSet<ComponentName>(); 570 installed.add(new ComponentName(info.packageName, info.name)); 578 ComponentName enabledComponent = ComponentName.unflattenFromString(enabled[i]) [all...] |
ServiceWatcher.java | 20 import android.content.ComponentName; 329 public void onServiceConnected(ComponentName name, IBinder binder) { 345 public void onServiceDisconnected(ComponentName name) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
ShareCompat.java | 20 import android.content.ComponentName; 71 * Intent extra that stores the {@link ComponentName} of the calling activity for 181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent. 190 * @return ComponentName of the calling activity 192 public static ComponentName getCallingActivity(Activity calledActivity) { 193 ComponentName result = calledActivity.getCallingActivity(); 255 * to share content. The ComponentName and package name of the calling activity 660 private ComponentName mCallingActivity; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 21 import android.content.ComponentName; 238 ComponentName name = new ComponentName(context, CAMERA_LAUNCHER_NAME); 281 ComponentName compName = new ComponentName(MAPS_PACKAGE_NAME,
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageMeasurement.java | 20 import android.content.ComponentName; 69 public static final ComponentName DEFAULT_CONTAINER_COMPONENT = new ComponentName( 301 public void onServiceConnected(ComponentName name, IBinder service) { 310 public void onServiceDisconnected(ComponentName name) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
IntentTest.java | 16 import android.content.ComponentName; 294 ComponentName cn = new ComponentName("com.foobar.app", "activity"); 320 .setComponent(new ComponentName("pkg", "cls")) 328 .setComponent(new ComponentName("pkg", "cls")) 343 intentB.setComponent(new ComponentName("other-pkg", "other-cls")); 346 intentB.setComponent(new ComponentName("pkg", "cls"));
|
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningServiceDetails.java | 12 import android.content.ComponentName; 90 ComponentName mInstaller; 132 ComponentName comp = new ComponentName(mServiceItem.mServiceInfo.packageName, 353 final ComponentName comp = rpi.importanceReasonComponent; 541 ActiveDetail activeDetailForService(ComponentName comp) { 552 private void showConfirmStopDialog(ComponentName comp) { 561 public static MyAlertDialogFragment newConfirmStop(int id, ComponentName comp) { 579 final ComponentName comp = (ComponentName)getArguments().getParcelable("comp") [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActiveServices.java | 40 import android.content.ComponentName; 126 private final SparseArray<HashMap<ComponentName, ServiceRecord>> mServicesByNamePerUser 127 = new SparseArray<HashMap<ComponentName, ServiceRecord>>(); 132 ServiceRecord getServiceByName(ComponentName name, int callingUser) { 139 ServiceRecord getServiceByName(ComponentName name) { 154 void putServiceByName(ComponentName name, int callingUser, ServiceRecord value) { 165 void removeServiceByName(ComponentName name, int callingUser) { 186 private HashMap<ComponentName, ServiceRecord> getServices(int callingUser) { 187 HashMap<ComponentName, ServiceRecord> map = mServicesByNamePerUser.get(callingUser); 189 map = new HashMap<ComponentName, ServiceRecord>() [all...] |
BroadcastRecord.java | 21 import android.content.ComponentName; 41 final ComponentName targetComp; // original component name set on the intent 80 ComponentName curComponent; // the receiver class that is currently running.
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/BluetoothLeGatt/src/main/java/com/example/bluetooth/le/ |
DeviceControlActivity.java | 23 import android.content.ComponentName; 72 public void onServiceConnected(ComponentName componentName, IBinder service) { 83 public void onServiceDisconnected(ComponentName componentName) {
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPActivity.java | 26 import android.content.ComponentName; 203 public void onServiceConnected(ComponentName name, IBinder service) { 216 public void onServiceDisconnected(ComponentName name) {
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHealth.java | 19 import android.content.ComponentName; 516 public void onServiceConnected(ComponentName className, IBinder service) { 524 public void onServiceDisconnected(ComponentName className) {
|
BluetoothInputDevice.java | 21 import android.content.ComponentName; 456 public void onServiceConnected(ComponentName className, IBinder service) { 464 public void onServiceDisconnected(ComponentName className) {
|