/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 180 private String startApp(String appName) throws NameNotFoundException { in startApp() argument 181 Log.i(TAG, "Starting " + appName); in startApp() 183 if (!mNameToProcess.containsKey(appName)) in startApp() 184 throw new NameNotFoundException("Could not find: " + appName); in startApp() 186 String process = mNameToProcess.get(appName); in startApp() 187 Intent startIntent = mNameToIntent.get(appName); in startApp() 210 private void measureMemory(String appName, String processName, in measureMemory() argument 218 Log.i(TAG, appName + "=" + pss); in measureMemory() 220 reportError(appName, processName, results); in measureMemory() 225 results.putInt(mNameToResultKey.get(appName), pss); in measureMemory() [all …]
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 79 for (String appName : blackList) { in HistogramPredictor() 80 mBlacklist.add(appName); in HistogramPredictor() 222 String appName = item.getKey(); in findTopClasses() local 224 if (appScores.containsKey(appName)) { in findTopClasses() 225 appScore += appScores.get(appName); in findTopClasses() 227 appScores.put(appName, appScore); in findTopClasses() 234 String appName = entry.getKey(); in findTopClasses() local 235 if (mBlacklist.contains(appName)) { in findTopClasses() 236 Log.i(TAG, appName + " is in blacklist"); in findTopClasses() 239 if (!mClassCounts.containsKey(appName)) { in findTopClasses() [all …]
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleAppName.java | 89 private static void sendAPNM(String appName, int userId) { in sendAPNM() argument 95 + appName.length()*2 /* appName */ in sendAPNM() 98 out.putInt(appName.length()); in sendAPNM() 99 putString(out, appName); in sendAPNM()
|
D | DdmHandleHello.java | 128 String appName = DdmHandleAppName.getAppName(); in handleHELO() local 143 + appName.length() * 2 in handleHELO() 151 out.putInt(appName.length()); in handleHELO() 153 putString(out, appName); in handleHELO()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 429 String appName = ri.loadLabel(pm).toString(); in resolveLoop() local 430 if (appName != null) { in resolveLoop() 431 mNameToIntent.put(appName, startIntent); in resolveLoop() 432 mNameToProcess.put(appName, ri.activityInfo.processName); in resolveLoop() 438 private long startApp(String appName, boolean forceStopBeforeLaunch, String launchReason) in startApp() argument 440 Log.i(TAG, "Starting " + appName); in startApp() 442 Intent startIntent = mNameToIntent.get(appName); in startApp() 444 Log.w(TAG, "App does not exist: " + appName); in startApp() 445 mResult.putString(mNameToResultKey.get(appName), "App does not exist"); in startApp() 491 private void closeApp(String appName, boolean forceStopApp) { in closeApp() argument [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 184 info.appName = app.loadLabel(pm); in fetchAndMergeApps() 185 info.activityName = info.appName; in fetchAndMergeApps() 225 info.appName = app.loadLabel(pm); in fetchAndMergeApps() 226 info.activityName = info.appName; in fetchAndMergeApps() 318 info.appName = app.activityInfo.applicationInfo.loadLabel(pm); in addSystemApps() 321 if (info.activityName == null) info.activityName = info.appName; in addSystemApps() 358 public CharSequence appName; field in AppRestrictionsHelper.SelectableAppInfo 365 return packageName + ": appName=" + appName + "; activityName=" + activityName in toString()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 86 String appName = appData != null ? appData.getSchemeSpecificPart() : null; in PermissionMonitor() 93 onAppAdded(appName, appUid); in PermissionMonitor() 231 private synchronized void onAppAdded(String appName, int appUid) { in onAppAdded() argument 232 if (TextUtils.isEmpty(appName) || appUid < 0) { in onAppAdded() 233 loge("Invalid app in onAppAdded: " + appName + " | " + appUid); in onAppAdded() 238 PackageInfo app = mPackageManager.getPackageInfo(appName, GET_PERMISSIONS); in onAppAdded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 125 String appName = BidiFormatter.getInstance().unicodeWrap(unsanitizedAppName); in onCreate() local 127 String actionText = getString(R.string.media_projection_dialog_text, appName); in onCreate() 130 int appNameIndex = actionText.indexOf(appName); in onCreate() 133 appNameIndex, appNameIndex + appName.length(), 0); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 81 String appName = aInfo.loadLabel(packageManager).toString(); in onCreate() local 85 ap.mTitle = appName; in onCreate() 87 ap.mMessage = getString(R.string.usb_accessory_permission_prompt, appName); in onCreate() 90 ap.mMessage = getString(R.string.usb_device_permission_prompt, appName); in onCreate()
|
D | UsbConfirmActivity.java | 68 String appName = mResolveInfo.loadLabel(packageManager).toString(); in onCreate() local 72 ap.mTitle = appName; in onCreate() 74 ap.mMessage = getString(R.string.usb_accessory_confirm_prompt, appName); in onCreate() 77 ap.mMessage = getString(R.string.usb_device_confirm_prompt, appName); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 109 final String appName = appInfo.loadLabel(getPackageManager()).toString(); in checkUserCreationRequirements() local 117 message = getString(R.string.user_creation_account_exists, appName, mAccountName); in checkUserCreationRequirements() 119 message = getString(R.string.user_creation_adding, appName, mAccountName); in checkUserCreationRequirements()
|
D | HeavyWeightSwitcherActivity.java | 105 CharSequence appName = ""; in setIconAndText() local 111 appName = info.loadLabel(getPackageManager()); in setIconAndText() 118 setText(actionId, getString(actionStr, appName)); in setIconAndText()
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | GLImplHeader.java-impl | 65 private static boolean allowIndirectBuffers(String appName) { 70 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId()); 79 appName, version));
|
D | GLCHeader.cpp | 164 jobject appName = _env->NewStringUTF(::__progname); 165 …mpatability = _env->CallStaticBooleanMethod(G11ImplClass, allowIndirectBuffersID, appName) ? 2 : 1;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 330 String appName = ""; in contentDescForNotification() local 333 appName = builder.loadHeaderAppName(); in contentDescForNotification() 340 appName = String.valueOf(((ApplicationInfo) appInfo).loadLabel( in contentDescForNotification() 351 return c.getString(R.string.accessibility_desc_notification_icon, appName, desc); in contentDescForNotification()
|
D | NotificationSettingsIconRow.java | 115 public void setAppName(String appName) { in setAppName() argument 118 appName); in setAppName()
|
D | ExpandableNotificationRow.java | 347 public void setAppName(String appName) { 348 mAppName = appName;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 471 CharSequence appName = appInfo.loadLabel( in postNotification() 473 if (appName == null) { in postNotification() 474 appName = appInfo.packageName; in postNotification() 505 appName)); in postNotification() 510 appName)); in postNotification()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ExpressionTest.java | 153 String appName = getActivity().getResources().getString(R.string.app_name); in testTernaryChain() local 155 assertEquals(mBinder.getBool1() ? appName : mBinder.getBool2() ? rain : "", in testTernaryChain()
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 1031 final ComponentName appName = getAssociatedActivity(); in onSearchRequested() local 1032 if (appName != null && searchManager.getSearchableInfo(appName) != null) { in onSearchRequested() 1033 searchManager.startSearch(null, false, appName, null, false); in onSearchRequested()
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 723 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager() argument 724 setWindowManager(wm, appToken, appName, false); in setWindowManager() 734 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager() argument 737 mAppName = appName; in setWindowManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 364 public boolean check(String appName, int smsWaiting) { in check() argument 368 ArrayList<Long> sentList = mSmsStamp.get(appName); in check() 371 mSmsStamp.put(appName, sentList); in check()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 196 CharSequence appName; in onClick() local 199 appName = app.loadLabel(pm); in onClick() 201 appName = mPerm.packageName; in onClick() 205 R.string.perms_description_app, appName)); in onClick()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
D | VpnTest.java | 303 final String appName = (String) invocation.getArguments()[0]; in setMockedPackages() 305 return UserHandle.getUid(userId, packages.get(appName)); in setMockedPackages()
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | GLImpl.java | 66 private static boolean allowIndirectBuffers(String appName) { in allowIndirectBuffers() argument 71 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId()); in allowIndirectBuffers() 80 appName, version)); in allowIndirectBuffers()
|