/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/ |
D | RttChatMessage.java | 35 private final StringBuilder content = new StringBuilder(); field in RttChatMessage 53 if (c == '\b' && content.length() > 0 && content.charAt(content.length() - 1) != '\b') { in append() 54 content.deleteCharAt(content.length() - 1); in append() 56 content.append(c); in append() 62 return content.toString(); in getContent() 122 if (message.content.length() != 0) { in updateRemoteRttChatMessage() 131 if (message.content.length() == 0) { in updateRemoteRttChatMessage() 135 StringBuilder content = message.content; in updateRemoteRttChatMessage() local 137 while (content.length() > 0 && content.charAt(0) == '\b') { in updateRemoteRttChatMessage() 139 content.delete(0, 1); in updateRemoteRttChatMessage() [all …]
|
/packages/modules/Virtualization/microdroid/signature/ |
D | signature.cc | 30 std::string content; in ReadMicrodroidSignature() local 31 if (!base::ReadFileToString(path, &content)) { in ReadMicrodroidSignature() 38 if (content.size() < length_prefix_bytes) { in ReadMicrodroidSignature() 39 return Error() << "Invalid signature: size == " << content.size(); in ReadMicrodroidSignature() 41 size = be32toh(*reinterpret_cast<uint32_t*>(content.data())); in ReadMicrodroidSignature() 42 if (content.size() < length_prefix_bytes + size) { in ReadMicrodroidSignature() 44 << content.size() - length_prefix_bytes << ")"; in ReadMicrodroidSignature() 46 content = content.substr(length_prefix_bytes, size); in ReadMicrodroidSignature() 50 if (!signature.ParseFromString(content)) { in ReadMicrodroidSignature() 58 std::string content; in WriteMicrodroidSignature() local [all …]
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 50 method public static void clearGlobalProxy(@NonNull android.content.Context); 51 method @Nullable public static String getCaptivePortalHttpUrl(@NonNull android.content.Context); 52 method public static int getCaptivePortalMode(@NonNull android.content.Context, int); 53 ….time.Duration getConnectivityKeepPendingIntentDuration(@NonNull android.content.Context, @NonNull… 54 …android.util.Range<java.lang.Integer> getDnsResolverSampleRanges(@NonNull android.content.Context); 55 …java.time.Duration getDnsResolverSampleValidityDuration(@NonNull android.content.Context, @NonNull… 56 …method public static int getDnsResolverSuccessThresholdPercent(@NonNull android.content.Context, i… 57 …method @Nullable public static android.net.ProxyInfo getGlobalProxy(@NonNull android.content.Conte… 58 … static java.time.Duration getMobileDataActivityTimeout(@NonNull android.content.Context, @NonNull… 59 method public static boolean getMobileDataAlwaysOn(@NonNull android.content.Context, boolean); [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsInitialize.java | 19 import static android.content.pm.PackageManager.GET_ACTIVITIES; 20 import static android.content.pm.PackageManager.GET_META_DATA; 21 import static android.content.pm.PackageManager.GET_RESOLVED_FILTER; 22 import static android.content.pm.PackageManager.MATCH_DISABLED_COMPONENTS; 26 import android.content.BroadcastReceiver; 27 import android.content.ComponentName; 28 import android.content.Context; 29 import android.content.Intent; 30 import android.content.pm.PackageManager; 31 import android.content.pm.ResolveInfo; [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModelTest.java | 25 import android.content.Context; 98 DescriptiveTextWithControlsView content = in updateModelWithPhoneNumber_setsPhoneNumber() local 102 assertEquals(content.getTitle(), formattedNumber); in updateModelWithPhoneNumber_setsPhoneNumber() 103 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithPhoneNumber_setsPhoneNumber() 114 DescriptiveTextWithControlsView content = in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() local 116 assertEquals(content.getTitle(), DISPLAY_NAME); in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() 117 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() 118 assertNotNull(content.getImage()); in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon() 130 DescriptiveTextWithControlsView content = in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon() local 132 assertEquals(content.getTitle(), DISPLAY_NAME); in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon() [all …]
|
D | MediaViewModelTest.java | 100 DescriptiveTextWithControlsView content = in noChange_doesNotCallPresenter() local 102 assertNull(content.getTitle()); in noChange_doesNotCallPresenter() 103 assertNull(content.getSubtitle()); in noChange_doesNotCallPresenter() 122 DescriptiveTextWithControlsView content = in changeSourceAndMetadata_updatesModel() local 124 assertEquals(content.getTitle(), SONG_TITLE); in changeSourceAndMetadata_updatesModel() 125 assertEquals(content.getSubtitle(), ARTIST_NAME); in changeSourceAndMetadata_updatesModel() 139 DescriptiveTextWithControlsView content = in changeSourceOnly_updatesModel() local 141 assertNull(content.getTitle()); in changeSourceOnly_updatesModel() 142 assertNull(content.getSubtitle()); in changeSourceOnly_updatesModel() 154 DescriptiveTextWithControlsView content = in changeMetadataOnly_doesNotCallPresenter() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSetSlotRenderer.java | 172 Texture content = checkContentTexture(entry.content); in renderContent() local 173 if (content == null) { in renderContent() 174 content = mWaitLoadingTexture; in renderContent() 178 content = new FadeInTexture(mPlaceholderColor, entry.bitmapTexture); in renderContent() 179 entry.content = content; in renderContent() 181 drawContent(canvas, content, width, height, entry.rotation); in renderContent() 182 if ((content instanceof FadeInTexture) && in renderContent() 183 ((FadeInTexture) content).isAnimating()) { in renderContent() 192 Texture content = checkLabelTexture(entry.labelTexture); in renderLabel() local 193 if (content == null) { in renderLabel() [all …]
|
D | AlbumSlotRenderer.java | 111 Texture content = checkTexture(entry.content); in renderSlot() local 112 if (content == null) { in renderSlot() 113 content = mWaitLoadingTexture; in renderSlot() 117 content = new FadeInTexture(mPlaceholderColor, entry.bitmapTexture); in renderSlot() 118 entry.content = content; in renderSlot() 120 drawContent(canvas, content, width, height, entry.rotation); in renderSlot() 121 if ((content instanceof FadeInTexture) && in renderSlot() 122 ((FadeInTexture) content).isAnimating()) { in renderSlot()
|
/packages/apps/Tag/src/com/android/apps/tag/ |
D | TagViewer.java | 24 import android.content.Intent; 76 private void addView(LayoutInflater inflater, LinearLayout content, View v) { in addView() argument 78 TextView empty = (TextView) inflater.inflate(R.layout.tag_text, content, false); in addView() 82 content.addView(v); in addView() 87 LinearLayout content = mTagContent; in buildTagViews() local 90 content.removeAllViews(); in buildTagViews() 94 addView(inflater, content, null); in buildTagViews() 103 addView(inflater, content, null); in buildTagViews() 107 addView(inflater, content, record.getView(this, inflater, content, i)); in buildTagViews() 108 inflater.inflate(R.layout.tag_divider, content, true); in buildTagViews()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/ |
D | LShadowLauncherApps.java | 22 import android.content.ComponentName; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.pm.ActivityInfo; 26 import android.content.pm.ApplicationInfo; 27 import android.content.pm.LauncherActivityInfo; 28 import android.content.pm.LauncherApps; 29 import android.content.pm.PackageInstaller; 30 import android.content.pm.PackageManager; 31 import android.content.pm.ResolveInfo; [all …]
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | PackageChangedReceiver.java | 19 import android.content.BroadcastReceiver; 20 import android.content.ContentProviderOperation; 21 import android.content.ContentProviderResult; 22 import android.content.ContentResolver; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.OperationApplicationException; 26 import android.content.pm.ApplicationInfo; 27 import android.content.pm.PackageManager;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 19 import static android.content.pm.PackageManager.MATCH_SYSTEM_ONLY; 22 import android.content.ActivityNotFoundException; 23 import android.content.ComponentName; 24 import android.content.Context; 25 import android.content.Intent; 26 import android.content.IntentFilter; 27 import android.content.pm.ApplicationInfo; 28 import android.content.pm.LauncherActivityInfo; 29 import android.content.pm.LauncherApps; 30 import android.content.pm.PackageInfo; [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchNotificationBuilder.kt | 22 import android.content.Context 23 import android.content.Intent 24 import android.content.res.Resources 35 import androidx.core.content.ContextCompat 73 val content = RemoteViews(pname, R.layout.chronometer_notif_content) in build() constant 74 content.setChronometer(R.id.chronometer, base, null, running) in build() 106 content.setTextViewText(R.id.state, lap) in build() 107 content.setViewVisibility(R.id.state, VISIBLE) in build() 109 content.setViewVisibility(R.id.state, GONE) in build() 133 content.setTextViewText(R.id.state, res.getString(R.string.swn_paused)) in build() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityServiceWarning.java | 23 import android.content.Context; 24 import android.content.DialogInterface; 40 import androidx.core.content.ContextCompat; 105 View content = inflater.inflate(R.layout.enable_accessibility_service_dialog_content, in createEnableDialogContentView() local 108 TextView encryptionWarningView = (TextView) content.findViewById( in createEnableDialogContentView() 126 ImageView permissionDialogIcon = content.findViewById( in createEnableDialogContentView() 130 TextView permissionDialogTitle = content.findViewById(R.id.permissionDialog_title); in createEnableDialogContentView() 134 Button permissionAllowButton = content.findViewById( in createEnableDialogContentView() 136 Button permissionDenyButton = content.findViewById( in createEnableDialogContentView() 142 final Button uninstallButton = content.findViewById( in createEnableDialogContentView() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OverviewComponentObserver.java | 19 import static android.content.Intent.ACTION_PACKAGE_ADDED; 20 import static android.content.Intent.ACTION_PACKAGE_CHANGED; 21 import static android.content.Intent.ACTION_PACKAGE_REMOVED; 28 import android.content.BroadcastReceiver; 29 import android.content.ComponentName; 30 import android.content.Context; 31 import android.content.Intent; 32 import android.content.IntentFilter; 33 import android.content.pm.ActivityInfo; 34 import android.content.pm.PackageManager; [all …]
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 6 ArrayReturn: android.car.content.pm.AppBlockingPackageInfo#AppBlockingPackageInfo(String, int, int,… 7 …d be Collection<Signature> (or subclass) instead of raw array; was `android.content.pm.Signature[]` 8 ArrayReturn: android.car.content.pm.AppBlockingPackageInfo#signatures: 9 …Field should be Collection<Signature> (or subclass) instead of raw array; was `android.content.pm.… 10 …rn: android.car.content.pm.CarAppBlockingPolicy#CarAppBlockingPolicy(android.car.content.pm.AppBlo… 11 …lockingPackageInfo> (or subclass) instead of raw array; was `android.car.content.pm.AppBlockingPac… 12 …rn: android.car.content.pm.CarAppBlockingPolicy#CarAppBlockingPolicy(android.car.content.pm.AppBlo… 13 …lockingPackageInfo> (or subclass) instead of raw array; was `android.car.content.pm.AppBlockingPac… 14 ArrayReturn: android.car.content.pm.CarAppBlockingPolicy#blacklists: 15 …lockingPackageInfo> (or subclass) instead of raw array; was `android.car.content.pm.AppBlockingPac… [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowApplicationPackageManager.java | 18 import static android.content.pm.PackageManager.INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED; 23 import android.content.ComponentName; 24 import android.content.IntentFilter; 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.IPackageDataObserver; 27 import android.content.pm.ModuleInfo; 28 import android.content.pm.PackageManager; 29 import android.content.pm.ProviderInfo; 30 import android.content.pm.ResolveInfo; 31 import android.content.res.Resources;
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 19 import android.content.ComponentName; 20 import android.content.ContentResolver; 21 import android.content.Context; 22 import android.content.pm.ApplicationInfo; 23 import android.content.pm.PackageManager; 24 import android.content.pm.ServiceInfo; 25 import android.content.res.Resources; 26 import android.content.SharedPreferences;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | AutoGrantPermissionsNotifier.java | 21 import static android.content.Intent.ACTION_MANAGE_APP_PERMISSION; 22 import static android.content.Intent.EXTRA_PACKAGE_NAME; 23 import static android.content.Intent.EXTRA_PERMISSION_GROUP_NAME; 24 import static android.content.Intent.EXTRA_USER; 25 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK; 26 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK; 42 import android.content.Context; 43 import android.content.Intent; 44 import android.content.pm.PackageInfo; 45 import android.content.pm.PackageManager; [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
D | ConfirmationActivity.java | 21 import android.content.DialogInterface; 22 import android.content.DialogInterface.OnClickListener; 23 import android.content.DialogInterface.OnDismissListener; 24 import android.content.res.Resources; 127 final View content = getLayoutInflater().inflate(R.layout.incident_confirmation, in onCreate() local 133 content.findViewById(R.id.reasonIntro).setVisibility(View.VISIBLE); in onCreate() 135 final TextView reasonTextView = (TextView) content.findViewById(R.id.reasons); in onCreate() 169 ((TextView) content.findViewById(R.id.message)).setText(message); in onCreate() 174 content.findViewById(R.id.imageScrollView).setVisibility(View.VISIBLE); in onCreate() 176 final LinearLayout imageList = (LinearLayout) content.findViewById(R.id.imageList); in onCreate() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | PreBootReceiver.java | 22 import android.content.BroadcastReceiver; 23 import android.content.ComponentName; 24 import android.content.Context; 25 import android.content.Intent; 26 import android.content.om.OverlayInfo; 27 import android.content.om.OverlayManager; 28 import android.content.pm.PackageManager; 29 import android.content.res.Resources;
|
/packages/inputmethods/LatinIME/native/jni/ |
D | Android.bp | 50 "src/dictionary/structure/v4/content/dynamic_language_model_probability_utils.cpp", 51 "src/dictionary/structure/v4/content/language_model_dict_content.cpp", 52 "src/dictionary/structure/v4/content/language_model_dict_content_global_counters.cpp", 53 "src/dictionary/structure/v4/content/shortcut_dict_content.cpp", 54 "src/dictionary/structure/v4/content/sparse_table_dict_content.cpp", 55 "src/dictionary/structure/v4/content/terminal_position_lookup_table.cpp", 105 "src/dictionary/structure/backward/v402/content/bigram_dict_content.cpp", 106 "src/dictionary/structure/backward/v402/content/probability_dict_content.cpp", 107 "src/dictionary/structure/backward/v402/content/shortcut_dict_content.cpp", 108 "src/dictionary/structure/backward/v402/content/sparse_table_dict_content.cpp", [all …]
|
/packages/apps/Settings/src/com/android/settings/shortcut/ |
D | ShortcutsUpdateTask.java | 22 import android.content.ComponentName; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.pm.PackageManager; 26 import android.content.pm.ResolveInfo; 27 import android.content.pm.ShortcutInfo; 28 import android.content.pm.ShortcutManager;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProvider.java | 24 import android.content.Context; 25 import android.content.pm.ApplicationInfo; 26 import android.content.pm.PackageManager; 27 import android.content.res.Resources; 106 String content = mContext.getString(provisioningCase == ProvisioningCase.PROFILE_OWNER in getGeneralDisclaimer() local 109 return TermsDocument.createInstance(heading, content); in getGeneralDisclaimer() 124 String content = getStringMetaData(appInfo, EXTRA_PROVISIONING_DISCLAIMER_CONTENT); in getSystemAppTerms() local 125 if (header != null && content != null) { in getSystemAppTerms() 126 terms.add(TermsDocument.createInstance(header, content)); in getSystemAppTerms()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeContentProvider.java | 19 import android.content.ContentProvider; 20 import android.content.ContentProviderClient; 21 import android.content.ContentValues; 22 import android.content.Context; 23 import android.content.pm.ProviderInfo; 117 for(final ContentOverride content : mOverrides) { in query() 118 if (content.match(uri.toString(), selection, selectionArgs)) { in query() 119 return new FakeCursor(projection, content.columns, content.data); in query()
|