Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 10 of 10) sorted by relevance

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java108 private boolean shouldTargetPermission(String pkg, PermissionInfo pi) throws RemoteException { in shouldTargetPermission() argument
109 int flags = mPermManager.getPermissionFlags(pkg, pi.name, UserHandle.myUserId()); in shouldTargetPermission()
112 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS in shouldTargetPermission()
114 && isModernPermissionGroup(pi.group); in shouldTargetPermission()
136 PermissionInfo pi = mPermManager.getPermissionInfo(perm, "shell", 0); in populatePermissionsMapping() local
137 if (pi != null && shouldTargetPermission(info.packageName, pi)) { in populatePermissionsMapping()
138 permissions.add(pi); in populatePermissionsMapping()
159 for (PermissionInfo pi : e.getValue()) { in dump()
160 String name = pi.name; in dump()
166 String group = pi.group; in dump()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DThreadInfo.java41 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/
DInspector.java123 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/
DPlaylistItem.java41 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/
DIntentActivityFlags.java76 PendingIntent pi = PendingIntent.getActivities(context, 0,
80 pi.send();
DForegroundService.java235 PendingIntent pi = PendingIntent.getForegroundService(ctx, 0, intent, 0);
239 pi);
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java131 .map(pi -> pi.packageName) in checkPackages()
/development/apps/Development/src/com/android/development/
DPackageSummary.java218 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/
DWalkieTalkieActivity.java140 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/
DMusicService.java167 PendingIntent pi = PendingIntent.getActivity(context, 99 /*request code*/, in onCreate() local
169 mSession.setSessionActivity(pi); in onCreate()