/frameworks/base/core/java/android/appwidget/ |
AppWidgetManager.java | 20 import android.content.ComponentName; 206 * The value will be an ComponentName. 516 * @param provider The {@link ComponentName} for the {@link 521 public void updateAppWidget(ComponentName provider, RemoteViews views) { 633 public void bindAppWidgetId(int appWidgetId, ComponentName provider) { 657 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) { 679 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) { 708 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, [all...] |
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 19 import android.content.ComponentName; 117 private final ComponentName mServiceComponent; 153 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) { 164 public void onServiceConnected(final ComponentName name, final IBinder service) { 173 public void onServiceDisconnected(final ComponentName name) { 221 * @param serviceComponent the {@link ComponentName} of a specific service to direct this 226 final ComponentName serviceComponent) { 276 serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent));
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 22 import android.content.ComponentName; 59 private SearchableInfo getSearchable(ComponentName componentName) { 60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName); 63 + componentName.flattenToShortString()); 89 public void checkSourceConcurrent(final String src, final ComponentName componentName, 92 final SearchableInfo searchable = getSearchable(componentName); 122 public void checkSource(String src, ComponentName componentName, String[] queries) [all...] |
/frameworks/base/services/java/com/android/server/ |
DevicePolicyManagerService.java | 39 import android.content.ComponentName; 135 final HashMap<ComponentName, ActiveAdmin> mAdminMap 136 = new HashMap<ComponentName, ActiveAdmin>(); 622 ActiveAdmin getActiveAdminUncheckedLocked(ComponentName who, int userHandle) { 632 ActiveAdmin getActiveAdminForCallerLocked(ComponentName who, int reqPolicy) 696 void removeActiveAdminLocked(final ComponentName adminReceiver, int userHandle) { [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ApplicationTest.java | 6 import android.content.ComponentName; 114 ComponentName expectedComponentName = new ComponentName("", ""); 133 ComponentName expectedComponentName = new ComponentName("", ""); 148 ComponentName expectedComponentName = new ComponentName("", ""); 162 ComponentName expectedComponentName = new ComponentName("", "");
|
/frameworks/support/v4/java/android/support/v4/app/ |
TaskStackBuilder.java | 21 import android.content.ComponentName; 169 * <p>This is equivalent to calling {@link #addParentStack(ComponentName) addParentStack} 170 * with the resolved ComponentName of nextIntent (if it can be resolved), followed by 178 ComponentName target = nextIntent.getComponent(); 208 ComponentName target = parent.getComponent(); 226 return addParentStack(new ComponentName(mSourceContext, sourceActivityClass)); 237 public TaskStackBuilder addParentStack(ComponentName sourceActivityName) { 246 Log.e(TAG, "Bad ComponentName while traversing activity parent metadata");
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 20 import android.content.ComponentName; 49 @Override public void onServiceConnected(ComponentName name, IBinder service) { 56 @Override public void onServiceDisconnected(ComponentName name) { 64 @Override public void onServiceConnected(ComponentName name, IBinder service) { 71 @Override public void onServiceDisconnected(ComponentName name) {
|
/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 22 import android.content.ComponentName; 83 gm.updateAppWidget(new ComponentName(context, this.getClass()), views); 93 new ComponentName(context, this.getClass())); 177 final ComponentName serviceName = new ComponentName(context, MediaPlaybackService.class);
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 22 import android.content.ComponentName; 73 i.setComponent(new ComponentName(this, ActivityMusic.class)); 80 i.setComponent(new ComponentName(defPackage, defName)); 223 ComponentName comp = new ComponentName(foo.activityInfo.packageName, foo.activityInfo.name);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ComponentTest.java | 33 import android.content.ComponentName; 66 private static final ComponentName DISABLED_ACTIVITY_COMPONENTNAME = 67 new ComponentName(ENABLED_PACKAGENAME, DISABLED_ACTIVITY_CLASSNAME); 70 private static final ComponentName ENABLED_ACTIVITY_COMPONENTNAME = 71 new ComponentName(ENABLED_PACKAGENAME, ENABLED_ACTIVITY_CLASSNAME); 74 private static final ComponentName DISABLED_SERVICE_COMPONENTNAME = 75 new ComponentName(ENABLED_PACKAGENAME, DISABLED_SERVICE_CLASSNAME); 78 private static final ComponentName DISABLED_PROVIDER_COMPONENTNAME = 79 new ComponentName(ENABLED_PACKAGENAME, DISABLED_PROVIDER_CLASSNAME); 83 private static final ComponentName ENABLED_SERVICE_COMPONENTNAME [all...] |
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
ModifyInstallerPackageTest.java | 20 import android.content.ComponentName; 36 static final ComponentName SET_INSTALLER_PACKAGE_COMP 37 = new ComponentName("com.android.cts.permissiondeclareapp",
|
/cts/tests/src/android/app/cts/ |
SearchManagerStubActivity.java | 21 import android.content.ComponentName; 37 private ComponentName mComponentName; 187 ComponentName launchActivity, Bundle appSearchData, boolean globalSearch) {
|
/cts/tests/tests/os/src/android/os/cts/ |
ProcessTest.java | 20 import android.content.ComponentName; 50 public void onServiceConnected(ComponentName className, 61 public void onServiceDisconnected(ComponentName className) {
|
RemoteCallbackListTest.java | 21 import android.content.ComponentName; 46 public void onServiceConnected(ComponentName className, IBinder service) { 54 public void onServiceDisconnected(ComponentName className) {
|
TokenWatcherTest.java | 19 import android.content.ComponentName; 67 public void onServiceConnected(ComponentName className, 75 public void onServiceDisconnected(ComponentName className) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IsolatedService.java | 21 import android.content.ComponentName; 165 public void onServiceConnected(ComponentName className, 173 public void onServiceDisconnected(ComponentName className) {
|
MessengerServiceActivities.java | 7 import android.content.ComponentName; 66 public void onServiceConnected(ComponentName className, 100 public void onServiceDisconnected(ComponentName className) {
|
/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,
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 26 import android.content.ComponentName; 57 ComponentName thisWidget = new ComponentName(this, WordWidget.class);
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 26 import android.content.ComponentName; 58 ComponentName thisWidget = new ComponentName(this, WordWidget.class);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
BinderThreadPriorityTest.java | 19 import android.content.ComponentName; 39 public void onServiceConnected(ComponentName name, IBinder service) { 46 public void onServiceDisconnected(ComponentName name) {
|
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 19 import android.content.ComponentName; 241 public void onServiceConnected(ComponentName className, IBinder service) { 256 public void onServiceDisconnected(ComponentName className) {
|
/frameworks/base/test-runner/src/android/test/ |
ActivityUnitTestCase.java | 21 import android.content.ComponentName; 135 ComponentName cn = new ComponentName(mActivityClass.getPackage().getName(),
|
/packages/apps/Browser/src/com/android/browser/search/ |
DefaultSearchEngine.java | 22 import android.content.ComponentName; 49 ComponentName name = searchManager.getWebSearchActivity(); 56 private CharSequence loadLabel(Context context, ComponentName activityName) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
CancelActivity.java | 21 import android.content.ComponentName; 116 public void onServiceConnected(ComponentName name, IBinder binder) { 130 public void onServiceDisconnected(ComponentName name) {
|