/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | NotificationsPreferenceController.java | 44 private int mUid; field in NotificationsPreferenceController 61 mUid = packageInfo.applicationInfo.uid; in setPackageInfo() 79 if (mNotificationManager.onlyHasDefaultChannel(mPackageName, mUid)) { in handlePreferenceChanged() 83 mUid, in handlePreferenceChanged() 88 .updateNotificationChannelForPackage(mPackageName, mUid, defaultChannel); in handlePreferenceChanged() 90 mNotificationManager.setNotificationsEnabledForPackage(mPackageName, mUid, enabled); in handlePreferenceChanged() 100 return mNotificationManager.areNotificationsEnabledForPackage(mPackageName, mUid); in isNotificationsEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationSettingsBase.java | 69 protected int mUid; field in NotificationSettingsBase 101 mUid = mArgs != null && mArgs.containsKey(AppInfoBase.ARG_PACKAGE_UID) in onAttach() 105 if (mUid < 0) { in onAttach() 107 mUid = mPm.getPackageUid(mPkg, 0); in onAttach() 112 mPkgInfo = findPackageInfo(mPkg, mUid); in onAttach() 115 mUserId = UserHandle.getUserId(mUid); in onAttach() 143 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onCreate() 161 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null || mAppRow == null) { in onResume() 187 mChannel = mBackend.getChannel(mPkg, mUid, channelId); in loadChannel() 204 NotificationChannelGroup group = mBackend.getGroup(mPkg, mUid, mChannel.getGroup()); in loadChannelGroup() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettingsBase.java | 78 protected int mUid; field in NotificationSettingsBase 111 mUid = mArgs != null && mArgs.containsKey(AppInfoBase.ARG_PACKAGE_UID) in onAttach() 115 if (mUid < 0) { in onAttach() 117 mUid = mPm.getPackageUid(mPkg, 0); in onAttach() 122 mPkgInfo = findPackageInfo(mPkg, mUid); in onAttach() 125 mUserId = UserHandle.getUserId(mUid); in onAttach() 153 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onCreate() 171 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null || mAppRow == null) { in onResume() 197 mChannel = mBackend.getChannel(mPkg, mUid, channelId); in loadChannel() 214 NotificationChannelGroup group = mBackend.getGroup(mPkg, mUid, mChannel.getGroup()); in loadChannelGroup() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowAppOpsManager.java | 70 PackageOps packageOp = new PackageOps(key.mPackageName, key.mUid, in getPackagesForOps() 79 private int mUid; field in ShadowAppOpsManager.InternalKey 83 mUid = uid; in InternalKey() 91 return mUid == that.mUid && mPackageName.equals(that.mPackageName); in equals() 98 return Objects.hash(mUid, mPackageName); in hashCode()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | NotificationEntryTest.java | 62 private int mUid = 2018; field in NotificationEntryTest 81 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, n, in generateSbn() 90 return new StatusBarNotification(packageName, packageName, 0, "tag", mUid, mUid, n, in generateSbn() 95 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, n, in generateSbn() 103 mUid = Process.myUid(); in setUp()
|
D | AgingHelperTest.java | 57 private int mUid = 2018; field in AgingHelperTest 81 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, n, in generateSbn() 89 mUid = Process.myUid(); in setUp()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsEntry.java | 42 final int mUid; field in ProcStatsEntry 65 mUid = proc.getUid(); in ProcStatsEntry() 83 mUid = uid; in ProcStatsEntry() 94 mUid = in.readInt(); in ProcStatsEntry() 146 = stats.mPackages.get(mPackages.get(ipkg), mUid); in evaluateTargetPackage() 153 + mUid + " in process " + mName); in evaluateTargetPackage() 159 + mPackages.get(ipkg) + "/" + mUid); in evaluateTargetPackage() 280 dest.writeInt(mUid); in writeToParcel() 301 return mUid; in getUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsEntry.java | 42 final int mUid; field in ProcStatsEntry 65 mUid = proc.getUid(); in ProcStatsEntry() 83 mUid = uid; in ProcStatsEntry() 94 mUid = in.readInt(); in ProcStatsEntry() 146 = stats.mPackages.get(mPackages.get(ipkg), mUid); in evaluateTargetPackage() 153 + mUid + " in process " + mName); in evaluateTargetPackage() 159 + mPackages.get(ipkg) + "/" + mUid); in evaluateTargetPackage() 280 dest.writeInt(mUid); in writeToParcel() 301 return mUid; in getUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 50 private final int mUid; field in BackgroundActivityPreferenceController 72 mUid = uid; in BackgroundActivityPreferenceController() 86 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateState() 111 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in handlePreferenceTreeClick() 125 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateSummary() 139 .setUid(mUid) in showDialog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 50 private final int mUid; field in BackgroundActivityPreferenceController 72 mUid = uid; in BackgroundActivityPreferenceController() 86 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateState() 111 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in handlePreferenceTreeClick() 125 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateSummary() 139 .setUid(mUid) in showDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 124 private BatteryStats.Uid mUid; field in BatteryUtilsTest 179 doReturn(TIME_STATE_TOP).when(mUid).getProcessStateTime(eq(PROCESS_STATE_TOP), anyLong(), in setUp() 181 doReturn(TIME_STATE_FOREGROUND_SERVICE).when(mUid).getProcessStateTime( in setUp() 183 doReturn(TIME_STATE_TOP_SLEEPING).when(mUid).getProcessStateTime( in setUp() 185 doReturn(TIME_STATE_FOREGROUND).when(mUid).getProcessStateTime(eq(PROCESS_STATE_FOREGROUND), in setUp() 187 doReturn(TIME_STATE_BACKGROUND).when(mUid).getProcessStateTime(eq(PROCESS_STATE_BACKGROUND), in setUp() 250 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeForeground_timeCorrect() 252 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.FOREGROUND, mUid, in testGetProcessTimeMs_typeForeground_timeCorrect() 260 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.BACKGROUND, mUid, in testGetProcessTimeMs_typeBackground_timeCorrect() 269 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeAll_timeCorrect() [all …]
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CredentialHelper.java | 73 private int mUid = -1; field in CredentialHelper 93 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1); in CredentialHelper() 109 outStates.putInt(Credentials.EXTRA_INSTALL_AS_UID, mUid); in onSaveStates() 132 mUid = savedStates.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1); in onRestoreStates() 265 mUid = uid; in setInstallAsUid() 269 return mUid != -1; in isInstallAsUidSet() 273 return mUid; in getInstallAsUid() 282 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, mUid); in createSystemInstallIntent()
|
/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 197 ownershipCallback.onFocusAbandoned(appType, info.mUid, info.mPid); in abandonAppFocus() 355 private final int mUid; field in AppFocusService.ClientInfo 362 this.mUid = uid; in ClientInfo() 382 return "ClientInfo{mUid=" + mUid + ",mPid=" + mPid in toString() 390 private final int mUid; field in AppFocusService.OwnershipClientInfo 397 this.mUid = uid; in OwnershipClientInfo() 423 return mUid; in getUid() 433 return "ClientInfo{mUid=" + mUid + ",mPid=" + mPid in toString()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Message.java | 29 protected String mUid; field in Message 38 return mUid; in getUid() 42 this.mUid = uid; in setUid() 144 return getClass().getSimpleName() + ':' + mUid; in toString()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | SyncStateSwitchPreference.java | 42 private int mUid; field in SyncStateSwitchPreference 55 mUid = 0; in SyncStateSwitchPreference() 68 mUid = uid; in setup() 171 return mUid; in getUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | SyncStateSwitchPreference.java | 42 private int mUid; field in SyncStateSwitchPreference 55 mUid = 0; in SyncStateSwitchPreference() 68 mUid = uid; in setup() 171 return mUid; in getUid()
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 116 final int mUid; field in InstrumentClusterRenderingService.ContextOwner 122 mUid = uid; in ContextOwner() 137 return "{uid: " + mUid + ", pid: " + mPid + ", packagenames: " + mPackageNames in toString() 219 if (contextOwner == null || contextOwner.mUid == 0 || mActivityOptions == null in updateNavigationActivity() 455 if (mNavContextOwner.mUid != uid || mNavContextOwner.mPid != pid) { in assertContextOwnership() 526 int userId = UserHandle.getUserId(contextOwner.mUid); in getBitmap() 590 int userId = UserHandle.getUserId(contextOwner.mUid); in getBitmap()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 136 private int mUid; field in NotificationChannelSlice 167 mUid = getApplicationUid(mPackageName); in getSlice() 176 .setSubtitle(getSubTitle(mPackageName, mUid)) in getSlice() 211 args.putInt(AppInfoBase.ARG_PACKAGE_UID, mUid); in getIntent() 245 channelArgs.putInt(AppInfoBase.ARG_PACKAGE_UID, mUid); in buildRowSliceAction() 297 .putExtra(PACKAGE_UID, mUid) in getToggleIntent() 444 mUid); in isChannelEnabled()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 143 private int mUid; field in NotificationChannelSlice 168 mUid = getApplicationUid(mPackageName); in getSlice() 177 .setSubtitle(getSubTitle(mPackageName, mUid)) in getSlice() 212 args.putInt(AppInfoBase.ARG_PACKAGE_UID, mUid); in getIntent() 257 channelArgs.putInt(AppInfoBase.ARG_PACKAGE_UID, mUid); in buildRowSliceAction() 308 .putExtra(PACKAGE_UID, mUid) in getToggleIntent() 451 mUid); in isChannelEnabled()
|
/packages/services/Car/procfs-inspector/server/ |
D | process.h | 30 uid_t getUid() { return mUid; } in getUid() 33 ProcessInfo(pid_t pid = -1, uid_t uid = -1) : mPid(pid), mUid(uid) {} in mPid() 40 uid_t mUid; variable
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | IoStatsTrackerTest.java | 246 private final int mUid; field in IoStatsTrackerTest.UserActivity 262 mUid = uid; in UserActivity() 273 UidIoRecord uidIoRecord = new UidIoRecord(mUid, in updateSystemState() 287 systemState.addProcess(new ProcessInfo(1, mUid)); in updateSystemState() 289 systemState.removeUserProcesses(mUid); in updateSystemState()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AppInfo.java | 45 uid = builder.mUid; in AppInfo() 110 private int mUid; field in AppInfo.Builder 128 mUid = uid; in setUid()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | SyncPreference.java | 35 private int mUid; field in SyncPreference 120 return mUid; in getUid() 125 mUid = uid; in setUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AppInfo.java | 45 uid = builder.mUid; in AppInfo() 110 private int mUid; field in AppInfo.Builder 128 mUid = uid; in setUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | EntityHeaderController.java | 90 private int mUid = UserHandle.USER_NULL; field in EntityHeaderController 211 mUid = uid; in setUid() 289 || mUid == UserHandle.USER_NULL) { in bindAppInfoLink() 298 mPackageName, mUid, mFragment, 0 /* request */, in bindAppInfoLink()
|