HomeSort by relevance Sort by last modified time
    Searched refs:packageName (Results 26 - 50 of 3904) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/media/java/android/media/session/
ISessionCallback.aidl 29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller,
31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent,
33 void onMediaButtonFromController(String packageName, int pid, int uid,
37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller);
38 void onPrepareFromMediaId(String packageName, int pid, int uid,
40 void onPrepareFromSearch(String packageName, int pid, int uid,
42 void onPrepareFromUri(String packageName, int pid, int uid, ISessionControllerCallback caller,
44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller);
45 void onPlayFromMediaId(String packageName, int pid, int uid, ISessionControllerCallback caller,
47 void onPlayFromSearch(String packageName, int pid, int uid, ISessionControllerCallback caller
    [all...]
ISessionController.aidl 39 void sendCommand(String packageName, ISessionControllerCallback caller,
41 boolean sendMediaButton(String packageName, ISessionControllerCallback caller,
43 void registerCallbackListener(String packageName, ISessionControllerCallback cb);
51 void adjustVolume(String packageName, ISessionControllerCallback caller,
53 void setVolumeTo(String packageName, ISessionControllerCallback caller,
57 void prepare(String packageName, ISessionControllerCallback caller);
58 void prepareFromMediaId(String packageName, ISessionControllerCallback caller,
60 void prepareFromSearch(String packageName, ISessionControllerCallback caller,
62 void prepareFromUri(String packageName, ISessionControllerCallback caller,
64 void play(String packageName, ISessionControllerCallback caller)
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/app/
NotificationCompatSideChannelService.java 62 public abstract void notify(String packageName, int id, String tag, Notification notification);
67 public abstract void cancel(String packageName, int id, String tag);
72 public abstract void cancelAll(String packageName);
79 public void notify(String packageName, int id, String tag, Notification notification)
81 checkPermission(getCallingUid(), packageName);
84 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification);
91 public void cancel(String packageName, int id, String tag) throws RemoteException {
92 checkPermission(getCallingUid(), packageName);
95 NotificationCompatSideChannelService.this.cancel(packageName, id, tag);
102 public void cancelAll(String packageName) {
    [all...]
  /external/vogar/src/vogar/
DotJavaFile.java 36 private final String packageName;
40 private DotJavaFile(String simpleName, String packageName, String actionName, boolean isJtreg) {
42 this.packageName = packageName;
61 return packageName != null ? packageName + "." + simpleName : simpleName;
75 String packageName;
79 packageName = packageMatcher.group(1);
80 actionName = packageName + "." + simpleName;
82 packageName = null
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
ClassNameResolver.java 4 private String packageName;
7 public ClassNameResolver(String packageName, String className) {
8 this.packageName = packageName;
17 aClass = safeClassForName(packageName + "." + className);
19 aClass = safeClassForName(packageName + className);
25 + packageName + " and class name: " + className);
  /frameworks/base/core/java/android/content/om/
IOverlayManager.aidl 58 * @param packageName The name of the overlay package.
63 OverlayInfo getOverlayInfo(in String packageName, in int userId);
83 * @param packageName The name of the overlay package.
88 boolean setEnabled(in String packageName, in boolean enable, in int userId);
96 * @param packageName the name of the overlay package to enable.
101 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId);
109 * @param packageName the name of the overlay package to enable.
113 boolean setEnabledExclusiveInCategory(in String packageName, in int userId);
122 * @param packageName The name of the overlay package whose priority should
128 boolean setPriority(in String packageName, in String newParentPackageName, in int userId)
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
AppOpsUtils.java 46 public static String reset(String packageName) throws IOException {
47 return runCommand("appops reset " + packageName);
53 public static String setOpMode(String packageName, String opStr, int mode)
72 String command = "appops set " + packageName + " " + opStr + " " + modeStr;
83 public static boolean allowedOperationLogged(String packageName, String opStr)
85 return getOpState(packageName, opStr).contains(" time=");
95 public static boolean rejectedOperationLogged(String packageName, String opStr)
97 return getOpState(packageName, opStr).contains(" rejectTime=");
106 private static String getOpState(String packageName, String opStr) throws IOException {
107 return runCommand("appops get " + packageName + " " + opStr)
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
IntentFilterVerificationKey.java 27 public String packageName;
30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) {
36 this.packageName = packageName;
50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null)
59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0)
    [all...]
ProtectedPackages.java 73 private synchronized boolean hasDeviceOwnerOrProfileOwner(int userId, String packageName) {
74 if (packageName == null) {
79 && (packageName.equals(mDeviceOwnerPackage))) {
84 if (packageName.equals(mProfileOwnerPackages.get(userId))) {
104 private synchronized boolean isProtectedPackage(String packageName) {
105 return packageName != null && packageName.equals(mDeviceProvisioningPackage);
114 public boolean isPackageStateProtected(@UserIdInt int userId, String packageName) {
115 return hasDeviceOwnerOrProfileOwner(userId, packageName)
116 || isProtectedPackage(packageName);
    [all...]
  /frameworks/base/core/java/android/app/usage/
UsageStatsManagerInternal.java 47 * @param packageName The package for which this event occurred.
52 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType);
64 * @param packageName The package name of the app that posted the notification
68 public abstract void reportInterruptiveNotification(String packageName, String channelId,
74 * @param packageName The package name of the shortcut publisher
80 public abstract void reportShortcutUsage(String packageName, String shortcutId,
101 * @param packageName
106 public abstract boolean isAppIdle(String packageName, int uidForAppId, @UserIdInt int userId);
112 * @param packageName
118 @StandbyBuckets public abstract int getAppStandbyBucket(String packageName,
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
PackageInstallerImpl.java 64 String packageName = sessionInfo.getAppPackageName();
65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo);
69 Log.w(TAG, "Multiple sessions for " + packageName + " found. Removing " + oldInfo
104 public void install(final String packageName, ParcelFileDescriptor parcelFileDescriptor,
113 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName);
116 session = getSession(packageName);
122 innerCreateSession(packageName);
124 Log.e(TAG, "Can't create session for " + packageName + ": " + ioe.getMessage());
127 mSessionInfoMap.remove(packageName);
130 sessionInfo = mSessionInfoMap.get(packageName);
    [all...]
  /developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
RemoteViewsHelper.java 28 public static RemoteViews viewsWithAuth(String packageName, String text) {
29 return simpleRemoteViews(packageName, text, R.drawable.ic_lock_black_24dp);
32 public static RemoteViews viewsWithNoAuth(String packageName, String text) {
33 return simpleRemoteViews(packageName, text, R.drawable.ic_person_black_24dp);
36 private static RemoteViews simpleRemoteViews(String packageName, String remoteViewsText,
38 RemoteViews presentation = new RemoteViews(packageName,
  /frameworks/base/core/java/android/content/
IRestrictionsManager.aidl 28 Bundle getApplicationRestrictions(in String packageName);
30 void requestPermission(in String packageName, in String requestType, in String requestId,
32 void notifyPermissionResponse(in String packageName, in PersistableBundle response);
  /test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
PackageUtil.java 29 public static boolean exists(ITestDevice device, String packageName)
31 return device.getInstalledPackageNames().contains(packageName);
35 public static boolean isSystemApp(ITestDevice device, String packageName)
37 PackageInfo info = device.getAppPackageInfo(packageName);
42 public static String getVersionString(ITestDevice device, String packageName)
44 PackageInfo info = device.getAppPackageInfo(packageName);
  /developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
SharedPrefsPackageVerificationRepository.java 58 public boolean putPackageSignatures(String packageName) {
62 PackageInfo packageInfo = pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
63 hash = SecurityHelper.getFingerprint(packageInfo, packageName);
64 logd("Hash for %s: %s", packageName, hash);
66 logw(e, "Error getting hash for %s.", packageName);
70 if (!containsSignatureForPackage(packageName)) {
72 mSharedPrefs.edit().putString(packageName, hash).apply();
75 return containsMatchingSignatureForPackage(packageName, hash);
78 private boolean containsSignatureForPackage(String packageName) {
79 return mSharedPrefs.contains(packageName);
    [all...]
  /frameworks/base/services/core/java/com/android/server/timezone/
PackageManagerHelper.java 29 long getInstalledPackageVersion(String packageName)
32 boolean isPrivilegedApp(String packageName) throws PackageManager.NameNotFoundException;
34 boolean usesPermission(String packageName, String requiredPermissionName)
  /cts/hostsidetests/backup/SuccessNotificationApp/src/android/cts/backup/successnotificationapp/
SuccessNotificationReceiver.java 25 private static final String BACKUP_FINISHED_PACKAGE_EXTRA = "packageName";
32 final String packageName = intent.getStringExtra(BACKUP_FINISHED_PACKAGE_EXTRA);
33 if (packageName == null || packageName.isEmpty()) {
37 .edit().putBoolean(packageName, true).commit();
  /cts/tests/tests/batterysaving/common/src/android/os/cts/batterysaving/common/
Values.java 37 public static ComponentName getCommReceiver(String packageName) {
38 return new ComponentName(packageName, COMM_RECEIVER);
41 public static ComponentName getTestService(String packageName) {
42 return new ComponentName(packageName, TEST_SERVICE);
  /developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/
PackageVerificationDataSource.java 22 * storage. If there are no current signatures in storage for this packageName, it will store
25 * @return {@code true} if signatures for this packageName are not currently in storage
30 boolean putPackageSignatures(String packageName);
  /external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/
InnerStaticClassFieldDotExpressions.java 1 import com.packageName.InnerStaticClassFieldContainer;
  /external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/com/packageName/
InnerStaticClassFieldContainer.java 1 package com.packageName;
  /frameworks/base/core/java/android/content/pm/
PackageCleanItem.java 25 public final String packageName;
28 public PackageCleanItem(int userId, String packageName, boolean andCode) {
30 this.packageName = packageName;
42 return userId == other.userId && packageName.equals(other.packageName)
54 result = 31 * result + packageName.hashCode();
65 dest.writeString(packageName);
82 packageName = source.readString();
  /frameworks/base/core/java/android/os/
IPermissionController.aidl 23 int noteOp(String op, int uid, String packageName);
26 int getPackageUid(String packageName, int flags);
IStatsManager.aidl 83 byte[] getData(in long key, in String packageName);
90 byte[] getMetadata(in String packageName);
100 void addConfiguration(in long configKey, in byte[] config, in String packageName);
109 void setDataFetchOperation(long configKey, in IBinder intentSender, in String packageName);
116 void removeDataFetchOperation(long configKey, in String packageName);
124 void removeConfiguration(in long configKey, in String packageName);
145 in String packageName);
154 void unsetBroadcastSubscriber(long configKey, long subscriberId, in String packageName);
  /frameworks/base/services/core/java/com/android/server/am/
PendingRemoteAnimationRegistry.java 46 void addPendingAnimation(String packageName, RemoteAnimationAdapter adapter) {
47 mEntries.put(packageName, new Entry(packageName, adapter));
70 final String packageName;
73 Entry(String packageName, RemoteAnimationAdapter adapter) {
74 this.packageName = packageName;
78 final Entry entry = mEntries.get(packageName);
80 mEntries.remove(packageName);

Completed in 557 milliseconds

12 3 4 5 6 7 8 91011>>