/frameworks/base/core/java/android/ddm/ |
D | DdmHandleAppName.java | 84 public static void setAppName(String appName, String pkgName, int userId) { in setAppName() argument 85 if (appName == null || appName.isEmpty() || pkgName == null || pkgName.isEmpty()) return; in setAppName() 87 sNames = new Names(appName, pkgName); in setAppName() 90 sendAPNM(appName, pkgName, userId); in setAppName() 101 private static void sendAPNM(String appName, String pkgName, int userId) { in sendAPNM() argument 107 + appName.length() * 2 /* appName */ in sendAPNM() 112 out.putInt(appName.length()); in sendAPNM() 113 putString(out, appName); in sendAPNM() 132 private Names(String appName, String pkgName) { in Names() argument 133 mAppName = appName; in Names()
|
D | DdmHandleHello.java | 130 String appName = names.getAppName(); in handleHELO() local 146 + appName.length() * 2 in handleHELO() 155 out.putInt(appName.length()); in handleHELO() 157 putString(out, appName); in handleHELO()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 183 private String startApp(String appName) throws NameNotFoundException { in startApp() argument 184 Log.i(TAG, "Starting " + appName); in startApp() 186 if (!mNameToProcess.containsKey(appName)) in startApp() 187 throw new NameNotFoundException("Could not find: " + appName); in startApp() 189 String process = mNameToProcess.get(appName); in startApp() 190 Intent startIntent = mNameToIntent.get(appName); in startApp() 213 private void measureMemory(String appName, String processName, in measureMemory() argument 221 Log.i(TAG, appName + "=" + pss); in measureMemory() 223 reportError(appName, processName, results); in measureMemory() 228 results.putInt(mNameToResultKey.get(appName), pss); in measureMemory() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 106 final String appName = (aInfo != null) in onPostNotification() local 109 createNotificationChannel(context, appName); in onPostNotification() 112 appName); in onPostNotification() 118 context.getString(R.string.alert_windows_notification_title, appName)) in onPostNotification() 147 private void createNotificationChannel(Context context, String appName) { in createNotificationChannel() argument 156 context.getString(R.string.alert_windows_notification_channel_name, appName); in createNotificationChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbConfirmActivity.java | 70 String appName = mResolveInfo.loadLabel(packageManager).toString(); in onCreate() local 73 ap.mTitle = appName; in onCreate() 76 ap.mMessage = getString(R.string.usb_accessory_confirm_prompt, appName, in onCreate() 93 ap.mMessage = getString(strID, appName, mDevice.getProductName()); in onCreate() 108 mAlwaysUse.setText(getString(R.string.always_use_accessory, appName, in onCreate() 111 mAlwaysUse.setText(getString(R.string.always_use_device, appName, in onCreate()
|
D | UsbPermissionActivity.java | 83 String appName = aInfo.loadLabel(packageManager).toString(); in onCreate() local 86 ap.mTitle = appName; in onCreate() 91 ap.mMessage = getString(R.string.usb_accessory_permission_prompt, appName, in onCreate() 106 ap.mMessage = getString(strID, appName, mDevice.getProductName()); in onCreate() 124 mAlwaysUse.setText(getString(R.string.always_use_accessory, appName, in onCreate() 127 mAlwaysUse.setText(getString(R.string.always_use_device, appName, in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogController.kt | 75 private var appName: String? = null in <lambda>() variable 102 appName: String, in <lambda>() 109 this.appName = appName in <lambda>() 197 appName = null in <lambda>() 304 appName = this@ChannelEditorDialogController.appName in <lambda>()
|
/frameworks/base/core/jni/ |
D | android_os_GraphicsEnvironment.cpp | 50 void setAngleInfo_native(JNIEnv* env, jobject clazz, jstring path, jstring appName, jstring devOptI… in setAngleInfo_native() argument 53 ScopedUtfChars appNameChars(env, appName); in setAngleInfo_native() 62 bool shouldUseAngle_native(JNIEnv* env, jobject clazz, jstring appName) { in shouldUseAngle_native() argument 63 ScopedUtfChars appNameChars(env, appName); in shouldUseAngle_native()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 1048 String appName = ri.loadLabel(pm).toString(); in resolveLoop() local 1049 if (appName != null) { in resolveLoop() 1052 mNameToIntent.put(appName, startIntent); in resolveLoop() 1058 private AppLaunchResult startApp(String appName, String launchReason) in startApp() argument 1060 Log.i(TAG, "Starting " + appName); in startApp() 1062 startRecording(appName, launchReason); in startApp() 1065 Intent startIntent = mNameToIntent.get(appName); in startApp() 1067 Log.w(TAG, "App does not exist: " + appName); in startApp() 1068 mResult.putString(mNameToResultKey.get(appName), "App does not exist"); in startApp() 1128 for (String appName : mNameToIntent.keySet()) { in cleanUpAfterCycle() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppTrampolineActivity.java | 92 String appName = InstallCarrierAppUtils.getAppNameFromPackageName(this, mPackageName); in onCreate() local 93 if (!TextUtils.isEmpty(appName)) { in onCreate() 94 showDialogIntent.putExtra(CARRIER_NAME, appName); in onCreate()
|
D | InstallCarrierAppUtils.java | 56 String appName = getAppNameFromPackageName(context, pkgName); in showNotification() local 58 if (TextUtils.isEmpty(appName)) { in showNotification() 62 appName); in showNotification()
|
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 543 String appName = ri.loadLabel(pm).toString(); in resolveLoop() local 544 if (appName != null) { in resolveLoop() 547 mNameToIntent.put(appName, startIntent); in resolveLoop() 553 private AppLaunchResult startApp(String appName, boolean forceStopBeforeLaunch, in startApp() argument 555 Log.i(TAG, "Starting " + appName); in startApp() 557 Intent startIntent = mNameToIntent.get(appName); in startApp() 559 Log.w(TAG, "App does not exist: " + appName); in startApp() 560 mResult.putString(mNameToResultKey.get(appName), "App does not exist"); in startApp() 606 private void closeApp(String appName, boolean forceStopApp) { in closeApp() argument 614 Intent startIntent = mNameToIntent.get(appName); in closeApp() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 132 String appName = BidiFormatter.getInstance().unicodeWrap(unsanitizedAppName); in onCreate() local 134 String actionText = getString(R.string.media_projection_dialog_text, appName); in onCreate() 137 int appNameIndex = actionText.indexOf(appName); in onCreate() 140 appNameIndex, appNameIndex + appName.length(), 0); in onCreate() 143 dialogTitle = getString(R.string.media_projection_dialog_title, appName); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 194 info.appName = app.loadLabel(pm); in fetchAndMergeApps() 195 info.activityName = info.appName; in fetchAndMergeApps() 235 info.appName = app.loadLabel(pm); in fetchAndMergeApps() 236 info.activityName = info.appName; in fetchAndMergeApps() 326 info.appName = app.activityInfo.applicationInfo.loadLabel(pm); in addSystemApps() 329 if (info.activityName == null) info.activityName = info.appName; in addSystemApps() 366 public CharSequence appName; field in AppRestrictionsHelper.SelectableAppInfo 373 return packageName + ": appName=" + appName + "; activityName=" + activityName in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUI.java | 57 String appName = system in overrideNotificationAppName() local 60 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, appName); in overrideNotificationAppName()
|
/frameworks/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 60 void* systemInfoHandle, const char* appName); 422 bool GraphicsEnv::shouldUseAngle(std::string appName) { in shouldUseAngle() argument 423 if (appName != mAngleAppName) { in shouldUseAngle() 426 appName.c_str()); in shouldUseAngle() 470 void GraphicsEnv::setAngleInfo(const std::string path, const std::string appName, in setAngleInfo() argument 475 ALOGV("Already evaluated the rules file for '%s': use ANGLE = %s", appName.c_str(), in setAngleInfo() 482 ALOGV("setting ANGLE app name to '%s'", appName.c_str()); in setAngleInfo() 483 mAngleAppName = appName; in setAngleInfo()
|
/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 | 100 CharSequence appName = packageName; in setIconAndText() local 106 appName = info.loadLabel(getPackageManager()); in setIconAndText() 113 setText(actionId, getString(actionStr, appName)); in setIconAndText()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtilsTest.java | 35 String appName = in testParseAppNameMapFromString_emptyMap() local 37 assertNull(appName); in testParseAppNameMapFromString_emptyMap()
|
/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));
|
/frameworks/base/cmds/statsd/src/packages/ |
D | UidMap.cpp | 84 string UidMap::normalizeAppName(const string& appName) const { in normalizeAppName() 85 string normalizedName = appName; in normalizeAppName() 165 string appName = string(String8(app_16).string()); in updateApp() local 172 auto it = mMap.find(std::make_pair(uid, appName)); in updateApp() 184 mMap[std::make_pair(uid, appName)] = in updateApp() 193 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, newVersionString, in updateApp() 203 strongPtr->notifyAppUpgrade(timestamp, appName, uid, versionCode); in updateApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsFavoritingActivity.kt | 75 private var appName: CharSequence? = null in <lambda>() variable 127 appName = intent.getCharSequenceExtra(EXTRA_APP) in <lambda>() 170 appName ?: "") in <lambda>() 217 val title = if (!TextUtils.isEmpty(name)) name else appName in <lambda>() 273 ?: (appName ?: resources.getText(R.string.controls_favorite_default_title)) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaControlPanelTest.kt | 87 private lateinit var appName: TextView variable in com.android.systemui.media.MediaControlPanelTest 124 appName = TextView(context) in setUp() 125 whenever(holder.appName).thenReturn(appName) in setUp() 196 assertThat(appName.getText()).isEqualTo(APP) in bindText()
|
/frameworks/native/libs/graphicsenv/include/graphicsenv/ |
D | GraphicsEnv.h | 91 bool shouldUseAngle(std::string appName); 99 void setAngleInfo(const std::string path, const std::string appName, std::string devOptIn,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationConversationTemplateViewWrapper.kt | 58 private lateinit var appName: View in <lambda>() variable 76 appName = requireViewById(com.android.internal.R.id.app_name_text) in <lambda>() 98 appName, in <lambda>()
|