/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;
|
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);
|
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;
|
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));
|
AppActionPreference.java | 31 protected ApplicationsState.AppEntry mEntry; 35 mEntry = entry; 43 mEntry = entry;
|
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);
|
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...] |
/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;
|
/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;
|
/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/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);
|
/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/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...] |
/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);
|
/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...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
InLineSettingKnob.java | 40 private TextView mEntry; 102 mEntry = (TextView) findViewById(R.id.current_setting); 117 mEntry.setText(mPreference.getEntry()); 124 mEntry.setText(mPreference.getEntries()[index]);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
LabeledEditorView.java | 77 private ValuesDelta mEntry; 191 mEntry.markDeleted(); 284 return mEntry; 303 mEntry.getAsString(mType.customColumn), 335 mEntry.put(column, value); 374 final String dbValue = mEntry.getAsString(column); 383 setValues(mKind, mEntry, mState, mReadOnly, mViewIdGenerator); 395 mEntry = entry; 420 return mEntry; 459 mEntry.put(mKind.typeColumn, mType.rawValue) [all...] |