/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallManagerTest.java | 84 CallManager.getInstance().registerPhone(mPhone); in setUp() 90 CallManager.getInstance().unregisterPhone(mPhone); in tearDown() 96 assertEquals(mPhone, CallManager.getInstance().getDefaultPhone()); in testSanity() 97 assertFalse(CallManager.getInstance().hasActiveBgCall()); in testSanity() 98 assertFalse(CallManager.getInstance().hasActiveRingingCall()); in testSanity() 99 assertFalse(CallManager.getInstance().hasActiveFgCall()); in testSanity() 101 assertEquals(mPhone, CallManager.getInstance().getRingingPhone()); in testSanity() 102 assertEquals(mPhone, CallManager.getInstance().getBgPhone()); in testSanity() 103 assertEquals(mPhone, CallManager.getInstance().getFgPhone()); in testSanity() 109 CallManager.getInstance().dial(mPhone, in testBasicDial() [all …]
|
D | SimulatedCommands.java | 211 SimulatedCommandsVerifier.getInstance().getIccCardStatus(result); in getIccCardStatus() 225 SimulatedCommandsVerifier.getInstance().getIccSlotsStatus(result); in getIccSlotsStatus() 540 SimulatedCommandsVerifier.getInstance().getCurrentCalls(result); in getCurrentCalls() 570 SimulatedCommandsVerifier.getInstance().getDataCallList(result); in getDataCallList() 591 SimulatedCommandsVerifier.getInstance().dial(address, isEmergencyCall, in dial() 613 SimulatedCommandsVerifier.getInstance().dial(address, isEmergencyCall, in dial() 649 SimulatedCommandsVerifier.getInstance().getIMEI(result); in getIMEI() 666 SimulatedCommandsVerifier.getInstance().getIMEISV(result); in getIMEISV() 833 SimulatedCommandsVerifier.getInstance().acceptCall(result); in acceptCall() 1109 SimulatedCommandsVerifier.getInstance().sendBurstDtmf(dtmfString, on, off, result); in sendBurstDtmf() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | PorterDuffUtility.java | 64 return AlphaComposite.getInstance(AlphaComposite.CLEAR, alpha1); in getComposite() 66 return AlphaComposite.getInstance(AlphaComposite.SRC, alpha1); in getComposite() 68 return AlphaComposite.getInstance(AlphaComposite.DST, alpha1); in getComposite() 70 return AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha1); in getComposite() 72 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, alpha1); in getComposite() 74 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, alpha1); in getComposite() 76 return AlphaComposite.getInstance(AlphaComposite.DST_IN, alpha1); in getComposite() 78 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, alpha1); in getComposite() 80 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, alpha1); in getComposite() 82 return AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, alpha1); in getComposite() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 46 assertNull(mCache.getInstance(-1, res, null)); in testGetEmpty() 53 assertEquals(5f, mCache.getInstance(1, res, null)); in testSetGet() 54 assertNotSame(5f, mCache.getInstance(1, res, null)); in testSetGet() 55 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGet() 62 assertEquals(null, mCache.getInstance(1, res, null)); in testSetGetThemed() 63 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 64 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 72 assertEquals(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet() 73 assertNotSame(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet() 74 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet() [all …]
|
/frameworks/av/media/utils/fuzzers/ |
D | BatteryNotifierFuzz.cpp | 35 BatteryNotifier::getInstance().noteResetVideo(); in __anoneb7c61470102() 38 BatteryNotifier::getInstance().noteResetAudio(); in __anoneb7c61470202() 41 BatteryNotifier::getInstance().noteResetFlashlight(); in __anoneb7c61470302() 44 BatteryNotifier::getInstance().noteResetCamera(); in __anoneb7c61470402() 47 BatteryNotifier::getInstance().noteStartVideo(video_id); in __anoneb7c61470502() 50 BatteryNotifier::getInstance().noteStopVideo(video_id); in __anoneb7c61470602() 53 BatteryNotifier::getInstance().noteStartAudio(audio_id); in __anoneb7c61470702() 56 BatteryNotifier::getInstance().noteStopAudio(audio_id); in __anoneb7c61470802() 60 BatteryNotifier::getInstance().noteFlashlightOn(name, light_id); in __anoneb7c61470902() 64 BatteryNotifier::getInstance().noteFlashlightOff(name, light_id); in __anoneb7c61470a02() [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 | 27 return android::GraphicsEnv::getInstance().isDebuggable(); in isDebuggable_native() 34 android::GraphicsEnv::getInstance().setDriverPathAndSphalLibraries(pathChars.c_str(), in setDriverPathAndSphalLibraries_native() 44 android::GraphicsEnv::getInstance().setGpuStats(driverPackageNameChars.c_str(), in setGpuStats_native() 58 android::GraphicsEnv::getInstance().setAngleInfo(pathChars.c_str(), appNameChars.c_str(), in setAngleInfo_native() 64 return android::GraphicsEnv::getInstance().shouldUseAngle(appNameChars.c_str()); in shouldUseAngle_native() 71 android::GraphicsEnv::getInstance().setLayerPaths(appNamespace, layerPathsChars.c_str()); in setLayerPaths_native() 77 android::GraphicsEnv::getInstance().setDebugLayers(layersChars.c_str()); in setDebugLayers_native() 84 android::GraphicsEnv::getInstance().setDebugLayersGLES(layersChars.c_str()); in setDebugLayersGLES_native() 89 android::GraphicsEnv::getInstance().hintActivityLaunch(); in hintActivityLaunch_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 | 42 return getInstance().getIdInternal(locales); in getId() 47 return getInstance().getByIdInternal(id); in getById() 58 static LocaleListCache& getInstance() { in getInstance() function
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 44 : mRenderThread(RenderThread::getInstance()), mContext(nullptr) { in RenderProxy() 137 RenderThread& thread = RenderThread::getInstance(); in invokeFunctor() 151 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor() 167 auto& thread = RenderThread::getInstance(); in copyLayerInto() 192 RenderThread& thread = RenderThread::getInstance(); in trimMemory() 199 RenderThread::getInstance().queue().runSync( in overrideProperty() 208 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize() 248 auto& thread = RenderThread::getInstance(); in dumpGraphicsMemory() 254 auto& rt = RenderThread::getInstance(); in setProcessStatsBuffer() 262 auto& rt = RenderThread::getInstance(); in rotateProcessStatsBuffer() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 243 UiccSlot slot = UiccController.getInstance().getUiccSlotForPhone(i); in isAllIccIdQueryDone() 244 int slotId = UiccController.getInstance().getSlotIdFromPhoneId(i); in isAllIccIdQueryDone() 331 SubscriptionController.getInstance().notifySubscriptionInfoChanged(); in handleMessage() 342 SubscriptionController.getInstance().notifySubscriptionInfoChanged(); in handleMessage() 364 SubscriptionController.getInstance().clearSubInfoRecord(phoneId); in onMultiSimConfigChanged() 372 UiccController uiccController = UiccController.getInstance(); in getCardIdFromPhoneId() 438 SubscriptionController.getInstance().notifySubscriptionInfoChanged(); in handleSimReady() 455 UiccSlot slot = UiccController.getInstance().getUiccSlotForPhone(phoneId); in handleSimNotReady() 481 UiccSlot slot = UiccController.getInstance().getUiccSlotForPhone(phoneId); in areUiccAppsDisabledOnCard() 483 SubscriptionInfo info = SubscriptionController.getInstance() in areUiccAppsDisabledOnCard() [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/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 …]
|
D | TextKeyListener.java | 87 public static TextKeyListener getInstance(boolean autotext, in getInstance() method in TextKeyListener 102 public static TextKeyListener getInstance() { in getInstance() method in TextKeyListener 103 return getInstance(false, Capitalize.NONE); in getInstance() 196 return QwertyKeyListener.getInstance(mAutoText, mAutoCap); in getKeyListener() 198 return MultiTapKeyListener.getInstance(mAutoText, mAutoCap); in getKeyListener() 209 return NullKeyListener.getInstance(); in getKeyListener() 239 public static NullKeyListener getInstance() { in getInstance() method in TextKeyListener.NullKeyListener
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 602 return AccessibilityInteractionClient.getInstance().getWindows(mConnectionId); in getWindows() 628 return AccessibilityInteractionClient.getInstance().getRootInActiveWindow(mConnectionId); in getRootInActiveWindow() 637 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId); in disableSelf() 704 AccessibilityInteractionClient.getInstance().getConnection(mConnectionId)); in getFingerprintGestureController() 736 AccessibilityInteractionClient.getInstance().getConnection( in dispatchGesture() 923 AccessibilityInteractionClient.getInstance().getConnection( in setMagnificationCallbackEnabled() 984 AccessibilityInteractionClient.getInstance().getConnection( in getScale() 1013 AccessibilityInteractionClient.getInstance().getConnection( in getCenterX() 1042 AccessibilityInteractionClient.getInstance().getConnection( in getCenterY() 1076 AccessibilityInteractionClient.getInstance().getConnection( in getMagnificationRegion() [all …]
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.cpp | 42 StatsdStats::getInstance().notePull(mTagId); in Pull() 48 StatsdStats::getInstance().notePullFromCache(mTagId); in Pull() 54 StatsdStats::getInstance().updateMinPullIntervalSec( in Pull() 64 StatsdStats::getInstance().notePullTime(mTagId, pullDurationNs); in Pull() 71 StatsdStats::getInstance().notePullTimeout(mTagId); in Pull()
|
/frameworks/minikin/include/minikin/ |
D | SystemFonts.h | 33 return getInstance().findFontCollectionInternal(familyName); in findFontCollection() 39 return getInstance().registerFallbackInternal(familyName, fc); in registerFallback() 44 return getInstance().registerDefaultInternal(fc); in registerDefault() 63 static SystemFonts& getInstance();
|
/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/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 63 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in decrypt() 76 Cipher cipher = Cipher.getInstance( in encrypt() 126 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlobV1() 140 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in decryptBlob() 158 KeyGenerator keyGenerator = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES); in createBlob() 161 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createBlob() 191 keyStore = KeyStore.getInstance("AndroidKeyStore"); in destroyBlobKey() 203 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in personalisedHash()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | CryptoHelper.java | 40 /* default */ synchronized static CryptoHelper getInstance() throws NoSuchAlgorithmException { in getInstance() method in CryptoHelper 48 KeyGenerator kgen = KeyGenerator.getInstance(KEY_ALGORITHM); in CryptoHelper() 51 kgen = KeyGenerator.getInstance(MAC_ALGORITHM); in CryptoHelper() 63 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encryptBundle() 89 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptBundle() 116 Mac mac = Mac.getInstance(MAC_ALGORITHM); in createMac()
|
/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 | 67 Loader& Loader::getInstance() { in getInstance() function in android::Loader 195 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in should_unload_system_driver() 202 ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in should_unload_system_driver() 266 if (android::GraphicsEnv::getInstance().shouldUseAngle()) { in open() 314 android::GraphicsEnv::getInstance().setDriverLoaded(android::GraphicsEnv::Api::API_GL, in open() 333 android::GraphicsEnv::getInstance().setDriverLoaded(android::GraphicsEnv::Api::API_GL, in open() 343 android::GraphicsEnv::getInstance().setDriverLoaded(android::GraphicsEnv::Api::API_GL, true, in open() 552 if ((cnx->shouldUseAngle) || android::GraphicsEnv::getInstance().shouldUseAngle()) { in load_angle() 561 android::GraphicsEnv::getInstance().getAngleAppName().c_str()); in load_angle() 604 android::GraphicsEnv::getInstance().getAngleAppName().c_str()); in load_angle() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 73 Mac mac = Mac.getInstance("HMAC-SHA1"); in testString1Authenticate_Success() 84 Mac mac = Mac.getInstance("HMAC-SHA1"); in testString1Authenticate_WrongTag_Failure() 95 Mac mac = Mac.getInstance("HMAC-SHA1"); in testString1Authenticate_NullTag_Failure() 106 Mac mac = Mac.getInstance("HMAC-SHA1"); in testString1Authenticate_ReadSingleByte_Success()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | MediaDevice.java | 54 ConnectionRecordManager.getInstance().fetchLastSelectedDevice(mContext); in initDeviceRecord() 55 mConnectedRecord = ConnectionRecordManager.getInstance().fetchConnectionRecord(mContext, in initDeviceRecord() 95 ConnectionRecordManager.getInstance().setConnectionRecord(mContext, getId(), in setConnectedRecord() 155 String lastSelectedDevice = ConnectionRecordManager.getInstance().getLastSelectedDevice(); in compareTo()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | RelativeDateTimeFormatterTest.java | 59 Calendar cal = Calendar.getInstance(tz, en_US); in test_getRelativeTimeSpanStringCTS() 115 Calendar cal = Calendar.getInstance(tz, en_US); in test_getRelativeTimeSpanString_helper() 395 Calendar cal = Calendar.getInstance(tz, de_DE); in test_getRelativeTimeSpanStringGerman() 424 Calendar cal = Calendar.getInstance(tz, fr_FR); in test_getRelativeTimeSpanStringFrench() 466 Calendar cal = Calendar.getInstance(tz, en_US); in test_getRelativeDateTimeString() 511 Calendar cal = Calendar.getInstance(tz, en_US); in test_getRelativeDateTimeStringDST() 556 Calendar cal = Calendar.getInstance(tz, it_IT); in test_getRelativeDateTimeStringItalian() 588 Calendar nowCalendar = Calendar.getInstance(tz, en_US); in test5252772() 593 Calendar yesterdayCalendar1 = Calendar.getInstance(tz, en_US); in test5252772() 601 Calendar yesterdayCalendar2 = Calendar.getInstance(tz, en_US); in test5252772() [all …]
|