Home
last modified time | relevance | path

Searched refs:packageNames (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java315 public String[] packageNames; field in AccessibilityServiceInfo
446 packageNames = packageNamez.split("(\\s)*,(\\s)*"); in AccessibilityServiceInfo()
503 packageNames = other.packageNames; in updateDynamicallyConfigurableProperties()
640 parcel.writeStringArray(packageNames); in writeToParcel()
654 packageNames = parcel.readStringArray(); in initFromParcel()
698 appendPackageNames(stringBuilder, packageNames); in toString()
730 private static void appendPackageNames(StringBuilder stringBuilder, String[] packageNames) { in appendPackageNames() argument
733 if (packageNames != null) { in appendPackageNames()
734 final int packageNameCount = packageNames.length; in appendPackageNames()
736 stringBuilder.append(packageNames[i]); in appendPackageNames()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java101 public TestSuiteBuilder includePackages(String... packageNames) { in includePackages() argument
102 testGrouping.addPackagesRecursive(packageNames); in includePackages()
112 public TestSuiteBuilder excludePackages(String... packageNames) { in excludePackages() argument
113 testGrouping.removePackagesRecursive(packageNames); in excludePackages()
DTestGrouping.java115 public TestGrouping addPackagesRecursive(String... packageNames) { in addPackagesRecursive() argument
116 for (String packageName : packageNames) { in addPackagesRecursive()
137 public TestGrouping removePackagesRecursive(String... packageNames) { in removePackagesRecursive() argument
138 for (String packageName : packageNames) { in removePackagesRecursive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java663 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in sendRawPdu() local
665 if (packageNames == null || packageNames.length == 0) { in sendRawPdu()
682 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in sendRawPdu()
1075 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in getSmsTracker() local
1079 if (packageNames != null && packageNames.length > 0) { in getSmsTracker()
1082 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in getSmsTracker()
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl171 in String[] packageNames); in fullBackup() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockAccessibilityService.java69 defaultInfo.packageNames = new String[] { in createDefaultInfo()
DAccessibilityManagerTest.java68 accessibilityServiceInfo.packageNames = new String[] { "foo.bar" }; in testGetAccessibilityServiceList()
/frameworks/base/services/java/com/android/server/display/
DDisplayManagerService.java767 String[] packageNames = mContext.getPackageManager().getPackagesForUid(uid); in validatePackageName() local
768 if (packageNames != null) { in validatePackageName()
769 for (String n : packageNames) { in validatePackageName()
/frameworks/base/services/java/com/android/server/
DTextServicesManagerService.java229 final String[] packageNames = AppGlobals.getPackageManager().getPackagesForUid(uid); in calledFromValidUser() local
230 for (int i = 0; i < packageNames.length; ++i) { in calledFromValidUser()
232 Slog.d(TAG, "--- process name for "+ uid + " = " + packageNames[i]); in calledFromValidUser()
DBackupManagerService.java1573 void addPackageParticipantsLocked(String[] packageNames) { in addPackageParticipantsLocked() argument
1576 if (packageNames != null) { in addPackageParticipantsLocked()
1577 if (DEBUG) Slog.v(TAG, "addPackageParticipantsLocked: #" + packageNames.length); in addPackageParticipantsLocked()
1578 for (String packageName : packageNames) { in addPackageParticipantsLocked()
1612 void removePackageParticipantsLocked(String[] packageNames, int oldUid) { in removePackageParticipantsLocked() argument
1613 if (packageNames == null) { in removePackageParticipantsLocked()
1619 + " #" + packageNames.length); in removePackageParticipantsLocked()
1620 for (String pkg : packageNames) { in removePackageParticipantsLocked()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java1062 Set<String> packageNames = service.mPackageNames; in canDispathEventLocked() local
1065 if (packageNames.isEmpty() || packageNames.contains(packageName)) { in canDispathEventLocked()
1778 String[] packageNames = info.packageNames; in setDynamicallyConfigurableProperties() local
1779 if (packageNames != null) { in setDynamicallyConfigurableProperties()
1780 mPackageNames.addAll(Arrays.asList(packageNames)); in setDynamicallyConfigurableProperties()
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd127 android:packageNames=&quot;com.example.android.apis&quot;
142 …e/android/R.styleable.html#AccessibilityService_packageNames">{@code android:packageNames}</a></li>
167 in the accessibility service configuration files with the {@code android:packageNames} attribute as
169 android.accessibilityservice.AccessibilityServiceInfo#packageNames
170 AccessibilityServiceInfo.packageNames} member.</li>
/frameworks/base/docs/html/training/accessibility/
Dservice.jd114 info.packageNames = new String[]
144 android:packageNames="com.example.android.myFirstApp, com.example.android.mySecondApp"
/frameworks/base/services/java/com/android/server/media/
DMediaRouterService.java479 String[] packageNames = mContext.getPackageManager().getPackagesForUid(uid); in validatePackageName() local
480 if (packageNames != null) { in validatePackageName()
481 for (String n : packageNames) { in validatePackageName()
/frameworks/base/api/
Dcurrent.txt793 field public static final int packageNames = 16843649; // 0x1010381
2181 field public java.lang.String[] packageNames;