Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 6523) sorted by relevance

12345678910>>...261

/frameworks/base/test-mock/api/
Dcurrent.txt5 …cated public static android.accounts.AccountManager newMockAccountManager(android.content.Context);
12 public class MockContentProvider extends android.content.ContentProvider {
14 ctor public MockContentProvider(android.content.Context);
15 …ctor public MockContentProvider(android.content.Context, String, String, android.content.pm.PathPe…
16 …method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.conte…
17 …ic static void attachInfoForTesting(android.content.ContentProvider, android.content.Context, andr…
20 method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
22 …method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, String, …
24 method public int update(android.net.Uri, android.content.ContentValues, String, String[]);
27 public class MockContentResolver extends android.content.ContentResolver {
[all …]
Dsystem-lint-baseline.txt2 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
6 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
8 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
10 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
12 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
14 …t.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.…
Dsystem-current.txt4 public class MockContext extends android.content.Context {
5 method public android.content.Context createCredentialProtectedStorageContext();
8 …method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, andr…
11 @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
12 …method @Deprecated public void addOnPermissionsChangeListener(android.content.pm.PackageManager.On…
14 …method @Deprecated public java.util.List<android.content.IntentFilter> getAllIntentFilters(String);
16 …method @Deprecated public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUse…
18 method @Deprecated public android.content.ComponentName getInstantAppInstallerComponent();
19 … method @Deprecated public android.content.ComponentName getInstantAppResolverSettingsComponent();
20 method @Deprecated public java.util.List<android.content.pm.InstantAppInfo> getInstantApps();
[all …]
Dlint-baseline.txt2 ArrayReturn: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.Cont…
3 …Collection<ContentValues> (or subclass) instead of raw array; was `android.content.ContentValues[]`
8 MissingNullability: android.test.mock.MockApplication#onConfigurationChanged(android.content.res.Co…
10 …y: android.test.mock.MockContentProvider#attachInfo(android.content.Context, android.content.pm.Pr…
12 …y: android.test.mock.MockContentProvider#attachInfo(android.content.Context, android.content.pm.Pr…
14 …ndroid.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.ContentValues[]) …
16 …ndroid.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.ContentValues[]) …
24 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,…
26 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,…
28 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,…
[all …]
/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java89 public boolean onKeyDown(View view, Editable content, in onKeyDown() argument
99 int a = Selection.getSelectionStart(content); in onKeyDown()
100 int b = Selection.getSelectionEnd(content); in onKeyDown()
107 Selection.setSelection(content, 0, 0); in onKeyDown()
111 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
112 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
116 int i = event.getUnicodeChar(getMetaState(content, event)); in onKeyDown()
121 char c = content.charAt(selStart - 1); in onKeyDown()
124 if (showCharacterPicker(view, content, c, false, count)) { in onKeyDown()
125 resetMetaState(content); in onKeyDown()
[all …]
DMultiTapKeyListener.java88 public boolean onKeyDown(View view, Editable content, in onKeyDown() argument
98 int a = Selection.getSelectionStart(content); in onKeyDown()
99 int b = Selection.getSelectionEnd(content); in onKeyDown()
105 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown()
120 char current = content.charAt(selStart); in onKeyDown()
123 content.replace(selStart, selEnd, in onKeyDown()
125 removeTimeouts(content); in onKeyDown()
126 new Timeout(content); // for its side effects in onKeyDown()
[all …]
DMetaKeyKeyListener.java273 public static void adjustMetaAfterKeypress(Spannable content) { in adjustMetaAfterKeypress() argument
274 adjust(content, CAP); in adjustMetaAfterKeypress()
275 adjust(content, ALT); in adjustMetaAfterKeypress()
276 adjust(content, SYM); in adjustMetaAfterKeypress()
296 private static void adjust(Spannable content, Object what) { in adjust() argument
297 int current = content.getSpanFlags(what); in adjust()
300 content.setSpan(what, 0, 0, USED); in adjust()
302 content.removeSpan(what); in adjust()
309 protected static void resetLockedMeta(Spannable content) { in resetLockedMeta() argument
310 resetLock(content, CAP); in resetLockedMeta()
[all …]
DBaseKeyListener.java70 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace() argument
71 return backspaceOrForwardDelete(view, content, keyCode, event, false); in backspace()
82 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { in forwardDelete() argument
83 return backspaceOrForwardDelete(view, content, keyCode, event, true); in forwardDelete()
321 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, in backspaceOrForwardDelete() argument
330 if (deleteSelection(view, content)) { in backspaceOrForwardDelete()
336 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete()
337 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete()
344 return deleteUntilWordBoundary(view, content, isForwardDelete); in backspaceOrForwardDelete()
348 if (isAltActive && deleteLineFromCursor(view, content, isForwardDelete)) { in backspaceOrForwardDelete()
[all …]
DNumberKeyListener.java51 protected int lookup(KeyEvent event, Spannable content) { in lookup() argument
52 return event.getMatch(getAcceptedChars(), getMetaState(content, event)); in lookup()
104 public boolean onKeyDown(View view, Editable content, in onKeyDown() argument
109 int a = Selection.getSelectionStart(content); in onKeyDown()
110 int b = Selection.getSelectionEnd(content); in onKeyDown()
118 Selection.setSelection(content, 0); in onKeyDown()
121 int i = event != null ? lookup(event, content) : 0; in onKeyDown()
126 Selection.setSelection(content, selEnd); in onKeyDown()
129 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown()
131 adjustMetaAfterKeypress(content); in onKeyDown()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java25 import android.content.ClipData;
26 import android.content.ClipDescription;
27 import android.content.Context;
28 import android.content.res.TypedArray;
215 final Editable content = getEditable(); in clearMetaKeyStates() local
216 if (content == null) return false; in clearMetaKeyStates()
217 MetaKeyKeyListener.clearMetaKeyState(content, states); in clearMetaKeyStates()
264 final Editable content = getEditable(); in deleteSurroundingText() local
265 if (content == null) return false; in deleteSurroundingText()
269 int a = Selection.getSelectionStart(content); in deleteSurroundingText()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenRadioLayout.java17 import android.content.Context;
52 View content = radioContent.getChildAt(i); in onMeasure() local
56 View contentClick = findFirstClickable(content); in onMeasure()
58 lastView = findLastClickable(content); in onMeasure()
59 if (radio.getLayoutParams().height != content.getMeasuredHeight()) { in onMeasure()
61 radio.getLayoutParams().height = content.getMeasuredHeight(); in onMeasure()
70 private View findFirstClickable(View content) { in findFirstClickable() argument
71 if (content.isClickable()) return content; in findFirstClickable()
72 if (content instanceof ViewGroup) { in findFirstClickable()
73 ViewGroup group = (ViewGroup) content; in findFirstClickable()
[all …]
/frameworks/base/tools/streaming_proto/test/unit/
Dstreaming_proto_java.cpp131 EXPECT_THAT(response.file(0).content(), HasSubstr("class MyTestProtoFile")); in TEST()
132 EXPECT_THAT(response.file(0).content(), HasSubstr("class MyTestMessage")); in TEST()
133 EXPECT_THAT(response.file(0).content(), HasSubstr("long MY_TEST_FIELD")); in TEST()
134 EXPECT_THAT(response.file(0).content(), HasSubstr("long MY_OTHER_TEST_FIELD")); in TEST()
137 EXPECT_THAT(response.file(1).content(), HasSubstr("class MyOtherTestProtoFile")); in TEST()
138 EXPECT_THAT(response.file(1).content(), HasSubstr("class MyOtherTestMessage")); in TEST()
139 EXPECT_THAT(response.file(1).content(), HasSubstr("long A_TEST_FIELD")); in TEST()
140 EXPECT_THAT(response.file(1).content(), HasSubstr("long ANOTHER_TEST_FIELD")); in TEST()
152 EXPECT_THAT(response.file(0).content(), HasSubstr("class MyTestProtoFile")); in TEST()
153 EXPECT_THAT(response.file(0).content(), HasSubstr("class MyTestMessage")); in TEST()
[all …]
/frameworks/base/config/
Dboot-profile.txt49 Landroid/content/pm/ActivityInfo;->activityInfoConfigNativeToJava(I)I
50 Landroid/content/res/TypedArray;->getChangingConfigurations()I
51 Landroid/content/res/TypedArray;->extractThemeAttrs([I)[I
54 Landroid/content/res/ResourcesImpl;->getAssets()Landroid/content/res/AssetManager;
55 Landroid/content/res/XmlBlock$Parser;->next()I
56 Landroid/content/res/XmlBlock$Parser;->getDepth()I
57 Landroid/content/res/StringBlock;->get(I)Ljava/lang/CharSequence;
58 Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
59 Landroid/content/res/ResourcesImpl;->getDisplayMetrics()Landroid/util/DisplayMetrics;
60 Landroid/content/res/TypedArray;->length()I
[all …]
/frameworks/layoutlib/bridge/src/android/app/
DActivityManager_Delegate.java29 import android.content.ComponentName;
30 import android.content.IIntentReceiver;
31 import android.content.IIntentSender;
32 import android.content.Intent;
33 import android.content.IntentFilter;
34 import android.content.LocusId;
35 import android.content.pm.ApplicationInfo;
36 import android.content.pm.IPackageDataObserver;
37 import android.content.pm.ParceledListSlice;
38 import android.content.pm.UserInfo;
[all …]
/frameworks/base/cmds/incident_helper/src/
DTextParserBase.cpp28 string content; in Parse() local
29 if (!ReadFdToString(in, &content)) { in Parse()
33 if (!WriteStringToFd(content, out)) { in Parse()
43 string content; in Parse() local
44 if (!ReadFdToString(in, &content)) { in Parse()
49 reverse(content.begin(), content.end()); in Parse()
50 if (!WriteStringToFd(content, out)) { in Parse()
/frameworks/base/core/java/android/webkit/
DFindAddress.java299 private static MatchResult matchHouseNumber(String content, int offset) { in matchHouseNumber() argument
300 if (offset > 0 && HOUSE_PRE_DELIM.indexOf(content.charAt(offset - 1)) == -1) return null; in matchHouseNumber()
301 Matcher matcher = sHouseNumberRe.matcher(content).region(offset, content.length()); in matchHouseNumber()
318 private static MatchResult matchState(String content, int offset) { in matchState() argument
319 if (offset > 0 && WORD_DELIM.indexOf(content.charAt(offset - 1)) == -1) return null; in matchState()
320 Matcher stateMatcher = sStateRe.matcher(content).region(offset, content.length()); in matchState()
363 private static int attemptMatch(String content, MatchResult houseNumberMatch) { in attemptMatch() argument
373 Matcher matcher = sWordRe.matcher(content); in attemptMatch()
375 for (; it < content.length(); lastWord = matcher.group(0), it = matcher.end()) { in attemptMatch()
378 return -content.length(); in attemptMatch()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-unsupported.txt24 Landroid/app/IActivityManager$Stub$Proxy;->getConfiguration()Landroid/content/res/Configuration;
38 Landroid/app/ISearchManager$Stub$Proxy;->getGlobalSearchActivity()Landroid/content/ComponentName;
39 Landroid/app/ISearchManager$Stub$Proxy;->getWebSearchActivity()Landroid/content/ComponentName;
65 Landroid/content/IClipboard$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
66 Landroid/content/IClipboard$Stub;->asInterface(Landroid/os/IBinder;)Landroid/content/IClipboard;
67 Landroid/content/IContentService$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
68 Landroid/content/IContentService$Stub;-><init>()V
69 Landroid/content/IContentService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/content/IContentS…
70 Landroid/content/IIntentReceiver$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
71 Landroid/content/IIntentReceiver$Stub$Proxy;->mRemote:Landroid/os/IBinder;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java21 import android.content.Context;
22 import android.content.Intent;
126 private static String getCurrentHash(String content) throws Exception { in getCurrentHash() argument
127 if (content == null) { in getCurrentHash()
131 byte[] encoded = content.getBytes(); in getCurrentHash()
137 String content = IoUtils.readFileAsString("/data/misc/keychain/pins"); in getHashOfCurrentContent() local
138 return getCurrentHash(content); in getHashOfCurrentContent()
155 private String makeTemporaryContentFile(String content) throws Exception { in makeTemporaryContentFile() argument
157 fw.write(content.getBytes(), 0, content.length()); in makeTemporaryContentFile()
162 private String createSignature(String content, String version, String requiredHash) in createSignature() argument
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl17 package android.content.pm;
21 import android.content.ComponentName;
22 import android.content.Intent;
23 import android.content.IntentSender;
24 import android.content.LocusId;
25 import android.content.pm.LauncherUserInfo;
26 import android.content.pm.ApplicationInfo;
27 import android.content.pm.IOnAppsChangedListener;
28 import android.content.pm.LauncherActivityInfoInternal;
29 import android.content.pm.LauncherApps;
[all …]
DIPackageManager.aidl18 package android.content.pm;
20 import android.content.ComponentName;
21 import android.content.Intent;
22 import android.content.IntentFilter;
23 import android.content.IntentSender;
24 import android.content.pm.ActivityInfo;
25 import android.content.pm.ApplicationInfo;
26 import android.content.pm.ArchivedPackageParcel;
27 import android.content.pm.ChangedPackages;
28 import android.content.pm.InstantAppInfo;
[all …]
DIPackageInstallerSession.aidl17 package android.content.pm;
19 import android.content.pm.Checksum;
20 import android.content.pm.DataLoaderParamsParcel;
21 import android.content.pm.IOnChecksumsReadyListener;
22 import android.content.pm.IPackageInstallObserver2;
23 import android.content.pm.PackageInstaller;
24 import android.content.pm.verify.domain.DomainSet;
25 import android.content.IntentSender;
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java23 import android.content.Context;
91 public void onMessageReceived(int service, int what, ByteBuffer content) { in onMessageReceived() argument
100 decode(content); in onMessageReceived()
174 private void decode(ByteBuffer content) { in decode() argument
175 if (content == null) { in decode()
183 while (content.hasRemaining()) { in decode()
184 if (!provideCodecInputLocked(content)) { in decode()
194 private boolean provideCodecInputLocked(ByteBuffer content) { in provideCodecInputLocked() argument
205 if (content.remaining() <= capacity) { in provideCodecInputLocked()
206 buffer.put(content); in provideCodecInputLocked()
[all …]
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java20 import android.content.AttributionSource;
21 import android.content.BroadcastReceiver;
22 import android.content.ContentResolver;
23 import android.content.Context;
24 import android.content.ContextWrapper;
25 import android.content.Intent;
26 import android.content.IntentFilter;
27 import android.content.ServiceConnection;
28 import android.content.pm.PackageManager;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileRequestDialogTest.kt92 val content = dialog.requireViewById<ViewGroup>(TileRequestDialog.CONTENT_ID) in setTileData_hasCorrectViews() constant
94 assertThat(content.childCount).isEqualTo(2) in setTileData_hasCorrectViews()
95 assertThat(content.getChildAt(0)).isInstanceOf(TextView::class.java) in setTileData_hasCorrectViews()
96 assertThat(content.getChildAt(1)).isInstanceOf(QSTileView::class.java) in setTileData_hasCorrectViews()
107 val content = dialog.requireViewById<ViewGroup>(TileRequestDialog.CONTENT_ID) in setTileData_hasCorrectAppName() constant
108 val text = content.getChildAt(0) as TextView in setTileData_hasCorrectAppName()
122 val content = dialog.requireViewById<ViewGroup>(TileRequestDialog.CONTENT_ID) in setTileData_hasCorrectLabel() constant
123 val tile = content.getChildAt(1) as QSTileView in setTileData_hasCorrectLabel()
137 val content = dialog.requireViewById<ViewGroup>(TileRequestDialog.CONTENT_ID) in setTileData_hasIcon() constant
138 val tile = content.getChildAt(1) as QSTileView in setTileData_hasIcon()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java20 import android.content.ComponentName;
21 import android.content.Intent;
22 import android.content.pm.ActivityInfo;
23 import android.content.pm.IPackageManager;
24 import android.content.pm.PackageManager;
25 import android.content.pm.PackageManager.ResolveInfoFlagsBits;
26 import android.content.pm.ResolveInfo;

12345678910>>...261