Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceControllerTest.java86 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_noAppInfo_shouldDisablePreference()
97 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appNotInstalled_shouldDisablePreference()
110 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appDisabled_shouldDisablePreference()
123 when(mFragment.getAppEntry()).thenReturn(appEntry); in displayPreference_appEnabled_shouldNotDisablePreference()
153 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_notInstantApp_shouldShowPreferenceAndSetSummary()
DAppStoragePreferenceControllerTest.java95 when(mFragment.getAppEntry()).thenReturn(appEntry); in updateState_shouldUpdatePreferenceSummary()
105 when(mFragment.getAppEntry()).thenReturn(null); in updateState_entryIsNull_shouldNotUpdatePreferenceSummary()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppOpenByDefaultPreferenceController.java48 final ApplicationsState.AppEntry appEntry = mParent.getAppEntry(); in displayPreference()
62 preference.setSummary(AppUtils.getLaunchByDefaultSummary(mParent.getAppEntry(), in updateState()
DAppStoragePreferenceController.java52 (mParent.getAppEntry().info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; in updateState()
88 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()
DExternalSourceDetailPreferenceController.java57 return ExternalSourcesDetails.getPreferenceSummary(mContext, mParent.getAppEntry()); in getPreferenceSummary()
DAppInfoPreferenceControllerBase.java61 mDetailFragmentClass, -1, getArguments(), mParent, mParent.getAppEntry()); in handlePreferenceTreeClick()
DAppPermissionPreferenceController.java101 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, mParent.getAppEntry().info.packageName); in startManagePermissionsActivity()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceController.java48 final ApplicationsState.AppEntry appEntry = mParent.getAppEntry(); in displayPreference()
62 preference.setSummary(AppUtils.getLaunchByDefaultSummary(mParent.getAppEntry(), in updateState()
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()
DWriteSystemSettingsPreferenceController.java57 return WriteSettingsDetails.getSummary(mContext, mParent.getAppEntry()); in getSummary()
DDrawOverlayDetailPreferenceController.java57 return DrawOverlayDetails.getSummary(mContext, mParent.getAppEntry()); in getSummary()
DAppInfoPreferenceControllerBase.java61 mDetailFragmentClass, -1, getArguments(), mParent, mParent.getAppEntry()); in handlePreferenceTreeClick()
DExternalSourceDetailPreferenceController.java57 return ExternalSourcesDetails.getPreferenceSummary(mContext, mParent.getAppEntry()); in getPreferenceSummary()
DAppPermissionPreferenceController.java101 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, mParent.getAppEntry().info.packageName); in startManagePermissionsActivity()
DAppHeaderViewPreferenceController.java85 setAppLabelAndIcon(mParent.getPackageInfo(), mParent.getAppEntry()); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java451 assertThat(adapter.getAppEntry(0).label).isEqualTo("Banana"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
452 assertThat(adapter.getAppEntry(1).label).isEqualTo("Cantaloupe"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
453 assertThat(adapter.getAppEntry(2).label).isEqualTo("Mango"); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLaunchSettingsBasePreferenceController.java70 public ApplicationsState.AppEntry getAppEntry() { in getAppEntry() method in AppLaunchSettingsBasePreferenceController

12