Home
last modified time | relevance | path

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

123456

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java362 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
385 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
412 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in showPolicyTransparencyDialogIfRequired()
429 logSpecialPermissionChange(true, mDeviceAdmin.getComponent().getPackageName()); in addAndFinish()
430 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()
441 + mDeviceAdmin.getComponent(), e); in addAndFinish()
442 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in addAndFinish()
448 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), in addAndFinish()
459 final String packageName = mDeviceAdmin.getComponent().getPackageName(); in unrestrictAppIfPossible()
473 logSpecialPermissionChange(false, mDeviceAdmin.getComponent().getPackageName()); in continueRemoveAction()
[all …]
DDeviceAdminListItem.java44 mKey = mUserHandle.getIdentifier() + "@" + mInfo.getComponent().flattenToString(); in DeviceAdminListItem()
74 return mDPM.isAdminActiveAsUser(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isActive()
82 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
91 .putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mInfo.getComponent()); in getLaunchIntent()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java411 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
434 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
461 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in showPolicyTransparencyDialogIfRequired()
478 logSpecialPermissionChange(true, mDeviceAdmin.getComponent().getPackageName()); in addAndFinish()
479 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()
490 + mDeviceAdmin.getComponent(), e); in addAndFinish()
491 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in addAndFinish()
497 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), in addAndFinish()
508 final String packageName = mDeviceAdmin.getComponent().getPackageName(); in unrestrictAppIfPossible()
522 logSpecialPermissionChange(false, mDeviceAdmin.getComponent().getPackageName()); in continueRemoveAction()
[all …]
DDeviceAdminListItem.java44 mKey = mUserHandle.getIdentifier() + "@" + mInfo.getComponent().flattenToString(); in DeviceAdminListItem()
74 return mDPM.isAdminActiveAsUser(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isActive()
82 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled()
91 .putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mInfo.getComponent()); in getLaunchIntent()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java70 "service=" + service.getComponent() + in toString()
218 return service.equals(resolveInfo.defaultService.getComponent()); in isDefaultServiceForAid()
220 return service.equals(resolveInfo.services.get(0).getComponent()); in isDefaultServiceForAid()
253 if (serviceAidInfo.service.getComponent().equals(mPreferredForegroundService)) { in resolveAidConflictLocked()
259 } else if (serviceAidInfo.service.getComponent().equals(mPreferredPaymentService) && in resolveAidConflictLocked()
270 serviceAidInfo.service.getComponent() + in resolveAidConflictLocked()
292 resolveInfo.services.get(0).getComponent() + " default."); in resolveAidConflictLocked()
313 if (serviceAidInfo.service.getComponent().equals(mPreferredForegroundService)) { in findDefaultServices()
315 } else if (serviceAidInfo.service.getComponent().equals(mPreferredPaymentService) && in findDefaultServices()
338 aidDefaultInfo.foregroundDefault.service.getComponent() + " has foreground" + in resolveAidConflictLocked()
[all …]
DRegisteredNfcFServicesCache.java190 if (service.getComponent().equals(componentName)) return true; in containsServiceLocked()
315 userServices.services.put(service.getComponent(), service); in invalidateCache()
316 if (DBG) Log.d(TAG, "Added service: " + service.getComponent()); in invalidateCache()
319 userServices.services.remove(service.getComponent()); in invalidateCache()
320 if (DBG) Log.d(TAG, "Removed service: " + service.getComponent()); in invalidateCache()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java237 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_IncomingCall()
238 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_IncomingCall()
272 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_OutgoingCall()
273 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_OutgoingCall()
325 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_NoEmergency()
326 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_NoEmergency()
385 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_SystemDialer_Emergency()
386 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Emergency()
464 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_SystemDialer_Crash()
465 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Crash()
[all …]
/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/icons/
DComponentWithLabel.java27 ComponentName getComponent(); in getComponent() method
45 public ComponentName getComponent(ComponentWithLabel object) { in getComponent() method in ComponentWithLabel.ComponentCachingLogic
46 return object.getComponent(); in getComponent()
/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/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java193 return service.getComponent(); in startServiceAsUser()
200 conn.onServiceConnected(service.getComponent(), null); in bindServiceAsUser()
217 assertThat(mBoundIntents.get(0).getComponent()) in assertBoundService()
224 assertThat(mStartedServicesIntents.get(0).getComponent()) in assertStartedService()
DVendorServiceInfoTest.java64 assertThat(info.getIntent().getComponent()) in testServiceNameWithDefaults()
78 assertThat(info.getIntent().getComponent()) in startService()
145 assertThat(info.getIntent().getComponent()) in allArgs()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DSummaryLoader.java169 Log.d(TAG, "No metadata specified for " + intent.getComponent()); in getSummaryProvider()
174 Log.d(TAG, "No fragment specified for " + intent.getComponent()); in getSummaryProvider()
246 mSummaryProviderMap.put(provider, tile.getIntent().getComponent()); in makeProviderW()
258 if (component.equals(tile.getIntent().getComponent())) { in getTileFromCategory()
DDashboardFeatureProviderImpl.java100 final ComponentName component = tile.getIntent().getComponent(); in getDashboardKeyForTile()
147 skipOffsetPackageName, tile.getIntent().getComponent().getPackageName()); in bindPreferenceToTile()
213 } else if (intent.getComponent() != null) { in bindIcon()
214 packageName = intent.getComponent().getPackageName(); in bindIcon()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryLoader.java169 Log.d(TAG, "No metadata specified for " + intent.getComponent()); in getSummaryProvider()
174 Log.d(TAG, "No fragment specified for " + intent.getComponent()); in getSummaryProvider()
246 mSummaryProviderMap.put(provider, tile.getIntent().getComponent()); in makeProviderW()
258 if (component.equals(tile.getIntent().getComponent())) { in getTileFromCategory()
DDashboardFeatureProviderImpl.java100 final ComponentName component = tile.getIntent().getComponent(); in getDashboardKeyForTile()
147 skipOffsetPackageName, tile.getIntent().getComponent().getPackageName()); in bindPreferenceToTile()
213 } else if (intent.getComponent() != null) { in bindIcon()
214 packageName = intent.getComponent().getPackageName(); in bindIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFindSensorTest.java96 assertThat(startedActivity.intent.getComponent()) in enrollFingerprint_shouldProceed()
111 assertThat(startedActivity.intent.getComponent()) in enrollFingerprintTwice_shouldStartOneEnrolling()
133 assertThat(startedActivity.intent.getComponent()) in layoutWithoutAnimation_shouldNotCrash()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewComponentObserver.java93 mFallbackIntent.getComponent(), 0 /* flags */); in OverviewComponentObserver()
123 mIsDefaultHome = Objects.equals(mMyHomeIntent.getComponent(), defaultHome); in updateOverviewTargets()
138 mCurrentHomeIntent.setComponent(mMyHomeIntent.getComponent()); in updateOverviewTargets()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseDraggingActivity.java166 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely()
170 intent.getComponent(), user, intent.getSourceBounds(), optsBundle); in startActivitySafely()
171 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java127 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickPhotos()
145 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickAudio()
172 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickApps()
191 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickAppsForWork()
245 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickGames()
263 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickMovies()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java99 if (intent.getComponent() == null || !mHeadsetService.bindService(intent, in init()
114 if (intent.getComponent() != null) { in resolveSystemService()
115 return intent.getComponent(); in resolveSystemService()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java249 if (intent.getComponent() != null) { in importWorkspaceItems()
250 intent.setPackage(intent.getComponent().getPackageName()); in importWorkspaceItems()
305 return intent.getComponent() != null ? intent.getComponent().getPackageName() in getPackage()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java110 componentMap.put(cachingLogic.getComponent(app), app); in updateIcons()
264 String pkg = mCachingLogic.getComponent(app).getPackageName(); in run()
279 … PackageInfo info = mPkgInfoMap.get(mCachingLogic.getComponent(app).getPackageName()); in run()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java170 ComponentName component = info.intent.getComponent();
429 if (activityInfo.intent.getComponent().equals(stackInfo.topActivity) in launchIfNecessary()
460 if (!isComponentAvailable(activityInfo.intent.getComponent(), in launchIfNecessary()
586 ComponentName component = intent.getComponent(); in startFixedActivityModeForDisplayAndUser()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DOldCallDetailsActivity.java45 return intent.getComponent() != null in isLaunchIntent()
46 && OldCallDetailsActivity.class.getName().equals(intent.getComponent().getClassName()); in isLaunchIntent()

123456