Home
last modified time | relevance | path

Searched refs:appName (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/ddm/
DDdmHandleAppName.java85 public static void setAppName(String appName, String pkgName, int userId) { in setAppName() argument
86 if (appName == null || appName.isEmpty() || pkgName == null || pkgName.isEmpty()) return; in setAppName()
88 sNames = new Names(appName, pkgName); in setAppName()
91 sendAPNM(appName, pkgName, userId); in setAppName()
102 private static void sendAPNM(String appName, String pkgName, int userId) { in sendAPNM() argument
108 + appName.length() * 2 /* appName */ in sendAPNM()
113 out.putInt(appName.length()); in sendAPNM()
114 putString(out, appName); in sendAPNM()
133 private Names(String appName, String pkgName) { in Names() argument
134 mAppName = appName; in Names()
DDdmHandleHello.java128 String appName = names.getAppName(); in handleHELO() local
144 + appName.length() * 2 in handleHELO()
153 out.putInt(appName.length()); in handleHELO()
155 putString(out, appName); in handleHELO()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DMediaProjectionPermissionDialog.kt26 private val appName: String? constant
27 ) : BaseScreenSharePermissionDialog(context, createOptionList(appName), appName) {
30 if (appName == null) { in onCreate()
45 private fun createOptionList(appName: String?): List<ScreenShareOption> { in createOptionList()
47 if (appName == null) { in createOptionList()
53 if (appName == null) { in createOptionList()
DBaseScreenSharePermissionDialog.kt40 private val appName: String?, constant
83 get() = context.getString(selectedScreenShareOption.warningText, appName)
108 val title = context.getString(stringId, appName) in setDialogTitle()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java183 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/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
DTvPipNotificationTests.kt62 waitForNotificationToAppear { it.isPipNotificationWithTitle(testApp.appName) }) in pipNotification_postedAndDismissed()
67 waitForNotificationToDisappear { it.isPipNotificationWithTitle(testApp.appName) }) in pipNotification_postedAndDismissed()
76 it.isPipNotificationWithTitle(testApp.appName) in pipNotification_closeIntent()
85 waitForNotificationToDisappear { it.isPipNotificationWithTitle(testApp.appName) }) in pipNotification_closeIntent()
94 it.isPipNotificationWithTitle(testApp.appName) in pipNotification_menuIntent()
120 findNotification { it.isPipNotificationWithTitle(testApp.appName) }) in pipNotification_mediaSessionTitle_isDisplayed()
139 it.isPipNotificationWithTitle(testApp.appName) in pipNotification_mediaSessionTitle_isDisplayed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DSelectionItemTest.kt21 appName = "app", in testMatchBadComponentName_false()
47 appName = "app", in testMatchSameComponentName_panelSelected_true()
63 appName = "app", in testMatchSameComponentName_panelSelection_true()
83 appName = "app", in testMatchSameComponentSameStructure_true()
103 appName = "app", in testMatchSameComponentDifferentStructure_false()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java104 final String appName = (aInfo != null) in onPostNotification() local
107 createNotificationChannel(context, appName); in onPostNotification()
110 appName); in onPostNotification()
116 context.getString(R.string.alert_windows_notification_title, appName)) in onPostNotification()
146 private void createNotificationChannel(Context context, String appName) { in createNotificationChannel() argument
155 context.getString(R.string.alert_windows_notification_channel_name, appName); in createNotificationChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DPanelConfirmationDialogFactory.kt44 appName: CharSequence, in <lambda>()
52 setTitle(this.context.getString(R.string.controls_panel_authorization_title, appName)) in <lambda>()
53 setMessage(this.context.getString(R.string.controls_panel_authorization, appName)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/fsi/
DFsiChromeRepo.kt47 val appName: String, in <lambda>() constant in com.android.systemui.statusbar.notification.fsi.FsiChromeRepo.FSIInfo
89 var appName = pm.getApplicationLabel(context.applicationInfo) as String in <lambda>() variable
93 log("FsiChromeRepo launchFullscreenIntent appName=$appName appIcon $appIcon") in <lambda>()
94 _infoFlow.value = FSIInfo(appName, appIcon, fullscreenIntent) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DPanelConfirmationDialogFactoryTest.kt45 val appName = "appName" in testDialogHasCorrectInfo() constant
47 factory.createConfirmationDialog(context, appName) {} in testDialogHasCorrectInfo()
51 .setTitle(context.getString(R.string.controls_panel_authorization_title, appName)) in testDialogHasCorrectInfo()
53 .setMessage(context.getString(R.string.controls_panel_authorization, appName)) in testDialogHasCorrectInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt73 private var appName: String? = null in <lambda>() variable
100 appName: String, in <lambda>()
107 this.appName = appName in <lambda>()
195 appName = null in <lambda>()
303 appName = this@ChannelEditorDialogController.appName in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java131 String appName = null; in onCreate() local
162 appName = BidiFormatter.getInstance().unicodeWrap(unsanitizedAppName); in onCreate()
164 String actionText = getString(R.string.media_projection_dialog_text, appName); in onCreate()
167 int appNameIndex = actionText.indexOf(appName); in onCreate()
170 appNameIndex, appNameIndex + appName.length(), 0); in onCreate()
173 dialogTitle = getString(R.string.media_projection_dialog_title, appName); in onCreate()
181 }, appName); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java163 info.appName = app.loadLabel(mPackageManager); in addCurrentUsersApps()
221 info.appName = app.activityInfo.applicationInfo.loadLabel(mPackageManager); in addSystemApps()
233 public CharSequence appName; field in AppCopyHelper.SelectableAppInfo
238 return packageName + ": appName=" + appName + "; icon=" + icon; in toString()
245 String lhsLabel = lhs.appName.toString(); in compare()
246 String rhsLabel = rhs.appName.toString(); in compare()
DAppRestrictionsHelper.java194 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppTrampolineActivity.java92 String appName = InstallCarrierAppUtils.getAppNameFromPackageName(this, mPackageName); in onCreate() local
93 if (!TextUtils.isEmpty(appName)) { in onCreate()
94 showDialogIntent.putExtra(CARRIER_NAME, appName); in onCreate()
/frameworks/base/core/jni/
Dandroid_os_GraphicsEnvironment.cpp52 void setAngleInfo_native(JNIEnv* env, jobject clazz, jstring path, jstring appName, in setAngleInfo_native() argument
55 ScopedUtfChars appNameChars(env, appName); in setAngleInfo_native()
80 bool shouldUseAngle_native(JNIEnv* env, jobject clazz, jstring appName) { in shouldUseAngle_native() argument
81 ScopedUtfChars appNameChars(env, appName); in shouldUseAngle_native()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java1048 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/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/
DMediaTttUtils.kt59 val appName = in getIconInfoFromPackageName() constant
73 appName in getIconInfoFromPackageName()
77 ContentDescription.Loaded(appName) in getIconInfoFromPackageName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationCallTemplateViewWrapper.kt45 private lateinit var appName: View variable
56 appName = requireViewById(com.android.internal.R.id.app_name_text) in resolveViews()
72 appName, in updateTransformedTypes()
/frameworks/native/libs/graphicsenv/
DGraphicsEnv.cpp59 void* systemInfoHandle, const char* appName);
359 bool GraphicsEnv::shouldUseAngle(std::string appName) { in shouldUseAngle() argument
360 if (appName != mAngleAppName) { in shouldUseAngle()
363 appName.c_str()); in shouldUseAngle()
397 void GraphicsEnv::setAngleInfo(const std::string path, const std::string appName, in setAngleInfo() argument
402 ALOGV("Already evaluated the rules file for '%s': use ANGLE = %s", appName.c_str(), in setAngleInfo()
411 ALOGV("setting ANGLE app name to '%s'", appName.c_str()); in setAngleInfo()
412 mAngleAppName = appName; in setAngleInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsDialogsFactory.kt34 appName: CharSequence, in <lambda>()
42 setTitle(context.getString(R.string.controls_panel_remove_app_authorization, appName)) in <lambda>()
DControlsUiController.kt93 val appName: CharSequence, in show() constant in com.android.systemui.controls.ui.SelectedItem.PanelItem
97 override val name: CharSequence = appName in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceRequestController.kt66 appName: CharSequence, in requestAddTile()
71 requestTileAdd(componentName, appName, label, icon) { in requestAddTile()
102 appName: CharSequence, in requestTileAdd()
122 val tileData = TileRequestDialog.TileData(appName, label, icon) in requestTileAdd()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/fsi/
DFsiChromeViewModelFactoryTest.kt66 private val appName = "appName" constant
69 private val fsiInfo = FsiChromeRepo.FSIInfo(appName, appIcon, fsi)
107 FsiChromeViewModel(appName, appIcon, taskView, fsi, fsiChromeRepo) in testViewModelFlow_update_createsTaskView()

1234