/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
H A D | RowsFragmentTest.java | 303 // but we could get Fragment from static variable. 304 RowsFragment fragment = sLastF_restoreSelection.get(); 380 public Object get(int position) { 401 return mList.get(position).longValue(); 405 public Object get(int position) { method in class:RowsFragmentTest.StableIdAdapter 406 return mList.get(position); 439 ((ListRow) adapter.get(1)).getAdapter(); 489 ((ListRow) adapter.get(1)).getAdapter(); 541 assertTrue(mEntranceTransitionEndTS.get(0) - mEntranceTransitionStartTS.get( [all...] |
H A D | RowsSupportFragmentTest.java | 300 // but we could get Fragment from static variable. 301 RowsSupportFragment fragment = sLastF_restoreSelection.get(); 377 public Object get(int position) { 398 return mList.get(position).longValue(); 402 public Object get(int position) { method in class:RowsSupportFragmentTest.StableIdAdapter 403 return mList.get(position); 436 ((ListRow) adapter.get(1)).getAdapter(); 486 ((ListRow) adapter.get(1)).getAdapter(); 538 assertTrue(mEntranceTransitionEndTS.get(0) - mEntranceTransitionStartTS.get( [all...] |
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
H A D | PagedList.java | 37 * Items can be accessed with {@link #get(int)}, and further loading can be triggered with 57 * If you use {@link LivePagedListBuilder} to get a 65 * With placeholders, the PagedList is always the full size of the data set. {@code get(N)} returns 69 * loaded. The size of the PagedList is the number of currently loaded items, and {@code get(N)} 383 public T get(int index) { method in class:PagedList 384 T item = mStorage.get(index); 599 return mDetached.get(); 618 * <code>get(i)</code> has a position of <code>i + getPositionOffset()</code>. 669 Callback currentCallback = mCallbacks.get(i).get(); [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActivityChooserModel.java | 73 * ActivityChooserModel.get(context, "task_specific_history_file_name.xml"); 329 public static ActivityChooserModel get(Context context, String historyFileName) { method in class:ActivityChooserModel 331 ActivityChooserModel dataModel = sDataModelRegistry.get(historyFileName); 412 return mActivities.get(index).resolveInfo; 429 ActivityResolveInfo currentActivity = activities.get(i); 464 ActivityResolveInfo chosenActivity = mActivities.get(index); 515 return mActivities.get(0).resolveInfo; 535 ActivityResolveInfo newDefaultActivity = mActivities.get(index); 536 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); 694 ResolveInfo resolveInfo = resolveInfos.get( [all...] |
H A D | AppCompatDrawableManager.java | 83 public static AppCompatDrawableManager get() { method in class:AppCompatDrawableManager 214 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); 307 final String cachedTagName = mKnownDrawableIdTags.get(resId); 309 || (cachedTagName != null && mDelegates.get(cachedTagName) == null)) { 361 final InflateDelegate delegate = mDelegates.get(tagName); 392 = mDrawableCaches.get(context); 397 final WeakReference<ConstantState> wr = cache.get(key); 400 ConstantState entry = wr.get(); 417 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); 497 if (mDelegates != null && mDelegates.get(tagNam 677 PorterDuffColorFilter get(int color, PorterDuff.Mode mode) { method in class:AppCompatDrawableManager.ColorFilterLruCache [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | SortedList.java | 74 * The callback instance that controls the behavior of the SortedList and get notified when 587 T item = get(index); 617 * If the new object is a different object (<code>get(index) != item</code>) and 632 final T existing = get(index); 687 final T item = get(index); 704 public T get(int index) throws IndexOutOfBoundsException { method in class:SortedList 706 throw new IndexOutOfBoundsException("Asked to get item at " + index + " but size is " 904 * method to get a payload about the change.
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraCharacteristics.java | 52 * {@link CameraCharacteristics#get}. 54 * <p>For example, to get the stream configuration map: 56 * StreamConfigurationMap map = cameraCharacteristics.get( 64 * @see CameraCharacteristics#get 222 public <T> T get(Key<T> key) { method in class:CameraCharacteristics 223 return mProperties.get(key); 233 return (T) mProperties.get(key); 258 int[] filterTags = get(REQUEST_AVAILABLE_CHARACTERISTICS_KEYS); 320 int[] filterTags = get(REQUEST_AVAILABLE_SESSION_KEYS); 359 int[] filterTags = get(REQUEST_AVAILABLE_PHYSICAL_CAMERA_REQUEST_KEY [all...] |
H A D | CaptureRequest.java | 86 * {@link CaptureResult#get} or to set fields with 99 * @see CaptureResult#get 263 mLogicalCameraSettings = mPhysicalCameraSettings.get(mLogicalCameraId); 341 public <T> T get(Key<T> key) { method in class:CaptureRequest 342 return mLogicalCameraSettings.get(key); 352 return (T) mLogicalCameraSettings.get(key); 797 public <T> T get(Key<T> key) { method in class:CaptureRequest.Builder 798 return mRequest.mLogicalCameraSettings.get(key); 832 mRequest.mPhysicalCameraSettings.get(physicalCameraId).set(key, value); 862 return mRequest.mPhysicalCameraSettings.get(physicalCameraI [all...] |
H A D | CaptureResult.java | 59 * {@link CaptureResult#get}. 61 * <p>For example, to get the timestamp corresponding to the exposure of the first row: 63 * long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP); 70 * @see CaptureResult#get 266 public <T> T get(Key<T> key) { method in class:CaptureResult 267 T value = mResults.get(key); 268 if (VERBOSE) Log.v(TAG, "#get for Key = " + key.getName() + ", returned value = " + value); 279 return (T) mResults.get(key); 649 * get locked do not necessarily correspond to the settings that were present in the 1642 * get locke [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 335 * @param other the previous metadata instance which will get pilfered 372 public <T> T get(CameraCharacteristics.Key<T> key) { method in class:CameraMetadataNative 373 return get(key.getNativeKey()); 379 public <T> T get(CaptureResult.Key<T> key) { method in class:CameraMetadataNative 380 return get(key.getNativeKey()); 386 public <T> T get(CaptureRequest.Key<T> key) { method in class:CameraMetadataNative 387 return get(key.getNativeKey()); 396 public <T> T get(Key<T> key) { method in class:CameraMetadataNative 400 GetCommand g = sGetCommandMap.get(key); 444 SetCommand s = sSetCommandMap.get(ke [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 73 cached result. As a result, we get thread safe caching with no concurrency 830 * get encoded 832 * will get encoded 1010 public String get(int index) { method in class:Uri.PathSegments 1051 // Makes sure this doesn't get reused. 1071 return segments.get(size - 1); 2404 if (!Objects.equals(seg.get(i), prefixSeg.get(i))) {
|
/frameworks/base/core/java/android/os/ |
H A D | BaseBundle.java | 491 out.add(deepCopyValue(from.get(i))); 515 public Object get(String key) { method in class:BaseBundle 517 return mMap.get(key); 895 Object o = mMap.get(key); 929 Object o = mMap.get(key); 963 Object o = mMap.get(key); 997 Object o = mMap.get(key); 1031 Object o = mMap.get(key); 1065 Object o = mMap.get(key); 1099 Object o = mMap.get(ke [all...] |
H A D | Binder.java | 835 if (ref.get() != null) { 854 valueArray.set(index, valueArray.get(size - 1)); 863 BinderProxy get(long key) { method in class:BinderProxy.ProxyMap 874 WeakReference<BinderProxy> wr = valueArray.get(i); 875 BinderProxy bp = wr.get(); 906 if (valueArray.get(i).get() == null) { 914 if (valueArray.get(i + 1 + rnd).get() == null) { 967 BinderProxy bp = weakRef.get(); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewConfiguration.java | 315 * @deprecated Use {@link android.view.ViewConfiguration#get(android.content.Context)} instead. 349 * @see #get(android.content.Context) 446 public static ViewConfiguration get(Context context) { method in class:ViewConfiguration 450 ViewConfiguration configuration = sConfigurations.get(density);
|
H A D | ViewTreeObserver.java | 191 * Activity.onEnterAnimationComplete() to get the same signal. 945 access.get(i).onGlobalLayout(); 977 cancelDraw |= !(access.get(i).onPreDraw()); 999 access.get(i).onWindowShown(); 1016 listeners.get(i).onDraw(); 1051 access.get(i).onScrollChanged(); 1083 access.get(i).onComputeInternalInsets(inoutInfo); 1118 * MyData d = access.get(i); 1136 T get(int index) { method in class:ViewTreeObserver.CopyOnWriteArray.Access 1137 return mData.get(inde [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 573 * the last setSize, get which returns a record and 599 // cleared after calling this method, and that subsequent calls to get() function as 641 synchronized LogRec get(int index) { method in class:StateMachine.LogRecords 649 return mLogRecVector.get(nextIndex); 671 LogRec pmi = mLogRecVector.get(mOldestIndex); 1054 Message curMsg = mDeferredMessages.get(i); 1107 StateInfo curStateInfo = mStateInfo.get(destState); 1128 StateInfo curStateInfo = mStateInfo.get(mInitialState); 1170 parentStateInfo = mStateInfo.get(parent); 1176 StateInfo stateInfo = mStateInfo.get(stat [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 192 public byte[] get(String key, int uid) { method in class:KeyStore 195 return mBinder.get(key, uid); 205 public byte[] get(String key) { method in class:KeyStore 206 return get(key, UID_SELF);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileImpl.java | 74 protected H mHandler = new H(Dependency.get(Dependency.BG_LOOPER)); 77 private final MetricsLogger mMetricsLogger = Dependency.get(MetricsLogger.class); 263 Dependency.get(ActivityStarter.class).postStartActivityDismissingKeyguard( 289 mCallbacks.get(i).onStateChanged(mState); 294 mCallbacks.get(0).onAnnouncementRequested(announcement); 312 mCallbacks.get(i).onShowDetail(show); 322 mCallbacks.get(i).onToggleStateChanged(state); 328 mCallbacks.get(i).onScanStateChanged(state); 341 refreshState(); // Ensure we get at least one refresh after listening. 441 Dependency.get(ActivityStarte 533 public static Icon get(int resId) { method in class:QSTileImpl.ResourceIcon [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 81 final ZenModeController mZen = Dependency.get(ZenModeController.class); 82 final ForegroundServiceController mFsc = Dependency.get(ForegroundServiceController.class); 450 public Entry get(String key) { method in class:NotificationData 451 return mEntries.get(key); 775 NotificationData.Entry e = mSortedAndFiltered.get(active);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | BatteryService.java | 221 final int invalidCharger = "1".equals(event.get("SWITCH_STATE")) ? 1 : 0; 625 // them will get the new sequence number at that point. (See for example how testing 636 // This needs to be done after sendIntent() so that we get the lastest battery stats. 1319 return mLastService.get(); 1355 newService = healthSupplier.get(name); 1379 managerSupplier.get().registerForNotifications( 1410 default IServiceManager get() throws NoSuchElementException, RemoteException { method in interface:BatteryService.HealthServiceWrapper.IServiceManagerSupplier 1419 default IHealth get(String name) throws NoSuchElementException, RemoteException { method in interface:BatteryService.HealthServiceWrapper.IHealthSupplier 1437 IHealth newService = mHealthSupplier.get(mInstanceName); 1446 Slog.e(TAG, "health: Cannot get instanc [all...] |
H A D | NetworkScoreService.java | 256 final Integer what = mUriEventMap.get(uri); 458 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); 471 callbackList = mScoreCaches.get(entry.getKey()); 592 public WifiInfo get() { method in class:NetworkScoreService.WifiInfoSupplier 613 public List<ScanResult> get() { method in class:NetworkScoreService.ScanResultsSupplier 638 mCurrentNetwork = NetworkKey.createFromWifiInfo(wifiInfoSupplier.get()); 648 final ScoredNetwork scoredNetwork = scoredNetworks.get(i); 673 List<ScanResult> scanResults = resultsSupplier.get(); 677 ScanResult scanResult = scanResults.get(i); 693 final ScoredNetwork scoredNetwork = scoredNetworks.get( [all...] |
H A D | NsdService.java | 151 cInfo = mClients.get(msg.replyTo); 271 clientInfo = mClients.get(msg.replyTo); 295 clientInfo = mClients.get(msg.replyTo); 298 id = clientInfo.mClientIds.get(msg.arg2); 314 clientInfo = mClients.get(msg.replyTo); 334 clientInfo = mClients.get(msg.replyTo); 336 id = clientInfo.mClientIds.get(msg.arg2); 353 clientInfo = mClients.get(msg.replyTo); 386 ClientInfo clientInfo = mIdToClientInfoMap.get(id); 398 // and we may get i 681 DaemonConnection get(NativeCallbackReceiver callback); method in interface:NsdService.DaemonConnectionSupplier [all...] |
/frameworks/base/services/core/jni/BroadcastRadio/ |
H A D | convert.cpp | 108 jmethodID get; member in struct:android::server::BroadcastRadio::convert::__anon1098::__anon1107 231 gjni.RuntimeException.cstor, jMsg.get())); 233 gjni.ParcelableException.cstor, runtimeExc.get())); 235 auto res = env->Throw(static_cast<jthrowable>(parcelableExc.get())); 241 auto jArrElements = env->GetIntArrayElements(jArr.get(), nullptr); 245 env->ReleaseIntArrayElements(jArr.get(), jArrElements, 0); 251 auto jArrElements = env->GetLongArrayElements(jArr.get(), nullptr); 255 env->ReleaseLongArrayElements(jArr.get(), jArrElements, 0); 265 env->SetObjectArrayElement(jArr.get(), i, jElement.get()); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | MockSystemServices.java | 247 if (mUserInfos.get(i).id == userId) { 329 return userPackageContexts.get(key); 372 public String get(String key, String def) { method in class:MockSystemServices.SystemPropertiesForMock 376 public String get(String key) { method in class:MockSystemServices.SystemPropertiesForMock
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | ResourceBundle.java | 73 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName); 99 mLayoutBundles.get(target.getIncludedLayout()); 111 String binding = boundTo.get(0).getFullBindingClass(); 135 public List<? extends NameTypeLocation> get(LayoutFileBundle bundle) { 144 public List<NameTypeLocation> get(LayoutFileBundle bundle) { 200 String existingType = viewTypes.get(target.mId); 249 String include = includes.get(viewType.getKey()); 258 .setIncludedLayout(includes.get(viewType.getKey())); 307 for (NameTypeLocation item : callback.get(bundle)) { 308 NameTypeLocation existing = result.get(ite 931 List<? extends NameTypeLocation> get(LayoutFileBundle bundle); method in interface:ResourceBundle.ValidateAndFilterCallback [all...] |