Home
last modified time | relevance | path

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

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java104 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/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/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/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()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv12879 …u4NMXJ9RfGaVxzf7m_uIAfake_-pRe7HvfTh-7H5fXuvLrzQ@fakeemail.com,Fixed pdk build error for pi-release