Home
last modified time | relevance | path

Searched refs:mEntry (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java69 private ApplicationsState.AppEntry mEntry; field in AppManagementFragment
103 mEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); in onCreate()
113 if (mEntry == null) { in onResume()
136 if (mEntry == null) { in onActivityResult()
144 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult()
154 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult()
206 if (mEntry == null) { in updatePrefs()
222 mEntry.getVersion(getActivity()))); in updatePrefs()
233 mPackageManager.getLeanbackLaunchIntentForPackage(mEntry.info.packageName); in updatePrefs()
235 appLaunchIntent = mPackageManager.getLaunchIntentForPackage(mEntry.info.packageName); in updatePrefs()
[all …]
DNotificationsPreference.java34 private ApplicationsState.AppEntry mEntry; field in NotificationsPreference
38 mEntry = entry; in NotificationsPreference()
50 mEntry = entry; in setEntry()
59 mNotificationManager.areNotificationsEnabledForPackage(mEntry.info.packageName, in refresh()
60 mEntry.info.uid)); in refresh()
63 + mEntry.info.packageName, e); in refresh()
79 mEntry.info.packageName, mEntry.info.uid, enabled); in setNotificationsEnabled()
DAppInfo.java32 private ApplicationsState.AppEntry mEntry; field in AppInfo
36 mEntry = entry; in AppInfo()
41 mEntry = entry; in setEntry()
47 mEntry.ensureLabel(mContext); in getName()
48 return mEntry.label; in getName()
54 return mEntry.sizeStr; in getSize()
60 return mEntry.info.packageName; in getPackageName()
DForceStopPreference.java39 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ForceStopPreference()
47 if (dpm.packageHasActiveAdmins(mEntry.info.packageName)) { in refresh()
50 } else if ((mEntry.info.flags & ApplicationInfo.FLAG_STOPPED) == 0) { in refresh()
56 Uri.fromParts("package", mEntry.info.packageName, null)); in refresh()
58 mEntry.info.packageName }); in refresh()
59 intent.putExtra(Intent.EXTRA_UID, mEntry.info.uid); in refresh()
60 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.info.uid)); in refresh()
DAppStoragePreference.java43 final ApplicationInfo applicationInfo = mEntry.info; in refresh()
50 .getLaunchIntent(getContext(), mEntry.info.packageName, getAppName())); in refresh()
56 final String size = mEntry.sizeStr; in refresh()
61 mEntry.sizeStr, volumeDesc)); in refresh()
67 mEntry.ensureLabel(getContext()); in getAppName()
68 return mEntry.label; in getAppName()
DEnableDisablePreference.java52 if (!UninstallPreference.canUninstall(mEntry) && canDisable()) { in refresh()
54 if (mEntry.info.enabled) { in refresh()
56 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, false); in refresh()
59 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, true); in refresh()
70 packageInfo = mPackageManager.getPackageInfo(mEntry.info.packageName, in canDisable()
77 return !(homePackages.contains(mEntry.info.packageName) || in canDisable()
DUninstallPreference.java51 return canUninstall(mEntry); in canUninstall()
60 return (mEntry.info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; in canUninstallUpdates()
65 final Uri packageURI = Uri.parse("package:" + mEntry.info.packageName); in getIntent()
DAppActionPreference.java31 protected ApplicationsState.AppEntry mEntry; field in AppActionPreference
35 mEntry = entry; in AppActionPreference()
43 mEntry = entry; in setEntry()
DClearDataPreference.java35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearDataPreference()
42 Formatter.formatFileSize(context, mEntry.dataSize + mEntry.externalDataSize)); in refresh()
DClearCachePreference.java35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearCachePreference()
42 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh()
DClearDefaultsPreference.java46 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearDefaultsPreference()
52 mEntry, mUsbManager, mPackageManager, getContext())); in refresh()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java219 logSpecialPermissionChange(whitelisted, accessPreference.mEntry.info.packageName); in onPreferenceChange()
220 mDataSaverBackend.setIsWhitelisted(accessPreference.mEntry.info.uid, in onPreferenceChange()
221 accessPreference.mEntry.info.packageName, whitelisted); in onPreferenceChange()
242 private final AppEntry mEntry; field in UnrestrictedDataAccess.AccessPreference
247 mEntry = entry; in AccessPreference()
248 mState = (DataUsageState) mEntry.extraInfo; in AccessPreference()
249 mEntry.ensureLabel(getContext()); in AccessPreference()
251 if (mEntry.icon != null) { in AccessPreference()
252 setIcon(mEntry.icon); in AccessPreference()
275 mEntry); in onClick()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DManageDomainUrls.java230 ApplicationsState.AppEntry entry = ((DomainAppPreference) preference).mEntry; in onPreferenceClick()
240 private final AppEntry mEntry; field in ManageDomainUrls.DomainAppPreference
246 mEntry = entry; in DomainAppPreference()
247 mEntry.ensureLabel(getContext()); in DomainAppPreference()
249 if (mEntry.icon != null) { in DomainAppPreference()
250 setIcon(mEntry.icon); in DomainAppPreference()
255 setTitle(mEntry.label); in setState()
256 setSummary(getDomainsSummary(mEntry.info.packageName)); in setState()
266 if (mEntry.icon == null) { in onBindViewHolder()
271 mApplicationsState.ensureIcon(mEntry); in onBindViewHolder()
[all …]
DProcessStatsPreference.java31 private ProcStatsPackageEntry mEntry; field in ProcessStatsPreference
39 mEntry = entry; in init()
58 return mEntry; in getEntry()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java77 private ValuesDelta mEntry; field in LabeledEditorView
191 mEntry.markDeleted(); in markDeleted()
284 return mEntry; in getEntry()
303 mEntry.getAsString(mType.customColumn), in rebuildLabel()
335 mEntry.put(column, value); in saveValue()
374 final String dbValue = mEntry.getAsString(column); in isFieldChanged()
383 setValues(mKind, mEntry, mState, mReadOnly, mViewIdGenerator); in rebuildValues()
395 mEntry = entry; in setValues()
420 return mEntry; in getValues()
459 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DProxy.java36 private final ZipEntry mEntry; field in Proxy
42 mEntry = entry; in Proxy()
48 return mEntry.getSize(); in onGetSize()
93 mInputStream = mFile.getInputStream(mEntry); in recreateInputStream()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingKnob.java40 private TextView mEntry; field in InLineSettingKnob
102 mEntry = (TextView) findViewById(R.id.current_setting); in onFinishInflate()
117 mEntry.setText(mPreference.getEntry()); in updateView()
124 mEntry.setText(mPreference.getEntries()[index]); in updateView()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java80 public final AlbumEntry mEntry; field in AlbumSlidingWindow.PanoSupportListener
82 mEntry = entry; in PanoSupportListener()
87 if (mEntry != null) mEntry.isPanorama = isPanorama; in panoramaInfoAvailable()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java1008 private final View mEntry; field in ExpandingEntryCardView.EntryTouchListener
1017 mEntry = entry; in EntryTouchListener()
1039 mTouchedView = mEntry; in onTouch()
1046 sendToTouched = mTouchedView != null && mTouchedView != mEntry; in onTouch()
1057 sendToTouched = mTouchedView != null && mTouchedView != mEntry; in onTouch()
1075 if (mEntry.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in hitThirdIcon()
1091 if (mEntry.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in hitAlternateIcon()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java340 private Entry mEntry; field in DownloadCache.TaskProxy
344 mEntry = entry; in setResult()
359 while (!mIsCancelled && mEntry == null) { in get()
367 return mEntry; in get()