Searched refs:uid (Results 26 - 50 of 96) sorted by relevance

1234

/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryEntry.java208 void getQuickNameIconForUid(final int uid) { argument
209 final String uidString = Integer.toString(uid);
219 if (pm.getPackagesForUid(uid) == null) {
220 if (uid == 0) {
248 final int uid = sipper.uidObj.getUid();
249 sipper.mPackages = pm.getPackagesForUid(uid);
256 final int userId = UserHandle.getUserId(uid);
313 final String uidString = Integer.toString(uid);
H A DFakeUid.java32 public FakeUid(int uid) { argument
33 mUid = uid;
/packages/apps/Settings/src/com/android/settings/location/
H A DRecentLocationApps.java121 int uid = ops.getUid();
122 int userId = UserHandle.getUserId(uid);
124 (uid == Process.SYSTEM_UID) && ANDROID_SYSTEM_PACKAGE_NAME.equals(packageName);
177 int uid = ops.getUid();
178 int userId = UserHandle.getUserId(uid);
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminAdd.java286 mDeviceAdmin.getActivityInfo().applicationInfo.uid);
330 mDeviceAdmin.getActivityInfo().applicationInfo.uid);
382 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid;
384 mCurSysAppOpMode = mAppOps.checkOp(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, pkg);
385 mCurToastAppOpMode = mAppOps.checkOp(AppOpsManager.OP_TOAST_WINDOW, uid, pkg);
386 mAppOps.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, pkg, AppOpsManager.MODE_IGNORED);
387 mAppOps.setMode(AppOpsManager.OP_TOAST_WINDOW, uid, pkg, AppOpsManager.MODE_IGNORED);
394 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid;
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java311 // The uid is required, but can be anything
312 String uid = "31415926535";
316 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account);
357 // The uid is required, but can be anything
358 String uid = "31415926535";
362 Message.FLAG_OUTGOING_MEETING_INVITE, uid, account);
399 assertEquals(uid, vevent.get("UID"));
419 // The uid is required, but can be anything
420 String uid = "31415926535";
424 Message.FLAG_OUTGOING_MEETING_INVITE, uid, accoun
[all...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DFolder.java114 public abstract Message getMessage(String uid) throws MessagingException; argument
189 public abstract Message createMessage(String uid) throws MessagingException; argument
H A DMessage.java41 public void setUid(String uid) { argument
42 this.mUid = uid;
/packages/services/Telephony/src/com/android/phone/common/mail/
H A DMessage.java43 public void setUid(String uid) { argument
44 this.mUid = uid;
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DPreferredServices.java293 boolean unregisterForegroundService(int uid) { argument
296 if (mForegroundUid == uid) {
319 public void onUidToBackground(int uid) { argument
320 unregisterForegroundService(uid);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
H A DSafetyNetLogger.java43 packageInfo.applicationInfo.uid, buildChangedGroupForPackageMessage(
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStatePowerBridge.java49 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { argument
H A DAppStateAppOpsBridge.java81 protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid); argument
92 public PermissionState getPermissionInfo(String pkg, int uid) { argument
94 .getUserId(uid)));
113 List<PackageOps> ops = mAppOpsManager.getOpsForPackage(uid, pkg, mAppOpsOpCodes);
136 int userId = UserHandle.getUserId(app.info.uid);
H A DAppStateNotificationBridge.java55 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { argument
H A DAppInfoBase.java50 public static final String ARG_PACKAGE_UID = "uid";
197 String pkg, int uid, Fragment source, int request) {
200 args.putInt(AppInfoBase.ARG_PACKAGE_UID, uid);
205 new UserHandle(UserHandle.getUserId(uid)));
196 startAppInfoFragment(Class<?> fragment, int titleRes, String pkg, int uid, Fragment source, int request) argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadIdleService.java168 final int uid = android.os.Process.myUid();
170 fromDisk.addAll(listFilesRecursive(getCacheDir(), null, uid));
171 fromDisk.addAll(listFilesRecursive(getFilesDir(), null, uid));
172 fromDisk.addAll(listFilesRecursive(Environment.getDownloadCacheDirectory(), null, uid));
H A DDownloadReceiver.java116 final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);
118 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, Constants.UID + "=" + uid, null);
121 Slog.d(TAG, "Deleted " + count + " downloads owned by UID " + uid);
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipSettings.java104 log("SipPreference.updateSummary, profile uid: " + profileUid +
120 private String getPackageNameFromUid(int uid) { argument
122 String[] pkgs = mPackageManager.getPackagesForUid(uid);
126 log("getPackageNameFromUid, cannot find name of uid: " + uid + ", exception: " + e);
128 return "uid:" + uid;
286 int uid = profile.getCallingUid();
287 if (uid == mUid || uid
[all...]
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DPop3Store.java322 public Message getMessage(String uid) throws MessagingException { argument
334 Pop3Message message = mUidToMsgMap.get(uid);
658 String uid = message.getUid();
659 int msgNum = mUidToMsgNumMap.get(uid);
663 mUidToMsgNumMap.remove(uid);
756 public Message createMessage(String uid) { argument
757 return new Pop3Message(uid, this);
767 public Pop3Message(String uid, Pop3Folder folder) { argument
768 mUid = uid;
/packages/apps/Email/provider_src/com/android/email/service/
H A DPop3Service.java334 final String uid = message.getUid();
335 remoteUidMap.put(uid, message);
355 final String uid = message.getUid();
356 final LocalMessageInfo localMessage = localMessageMap.get(uid);
373 LogUtils.d(Logging.LOG_TAG, "need to sync " + uid);
376 LogUtils.d(Logging.LOG_TAG, "don't need to sync " + uid);
410 String uid = msg.mServerId;
411 Pop3Message popMessage = remoteUidMap.get(uid);
437 LogUtils.e(TAG, "Could not find message for attachment " + uid);
/packages/apps/Nfc/nci/jni/
H A DNfcTag.cpp266 if (memcmp(mLastKovioUid, &mTechParams [0].param.pk.uid, mTechParams[0].param.pk.uid_len) == 0)
282 memcpy(mLastKovioUid, mTechParams[0].param.pk.uid, mLastKovioUidLen);
322 // need to look at first byte of uid to find Manufacture Byte
960 ScopedLocalRef<jbyteArray> uid(e, NULL);
966 uid.reset(e->NewByteArray(len));
967 e->SetByteArrayRegion(uid.get(), 0, len,
968 (jbyte*) &mTechParams [0].param.pk.uid);
977 uid.reset(e->NewByteArray(len));
978 e->SetByteArrayRegion(uid.get(), 0, len,
993 uid
[all...]
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DAppDialogFragment.java107 final int userId = UserHandle.getUserId(mPackageInfo.applicationInfo.uid);
118 final int userId = UserHandle.getUserId(mPackageInfo.applicationInfo.uid);
H A DAppPreference.java47 int uid) {
50 mUid = uid;
46 AppPreference(Context context, OnClickListener onManage, final String packageName, int uid) argument
/packages/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapStore.java97 ImapMessage(String uid, ImapFolder folder) { argument
98 mUid = uid;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppInfo.java126 return mEntry.info.uid;
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
H A DKeyChainServiceTest.java133 Log.d(TAG, "test_KeyChainService uid=" + getApplicationInfo().uid);
204 mSupport.grantAppPermission(getApplicationInfo().uid, alias1);
216 mSupport.revokeAppPermission(getApplicationInfo().uid, alias2);

Completed in 655 milliseconds

1234