Home
last modified time | relevance | path

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

/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.java292 item.getAppEntry().getIcon()); in getView()
293 ((TextView) view.findViewById(R.id.app_name)).setText(item.getAppEntry().getLabel()); in getView()
341 entry.getAppEntry().getApplicationInfo().uid, in onListItemClick()
342 entry.getAppEntry().getApplicationInfo().packageName, in onListItemClick()
/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()
DAppStoragePreferenceControllerTest.java95 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_shouldUpdatePreferenceSummary()
105 when(mFragment.getAppEntry()).thenReturn(null); in updateState_entryIsNull_shouldNotUpdatePreferenceSummary()
DAppInfoPreferenceControllerBaseTest.java93 when(mFragment.getAppEntry()).thenReturn(appEntry); in handlePreferenceTreeClick_shouldStartDetailFragmentClass()
DAppHeaderViewPreferenceControllerTest.java100 when(mFragment.getAppEntry()).thenReturn(appEntry); in refreshUi_shouldRefreshButton()
DAppDataUsagePreferenceControllerTest.java102 when(mFragment.getAppEntry()).thenReturn(appEntry); in onResume_isAvailable_shouldRestartDataLoader()
DAppPermissionPreferenceControllerTest.java157 when(mFragment.getAppEntry()).thenReturn(appEntry); in handlePreferenceTreeClick_shouldStartManagePermissionsActivity()
DAppNotificationPreferenceControllerTest.java84 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppStoragePreferenceController.java52 final ApplicationsState.AppEntry entry = mParent.getAppEntry(); in updateState()
92 mParent.getAppEntry().info, UserHandle.of(UserHandle.myUserId())); in onCreateLoader()
DAppDataUsagePreferenceController.java73 final int uid = mParent.getAppEntry().info.uid; in onResume()
92 .addUid(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()
DAppInfoPreferenceControllerBase.java61 mDetailFragmentClass, -1, getArguments(), mParent, mParent.getAppEntry()); in handlePreferenceTreeClick()
DAppOpenByDefaultPreferenceController.java56 final ApplicationsState.AppEntry appEntry = mParent.getAppEntry(); in displayPreference()
DAppHeaderViewPreferenceController.java78 setAppLabelAndIcon(mParent.getPackageInfo(), mParent.getAppEntry()); in refreshUi()
DAppNotificationPreferenceController.java54 preference.setSummary(getNotificationSummary(mParent.getAppEntry(), mContext, mBackend)); in updateState()
DAppPermissionPreferenceController.java128 permIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, mParent.getAppEntry().info.packageName); in startManagePermissionsActivity()
DAppInfoDashboardFragment.java318 ApplicationsState.AppEntry getAppEntry() { in getAppEntry() method in AppInfoDashboardFragment
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLaunchSettingsBasePreferenceController.java66 public ApplicationsState.AppEntry getAppEntry() { in getAppEntry() method in AppLaunchSettingsBasePreferenceController
DAppLinkStatePreferenceController.java60 (getAppEntry().info.privateFlags & ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS) in onCreateInternal()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java444 assertThat(adapter.getAppEntry(0).label).isEqualTo("Banana"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
445 assertThat(adapter.getAppEntry(1).label).isEqualTo("Cantaloupe"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
446 assertThat(adapter.getAppEntry(2).label).isEqualTo("Mango"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java812 ApplicationsState.AppEntry entry = mApplications.getAppEntry(position); in onClick()
1412 public AppEntry getAppEntry(int position) { in getAppEntry() method in ManageApplications.ApplicationsAdapter