Home
last modified time | relevance | path

Searched refs:info (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java88 for (RunningAppProcessInfo info : runningApps) { in getProcessDetails()
89 if (mPidTracker.containsKey(info.processName) in getProcessDetails()
90 && !mPidExclusions.contains(info.processName)) { in getProcessDetails()
92 detail.processName = info.processName; in getProcessDetails()
93 detail.pid0 = info.pid; in getProcessDetails()
95 int pid = mPidTracker.get(info.processName); in getProcessDetails()
97 mPidTracker.put(info.processName, info.pid); in getProcessDetails()
99 "pid detected - %s : %d", info.processName, info.pid)); in getProcessDetails()
101 deadProcesses.remove(info.processName); in getProcessDetails()
103 } else if (pid == info.pid) { in getProcessDetails()
[all …]
/platform_testing/utils/permissions/src/com/android/permissionutils/
DPermissionInstrumentation.java66 for (PackageInfo info : pkgInfos) { in runCommand()
67 if (info.requestedPermissions == null) { in runCommand()
70 for (String permission : info.requestedPermissions) { in runCommand()
83 int flag = pm.checkPermission(permission, info.packageName); in runCommand()
88 pm.grantRuntimePermission(info.packageName, permission, UserHandle.OWNER); in runCommand()
93 Log.e(DUMP_TAG, String.format("Revoked permissions for %s", info.packageName)); in runCommand()
/platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/
DAppSmokeTest.java184 for (LauncherActivityInfo info : activities) { in generateAppsList()
185 String label = info.getLabel().toString(); in generateAppsList()
196 ret.add(new LaunchParameter(label, info in generateAppsList()
197 .getApplicationInfo().packageName, info.getName())); in generateAppsList()
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/
DExternalStorageHelper.java191 final LocalVolumeInfo info = new LocalVolumeInfo(line.trim()); in getAdoptionVolumeInfo() local
192 if (info.volId.startsWith(volType) && "mounted".equals(info.state)) { in getAdoptionVolumeInfo()
193 return info; in getAdoptionVolumeInfo()