/frameworks/base/core/java/android/ddm/ |
D | DdmHandleAppName.java | 85 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/ |
D | MediaProjectionPermissionDialogDelegate.kt | 32 private val appName: String?, constant 38 createOptionList(context, appName, mediaProjectionConfig, forceShowPartialScreenshare), 39 appName, 46 if (appName == null) { in onCreate() 68 appName: String?, in createOptionList() 73 if (appName == null) { in createOptionList() 79 if (appName == null) { in createOptionList() 90 appName != null && in createOptionList() 99 appName in createOptionList()
|
D | MediaProjectionPermissionActivity.java | 195 String appName = null; in onCreate() local 226 appName = BidiFormatter.getInstance().unicodeWrap(unsanitizedAppName); in onCreate() 228 String actionText = getString(R.string.media_projection_dialog_warning, appName); in onCreate() 231 int appNameIndex = actionText.indexOf(appName); in onCreate() 234 appNameIndex, appNameIndex + appName.length(), 0); in onCreate() 237 dialogTitle = getString(R.string.media_projection_dialog_title, appName); in onCreate() 258 appName, in onCreate() 279 appName == null in onCreate()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 185 private String startApp(String appName) throws NameNotFoundException { in startApp() argument 186 Log.i(TAG, "Starting " + appName); in startApp() 188 if (!mNameToProcess.containsKey(appName)) in startApp() 189 throw new NameNotFoundException("Could not find: " + appName); in startApp() 191 String process = mNameToProcess.get(appName); in startApp() 192 Intent startIntent = mNameToIntent.get(appName); in startApp() 215 private void measureMemory(String appName, String processName, in measureMemory() argument 223 Log.i(TAG, appName + "=" + pss); in measureMemory() 225 reportError(appName, processName, results); in measureMemory() 230 results.putInt(mNameToResultKey.get(appName), pss); in measureMemory() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/shared/model/ |
D | EditTileData.kt | 27 val appName: Text?, constant in com.android.systemui.qs.panels.shared.model.EditTileData 31 (tileSpec is TileSpec.PlatformTileSpec && appName == null) || 32 (tileSpec is TileSpec.CustomTileSpec && appName != null) 34 "tileSpec: $tileSpec - appName: $appName. " + in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipNotificationTests.kt | 63 waitForNotificationToAppear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_postedAndDismissed() 70 waitForNotificationToDisappear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_postedAndDismissed() 80 waitForNotificationToAppear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_closeIntent() 91 waitForNotificationToDisappear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_closeIntent() 101 waitForNotificationToAppear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_menuIntent() 129 findNotification { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_mediaSessionTitle_isDisplayed() 149 waitForNotificationToAppear { it.isPipNotificationWithTitle(testApp.appName) } in pipNotification_mediaSessionTitle_isDisplayed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | SelectionItemTest.kt | 21 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/packages/SystemUI/src/com/android/systemui/statusbar/chips/mediaprojection/ui/view/ |
D | EndMediaProjectionDialogHelper.kt | 80 val appName = appInfo.loadLabel(packageManager) in getDialogMessage() constant 81 getSpecificAppMessageText(specificAppMessageResId, appName) in getDialogMessage() 90 appName: CharSequence, in getSpecificAppMessageText() 93 val escapedAppName = TextUtils.htmlEncode(appName.toString()) in getSpecificAppMessageText()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/ |
D | NotificationContentDescriptionTest.kt | 59 val appName = getTestAppName() in notificationWithAllDifferentFields_titleMatchesAppNameNoTextNoTicker_descriptionEmpty() constant 60 val n = createNotification(appName, null, null) in notificationWithAllDifferentFields_titleMatchesAppNameNoTextNoTicker_descriptionEmpty() 81 val appName = n?.loadHeaderAppName(mContext) in createDescriptionText() constant 82 return context.getString(R.string.accessibility_desc_notification_icon, appName, desc) in createDescriptionText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationContentDescription.kt | 30 val appName = n.loadHeaderAppName(c) ?: "" in contentDescForNotification() constant 36 val titleOrText = if (TextUtils.equals(title, appName)) text else title in contentDescForNotification() 40 return c.getString(R.string.accessibility_desc_notification_icon, appName, desc) in contentDescForNotification()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | EditTilesListInteractorTest.kt | 64 appName, 98 assertThat(editTiles.stockTiles.all { it.appName == null }).isTrue() in getTilesToEdit_stockTilesHaveNoAppName() 134 appName = Text.Loaded(appName), in getTilesToEdit_customTileData_matchesService() 176 const val appName = "App" constant 184 appName = null in TileSpec() 194 appName = null, in toEditTileData()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 104 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/ |
D | PanelConfirmationDialogFactory.kt | 43 appName: CharSequence, in <lambda>() 51 setTitle(this.context.getString(R.string.controls_panel_authorization_title, appName)) in <lambda>() 52 setMessage(this.context.getString(R.string.controls_panel_authorization, appName)) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotDetectionControllerTest.kt | 92 val appName = "app name" in testMaybeNotifyOfScreenshot_oneApp() constant 102 whenever(activityInfo.loadLabel(eq(packageManager))).thenReturn(appName) in testMaybeNotifyOfScreenshot_oneApp() 110 assertEquals(appName, list[0]) in testMaybeNotifyOfScreenshot_oneApp() 189 val appName = "app name" in testMaybeNotifyOfScreenshot_disabledApp() constant 209 whenever(activityInfo.loadLabel(eq(packageManager))).thenReturn(appName) in testMaybeNotifyOfScreenshot_disabledApp() 214 assertEquals(appName, list[0]) in testMaybeNotifyOfScreenshot_disabledApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogController.kt | 73 private var appName: String? = null in <lambda>() variable 100 appName: String, in <lambda>() 107 this.appName = appName in <lambda>() 184 appName = null in <lambda>() 290 appName = this@ChannelEditorDialogController.appName in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | PanelConfirmationDialogFactoryTest.kt | 59 val appName = "appName" in testDialogHasCorrectInfo() constant 61 factory.createConfirmationDialog(mContext, appName) {} in testDialogHasCorrectInfo() 65 .setTitle(context.getString(R.string.controls_panel_authorization_title, appName)) in testDialogHasCorrectInfo() 67 .setMessage(context.getString(R.string.controls_panel_authorization, appName)) in testDialogHasCorrectInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/ |
D | CallMetadataSyncDataTest.java | 36 final String appName = "appName"; in call_writeToBundle_fromBundle_reconstructsSuccessfully() local 47 new CallMetadataSyncData.CallFacilitator(appName, appIdentifier, extendedId); in call_writeToBundle_fromBundle_reconstructsSuccessfully() 61 assertThat(reconstructedCall.getFacilitator().getName()).isEqualTo(appName); in call_writeToBundle_fromBundle_reconstructsSuccessfully()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppCopyHelper.java | 163 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()
|
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/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaRecommendationsViewModel.kt | 127 if (model.appName == null || model.uid == Process.INVALID_UID) { in <lambda>() 158 setUpMediaRecContentDescription(mediaRecModel, model.appName), in <lambda>() 191 model.appName in <lambda>() 224 applicationContext.getString(R.string.controls_media_close_session, model.appName), in <lambda>() 296 appName: CharSequence? in <lambda>() 304 appName in <lambda>() 311 appName in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCallTemplateViewWrapper.kt | 45 private lateinit var appName: View variable 56 appName = requireViewById(com.android.internal.R.id.app_name_text) in resolveViews() 72 appName, in updateTransformedTypes()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/ |
D | VpnTestBase.java | 80 final String appName = (String) invocation.getArguments()[0]; in setMockedPackages() 83 final Integer appId = packages.get(appName); in setMockedPackages() 85 throw new PackageManager.NameNotFoundException(appName); in setMockedPackages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttUtils.kt | 59 val appName = in getIconInfoFromPackageName() constant 73 appName in getIconInfoFromPackageName() 77 ContentDescription.Loaded(appName) in getIconInfoFromPackageName()
|