/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 143 * Retrieves the product name of the device. 146 * the same as returned by invoking #adb shell getprop ro.product.name. 148 * @return product name of the device 491 * @return String name of activity 501 * Retrieves the name of the last package to report accessibility events. 502 * @return String name of package 514 * @param name to register the UiWatcher 518 public void registerWatcher(String name, UiWatcher watcher) { argument 519 Tracer.trace(name, watcher); 523 mWatchers.put(name, watche 533 removeWatcher(String name) argument [all...] |
H A D | UiSelector.java | 26 * by properties such as text value, content-description, class name, and state 352 * content-description, or the class name for a widget. 371 * content-description, or the class name for a widget. 390 * content-description, or the class name for a widget. 409 * content-description, or the class name for a widget. 429 * content-description, or the class name for a widget. 449 * content-description, or the class name for a widget. 468 * content-description, or the class name for a widget. 487 * content-description, or the class name for a widget. 506 * content-description, or the class name fo 565 packageName(String name) argument [all...] |
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 186 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { argument 209 public void instrumentationFinished(ComponentName name, int resultCode, Bundle results) { argument 303 // ignore- the test with given name does not exist. Will be
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 77 * <pre> <service android:name=".MyAccessibilityService" 80 * <action android:name="android.accessibilityservice.AccessibilityService" /> 97 * <pre> <service android:name=".MyAccessibilityService"> 99 * <action android:name="android.accessibilityservice.AccessibilityService" /> 101 * <meta-data android:name="android.accessibilityservice" android:resource="@xml/accessibilityservice" /> 624 public Object getSystemService(@ServiceName @NonNull String name) { argument 631 if (WINDOW_SERVICE.equals(name)) { 633 mWindowManager = (WindowManager) getBaseContext().getSystemService(name); 637 return super.getSystemService(name);
|
H A D | AccessibilityServiceInfo.java | 260 * The source view id will be a fully qualified resource name of the 261 * form "package:id/name", for example "foo.bar:id/my_list", and it is 402 * The accessibility service setting activity's name, used by the system 442 mId = new ComponentName(serviceInfo.packageName, serviceInfo.name).flattenToShortString(); 570 * The settings activity name. 575 * @return The settings activity name.
|
/frameworks/base/core/java/android/accounts/ |
H A D | Account.java | 29 public final String name; field in class:Account 36 return name.equals(other.name) && type.equals(other.type); 41 result = 31 * result + name.hashCode(); 46 public Account(String name, String type) { argument 47 if (TextUtils.isEmpty(name)) { 48 throw new IllegalArgumentException("the name must not be empty: " + name); 53 this.name = name; [all...] |
H A D | AccountManager.java | 162 * Bundle key used for the {@link String} account name in results 440 * @param packageName package name of the calling app. 457 * @param packageName The package name of the app for which the accounts are to be returned 677 * @param newName String name to be associated with the account. 683 * after the name change. If successful the account's name will be the 684 * specified new name. 702 String name = bundle.getString(KEY_ACCOUNT_NAME); 704 return new Account(name, type); 710 * Gets the previous name associate [all...] |
H A D | ChooseAccountActivity.java | 71 mAccountInfos[i] = new AccountInfo(((Account) mAccounts[i]).name, 107 Log.w(TAG, "No icon name for account type " + accountType); 123 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); 141 final String name; field in class:ChooseAccountActivity.AccountInfo 144 AccountInfo(String name, Drawable drawable) { argument 145 this.name = name; 180 holder.text.setText(mInfos[position].name);
|
H A D | ChooseAccountTypeActivity.java | 128 String name = null; 135 name = sequence.toString(); 137 name = sequence.toString(); 141 Log.w(TAG, "No icon name for account type " + desc.type); 149 AuthInfo authInfo = new AuthInfo(desc, name, icon); 156 final String name; field in class:ChooseAccountTypeActivity.AuthInfo 159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) { argument 161 this.name = name; 197 holder.text.setText(mInfos.get(position).name); [all...] |
H A D | ChooseTypeAndAccountActivity.java | 181 mSelectedAccountName = selectedAccount.name; 186 Log.v(TAG, "selected account name is " + mSelectedAccountName); 234 setResultAndFinish(account.name, account.type); 275 mAccounts.get(mSelectedItemIndex).name); 349 accountName = account.name; 414 setResultAndFinish(account.name, account.type); 458 // search for the selected account name if present 460 if (accounts.get(i).name.equals(selectedAccountName)) { 473 listItems[i] = accounts.get(i).name;
|
H A D | GrantCredentialsPermissionActivity.java | 129 ((TextView) findViewById(R.id.account_name)).setText(mAccount.name);
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 572 String name = parser.getName(); 574 if (name.equals("objectAnimator")) { 576 } else if (name.equals("animator")) { 578 } else if (name.equals("set")) { 592 throw new RuntimeException("Unknown animator name: " + parser.getName());
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 160 * <a name="Fragments"></a> 168 * <a name="ActivityLifecycle"></a> 394 * <a name="ConfigurationChanges"></a> 432 * <a name="StartingActivities"></a> 495 * <a name="SavingPersistentState"></a> 545 * modify a set of name/value pairs associated with the activity. To use 550 * object stored under a specific name. 584 * <a name="Permissions"></a> 608 * <a name="ProcessLifecycle"></a> 4464 * package name tha 5033 getSystemService(@erviceName @onNull String name) argument 5309 onCreateView(String name, Context context, AttributeSet attrs) argument 5323 onCreateView(View parent, String name, Context context, AttributeSet attrs) argument [all...] |
H A D | ActivityManager.java | 82 * <meta-data>}</a> name for a 'home' Activity that declares a package that is to be 783 * the baseIntent in this case is the name of the actual activity 1416 * The name of the process this service runs in. 1819 * The process name in which the crash or error occurred. 1836 * The activity name associated with the error, if known. May be null. 1927 * The name of the process that this object is associated with 2109 * is the name of the component that is being used in this process. 2284 * @param packageName The name of the package whose processes are to 2307 * @param packageName The name of the package to be stopped. 2536 * @param name Optiona 2543 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument 2636 dumpService(PrintWriter pw, FileDescriptor fd, String name, String[] args) argument [all...] |
H A D | ActivityManagerNative.java | 799 String name = data.readString(); 802 ContentProviderHolder cph = getContentProvider(app, name, userId, stable); 815 String name = data.readString(); 818 ContentProviderHolder cph = getContentProviderExternal(name, userId, token); 878 String name = data.readString(); 880 removeContentProviderExternal(name, token); 1150 String name = data.readString(); 1153 requireFull, name, callerPackage); 1727 String name = data.readString(); 1728 IBinder perm = newUriPermissionOwner(name); 3304 getContentProvider(IApplicationThread caller, String name, int userId, boolean stable) argument 3324 getContentProviderExternal(String name, int userId, IBinder token) argument 3407 removeContentProviderExternal(String name, IBinder token) argument 3818 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument 4573 newUriPermissionOwner(String name) argument [all...] |
H A D | ActivityThread.java | 203 // set of instantiated backup agents, keyed by package name 344 ? "no component name" : componentName.toShortString()) 410 + info.name + " packageName=" + info.packageName 780 * attribute specifying a non-default process name, 785 * name inside the runtime. 2139 String name; 2141 name = compname.toShortString(); 2143 name = "(Intent " + intent + ").getComponent() returned null"; 2146 + ", comp=" + name 2258 + r.activityInfo.name [all...] |
H A D | ActivityTransitionCoordinator.java | 253 final String name = sharedElements.keyAt(i); 254 if (isFirstRun && (view == null || !view.isAttachedToWindow() || name == null)) { 258 mSharedElementNames.add(name); 429 private void setSharedElementState(View view, String name, Bundle transitionArgs, argument 431 Bundle sharedElementBundle = transitionArgs.getBundle(name); 561 String name = mSharedElementNames.get(i); 563 name, sharedElementState); 565 setSharedElementState(sharedElement, name, sharedElementState, 597 private static SharedElementOriginalState getOldSharedElementState(View view, String name, argument 612 Bundle bundle = transitionArgs.getBundle(name); 750 captureSharedElementState(View view, String name, Bundle transitionArgs, Matrix tempMatrix, RectF tempBounds) argument [all...] |
H A D | ApplicationErrorReport.java | 95 * Package name of the application. 100 * Package name of the application which installed the application this 107 * Process name of the application. 228 return new ComponentName(receiverPackage, info.activityInfo.name); 296 * Class name of the exception that caused the crash. 431 * Activity name.
|
H A D | ApplicationPackageManager.java | 159 ris.get(0).activityInfo.name); 177 ris.get(0).activityInfo.name); 212 public PermissionInfo getPermissionInfo(String name, int flags) argument 215 PermissionInfo pi = mPM.getPermissionInfo(name, flags); 223 throw new NameNotFoundException(name); 242 public PermissionGroupInfo getPermissionGroupInfo(String name, argument 245 PermissionGroupInfo pgi = mPM.getPermissionGroupInfo(name, flags); 253 throw new NameNotFoundException(name); 381 public boolean hasSystemFeature(String name) { argument 383 return mPM.hasSystemFeature(name); 417 removePermission(String name) argument 676 resolveContentProvider(String name, int flags) argument 682 resolveContentProviderAsUser(String name, int flags, int userId) argument 993 getCachedIcon(ResourceName name) argument 1019 putCachedIcon(ResourceName name, Drawable dr) argument 1112 getCachedString(ResourceName name) argument 1127 putCachedString(ResourceName name, CharSequence cs) argument [all...] |
H A D | BackStackRecord.java | 566 public FragmentTransaction addSharedElement(View sharedElement, String name) { argument 577 mSharedElementTargetNames.add(name); 583 public FragmentTransaction setSharedElement(View sharedElement, String name) { argument 593 mSharedElementTargetNames.add(name); 626 public FragmentTransaction addToBackStack(String name) { argument 632 mName = name; 1196 // remap shared elements and set the name mapping used 1456 * Remaps a name-to-View map, substituting different names for keys.
|
H A D | ContextImpl.java | 214 * Map from package name, to preference name, to cached preferences. 344 // This one's defined separately and given a variable name so it 861 // and this here is its name. 901 public File getSharedPrefsFile(String name) { argument 902 return makeFilename(getPreferencesDir(), name + ".xml"); 906 public SharedPreferences getSharedPreferences(String name, int mode) { argument 921 // name. This happened to work because when we generated the file name 925 if (name 958 openFileInput(String name) argument 965 openFileOutput(String name, int mode) argument 988 deleteFile(String name) argument 1125 getFileStreamPath(String name) argument 1136 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument 1141 openOrCreateDatabase(String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) argument 1154 deleteDatabase(String name) argument 1164 getDatabasePath(String name) argument 1836 getSystemService(String name) argument 2218 getDir(String name, int mode) argument 2354 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument 2372 validateFilePath(String name, boolean createDirectory) argument 2395 makeFilename(File base, String name) argument [all...] |
H A D | ExitTransitionCoordinator.java | 394 String name = mSharedElementNames.get(i); 395 Bundle sharedElementState = mExitSharedElementBundle.getBundle(name); 397 bundle.putBundle(name, sharedElementState); 400 captureSharedElementState(view, name, bundle, matrix, bounds);
|
H A D | FragmentManager.java | 88 * Get the name that was supplied to 186 * and {@link #popBackStack(int, int)}: If set, and the name or ID of 216 * @param name If non-null, this is the name of a previous back state 222 public abstract void popBackStack(String name, int flags); argument 230 public abstract boolean popBackStackImmediate(String name, int flags); argument 285 * @param key The name of the entry in the bundle. 295 * @param key The name of the entry in the bundle. 503 public void popBackStack(final String name, final int flags) { argument 506 popBackStackState(mActivity.mHandler, name, 512 popBackStackImmediate(String name, int flags) argument 1491 popBackStackState(Handler handler, String name, int id, int flags) argument 2071 onCreateView(View parent, String name, Context context, AttributeSet attrs) argument 2158 onCreateView(String name, Context context, AttributeSet attrs) argument [all...] |
H A D | FragmentTransaction.java | 35 * @param tag Optional tag name for the fragment, to later retrieve the 58 * @param tag Optional tag name for the fragment, to later retrieve the 187 * @param name The transitionName for a View in an appearing Fragment to match to the shared 190 public abstract FragmentTransaction addSharedElement(View sharedElement, String name); argument 196 public abstract FragmentTransaction setSharedElement(View sharedElement, String name); argument 215 * @param name An optional name for this back stack state, or null. 217 public abstract FragmentTransaction addToBackStack(String name); argument
|
H A D | IActivityManager.java | 145 String name, int userId, boolean stable) throws RemoteException; 146 public ContentProviderHolder getContentProviderExternal(String name, int userId, IBinder token) argument 149 public void removeContentProviderExternal(String name, IBinder token) throws RemoteException; argument 213 boolean requireFull, String name, String callerPackage) throws RemoteException; 345 public IBinder newUriPermissionOwner(String name) throws RemoteException; argument 144 getContentProvider(IApplicationThread caller, String name, int userId, boolean stable) argument 212 handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, boolean requireFull, String name, String callerPackage) argument
|