/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 104 private boolean shouldTargetPermission(String pkg, PermissionInfo pi) throws RemoteException { in shouldTargetPermission() argument 105 int flags = mPm.getPermissionFlags(pi.name, pkg, UserHandle.myUserId()); in shouldTargetPermission() 108 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS in shouldTargetPermission() 110 && isModernPermissionGroup(pi.group); in shouldTargetPermission() 132 PermissionInfo pi = mPm.getPermissionInfo(perm, "shell", 0); in populatePermissionsMapping() local 133 if (pi != null && shouldTargetPermission(info.packageName, pi)) { in populatePermissionsMapping() 134 permissions.add(pi); in populatePermissionsMapping() 155 for (PermissionInfo pi : e.getValue()) { in dump() 156 String name = pi.name; in dump() 162 String group = pi.group; in dump()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | ThreadInfo.java | 41 public ThreadInfo(ProcessInfo pi, int tid, String name) { in ThreadInfo() argument 42 this.process = pi; in ThreadInfo()
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
D | Inspector.java | 123 final ProcessInfo pi = makeProcessInfo(process.pid, process.cmdLine); in makeProcessInfo() local 125 makeThreadInfo(pi, thread.sysTid, thread.name); in makeProcessInfo() 135 ProcessInfo pi = mBugreport.allKnownProcesses.get(pid); in makeProcessInfo() local 136 if (pi == null) { in makeProcessInfo() 137 pi = new ProcessInfo(pid, cmdLine); in makeProcessInfo() 138 mBugreport.allKnownProcesses.put(pid, pi); in makeProcessInfo() 140 if (cmdLine.length() > pi.cmdLine.length()) { in makeProcessInfo() 141 pi.cmdLine = cmdLine; in makeProcessInfo() 144 return pi; in makeProcessInfo() 151 private ThreadInfo makeThreadInfo(ProcessInfo pi, int tid, String name) { in makeThreadInfo() argument [all …]
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | PlaylistItem.java | 41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { in PlaylistItem() argument 46 mUpdateReceiver = pi; in PlaylistItem()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | IntentActivityFlags.java | 76 PendingIntent pi = PendingIntent.getActivities(context, 0, 80 pi.send();
|
D | ForegroundService.java | 235 PendingIntent pi = PendingIntent.getForegroundService(ctx, 0, intent, 0); 239 pi);
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnClient.java | 131 .map(pi -> pi.packageName) in checkPackages()
|
/development/apps/Development/src/com/android/development/ |
D | PackageSummary.java | 218 ProviderInfo pi = info.providers[i]; in onCreate() local 221 setItemText(view, info, pi.name); in onCreate() 248 private final static void setItemText(Button item, PackageInfo pi, in setItemText() argument
|
/development/samples/SipDemo/src/com/example/android/sip/ |
D | WalkieTalkieActivity.java | 140 PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, Intent.FILL_IN_DATA); in initializeLocalProfile() local 141 manager.open(me, pi, null); in initializeLocalProfile()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 167 PendingIntent pi = PendingIntent.getActivity(context, 99 /*request code*/, in onCreate() local 169 mSession.setSessionActivity(pi); in onCreate()
|