/frameworks/base/test-mock/api/ |
D | current.txt | 5 …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 …]
|
D | system-current.txt | 4 public class MockContext extends android.content.Context { 5 method public android.content.Context createCredentialProtectedStorageContext(); 8 method public void sendBroadcast(android.content.Intent, String, android.os.Bundle); 9 …method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, andr… 10 …ethod public void sendOrderedBroadcast(android.content.Intent, String, android.os.Bundle, android.… 13 @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { 14 …method public void addOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsC… 16 …method @Deprecated public java.util.List<android.content.IntentFilter> getAllIntentFilters(String); 18 … method public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); 20 method public android.content.ComponentName getInstantAppInstallerComponent(); [all …]
|
D | system-lint-baseline.txt | 2 …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.…
|
D | lint-baseline.txt | 2 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[]) … 28 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,… 30 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,… 32 …ockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor,… [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 89 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 …]
|
D | MultiTapKeyListener.java | 88 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 …]
|
D | MetaKeyKeyListener.java | 273 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 …]
|
D | BaseKeyListener.java | 70 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() 319 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, in backspaceOrForwardDelete() argument 328 if (deleteSelection(view, content)) { in backspaceOrForwardDelete() 334 boolean isShiftActive = (getMetaState(content, META_SHIFT_ON, event) == 1); in backspaceOrForwardDelete() 335 boolean isAltActive = (getMetaState(content, META_ALT_ON, event) == 1); in backspaceOrForwardDelete() 342 return deleteUntilWordBoundary(view, content, isForwardDelete); in backspaceOrForwardDelete() 346 if (isAltActive && deleteLine(view, content)) { in backspaceOrForwardDelete() [all …]
|
D | NumberKeyListener.java | 51 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/ |
D | BaseInputConnection.java | 20 import android.content.Context; 21 import android.content.res.TypedArray; 170 final Editable content = getEditable(); in clearMetaKeyStates() local 171 if (content == null) return false; in clearMetaKeyStates() 172 MetaKeyKeyListener.clearMetaKeyState(content, states); in clearMetaKeyStates() 218 final Editable content = getEditable(); in deleteSurroundingText() local 219 if (content == null) return false; in deleteSurroundingText() 223 int a = Selection.getSelectionStart(content); in deleteSurroundingText() 224 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() 233 int ca = getComposingSpanStart(content); in deleteSurroundingText() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenRadioLayout.java | 17 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/api/ |
D | lint-baseline.txt | 40 BroadcastBehavior: android.content.Intent#ACTION_AIRPLANE_MODE_CHANGED: 42 BroadcastBehavior: android.content.Intent#ACTION_APPLICATION_RESTRICTIONS_CHANGED: 44 BroadcastBehavior: android.content.Intent#ACTION_BATTERY_CHANGED: 46 BroadcastBehavior: android.content.Intent#ACTION_BATTERY_LOW: 48 BroadcastBehavior: android.content.Intent#ACTION_BATTERY_OKAY: 50 BroadcastBehavior: android.content.Intent#ACTION_CAMERA_BUTTON: 52 BroadcastBehavior: android.content.Intent#ACTION_CLOSE_SYSTEM_DIALOGS: 54 BroadcastBehavior: android.content.Intent#ACTION_CONFIGURATION_CHANGED: 56 BroadcastBehavior: android.content.Intent#ACTION_DATE_CHANGED: 58 BroadcastBehavior: android.content.Intent#ACTION_DEVICE_STORAGE_LOW: [all …]
|
/frameworks/base/cmds/incident_helper/src/ |
D | TextParserBase.cpp | 28 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/ |
D | FindAddress.java | 299 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/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 21 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/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 23 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/core/java/android/content/pm/ |
D | ILauncherApps.aidl | 17 package android.content.pm; 20 import android.content.ComponentName; 21 import android.content.Intent; 22 import android.content.IntentSender; 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.IOnAppsChangedListener; 26 import android.content.pm.LauncherApps; 27 import android.content.pm.IPackageInstallerCallback; 28 import android.content.pm.PackageInstaller; [all …]
|
D | IPackageInstaller.aidl | 17 package android.content.pm; 19 import android.content.pm.IPackageDeleteObserver2; 20 import android.content.pm.IPackageInstallerCallback; 21 import android.content.pm.IPackageInstallerSession; 22 import android.content.pm.PackageInstaller; 23 import android.content.pm.ParceledListSlice; 24 import android.content.pm.VersionedPackage; 25 import android.content.IntentSender;
|
D | IPackageManager.aidl | 18 package android.content.pm; 20 import android.content.ComponentName; 21 import android.content.Intent; 22 import android.content.IntentFilter; 23 import android.content.pm.ActivityInfo; 24 import android.content.pm.ApplicationInfo; 25 import android.content.pm.ChangedPackages; 26 import android.content.pm.InstantAppInfo; 27 import android.content.pm.FeatureInfo; 28 import android.content.pm.IDexModuleRegisterCallback; [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist.txt | 24 Landroid/app/IActivityManager$Stub$Proxy;->getConfiguration()Landroid/content/res/Configuration; 30 Landroid/app/IActivityManager$Stub$Proxy;->updatePersistentConfiguration(Landroid/content/res/Confi… 43 Landroid/app/ISearchManager$Stub$Proxy;->getGlobalSearchActivity()Landroid/content/ComponentName; 44 Landroid/app/ISearchManager$Stub$Proxy;->getWebSearchActivity()Landroid/content/ComponentName; 87 Landroid/content/IClipboard$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 88 Landroid/content/IClipboard$Stub;->asInterface(Landroid/os/IBinder;)Landroid/content/IClipboard; 89 Landroid/content/IContentService$Stub$Proxy;-><init>(Landroid/os/IBinder;)V 90 Landroid/content/IContentService$Stub;-><init>()V 91 Landroid/content/IContentService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/content/IContentS… 92 Landroid/content/IIntentReceiver$Stub$Proxy;-><init>(Landroid/os/IBinder;)V [all …]
|
/frameworks/base/core/java/android/content/pm/split/ |
D | DefaultSplitAssetLoader.java | 16 package android.content.pm.split; 18 import static android.content.pm.PackageManager.INSTALL_FAILED_INVALID_APK; 19 import static android.content.pm.PackageManager.INSTALL_PARSE_FAILED_NOT_APK; 21 import android.content.pm.PackageParser; 22 import android.content.pm.PackageParser.PackageParserException; 23 import android.content.pm.PackageParser.ParseFlags; 24 import android.content.res.ApkAssets; 25 import android.content.res.AssetManager;
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 22 import android.content.Context; 23 import android.content.IIntentReceiver; 24 import android.content.IIntentSender; 25 import android.content.Intent; 26 import android.content.IntentSender; 27 import android.content.pm.ApplicationInfo; 28 import android.content.pm.PackageInfo; 29 import android.content.pm.PackageInstaller; 30 import android.content.pm.PackageInstaller.Session; 31 import android.content.pm.PackageInstaller.SessionParams; [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PackageManagerWrapper.java | 20 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.ResolveInfoFlags; 26 import android.content.pm.ResolveInfo;
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 22 import android.content.BroadcastReceiver; 23 import android.content.Context; 24 import android.content.Intent; 134 Uri content = getContentFromIntent(i); in getAltContent() local 135 InputStream is = c.getContentResolver().openInputStream(content); in getAltContent() 152 private static String getCurrentHash(byte[] content) { in getCurrentHash() argument 153 if (content == null) { in getCurrentHash() 158 byte[] fingerprint = dgst.digest(content); in getCurrentHash() 178 protected void writeUpdate(File dir, File file, byte[] content) throws IOException { in writeUpdate() argument 195 out.write(content); in writeUpdate() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 20 import android.content.BroadcastReceiver; 21 import android.content.ContentResolver; 22 import android.content.Context; 23 import android.content.ContextWrapper; 24 import android.content.Intent; 25 import android.content.IntentFilter; 26 import android.content.ServiceConnection; 27 import android.content.pm.PackageManager;
|