/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallManagerTest.java | 81 CallManager.getInstance().registerPhone(mPhone); in setUp() 87 CallManager.getInstance().unregisterPhone(mPhone); in tearDown() 93 assertEquals(mPhone, CallManager.getInstance().getDefaultPhone()); in testSanity() 94 assertFalse(CallManager.getInstance().hasActiveBgCall()); in testSanity() 95 assertFalse(CallManager.getInstance().hasActiveRingingCall()); in testSanity() 96 assertFalse(CallManager.getInstance().hasActiveFgCall()); in testSanity() 98 assertEquals(mPhone, CallManager.getInstance().getRingingPhone()); in testSanity() 99 assertEquals(mPhone, CallManager.getInstance().getBgPhone()); in testSanity() 100 assertEquals(mPhone, CallManager.getInstance().getFgPhone()); in testSanity() 106 CallManager.getInstance().dial(mPhone, in testBasicDial() [all …]
|
D | SimulatedCommands.java | 237 SimulatedCommandsVerifier.getInstance().getIccCardStatus(result); in getIccCardStatus() 251 SimulatedCommandsVerifier.getInstance().getIccSlotsStatus(result); in getIccSlotsStatus() 566 SimulatedCommandsVerifier.getInstance().getCurrentCalls(result); in getCurrentCalls() 596 SimulatedCommandsVerifier.getInstance().getDataCallList(result); in getDataCallList() 617 SimulatedCommandsVerifier.getInstance().dial(address, isEmergencyCall, in dial() 639 SimulatedCommandsVerifier.getInstance().dial(address, isEmergencyCall, in dial() 675 SimulatedCommandsVerifier.getInstance().getIMEI(result); in getIMEI() 692 SimulatedCommandsVerifier.getInstance().getIMEISV(result); in getIMEISV() 859 SimulatedCommandsVerifier.getInstance().acceptCall(result); in acceptCall() 1141 SimulatedCommandsVerifier.getInstance().sendBurstDtmf(dtmfString, on, off, result); in sendBurstDtmf() [all …]
|
/frameworks/av/media/utils/fuzzers/ |
D | BatteryNotifierFuzz.cpp | 35 BatteryNotifier::getInstance().noteResetVideo(); in __anona3f4576c0102() 38 BatteryNotifier::getInstance().noteResetAudio(); in __anona3f4576c0202() 41 BatteryNotifier::getInstance().noteResetFlashlight(); in __anona3f4576c0302() 44 BatteryNotifier::getInstance().noteResetCamera(); in __anona3f4576c0402() 47 BatteryNotifier::getInstance().noteStartVideo(video_id); in __anona3f4576c0502() 50 BatteryNotifier::getInstance().noteStopVideo(video_id); in __anona3f4576c0602() 53 BatteryNotifier::getInstance().noteStartAudio(audio_id); in __anona3f4576c0702() 56 BatteryNotifier::getInstance().noteStopAudio(audio_id); in __anona3f4576c0802() 60 BatteryNotifier::getInstance().noteFlashlightOn(name, light_id); in __anona3f4576c0902() 64 BatteryNotifier::getInstance().noteFlashlightOff(name, light_id); in __anona3f4576c0a02() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 48 assertNull(mCache.getInstance(-1, res, null)); in testGetEmpty() 56 assertEquals(5f, mCache.getInstance(1, res, null)); in testSetGet() 57 assertNotSame(5f, mCache.getInstance(1, res, null)); in testSetGet() 58 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGet() 66 assertEquals(null, mCache.getInstance(1, res, null)); in testSetGetThemed() 67 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 68 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 78 assertEquals(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet() 79 assertNotSame(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet() 80 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | HashedStringCacheTest.java | 55 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceNotNull() 61 HashedStringCache cache = HashedStringCache.getInstance(); in testInstanceMatchesOnSecondCall() 62 assertThat(HashedStringCache.getInstance(), is(cache)); in testInstanceMatchesOnSecondCall() 67 HashedStringCache cache = HashedStringCache.getInstance(); in testHashedStringNotOriginalString() 75 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleCallsResultInSameHash() 86 HashedStringCache cache = HashedStringCache.getInstance(); in testThatMultipleInputResultInDifferentHash() 96 HashedStringCache cache = HashedStringCache.getInstance(); in testThatZeroDaysResultsInNewHash() 106 HashedStringCache cache = HashedStringCache.getInstance(); in testThatNegativeDaysResultsInNewHash() 116 HashedStringCache cache = HashedStringCache.getInstance(); in testThatDaysGreater365ResultsInSameResult() 131 HashedStringCache cache = HashedStringCache.getInstance(); in testMinusOneResultsInNull() [all …]
|
/frameworks/base/core/jni/ |
D | android_os_GraphicsEnvironment.cpp | 30 return android::GraphicsEnv::getInstance().isDebuggable(); in isDebuggable_native() 37 android::GraphicsEnv::getInstance().setDriverPathAndSphalLibraries(pathChars.c_str(), in setDriverPathAndSphalLibraries_native() 47 android::GraphicsEnv::getInstance().setGpuStats(driverPackageNameChars.c_str(), in setGpuStats_native() 76 android::GraphicsEnv::getInstance().setAngleInfo(pathChars.c_str(), useNativeDriver, in setAngleInfo_native() 84 android::GraphicsEnv::getInstance().setLayerPaths(appNamespace, layerPathsChars.c_str()); in setLayerPaths_native() 90 android::GraphicsEnv::getInstance().setDebugLayers(layersChars.c_str()); in setDebugLayers_native() 97 android::GraphicsEnv::getInstance().setDebugLayersGLES(layersChars.c_str()); in setDebugLayersGLES_native() 102 return android::GraphicsEnv::getInstance().setInjectLayersPrSetDumpable(); in setInjectLayersPrSetDumpable_native() 106 android::GraphicsEnv::getInstance().hintActivityLaunch(); in hintActivityLaunch_native() 110 android::GraphicsEnv::getInstance().nativeToggleAngleAsSystemDriver(enabled); in nativeToggleAngleAsSystemDriver_native()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.h | 35 getInstance().addInternal(localeStr, hyphenator); in add() 39 getInstance().addAliasInternal(fromLocaleStr, toLocaleStr); in addAlias() 43 static void clear() { getInstance().clearInternal(); } in clear() 56 return getInstance().lookupInternal(locale); in lookup() 67 static HyphenatorMap& getInstance() { // Singleton. in getInstance() function
|
D | LocaleListCache.h | 37 return getInstance().getIdInternal(locales); in getId() 42 return getInstance().readFromInternal(reader); in readFrom() 46 return getInstance().writeToInternal(writer, id); in writeTo() 50 return getInstance().getByIdInternal(id); in getById() 68 static LocaleListCache& getInstance() { in getInstance() function
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityTest.java | 252 ChooserActivityOverrideData.getInstance().reset(); in cleanOverrideData() 253 ChooserActivityOverrideData.getInstance().createPackageManager = mPackageManagerOverride; in cleanOverrideData() 267 .getInstance() in customTitle() 291 .getInstance() in customTitleIgnoredForSendIntents() 312 .getInstance() in emptyTitle() 333 .getInstance() in emptyPreviewTitleAndThumbnail() 357 .getInstance() in visiblePreviewTitleWithoutThumbnail() 384 .getInstance() in visiblePreviewTitleWithInvalidThumbnail() 405 ChooserActivityOverrideData.getInstance().previewThumbnail = createBitmap(); in visiblePreviewTitleAndThumbnail() 410 .getInstance() in visiblePreviewTitleAndThumbnail() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | CookieSyncManager.java | 81 public static CookieSyncManager getInstance() { in getInstance() method in CookieSyncManager 102 return getInstance(); in createInstance() 112 CookieManager.getInstance().flush(); in sync() 120 CookieManager.getInstance().flush(); in syncFromRamToFlash()
|
/frameworks/minikin/include/minikin/ |
D | SystemFonts.h | 34 return getInstance().findFontCollectionInternal(familyName); in findFontCollection() 39 return getInstance().registerFallbackInternal(familyName, fc); in registerFallback() 43 return getInstance().registerDefaultInternal(fc); in registerDefault() 49 return getInstance().addFontMapInternal(std::move(collections)); in addFontMap() 54 return getInstance().getFontSetInternal(func); in getFontSet() 88 static SystemFonts& getInstance();
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | MessageDigestPerfTest.java | 101 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in time() 112 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeArray() 123 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeArray() 134 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallByteBuffer() 147 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallDirectByteBuffer() 160 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeByteBuffer() 173 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeDirectByteBuffer() 186 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeByteBuffer() 199 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeDirectByteBuffer()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | WindowInfosListenerInvokerTest.cpp | 21 BackgroundExecutor::getInstance().flushQueue(); in ~WindowInfosListenerInvokerTest() 61 BackgroundExecutor::getInstance().sendCallbacks( in TEST_F() 97 BackgroundExecutor::getInstance().sendCallbacks( in TEST_F() 122 BackgroundExecutor::getInstance().sendCallbacks({[&]() { in TEST_F() 165 BackgroundExecutor::getInstance().sendCallbacks({[&]() { in TEST_F() 195 BackgroundExecutor::getInstance().sendCallbacks({[&]() { in TEST_F() 227 BackgroundExecutor::getInstance().sendCallbacks({[&]() { in TEST_F() 237 BackgroundExecutor::getInstance().flushQueue(); in TEST_F() 238 BackgroundExecutor::getInstance().sendCallbacks( in TEST_F()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 44 : mRenderThread(RenderThread::getInstance()), mContext(nullptr) { in RenderProxy() 187 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor() 203 auto& thread = RenderThread::getInstance(); in copyLayerInto() 228 RenderThread& thread = RenderThread::getInstance(); in trimMemory() 237 RenderThread& thread = RenderThread::getInstance(); in trimCaches() 245 RenderThread& thread = RenderThread::getInstance(); in purgeCaches() 256 RenderThread::getInstance().queue().runSync( in overrideProperty() 265 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() 318 auto& thread = RenderThread::getInstance(); in dumpGraphicsMemory() 330 auto& thread = RenderThread::getInstance(); in getMemoryUsage() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/wakeups/ |
D | IrqDeviceMapTest.java | 51 IrqDeviceMap irqDeviceMap1 = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_1); in cachesInstancesPerXml() 52 IrqDeviceMap irqDeviceMap2 = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_1); in cachesInstancesPerXml() 55 irqDeviceMap2 = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_2); in cachesInstancesPerXml() 58 irqDeviceMap1 = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_2); in cachesInstancesPerXml() 64 IrqDeviceMap deviceMap = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_1); in simpleXml() 79 IrqDeviceMap deviceMap = IrqDeviceMap.getInstance(sContext, R.xml.irq_device_map_2); in complexXml()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | LinearLayoutGridTest.java | 48 FocusFinder.getInstance().findNextFocus( in testGoDownFromMiddle() 57 FocusFinder.getInstance().findNextFocus( in testGoUpFromMiddle() 66 FocusFinder.getInstance().findNextFocus( in testGoRightFromMiddle() 75 FocusFinder.getInstance().findNextFocus( in testGoLeftFromMiddle()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemConfigService.java | 49 SystemConfig.getInstance().getDisabledUntilUsedPreinstalledCarrierApps()); 57 return SystemConfig.getInstance() 70 return SystemConfig.getInstance() 80 SystemConfig.getInstance().getSystemPermissions(); 92 ArrayMap<String, Boolean> systemComponents = SystemConfig.getInstance() 109 return new ArrayList<>(SystemConfig.getInstance().getDefaultVrComponents());
|
/frameworks/base/core/java/android/text/method/ |
D | DigitsKeyListener.java | 171 final DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(locale); in DigitsKeyListener() 228 public static DigitsKeyListener getInstance() { in getInstance() method in DigitsKeyListener 229 return getInstance(false, false); in getInstance() 241 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) { in getInstance() method in DigitsKeyListener 242 return getInstance(null, sign, decimal); in getInstance() 249 public static DigitsKeyListener getInstance(@Nullable Locale locale) { in getInstance() method in DigitsKeyListener 250 return getInstance(locale, false, false); in getInstance() 264 public static DigitsKeyListener getInstance( in getInstance() method in DigitsKeyListener 290 public static DigitsKeyListener getInstance(@NonNull String accepted) { in getInstance() method in DigitsKeyListener 309 public static DigitsKeyListener getInstance( in getInstance() method in DigitsKeyListener [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | InteractionJankMonitorUtils.java | 45 InteractionJankMonitor.getInstance().begin(builder); in beginTracing() 63 InteractionJankMonitor.getInstance().begin(builder); in beginTracing() 72 InteractionJankMonitor.getInstance().end(cujType); in endTracing() 81 InteractionJankMonitor.getInstance().cancel(cujType); in cancelTracing()
|
/frameworks/native/libs/gui/include/gui/ |
D | DebugEGLImageTracker.h | 25 static DebugEGLImageTracker *getInstance(); 42 (DebugEGLImageTracker::getInstance()->create(__PRETTY_FUNCTION__)) 44 (DebugEGLImageTracker::getInstance()->destroy(__PRETTY_FUNCTION__))
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 58 Loader& Loader::getInstance() { in getInstance() function in android::Loader 162 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in should_unload_system_driver() 167 if (!(cnx->angleLoaded && android::GraphicsEnv::getInstance().shouldUseSystemAngle())) { in should_unload_system_driver() 173 if (android::GraphicsEnv::getInstance().shouldUseNativeDriver() && cnx->angleLoaded) { in should_unload_system_driver() 178 ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in should_unload_system_driver() 240 if (android::GraphicsEnv::getInstance().shouldUseAngle()) { in open() 250 LOG_ALWAYS_FATAL_IF(android::GraphicsEnv::getInstance().getDriverNamespace(), in open() 252 android::GraphicsEnv::getInstance().getDriverPath().c_str()); in open() 257 if (!hnd && android::GraphicsEnv::getInstance().shouldUseNativeDriver()) { in open() 309 android::GraphicsEnv::getInstance().setDriverLoaded(android::GpuStatsInfo::Api::API_GL, in open() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiRestrictionsCacheTest.java | 77 mWifiRestrictionsCacheOwner = WifiRestrictionsCache.getInstance(mContext); in setUp() 82 mWifiRestrictionsCacheGuest = WifiRestrictionsCache.getInstance(mContext); in setUp() 93 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_sameUserId_sameInstance() 95 WifiRestrictionsCache instance2 = WifiRestrictionsCache.getInstance(mContext); in getInstance_sameUserId_sameInstance() 103 WifiRestrictionsCache instance1 = WifiRestrictionsCache.getInstance(mContext); in getInstance_diffUserId_diffInstance() 106 WifiRestrictionsCache instance2 = WifiRestrictionsCache.getInstance(mContext); in getInstance_diffUserId_diffInstance() 170 return WifiRestrictionsCache.getInstance(mContext); in mockInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SharedLibraryModule.java | 34 return ActivityManagerWrapper.getInstance(); in provideActivityManagerWrapper() 41 return DevicePolicyManagerWrapper.getInstance(); in provideDevicePolicyManagerWrapper() 48 return TaskStackChangeListeners.getInstance(); in provideTaskStackChangeListeners()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 1018 return AccessibilityInteractionClient.getInstance(this).getWindows(mConnectionId); in getWindows() 1046 return AccessibilityInteractionClient.getInstance(this).getWindowsOnAllDisplays( in getWindowsOnAllDisplays() 1084 return AccessibilityInteractionClient.getInstance(this).getRootInActiveWindow( in getRootInActiveWindow() 1094 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId); in disableSelf() 1188 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId)); in getFingerprintGestureController() 1220 AccessibilityInteractionClient.getInstance(this).getConnection(mConnectionId); in dispatchGesture() 1436 AccessibilityInteractionClient.getInstance(mService).getConnection( in setMagnificationCallbackEnabled() 1495 AccessibilityInteractionClient.getInstance(mService).getConnection( in getMagnificationConfig() 1528 AccessibilityInteractionClient.getInstance(mService).getConnection( in getScale() 1565 AccessibilityInteractionClient.getInstance(mService).getConnection( in getCenterX() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InteractionJankMonitorWrapper.java | 96 InteractionJankMonitor.getInstance().begin(v, cujType); in begin() 111 InteractionJankMonitor.getInstance().begin(builder); in begin() 128 InteractionJankMonitor.getInstance().begin(builder); in begin() 138 InteractionJankMonitor.getInstance().end(cujType); in end() 146 InteractionJankMonitor.getInstance().cancel(cujType); in cancel()
|