Home
last modified time | relevance | path

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

123456

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java196 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_IncomingCall()
197 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_IncomingCall()
231 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_OutgoingCall()
232 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_OutgoingCall()
283 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_NoEmergency()
284 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_NoEmergency()
342 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_SystemDialer_Emergency()
343 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Emergency()
412 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_FallBackToSystem()
413 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
[all …]
/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/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
43 public ComponentName getComponent(ComponentWithLabel object) { in getComponent() method in ComponentWithLabel.ComponentCachingLogic
44 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/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/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/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/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/Launcher3/src/com/android/launcher3/
DBaseDraggingActivity.java170 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely()
174 intent.getComponent(), user, intent.getSourceBounds(), optsBundle); in startActivitySafely()
175 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely()
/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/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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DUserBackupSettingsActivity.java70 intent.getComponent(), in onCreate()
74 Log.w(TAG, "Trying to enable activity " + intent.getComponent() + " but couldn't: " in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppSettingPreferenceControllerTest.java111 assertThat(Shadows.shadowOf(mActivity).getNextStartedActivity().getComponent()) in clickPreference_hasAppSetting_shouldLaunchIntent()
112 .isEqualTo(TEST_INTENT.getComponent()); in clickPreference_hasAppSetting_shouldLaunchIntent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DDefaultLayoutProviderTest.java87 .putWidget(info.getComponent().getPackageName(), in testCustomProfileLoaded_with_widget()
88 info.getComponent().getClassName(), 2, 2)); in testCustomProfileLoaded_with_widget()

123456