Home
last modified time | relevance | path

Searched refs:getComponent (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java67 "service=" + service.getComponent() + in toString()
203 return service.equals(resolveInfo.defaultService.getComponent()); in isDefaultServiceForAid()
205 return service.equals(resolveInfo.services.get(0).getComponent()); in isDefaultServiceForAid()
238 if (serviceAidInfo.service.getComponent().equals(mPreferredForegroundService)) { in resolveAidConflictLocked()
244 } else if (serviceAidInfo.service.getComponent().equals(mPreferredPaymentService) && in resolveAidConflictLocked()
255 serviceAidInfo.service.getComponent() + in resolveAidConflictLocked()
277 resolveInfo.services.get(0).getComponent() + " default."); in resolveAidConflictLocked()
298 if (serviceAidInfo.service.getComponent().equals(mPreferredForegroundService)) { in findDefaultServices()
300 } else if (serviceAidInfo.service.getComponent().equals(mPreferredPaymentService) && in findDefaultServices()
323 prefixDefaultInfo.foregroundDefault.service.getComponent() + " has foreground" + in resolvePrefixAidConflictLocked()
[all …]
DRegisteredT3tIdentifiersCache.java104 if (mEnabledForegroundService.equals(service.getComponent())) { in generateForegroundT3tIdentifiersCacheLocked()
120 "/" + entry.getValue().getComponent().toString()); in generateForegroundT3tIdentifiersCacheLocked()
DRegisteredNfcFServicesCache.java189 if (service.getComponent().equals(componentName)) return true; in containsServiceLocked()
311 userServices.services.put(service.getComponent(), service); in invalidateCache()
312 if (DBG) Log.d(TAG, "Added service: " + service.getComponent()); in invalidateCache()
315 userServices.services.remove(service.getComponent()); in invalidateCache()
316 if (DBG) Log.d(TAG, "Removed service: " + service.getComponent()); in invalidateCache()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java133 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_IncomingCall()
134 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_IncomingCall()
165 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_OutgoingCall()
166 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_OutgoingCall()
233 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_NoEmergency()
234 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_NoEmergency()
302 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_SystemDialer_Emergency()
303 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Emergency()
373 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_FallBackToSystem()
374 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
[all …]
DComponentContextFixture.java140 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
143 + serviceIntent.getComponent()); in bindService()
146 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder()); in bindService()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java351 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
374 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
398 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()
406 + mDeviceAdmin.getComponent(), e); in addAndFinish()
407 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in addAndFinish()
413 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), in addAndFinish()
432 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in continueRemoveAction()
500 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in onCreateDialog()
534 && mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in updateInterface()
537 mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner()); in updateInterface()
[all …]
DDeviceAdminSettings.java178 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, dpi.getComponent()); in onListItemClick()
307 return item.getComponent().equals(profileOwner); in isProfileOwner()
311 return mDPM.isAdminActiveAsUser(item.getComponent(), getUserId(item)); in isActiveAdmin()
315 return mDPM.isRemovingAdmin(item.getComponent(), getUserId(item)); in isRemovingAdmin()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java132 public GLView getComponent(int index) { in getComponent() method in GLView
236 renderChild(canvas, getComponent(i)); in render()
333 GLView component = getComponent(i); in dispatchTouchEvent()
424 GLView child = getComponent(i); in onVisibilityChanged()
434 getComponent(i).onAttachToRoot(root); in onAttachToRoot()
440 getComponent(i).onDetachFromRoot(); in onDetachFromRoot()
462 getComponent(i).dumpTree(prefix + "...."); in dumpTree()
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java115 final ComponentName component = info.intent.getComponent(); in removePackage()
130 final ComponentName component = info.intent.getComponent(); in updatePackageFlags()
160 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage()
187 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage()
243 final ComponentName component = info.intent.getComponent(); in findApplicationInfoLocked()
DShortcutInfo.java265 return promisedIntent != null ? promisedIntent.getComponent() : intent.getComponent(); in getTargetComponent()
DInstallShortcutReceiver.java246 ActivityInfo info = pm.getActivityInfo(intent.getComponent(), 0); in ensureValidName()
360 packageName = launchIntent.getComponent() == null ? null : in getTargetPackage()
361 launchIntent.getComponent().getPackageName(); in getTargetPackage()
DInfoDropTarget.java49 componentName = ((ShortcutInfo) info).intent.getComponent(); in startDetailsActivityForInfo()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContext.java70 } else if (intent.getComponent() != null && in startService()
71 intent.getComponent().getClassName().equals(mService.getServiceClassName())) { in startService()
80 return new ComponentName(this, intent.getComponent().getClassName()); in startService()
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java105 final ComponentName component = info.intent.getComponent(); in removePackage()
128 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage()
161 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage()
210 final ComponentName component = info.intent.getComponent(); in findApplicationInfoLocked()
DItemInfo.java144 if (packageName == null && intent.getComponent() != null) { in getPackageName()
145 packageName = intent.getComponent().getPackageName(); in getPackageName()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryLoader.java115 if (!mActivity.getPackageName().equals(tile.intent.getComponent().getPackageName())) { in getSummaryProvider()
122 if (DEBUG) Log.d(TAG, "No metadata specified for " + tile.intent.getComponent()); in getSummaryProvider()
127 if (DEBUG) Log.d(TAG, "No fragment specified for " + tile.intent.getComponent()); in getSummaryProvider()
186 mSummaryMap.put(provider, tile.intent.getComponent()); in makeProviderW()
DDashboardAdapter.java105 if (component.equals(tile.intent.getComponent())) { in getTile()
125 tile.intent.getComponent().getPackageName())) { in setCategories()
184 tile.intent.getComponent().getClassName()), NS_ITEMS); in recountItems()
291 suggestion.intent.getComponent(),
403 String packageName = suggestion.intent.getComponent().getPackageName();
407 packageName = suggestion.intent.getComponent().getClassName();
/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DFilteredNumberCompatTest.java198 FilteredNumberCompat.createManageBlockedNumbersIntent(getContext()).getComponent()); in testCreateManageBlockedNumbersIntent_M()
207 FilteredNumberCompat.createManageBlockedNumbersIntent(getContext()).getComponent()); in testCreateManageBlockedNumbersIntent_N_Disabled_NotMigrated()
215 FilteredNumberCompat.createManageBlockedNumbersIntent(getContext()).getComponent()); in testCreateManageBlockedNumbersIntent_N_Enabled_NotMigrated()
227 .getComponent())); in testCreateManageBlockedNumbersIntent_N_Enabled_Migrated()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DChooseLockSettingsHelperTest.java68 capturedIntent.getComponent()); in testlaunchConfirmationActivityWithExternalAndChallenge()
110 capturedIntent.getComponent()); in testlaunchConfirmationActivityWithExternalAndChallenge()
DTetherServiceTest.java152 assertEquals(TetherService.class.getName(), pi.getIntent().getComponent().getClassName()); in testScheduleRechecks()
221 assertEquals(TetherService.class.getName(), pi.getIntent().getComponent().getClassName()); in testCancelAlarm()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java97 appInfo.isDefault = service.getComponent().equals(defaultAppName); in refresh()
101 appInfo.componentName = service.getComponent(); in refresh()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DFrontDoor.java31 String componentName = intent.getComponent().getClassName(); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DIntentStore.java106 if (intent.getComponent() != null) { in writeIntent()
108 intent.getComponent().flattenToString()); in writeIntent()
/packages/apps/Camera2/src_pd/com/android/camera/util/
DGalleryHelper.java52 ComponentName componentName = galleryIntent.getComponent(); in getGalleryAppName()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java76 if (getClass().getName().equals(intent.getComponent().getClassName())) { in verifyCallAction()

123