Searched refs:getInstance (Results 101 - 125 of 1120) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java87 public static TextKeyListener getInstance(boolean autotext, method in class:TextKeyListener
102 public static TextKeyListener getInstance() { method in class:TextKeyListener
103 return getInstance(false, Capitalize.NONE);
196 return QwertyKeyListener.getInstance(mAutoText, mAutoCap);
198 return MultiTapKeyListener.getInstance(mAutoText, mAutoCap);
209 return NullKeyListener.getInstance();
239 public static NullKeyListener getInstance() { method in class:TextKeyListener.NullKeyListener
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
H A DMainActivity.java61 WorkManager.getInstance().enqueue(
74 WorkManager.getInstance().enqueue(
104 WorkManager.getInstance().enqueue(ToastWorker
122 WorkManager.getInstance().enqueue(ToastWorker
139 WorkManager.getInstance().enqueue(request);
150 WorkManager.getInstance()
165 WorkManager.getInstance()
/frameworks/support/compat/src/androidTest/java/androidx/core/text/
H A DBidiFormatterTest.java37 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */);
38 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */);
59 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext());
60 assertEquals(true, BidiFormatter.getInstance(true).isRtlContext());
71 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE));
72 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE));
74 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN));
75 assertEquals(false, BidiFormatter.getInstance(false).isRtl(EN));
202 assertEquals(true, BidiFormatter.getInstance(true).isRtl(CS_HE));
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java557 return AccessibilityInteractionClient.getInstance().getWindows(mConnectionId);
583 return AccessibilityInteractionClient.getInstance().getRootInActiveWindow(mConnectionId);
592 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId);
636 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId));
668 AccessibilityInteractionClient.getInstance().getConnection(
851 AccessibilityInteractionClient.getInstance().getConnection(
912 AccessibilityInteractionClient.getInstance().getConnection(
941 AccessibilityInteractionClient.getInstance().getConnection(
970 AccessibilityInteractionClient.getInstance().getConnection(
1004 AccessibilityInteractionClient.getInstance()
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
81 this.onAppWidgetOptionsChanged(context, AppWidgetManager.getInstance(context),
95 this.onUpdate(context, AppWidgetManager.getInstance(context), newIds);
/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java44 public static SystemKeyStore getInstance() { method in class:SystemKeyStore
79 KeyGenerator skg = KeyGenerator.getInstance(algName);
80 SecureRandom srng = SecureRandom.getInstance("SHA1PRNG");
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp44 Caches::getInstance().textureCache.resetMarkInUse(this);
68 auto& caches = Caches::getInstance();
130 Caches::getInstance().textureState().activateTexture(0);
175 Caches& caches = Caches::getInstance();
187 auto& caches = Caches::getInstance();
198 return &Caches::getInstance().tasks;
235 Caches::getInstance().dumpMemoryUsage();
239 const int maxTextureSize = Caches::getInstance().maxTextureSize;
254 TextureCache& cache = Caches::getInstance().textureCache;
263 Caches::getInstance()
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUnlockMethodCache.java50 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(ctx);
51 KeyguardUpdateMonitor.getInstance(ctx).registerCallback(mCallback);
55 public static UnlockMethodCache getInstance(Context context) { method in class:UnlockMethodCache
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DTestData.java178 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM);
456 KeyFactory kf = KeyFactory.getInstance("EC");
463 CertificateFactory certFactory = CertificateFactory.getInstance("X.509");
H A DRecoverableKeyGeneratorTest.java83 KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE_PROVIDER);
114 Cipher cipher = Cipher.getInstance(KEY_WRAP_ALGORITHM);
128 Cipher cipher = Cipher.getInstance(KEY_WRAP_ALGORITHM);
136 KeyGenerator keyGenerator = KeyGenerator.getInstance(
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DUtils.java44 UiDevice device = UiDevice.getInstance(instrumentation);
75 UiDevice device = UiDevice.getInstance(instrumentation);
93 UiDevice device = UiDevice.getInstance(instrumentation);
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
H A DCustomerViewModel.java55 ArchTaskExecutor.getInstance().executeOnDiskIO(() -> {
78 ArchTaskExecutor.getInstance().executeOnDiskIO(
83 ArchTaskExecutor.getInstance().executeOnDiskIO(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java183 SimulatedCommandsVerifier.getInstance().getIccCardStatus(result);
197 SimulatedCommandsVerifier.getInstance().getIccSlotsStatus(result);
506 SimulatedCommandsVerifier.getInstance().getCurrentCalls(result);
551 SimulatedCommandsVerifier.getInstance().dial(address, clirMode, result);
570 SimulatedCommandsVerifier.getInstance().dial(address, clirMode, uusInfo, result);
605 SimulatedCommandsVerifier.getInstance().getIMEI(result);
622 SimulatedCommandsVerifier.getInstance().getIMEISV(result);
788 SimulatedCommandsVerifier.getInstance().acceptCall(result);
1074 SimulatedCommandsVerifier.getInstance().sendBurstDtmf(dtmfString, on, off, result);
1086 SimulatedCommandsVerifier.getInstance()
[all...]
/frameworks/av/include/media/audiohal/hidl/
H A DHalDeathHandler.h46 static sp<HalDeathHandler> getInstance();
/frameworks/av/media/libaudiohal/include/media/audiohal/hidl/
H A DHalDeathHandler.h46 static sp<HalDeathHandler> getInstance();
/frameworks/base/cmds/statsd/src/anomaly/
H A Dsubscriber_util.cpp64 SubscriberReporter::getInstance().alertBroadcastSubscriber(configKey, subscription,
/frameworks/base/core/java/android/animation/
H A DAnimationHandler.java64 public static AnimationHandler getInstance() { method in class:AnimationHandler
198 getInstance().getProvider().setFrameDelay(delay);
202 return getInstance().getProvider().getFrameDelay();
244 final Choreographer mChoreographer = Choreographer.getInstance();
/frameworks/base/core/java/android/security/keystore/recovery/
H A DX509CertificateParsingUtils.java75 certFactory = CertificateFactory.getInstance(CERT_FORMAT);
/frameworks/base/core/java/android/text/
H A DEditable.java135 public static Editable.Factory getInstance() { method in class:Editable.Factory
/frameworks/base/core/java/android/webkit/
H A DTokenBindingService.java63 public static TokenBindingService getInstance() { method in class:TokenBindingService
H A DWebStorage.java193 public static WebStorage getInstance() { method in class:WebStorage
199 * {@link #getInstance()} to obtain the instance.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DLinkTextView.java47 setMovementMethod(LinkMovementMethod.getInstance());
/frameworks/base/packages/Shell/src/com/android/shell/
H A DScreenshooter.java43 Display display = DisplayManagerGlobal.getInstance()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DPackageManagerWrapper.java39 public static PackageManagerWrapper getInstance() { method in class:PackageManagerWrapper
/frameworks/base/services/core/java/com/android/server/net/watchlist/
H A DDigestUtils.java45 MessageDigest digester = MessageDigest.getInstance("SHA256");

Completed in 675 milliseconds

1234567891011>>