Searched refs:packageName (Results 1 - 25 of 305) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DIPackageDataObserver.aidl27 void onRemoveCompleted(in String packageName, boolean succeeded);
H A DIPackageInstallObserver.aidl25 void packageInstalled(in String packageName, int returnCode);
H A DIPackageMoveObserver.aidl25 void packageMoved(in String packageName, int returnCode);
H A DVerifierInfo.java32 public final String packageName; field in class:VerifierInfo
40 * @param packageName the package name in Java-style. Must not be {@code
46 public VerifierInfo(String packageName, PublicKey publicKey) { argument
47 if (packageName == null || packageName.length() == 0) {
48 throw new IllegalArgumentException("packageName must not be null or empty");
53 this.packageName = packageName;
58 packageName = source.readString();
69 dest.writeString(packageName);
[all...]
H A DPackageCleanItem.java25 public final String packageName; field in class:PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument
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();
H A DIPackageDeleteObserver.aidl26 void packageDeleted(in String packageName, in int returnCode);
H A DIPackageManager.aidl56 boolean isPackageAvailable(String packageName, int userId);
57 PackageInfo getPackageInfo(String packageName, int flags, int userId);
58 int getPackageUid(String packageName, int userId);
59 int[] getPackageGids(String packageName);
72 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId);
90 void grantPermission(String packageName, String permissionName);
92 void revokePermission(String packageName, String permissionName);
205 * @param packageName The fully qualified name of the package to delete.
210 void deletePackageAsUser(in String packageName, IPackageDeleteObserver observer,
213 String getInstallerPackageName(in String packageName);
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsCallback.aidl22 void opChanged(int op, String packageName);
H A DIAppOpsService.aidl25 int checkOperation(int code, int uid, String packageName);
26 int noteOperation(int code, int uid, String packageName);
27 int startOperation(IBinder token, int code, int uid, String packageName);
28 void finishOperation(IBinder token, int code, int uid, String packageName);
29 void startWatchingMode(int op, String packageName, IAppOpsCallback callback);
34 int checkPackage(int uid, String packageName);
36 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
37 void setMode(int code, int uid, String packageName, int mode);
/frameworks/base/core/java/android/os/
H A DIVibratorService.aidl23 void vibrate(int uid, String packageName, long milliseconds, IBinder token);
24 void vibratePattern(int uid, String packageName, in long[] pattern, int repeat, IBinder token);
/frameworks/base/core/java/android/hardware/
H A DIConsumerIrService.aidl23 void transmit(String packageName, int carrierFrequency, in int[] pattern);
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java33 private final String packageName; field in class:ClassPathPackageInfo
37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, argument
40 this.packageName = packageName;
70 return (this.packageName).equals(that.packageName);
77 return packageName.hashCode();
/frameworks/base/core/java/android/app/backup/
H A DIBackupManager.aidl43 void dataChanged(String packageName);
53 void clearBackupData(String transportName, String packageName);
59 void agentConnected(String packageName, IBinder agent);
65 void agentDisconnected(String packageName);
71 void restoreAtInstall(String packageName, int token);
245 * Begin a restore session. Either or both of packageName and transportID
246 * may be null. If packageName is non-null, then only the given package will be
251 * when transportID is null and packageName is the name of the caller's own
256 * @param packageName The name of the single package for which a restore will
263 IRestoreSession beginRestoreSession(String packageName, Strin
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DIUsbManager.aidl47 void setDevicePackage(in UsbDevice device, String packageName, int userId);
52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId);
64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi);
70 void requestAccessoryPermission(in UsbAccessory accessory, String packageName,
80 boolean hasDefaults(String packageName, int userId);
83 void clearDefaults(String packageName, int userId);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.h38 // packageName: the package of the output Java file.
43 const char *packageName; member in struct:slang::RSSlangReflectUtils::BitCodeAccessorContext
55 // Eg, given prefixPath=./foo/bar and packageName=com.x.y, then it returns
58 const char *packageName);
/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.java45 final public String packageName; field in class:AuthenticatorDescription
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
54 if (packageName == null) throw new IllegalArgumentException("packageName cannot be null");
56 this.packageName = packageName;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
81 this.packageName = null;
91 this.packageName
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java31 public String packageName; field in class:PkgUsageStats
50 + " " + packageName + "}";
54 packageName = pkgName;
61 packageName = source.readString();
74 packageName = pStats.packageName;
85 dest.writeString(packageName);
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java593 public PackageOps(String packageName, int uid, List<OpEntry> entries) { argument
594 mPackageName = packageName;
727 public void onOpChanged(String op, String packageName); argument
736 public void onOpChanged(String op, String packageName) { } argument
737 public void onOpChanged(int op, String packageName) { } argument
763 * @param packageName The name of the application of interest.
767 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument
769 return mService.getOpsForPackage(uid, packageName, ops);
776 public void setMode(int code, int uid, String packageName, int mode) { argument
778 mService.setMode(code, uid, packageName, mod
797 startWatchingMode(String op, String packageName, final OnOpChangedListener callback) argument
809 startWatchingMode(int op, String packageName, final OnOpChangedListener callback) argument
848 buildSecurityExceptionMsg(int op, int uid, String packageName) argument
876 checkOp(String op, int uid, String packageName) argument
884 checkOpNoThrow(String op, int uid, String packageName) argument
902 noteOp(String op, int uid, String packageName) argument
910 noteOpNoThrow(String op, int uid, String packageName) argument
930 startOp(String op, int uid, String packageName) argument
938 startOpNoThrow(String op, int uid, String packageName) argument
948 finishOp(String op, int uid, String packageName) argument
969 checkOp(int op, int uid, String packageName) argument
986 checkOpNoThrow(int op, int uid, String packageName) argument
1000 checkPackage(int uid, String packageName) argument
1026 noteOp(int op, int uid, String packageName) argument
1043 noteOpNoThrow(int op, int uid, String packageName) argument
1088 startOp(int op, int uid, String packageName) argument
1105 startOpNoThrow(int op, int uid, String packageName) argument
1125 finishOp(int op, int uid, String packageName) argument
[all...]
/frameworks/native/include/binder/
H A DIAppOpsService.h33 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) = 0;
34 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) = 0;
36 const String16& packageName) = 0;
38 const String16& packageName) = 0;
39 virtual void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/native/libs/binder/
H A DIAppOpsService.cpp40 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { argument
45 data.writeString16(packageName);
52 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { argument
57 data.writeString16(packageName);
65 const String16& packageName) {
71 data.writeString16(packageName);
79 const String16& packageName) {
85 data.writeString16(packageName);
89 virtual void startWatchingMode(int32_t op, const String16& packageName, argument
94 data.writeString16(packageName);
64 startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, const String16& packageName) argument
78 finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, const String16& packageName) argument
130 String16 packageName = data.readString16(); local
140 String16 packageName = data.readString16(); local
151 String16 packageName = data.readString16(); local
162 String16 packageName = data.readString16(); local
170 String16 packageName = data.readString16(); local
[all...]
/frameworks/base/services/java/com/android/server/
H A DServiceWatcher.java175 String packageName = rInfo.serviceInfo.packageName;
180 pInfo = mPm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
182 Log.w(mTag, packageName + " resolves service " + mAction
202 bestPackage = packageName;
236 private void bindToPackageLocked(String packageName, int version, boolean isMultiuser) { argument
239 intent.setPackage(packageName);
240 mPackageName = packageName;
243 if (D) Log.d(mTag, "binding " + packageName + " (version " + version + ") ("
277 public void onPackageUpdateFinished(String packageName, in
[all...]
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java97 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH);
98 if (packageName != null) {
99 Log.d(TAG, "Launching app " + packageName);
100 Collection<ProcessErrorStateInfo> err = launchActivity(packageName);
105 assertTrue("App crashed after launch.", processStillUp(packageName));
132 * @param packageName {@link String} the package name of the application to
137 private Collection<ProcessErrorStateInfo> launchActivity(String packageName) { argument
142 Intent intent = mPackageManager.getLaunchIntentForPackage(packageName);
145 Log.d(TAG, "Skipping " + packageName + "; missing launch intent");
194 * @param packageName {
197 processStillUp(String packageName) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_content_res_ObbScanner.cpp33 jfieldID packageName; member in struct:android::__anon1005
55 jstring packageName = env->NewStringUTF(packageNameStr); local
56 if (packageName == NULL) {
61 env->SetObjectField(obbInfo, gObbInfoClassInfo.packageName, packageName);
96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz,
97 "packageName", "Ljava/lang/String;");
/frameworks/base/services/java/com/android/server/pm/
H A DPreferredIntentResolver.java31 protected boolean isPackageForFilter(String packageName, PreferredActivity filter) { argument
32 return packageName.equals(filter.mPref.mComponent.getPackageName());
/frameworks/native/include/powermanager/
H A DIPowerManager.h34 const String16& packageName) = 0;
36 const String16& packageName, int uid) = 0;

Completed in 9366 milliseconds

1234567891011>>