/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
ApplicationsStateTest.java | 33 private ApplicationsState.AppEntry mEntry; 37 mEntry = mock(ApplicationsState.AppEntry.class); 38 mEntry.info = mock(ApplicationInfo.class); 43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; 45 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); 50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 52 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); 57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; 58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; 60 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppInfo.java | 32 private ApplicationsState.AppEntry mEntry; 36 mEntry = entry; 41 mEntry = entry; 47 mEntry.ensureLabel(mContext); 48 return mEntry.label; 54 return mEntry.sizeStr; 60 return mEntry.info.packageName;
|
AppManagementFragment.java | 69 private ApplicationsState.AppEntry mEntry; 103 mEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); 113 if (mEntry == null) { 136 if (mEntry == null) { 144 final int userId = UserHandle.getUserId(mEntry.info.uid); 154 final int userId = UserHandle.getUserId(mEntry.info.uid); 206 if (mEntry == null) { 222 mEntry.getVersion(getActivity()))); 233 mPackageManager.getLeanbackLaunchIntentForPackage(mEntry.info.packageName); 235 appLaunchIntent = mPackageManager.getLaunchIntentForPackage(mEntry.info.packageName) [all...] |
AppStoragePreference.java | 43 final ApplicationInfo applicationInfo = mEntry.info; 50 .getLaunchIntent(getContext(), mEntry.info.packageName, getAppName())); 56 final String size = mEntry.sizeStr; 61 mEntry.sizeStr, volumeDesc)); 67 mEntry.ensureLabel(getContext()); 68 return mEntry.label;
|
NotificationsPreference.java | 34 private ApplicationsState.AppEntry mEntry; 38 mEntry = entry; 50 mEntry = entry; 59 mNotificationManager.areNotificationsEnabledForPackage(mEntry.info.packageName, 60 mEntry.info.uid)); 63 + mEntry.info.packageName, e); 79 mEntry.info.packageName, mEntry.info.uid, enabled);
|
ForceStopPreference.java | 39 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); 47 if (dpm.packageHasActiveAdmins(mEntry.info.packageName)) { 50 } else if ((mEntry.info.flags & ApplicationInfo.FLAG_STOPPED) == 0) { 56 Uri.fromParts("package", mEntry.info.packageName, null)); 58 mEntry.info.packageName }); 59 intent.putExtra(Intent.EXTRA_UID, mEntry.info.uid); 60 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.info.uid));
|
UninstallPreference.java | 51 return canUninstall(mEntry); 60 return (mEntry.info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; 65 final Uri packageURI = Uri.parse("package:" + mEntry.info.packageName);
|
AppActionPreference.java | 31 protected ApplicationsState.AppEntry mEntry; 35 mEntry = entry; 43 mEntry = entry;
|
ClearCachePreference.java | 35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); 42 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize));
|
ClearDataPreference.java | 35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); 42 Formatter.formatFileSize(context, mEntry.dataSize + mEntry.externalDataSize));
|
EnableDisablePreference.java | 52 if (!UninstallPreference.canUninstall(mEntry) && canDisable()) { 54 if (mEntry.info.enabled) { 56 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, false); 59 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, true); 70 packageInfo = mPackageManager.getPackageInfo(mEntry.info.packageName, 77 return !(homePackages.contains(mEntry.info.packageName) ||
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
ReprocessFormatsMap.java | 113 mEntry = entry; 132 int left = mEntry.length; 133 for (int i = 0, j = 0; i < mEntry.length; j++) { 134 final int format = mEntry[i]; 144 final int length = mEntry[i]; 180 int left = mEntry.length; 181 for (int i = 0; i < mEntry.length; ) { 182 final int inputFormat = mEntry[i]; 192 final int length = mEntry[i]; 210 outputs[k] = mEntry[i + k] [all...] |
/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 41 struct dirent mEntry; 78 mEntry = *entryPtr; 80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); 82 return &mEntry;
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
SimpleRecipientChip.java | 36 private final RecipientEntry mEntry; 49 mEntry = entry; 94 return mEntry; 108 return !TextUtils.isEmpty(mOriginalText) ? mOriginalText : mEntry.getDestination();
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
UnrestrictedDataAccess.java | 219 logSpecialPermissionChange(whitelisted, accessPreference.mEntry.info.packageName); 220 mDataSaverBackend.setIsWhitelisted(accessPreference.mEntry.info.uid, 221 accessPreference.mEntry.info.packageName, whitelisted); 242 private final AppEntry mEntry; 247 mEntry = entry; 248 mState = (DataUsageState) mEntry.extraInfo; 249 mEntry.ensureLabel(getContext()); 251 if (mEntry.icon != null) { 252 setIcon(mEntry.icon); 275 mEntry); [all...] |
/frameworks/base/tools/aapt/tests/ |
MockDirectoryWalker.h | 48 mEntry.d_type = DT_REG; 49 mEntry.d_ino = mPos; 53 mEntry.d_name[i] = mData[mPos].first[i]; 54 mEntry.d_name[i] = '\0'; 63 return &mEntry;
|
/hardware/intel/bootstub/ |
sfi.c | 95 struct sfi_mem_entry *mentry; local 114 mentry = (struct sfi_mem_entry *)sb->pentry; 117 start = mentry->phy_start; 118 size = mentry->pages << 12; 125 switch (mentry->type) { 131 mentry++; 140 mentry++;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
RowInflaterTask.java | 34 private NotificationData.Entry mEntry; 44 mEntry = entry; 57 mEntry.onInflationTaskFinished();
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsPreference.java | 31 private ProcStatsPackageEntry mEntry; 39 mEntry = entry; 58 return mEntry;
|
ManageDomainUrls.java | 230 ApplicationsState.AppEntry entry = ((DomainAppPreference) preference).mEntry; 240 private final AppEntry mEntry; 246 mEntry = entry; 247 mEntry.ensureLabel(getContext()); 249 if (mEntry.icon != null) { 250 setIcon(mEntry.icon); 255 setTitle(mEntry.label); 256 setSummary(getDomainsSummary(mEntry.info.packageName)); 266 if (mEntry.icon == null) { 271 mApplicationsState.ensureIcon(mEntry); [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
Proxy.java | 36 private final ZipEntry mEntry; 42 mEntry = entry; 48 return mEntry.getSize(); 93 mInputStream = mFile.getInputStream(mEntry);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
RemoteInputView.java | 83 private NotificationData.Entry mEntry; 146 mEntry.remoteInputText = mEditText.getText(); 147 mController.addSpinning(mEntry.key, mToken); 148 mController.removeRemoteInput(mEntry, mToken); 150 mController.remoteInputSent(mEntry); 158 mEntry.notification.getPackageName(), 159 mEntry.notification.getUser().getIdentifier()); 162 mEntry.notification.getPackageName()); 168 mEntry.notification.getPackageName()); 178 v.mEntry = entry [all...] |
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
ActivityResultMultiplexedLatch.java | 42 private Entry mEntry; 45 mEntry = entry; 54 mEntry.latch.await(); 55 return mEntry.resultCode; 62 return mEntry.requestCode;
|
/system/extras/pagecache/ |
dumpcache.c | 143 struct mntent* mentry; local 144 while ((mentry = getmntent(fp)) != NULL) { 145 if (strcmp(mentry->mnt_type, "rootfs") != 0 && 146 strncmp("/dev", mentry->mnt_dir, strlen("/dev")) != 0 && 147 strncmp("/sys", mentry->mnt_dir, strlen("/sys")) != 0 && 148 strncmp("/proc", mentry->mnt_dir, strlen("/proc")) != 0) { 149 nftw(mentry->mnt_dir, &scan_entry, MAX_NUM_FD, FTW_MOUNT | FTW_PHYS | FTW_DEPTH);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
VisualStabilityManagerTest.java | 47 private NotificationData.Entry mEntry; 52 mEntry = new NotificationData.Entry(mock(StatusBarNotification.class)); 53 mEntry.row = mRow; 134 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true); 143 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true); 152 mVisualStabilityManager.onHeadsUpStateChanged(mEntry, true);
|