Home
last modified time | relevance | path

Searched refs:getOrCreate (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/setup/
DTunerHalCreatorTest.java73 Tuner tunerHal = tunerHalCreator.getOrCreate(); in test_asyncGet()
75 assertSame(tunerHal, tunerHalCreator.getOrCreate()); in test_asyncGet()
84 assertNotNull(tunerHalCreator.getOrCreate()); in test_syncGet()
91 assertNotNull(tunerHalCreator.getOrCreate()); in test_syncGetWithoutGenerate()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DNativeRefTest.java35 public long getOrCreate() { in setup()
51 public long getOrCreate() { in setReferenceToZero_throwsError()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DReferenceManager.java23 long getOrCreate(); in getOrCreate() method
DHkdfMessageDigestNativeRef.java38 public long getOrCreate() { in getHkdfSha256MessageDigestReference()
DAeadNativeRef.java37 public long getOrCreate() { in getHpkeAeadAes256GcmReference()
DKdfNativeRef.java37 public long getOrCreate() { in getHpkeKdfHkdfSha256Reference()
DKemNativeRef.java37 public long getOrCreate() { in getHpkeKemDhkemX25519HkdfSha256Reference()
DHpkeContextNativeRef.java38 public long getOrCreate() { in createHpkeContextReference()
DNativeRef.java39 long address = referenceManager.getOrCreate(); in NativeRef()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java216 mWidgetsList.remove(packageItemInfoCache.getOrCreate(packageUser)); in setWidgetsAndShortcuts()
224 .map(key -> new Pair<>(packageItemInfoCache.getOrCreate(key), widgetItem))) in setWidgetsAndShortcuts()
400 PackageItemInfo getOrCreate(PackageUserKey key) { in getOrCreate() method in WidgetsModel.PackageItemInfoCache
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java218 if (mTunerHalCreator.getOrCreate() == null) { in executeAction()
279 return mTunerHalCreator.getOrCreate(); in getTunerHal()
490 Tuner getOrCreate() { in getOrCreate() method in BaseTunerSetupActivity.TunerHalCreator
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/
DWindowSizeClass.kt57 val metrics = WindowMetricsCalculator.getOrCreate().computeCurrentWindowMetrics(context) in calculateWindowSizeClass()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java275 public Bucket getOrCreate(int index) { in getOrCreate() method in BackgroundScanScheduler.BucketList
502 mBuckets.getOrCreate(bucketIndex).addSettings(settings); in addScanToBuckets()
543 mBuckets.getOrCreate(newBucketIndex).addSettings(scanRequest); in compactBuckets()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DParcelling.java85 public static <P extends Parcelling<?>> P getOrCreate(Class<P> clazz) { in getOrCreate() method in Parcelling.Cache
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DParcelling.java84 public static <P extends Parcelling<?>> P getOrCreate(Class<P> clazz) { in getOrCreate() method in Parcelling.Cache
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineManager.java317 public VirtualMachine getOrCreate(@NonNull String name, @NonNull VirtualMachineConfig config) in getOrCreate() method in VirtualMachineManager
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java257 mVirtualMachine = vmm.getOrCreate(VM_NAME, config); in run()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java238 public AttributionSourceHolder getOrCreate( in getOrCreate() method in UwbServiceCore.UwbClientHwState
947 mUwbClientHwState.getOrCreate(attributionSource, binder); in requestHwEnabled()
969 mUwbClientHwState.getOrCreate(attributionSource, null); in isHwEnableRequested()
/packages/modules/Virtualization/java/framework/api/
Dsystem-current.txt103 …method @NonNull @WorkerThread public android.system.virtualmachine.VirtualMachine getOrCreate(@Non…
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java284 mVirtualMachine = vmm.getOrCreate(VM_NAME, config); in onCreate()
/packages/modules/Virtualization/java/framework/
DREADME.md91 VirtualMachine vm = vmm.getOrCreate("my vm", config);
107 The `getOrCreate()` call will retrieve an existing VM instance if it exists (in
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java819 assertThat(vmm.getOrCreate(vmName, config)).isSameInstanceAs(vm1); in vmmGetAndCreate()
829 VirtualMachine vm2 = vmm.getOrCreate(vmName, config); in vmmGetAndCreate()
838 assertThat(vmm.getOrCreate(vmName, config)).isSameInstanceAs(vm2); in vmmGetAndCreate()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java316 WindowMetricsCalculator.getOrCreate().computeCurrentWindowMetrics(this); in setupMainLayout()
/packages/apps/TV/libs/m2/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12