/frameworks/base/core/java/com/android/internal/app/ |
D | AppPredictionServiceResolverComparator.java | 110 float getScore(TargetInfo targetInfo) { in getScore() argument 111 return mComparatorModel.getScore(targetInfo); in getScore() 115 void updateModel(TargetInfo targetInfo) { in updateModel() argument 116 mComparatorModel.notifyOnTargetSelected(targetInfo); in updateModel() 243 public float getScore(TargetInfo targetInfo) { in adaptLegacyResolverComparatorToComparatorModel() argument 244 return comparator.getScore(targetInfo); in adaptLegacyResolverComparatorToComparatorModel() 248 public void notifyOnTargetSelected(TargetInfo targetInfo) { in adaptLegacyResolverComparatorToComparatorModel() argument 249 comparator.updateModel(targetInfo); in adaptLegacyResolverComparatorToComparatorModel() 290 public float getScore(TargetInfo targetInfo) { 291 Integer rank = mTargetRanks.get(targetInfo.getResolvedComponentName()); [all …]
|
D | ResolverRankerServiceResolverComparator.java | 268 public float getScore(TargetInfo targetInfo) { in getScore() argument 269 return mComparatorModel.getScore(targetInfo); in getScore() 274 public void updateModel(TargetInfo targetInfo) { in updateModel() argument 276 mComparatorModel.notifyOnTargetSelected(targetInfo); in updateModel() 589 public float getScore(TargetInfo targetInfo) { in getScore() argument 590 if (mTargetsDictPerUser.containsKey(targetInfo.getResolveInfo().userHandle) in getScore() 591 && mTargetsDictPerUser.get(targetInfo.getResolveInfo().userHandle) in getScore() 592 .get(targetInfo.getResolvedComponentName()) != null) { in getScore() 593 return mTargetsDictPerUser.get(targetInfo.getResolveInfo().userHandle) in getScore() 594 .get(targetInfo.getResolvedComponentName()).getSelectProbability(); in getScore() [all …]
|
D | ResolverComparatorModel.java | 48 float getScore(TargetInfo targetInfo); in getScore() argument 56 void notifyOnTargetSelected(TargetInfo targetInfo); in notifyOnTargetSelected() argument
|
D | NoOpResolverComparator.java | 69 public float getScore(TargetInfo targetInfo) { in getScore() argument 70 return getScore(targetInfo.getResolveInfo()); in getScore()
|
D | ResolverListController.java | 413 public float getScore(TargetInfo targetInfo) { in getScore() argument 414 return mResolverComparator.getScore(targetInfo); in getScore() 417 public void updateModel(TargetInfo targetInfo) { in updateModel() argument 418 mResolverComparator.updateModel(targetInfo); in updateModel()
|
D | AbstractResolverComparator.java | 248 abstract float getScore(TargetInfo targetInfo); in getScore() argument 272 void updateModel(TargetInfo targetInfo) { in updateModel() argument
|
D | ResolverListAdapter.java | 167 public float getScore(TargetInfo targetInfo) { in getScore() argument 168 return mResolverListController.getScore(targetInfo); in getScore() 171 public void updateModel(TargetInfo targetInfo) { in updateModel() argument 172 mResolverListController.updateModel(targetInfo); in updateModel()
|
D | ChooserListAdapter.java | 792 private LoadDirectShareIconTask(SelectableTargetInfo targetInfo) { 793 mTargetInfo = targetInfo;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ModuleInfoTest.java | 89 final ModuleInfo targetInfo = ModuleInfo.CREATOR.createFromParcel(p); in testModuleInfoParcelizeDeparcelize() local 92 assertThat(info.isHidden()).isEqualTo(targetInfo.isHidden()); in testModuleInfoParcelizeDeparcelize() 93 assertThat(info.getApexModuleName()).isEqualTo(targetInfo.getApexModuleName()); in testModuleInfoParcelizeDeparcelize() 94 assertThat(info.getPackageName()).isEqualTo(targetInfo.getPackageName()); in testModuleInfoParcelizeDeparcelize() 95 assertThat(TextUtils.equals(info.getName(), targetInfo.getName())).isTrue(); in testModuleInfoParcelizeDeparcelize() 97 targetInfo.getApkInApexPackageNames().toArray()); in testModuleInfoParcelizeDeparcelize()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 94 AndroidBitmapInfo targetInfo; in readBitmapPixels() local 95 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); in readBitmapPixels() 102 if (readInfo.width != targetInfo.width || readInfo.height != targetInfo.height in readBitmapPixels() 103 || readInfo.stride != targetInfo.stride || readInfo.format != targetInfo.format in readBitmapPixels() 104 || readInfo.flags != targetInfo.flags) { in readBitmapPixels()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | FakeResolverComparatorModel.java | 50 public float getScore(TargetInfo targetInfo) { in getScore() argument 55 public void notifyOnTargetSelected(TargetInfo targetInfo) { in notifyOnTargetSelected() argument 57 "User selected " + targetInfo.getResolvedComponentName() + " under model " in notifyOnTargetSelected()
|
D | ChooserListAdapterTest.kt | 96 val targetInfo = createSelectableTargetInfo() in createChooserListAdapter() constant 99 testSubject.testViewBind(view, targetInfo, 0) in createChooserListAdapter() 109 val targetInfo = createSelectableTargetInfo() in testOnlyOneTaskPerTarget() constant 114 testSubject.testViewBind(view, targetInfo, 0) in testOnlyOneTaskPerTarget() 120 testSubject.testViewBind(view, targetInfo, 0) in testOnlyOneTaskPerTarget()
|
D | ChooserActivityTest.java | 449 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in twoOptionsAndUserSelectsOne() 450 chosen[0] = targetInfo.getResolveInfo(); in twoOptionsAndUserSelectsOne() 504 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in fourOptionsStackedIntoOneTarget() 505 chosen[0] = targetInfo.getResolveInfo(); in fourOptionsStackedIntoOneTarget() 544 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in updateChooserCountsAndModelAfterUserSelection() 595 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in autoLaunchSingleResult() 596 chosen[0] = targetInfo.getResolveInfo(); in autoLaunchSingleResult() 641 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in hasOtherProfileOneOption() 642 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileOneOption() 684 ChooserActivityOverrideData.getInstance().onSafelyStartInternalCallback = targetInfo -> { in hasOtherProfileTwoOptionsAndUserSelectsOne() [all …]
|
D | AbstractResolverComparatorTest.java | 118 float getScore(TargetInfo targetInfo) { in getTestComparator()
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | InputTracer.cpp | 128 const InputTargetInfo& targetInfo = getTargetInfo(target); in dispatchToTargetHint() local 131 if (eventState->metadata.targets.count(targetInfo.uid) == 0) { in dispatchToTargetHint() 138 if (eventState->metadata.targets.count(targetInfo.uid) == 0) { in dispatchToTargetHint() 144 eventState->metadata.targets.emplace(targetInfo.uid); in dispatchToTargetHint() 145 eventState->metadata.isSecure |= targetInfo.isSecureWindow; in dispatchToTargetHint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/ |
D | MediaProjectionAppSelectorActivity.kt | 160 val targetInfo = currentListAdapter.targetInfoForPosition(which, filtered) ?: return in appliedThemeResId() constant 161 if (targetInfo is NotSelectableTargetInfo) return in appliedThemeResId() 163 val intent = createIntent(targetInfo) in appliedThemeResId() 182 if (!targetInfo.isSuspended && activityStarted) { in appliedThemeResId()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 203 ActivityInfo targetInfo = dialogIntent.resolveActivityInfo( in buildNotification() local 205 if (targetInfo != null) { in buildNotification() 206 dialogIntent.setComponent(targetInfo.getComponentName()); in buildNotification()
|
D | RemoteBugreportManager.java | 139 final ActivityInfo targetInfo = dialogIntent.resolveActivityInfo( in buildNotification() local 141 if (targetInfo != null) { in buildNotification() 142 dialogIntent.setComponent(targetInfo.getComponentName()); in buildNotification()
|
D | DevicePolicyManagerService.java | 15155 ActivityInfo targetInfo = intent.resolveActivityInfo( in showLocationSettingsEnabledNotification() local 15158 if (targetInfo != null) { in showLocationSettingsEnabledNotification() 15159 intent.setComponent(targetInfo.getComponentName()); in showLocationSettingsEnabledNotification()
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.aidl | 177 in ApplicationInfo targetInfo); in instrumentWithoutRestart() argument
|
D | ActivityThread.java | 2165 IUiAutomationConnection instrumentationUiConnection, ApplicationInfo targetInfo) { in instrumentWithoutRestart() argument 2171 data.appInfo = targetInfo; in instrumentWithoutRestart()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1484 ItemInfo targetInfo = infoForPosition(mCurItem); 1486 (int) (targetInfo.offset * width), 0, newDuration);
|