Home
last modified time | relevance | path

Searched refs:getAppEntry (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppLocalePreferenceController.java62 return AppLocaleDetails.getSummary(mContext, mParent.getAppEntry().info); in getSummary()
73 intent.setData(Uri.parse("package:" + mParent.getAppEntry().info.packageName)); in handlePreferenceTreeClick()
85 .canDisplayLocaleUi(mContext, mParent.getAppEntry().info, mListInfos); in canDisplayLocaleUi()
DAppInfoPreferenceControllerBase.java63 mDetailFragmentClass, -1, getArguments(), mParent, mParent.getAppEntry()); in handlePreferenceTreeClick()
77 mAppEntry = mParent.getAppEntry(); in setParentFragment()
DAppDataUsagePreferenceController.java81 final int uid = mParent.getAppEntry().info.uid; in onResume()
99 final int uid = mParent.getAppEntry().info.uid; in onCreateLoader()
DDrawOverlayDetailPreferenceController.java57 return DrawOverlayDetails.getSummary(mContext, mParent.getAppEntry()); in getSummary()
DWriteSystemSettingsPreferenceController.java57 return WriteSettingsDetails.getSummary(mContext, mParent.getAppEntry()); in getSummary()
DAlarmsAndRemindersDetailPreferenceController.java57 return AlarmsAndRemindersDetails.getSummary(mContext, mParent.getAppEntry()); in getPreferenceSummary()
DExternalSourceDetailPreferenceController.java57 return ExternalSourcesDetails.getPreferenceSummary(mContext, mParent.getAppEntry()); in getPreferenceSummary()
DLongBackgroundTasksDetailsPreferenceController.java74 return LongBackgroundTasksDetails.getSummary(mContext, mParent.getAppEntry()); in getPreferenceSummary()
DAppHeaderViewPreferenceController.java77 setAppLabelAndIcon(mParent.getPackageInfo(), mParent.getAppEntry()); in refreshUi()
DAppOpenByDefaultPreferenceController.java56 final ApplicationsState.AppEntry appEntry = mParent.getAppEntry(); in displayPreference()
DTimeSpentInAppPreferenceController.java72 mAppEntry = mParent.getAppEntry(); in setParentFragment()
DAppNotificationPreferenceController.java67 preference.setSummary(getNotificationSummary(mParent.getAppEntry(), mContext, mBackend)); in updateState()
DAppStoragePreferenceController.java101 mParent.getAppEntry().info, UserHandle.of(UserHandle.myUserId())); in onCreateLoader()
DAppPermissionPreferenceController.java136 permIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, mParent.getAppEntry().info.packageName); in startManagePermissionsActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceControllerTest.java104 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_noAppInfo_shouldDisablePreference()
115 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appNotInstalled_shouldDisablePreference()
128 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appDisabled_shouldDisablePreference()
141 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appEnabled_shouldNotDisablePreference()
202 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary()
DAppInfoPreferenceControllerBaseTest.java97 when(mFragment.getAppEntry()).thenReturn(appEntry); in handlePreferenceTreeClick_shouldStartDetailFragmentClass()
DAppHeaderViewPreferenceControllerTest.java104 when(mFragment.getAppEntry()).thenReturn(appEntry); in refreshUi_shouldRefreshButton()
DAppPermissionPreferenceControllerTest.java161 when(mFragment.getAppEntry()).thenReturn(appEntry); in handlePreferenceTreeClick_shouldStartManagePermissionsActivity()
DAppDataUsagePreferenceControllerTest.java106 when(mFragment.getAppEntry()).thenReturn(appEntry); in onResume_isAvailable_shouldRestartDataLoader()
DAppNotificationPreferenceControllerTest.java88 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java352 public AppEntry getAppEntry() { in getAppEntry() method in AppOpsState.AppOpEntry
452 return sCollator.compare(object1.getAppEntry().getLabel(),
453 object2.getAppEntry().getLabel());
464 return sCollator.compare(object1.getAppEntry().getLabel(),
465 object2.getAppEntry().getLabel());
473 if (last.getAppEntry() == appEntry) { in addOp()
503 private AppEntry getAppEntry(final Context context, final HashMap<String, AppEntry> appEntries, in getAppEntry() method in AppOpsState
559 AppEntry appEntry = getAppEntry(context, appEntries, pkgOps.getPackageName(), null); in buildState()
586 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, in buildState()
DAppOpsCategory.java290 item.getAppEntry().getIcon()); in getView()
291 ((TextView) view.findViewById(R.id.app_name)).setText(item.getAppEntry().getLabel()); in getView()
339 entry.getAppEntry().getApplicationInfo().uid, in onListItemClick()
340 entry.getAppEntry().getApplicationInfo().packageName, in onListItemClick()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLaunchSettingsBasePreferenceController.java74 public ApplicationsState.AppEntry getAppEntry() { in getAppEntry() method in AppLaunchSettingsBasePreferenceController
DAppLinkStatePreferenceController.java66 (getAppEntry().info.privateFlags & ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS) in onCreateInternal()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java454 assertThat(adapter.getAppEntry(0).label).isEqualTo("Banana"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
455 assertThat(adapter.getAppEntry(1).label).isEqualTo("Cantaloupe"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
456 assertThat(adapter.getAppEntry(2).label).isEqualTo("Mango"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()

12