/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | ForcedResizableInfoActivityController.java | 81 public void onActivityForcedResizable(String packageName, int taskId, 83 activityForcedResizable(packageName, taskId, reason); 120 private void activityForcedResizable(String packageName, int taskId, int reason) { argument 121 if (debounce(packageName)) { 159 private boolean debounce(String packageName) { argument 160 if (packageName == null) { 166 if (SELF_PACKAGE_NAME.equals(packageName)) { 169 boolean debounce = mPackagesShownInSession.contains(packageName); 170 mPackagesShownInSession.add(packageName);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AttributeCache.java | 88 public void removePackage(String packageName) { argument 90 final Package pkg = mPackages.remove(packageName); 119 public Entry get(String packageName, int resId, int[] styleable, int userId) { argument 121 Package pkg = mPackages.get(packageName); 135 context = mContext.createPackageContextAsUser(packageName, 0, 144 mPackages.put(packageName, pkg);
|
H A D | ConsumerIrService.java | 71 public void transmit(String packageName, int carrierFrequency, int[] pattern) { argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppTimeTracker.java | 48 public void start(String packageName) { argument 53 if (!packageName.equals(mStartedPackage)) { 59 mStartedPackage = packageName; 60 mStartedPackageTime = mPackageTimes.get(packageName); 63 mPackageTimes.put(packageName, mStartedPackageTime);
|
H A D | BroadcastFilter.java | 28 final String packageName; field in class:BroadcastFilter 40 packageName = _packageName;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ProtectedPackages.java | 73 private synchronized boolean hasDeviceOwnerOrProfileOwner(int userId, String packageName) { argument 74 if (packageName == null) { 79 && (packageName.equals(mDeviceOwnerPackage))) { 84 if (packageName.equals(mProfileOwnerPackages.get(userId))) { 97 private synchronized boolean isProtectedPackage(String packageName) { argument 98 return packageName != null && packageName.equals(mDeviceProvisioningPackage); 107 public boolean isPackageStateProtected(@UserIdInt int userId, String packageName) { argument 108 return hasDeviceOwnerOrProfileOwner(userId, packageName) 109 || isProtectedPackage(packageName); 116 isPackageDataProtected(@serIdInt int userId, String packageName) argument [all...] |
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | VrManagerInternal.java | 39 * @param packageName The package name to check. 44 public abstract boolean isCurrentVrListener(String packageName, int userId); argument 53 * @param packageName The package name of the requested VrListenerService to bind. 57 public abstract void setVrMode(boolean enabled, @NonNull ComponentName packageName, argument 79 * @param packageName the name of the package to check, or null to select the default package. 83 public abstract int hasVrPackage(@NonNull ComponentName packageName, int userId); argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AlertWindowNotification.java | 58 AlertWindowNotification(WindowManagerService service, String packageName) { argument 60 mPackageName = packageName; 131 private PendingIntent getContentIntent(Context context, String packageName) { argument 133 Uri.fromParts("package", packageName, null)); 159 private ApplicationInfo getApplicationInfo(PackageManager pm, String packageName) { argument 161 return pm.getApplicationInfo(packageName, 0);
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
H A D | RestrictionsManagerService.java | 71 public Bundle getApplicationRestrictions(String packageName) throws RemoteException { argument 72 return mUm.getApplicationRestrictions(packageName); 91 public void requestPermission(final String packageName, final String requestType, argument 109 // Check that the packageName matches the caller. 110 enforceCallerMatchesPackage(callingUid, packageName, "Package name does not" + 115 intent.putExtra(RestrictionsManager.EXTRA_PACKAGE_NAME, packageName); 148 intent.setComponent(new ComponentName(ri.activityInfo.packageName, 160 public void notifyPermissionResponse(String packageName, PersistableBundle response) argument 178 responseIntent.setPackage(packageName); 187 private void enforceCallerMatchesPackage(int callingUid, String packageName, argument [all...] |
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
H A D | PreloadAppsInstaller.java | 79 String packageName = mApkToPackageMap.get(apkName); 80 if (packageName != null) { 83 installExistingPackage(packageName, userId, counter); 85 Slog.e(TAG, "Failed to install existing package " + packageName, e); 100 private void installExistingPackage(String packageName, int userId, argument 103 Log.d(TAG, "installExistingPackage " + packageName + " u" + userId); 106 mPackageManager.installExistingPackageAsUser(packageName, userId,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest9.java | 61 protected void setCaller(String packageName, int userId) { argument 62 super.setCaller(packageName, userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | AppCollectorTest.java | 162 private void addApplication(String packageName, String uuid, int userId) { argument 164 info.packageName = packageName;
|
H A D | DiskStatsFileLoggerTest.java | 202 public String packageName; field in class:DiskStatsFileLoggerTest.AppSizeGrouping 206 public AppSizeGrouping(String packageName, long appSize, long cacheSize) { argument 207 this.packageName = packageName; 217 result = 37 * result + packageName.hashCode(); 230 return packageName.equals(grouping.packageName) && appSize == grouping.appSize && 236 return packageName + " " + appSize + " " + cacheSize;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | StatusHints.java | 43 public StatusHints(ComponentName packageName, CharSequence label, int iconResId, argument 45 this(label, iconResId == 0 ? null : Icon.createWithResource(packageName.getPackageName(),
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CarrierAppUtils.java | 139 String packageName = ai.packageName; 141 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == 152 Slog.i(TAG, "Update state(" + packageName + "): ENABLED for user " 155 packageName, 163 List<ApplicationInfo> associatedAppList = associatedApps.get(packageName); 170 Slog.i(TAG, "Update associated state(" + associatedApp.packageName 173 associatedApp.packageName, 183 enabledCarrierPackages.add(ai.packageName); 190 Slog.i(TAG, "Update state(" + packageName 345 getApplicationInfoIfSystemApp( IPackageManager packageManager, int userId, String packageName) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FilterFactory.java | 71 public void addPackage(String packageName) { argument 72 if (mLogVerbose) Log.v(TAG, "Adding package " + packageName); 75 Package pkg = Package.getPackage(packageName); 77 throw new IllegalArgumentException("Unknown filter package '" + packageName + "'!"); 80 mPackages.add(packageName); 126 for (String packageName : mPackages) { 128 if (mLogVerbose) Log.v(TAG, "Trying "+ packageName + "." + name); 130 filterClass = mCurrentClassLoader.loadClass(packageName + "." + name);
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 102 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH); 103 if (packageName != null) { 104 Log.d(TAG, "Launching app " + packageName); 105 Intent intent = getLaunchIntentForPackage(packageName); 107 Log.w(TAG, String.format("Skipping %s; no launch intent", packageName)); 110 ProcessErrorStateInfo err = launchActivity(packageName, intent); 116 assertTrue("App crashed after launch.", processStillUp(packageName)); 143 * @param packageName name of the package 146 private String getProcessName(String packageName) { argument 148 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 168 getLaunchIntentForPackage(String packageName) argument 189 launchActivity(String packageName, Intent intent) argument 226 processStillUp(String packageName) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.h | 36 // packageName: the package of the output Java file. 44 const char *packageName; member in struct:slang::RSSlangReflectUtils::BitCodeAccessorContext 57 // Eg, given prefixPath=./foo/bar and packageName=com.x.y, then it returns 60 const char *packageName);
|
/frameworks/native/libs/binder/ |
H A D | AppOpsManager.cpp | 117 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, argument 121 service->startWatchingMode(op, packageName, callback);
|
H A D | IAppOpsService.cpp | 39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { argument 44 data.writeString16(packageName); 51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { argument 56 data.writeString16(packageName); 64 const String16& packageName) { 70 data.writeString16(packageName); 78 const String16& packageName) { 84 data.writeString16(packageName); 88 virtual void startWatchingMode(int32_t op, const String16& packageName, argument 93 data.writeString16(packageName); 63 startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, const String16& packageName) argument 77 finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, const String16& packageName) argument 140 String16 packageName = data.readString16(); local 150 String16 packageName = data.readString16(); local 161 String16 packageName = data.readString16(); local 172 String16 packageName = data.readString16(); local 180 String16 packageName = data.readString16(); local [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorRegistrationInfo.h | 37 SensorRegistrationInfo(int32_t handle, const String8 &packageName, argument 40 mPackageName = packageName;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | Partner.java | 142 sPartner = new Partner(appInfo.packageName, res); 145 Log.w(TAG, "Failed to find resources for " + appInfo.packageName); 163 private Partner(String packageName, Resources res) { argument 164 mPackageName = packageName;
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
H A D | PartnerTest.java | 157 String packageName, 161 info.resolvePackageName = packageName; 165 appInfo.packageName = packageName; 167 activityInfo.packageName = packageName; 168 activityInfo.name = packageName; 181 if (app != null && "test.partner.package".equals(app.packageName)) { 156 createResolveInfo( String packageName, boolean isSystem, boolean directBootAware) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | AppSmsManager.java | 157 mPackageMap.remove(info.packageName); 162 mPackageMap.put(info.packageName, info); 166 public final String packageName; field in class:AppSmsManager.AppRequestInfo 170 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token) { argument 171 this.packageName = packageName;
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsClient.java | 59 * @param packageName Package name to set on the {@link Intent} for binding. 67 String packageName, CustomTabsServiceConnection connection) { 69 if (!TextUtils.isEmpty(packageName)) intent.setPackage(packageName); 106 String packageName = defaultViewHandlerInfo.activityInfo.packageName; 108 packageNames.add(packageName); 114 for (String packageName : packageNames) { 115 serviceIntent.setPackage(packageName); 116 if (pm.resolveService(serviceIntent, 0) != null) return packageName; 66 bindCustomTabsService(Context context, String packageName, CustomTabsServiceConnection connection) argument 135 connectAndInitialize(Context context, String packageName) argument [all...] |