/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 196 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/ |
D | DeviceAdminAdd.java | 362 && 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 …]
|
D | DeviceAdminListItem.java | 44 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/ |
D | DeviceAdminAdd.java | 411 && 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 …]
|
D | DeviceAdminListItem.java | 44 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/ |
D | RegisteredAidCache.java | 70 "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 …]
|
D | RegisteredNfcFServicesCache.java | 190 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/ |
D | GLView.java | 132 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/ |
D | ComponentWithLabel.java | 27 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/ |
D | FakeContext.java | 70 } 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/ |
D | VendorServiceControllerTest.java | 193 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()
|
D | VendorServiceInfoTest.java | 64 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/ |
D | SummaryLoader.java | 169 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()
|
D | DashboardFeatureProviderImpl.java | 100 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/ |
D | SummaryLoader.java | 169 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()
|
D | DashboardFeatureProviderImpl.java | 100 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/ |
D | FingerprintEnrollFindSensorTest.java | 96 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/ |
D | StorageItemPreferenceControllerTest.java | 127 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/ |
D | BaseDraggingActivity.java | 170 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/ |
D | ImportDataTask.java | 249 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/ |
D | IconCacheUpdateHandler.java | 110 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/ |
D | OldCallDetailsActivity.java | 45 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/ |
D | UserBackupSettingsActivity.java | 70 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/ |
D | AppSettingPreferenceControllerTest.java | 111 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/ |
D | DefaultLayoutProviderTest.java | 87 .putWidget(info.getComponent().getPackageName(), in testCustomProfileLoaded_with_widget() 88 info.getComponent().getClassName(), 2, 2)); in testCustomProfileLoaded_with_widget()
|