/development/tools/axl/ |
D | singletonmixin.py | 63 def getInstance(cls, *lstArgs): member in Singleton 79 getInstance = classmethod(getInstance) variable in Singleton 122 a1 = A.getInstance() 123 a2 = A.getInstance() 139 b1 = B.getInstance('arg1 value', 'arg2 value') 140 b2 = B.getInstance() 155 self.assertRaises(SingletonException, B.getInstance) 192 b1 = B.getInstance('arg1 value', 'arg2 value') 205 a = A.getInstance() 208 b = B.getInstance() [all …]
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/mock/ |
D | MockDatabase.java | 15 return BigTextStyleReminderAppData.getInstance(); in getBigTextStyleData() 19 return BigPictureStyleSocialAppData.getInstance(); in getBigPictureStyleData() 23 return InboxStyleEmailAppData.getInstance(); in getInboxStyleData() 27 return MessagingStyleCommsAppData.getInstance(); in getMessagingStyleData() 47 public static BigTextStyleReminderAppData getInstance() { in getInstance() method in MockDatabase.BigTextStyleReminderAppData 122 public static BigPictureStyleSocialAppData getInstance() { in getInstance() method in MockDatabase.BigPictureStyleSocialAppData 207 public static InboxStyleEmailAppData getInstance() { in getInstance() method in MockDatabase.InboxStyleEmailAppData 305 public static MessagingStyleCommsAppData getInstance() { in getInstance() method in MockDatabase.MessagingStyleCommsAppData
|
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/mock/ |
D | MockDatabase.java | 15 return BigTextStyleReminderAppData.getInstance(); in getBigTextStyleData() 19 return BigPictureStyleSocialAppData.getInstance(); in getBigPictureStyleData() 23 return InboxStyleEmailAppData.getInstance(); in getInboxStyleData() 27 return MessagingStyleCommsAppData.getInstance(); in getMessagingStyleData() 47 public static BigTextStyleReminderAppData getInstance() { in getInstance() method in MockDatabase.BigTextStyleReminderAppData 122 public static BigPictureStyleSocialAppData getInstance() { in getInstance() method in MockDatabase.BigPictureStyleSocialAppData 207 public static InboxStyleEmailAppData getInstance() { in getInstance() method in MockDatabase.InboxStyleEmailAppData 305 public static MessagingStyleCommsAppData getInstance() { in getInstance() method in MockDatabase.MessagingStyleCommsAppData
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
D | Link.java | 50 t2.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate() 65 t3.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate() 82 t4.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate()
|
D | LogTextBox.java | 52 return ScrollingMovementMethod.getInstance(); in getDefaultMovementMethod()
|
/development/samples/browseable/TextLinkify/src/com.example.android.textlinkify/ |
D | MainActivity.java | 81 textViewResource.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate() 99 textViewHtml.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate() 134 textViewSpan.setMovementMethod(LinkMovementMethod.getInstance()); in onCreate()
|
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/ |
D | FingerprintModule.java | 73 return KeyStore.getInstance("AndroidKeyStore"); in providesKeystore() 82 return KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC, "AndroidKeyStore"); in providesKeyPairGenerator() 91 return Signature.getInstance("SHA256withECDSA"); in providesSignature()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | SecretKeyWrapper.java | 55 mCipher = Cipher.getInstance("RSA/ECB/PKCS1Padding"); in SecretKeyWrapper() 57 final KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in SecretKeyWrapper() 85 final KeyPairGenerator gen = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in generateKeyPair()
|
/development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/ |
D | MainActivity.java | 100 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tryEncrypt() 103 Cipher cipher = Cipher.getInstance( in tryEncrypt() 141 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createKey() 143 KeyGenerator keyGenerator = KeyGenerator.getInstance( in createKey()
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
D | SecureWebServer.java | 60 SSLContext sslContext = SSLContext.getInstance("TLS"); in SecureWebServer() 64 .getInstance(KeyManagerFactory.getDefaultAlgorithm()); in SecureWebServer() 67 KeyStore ks = KeyStore.getInstance("PKCS12"); in SecureWebServer()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | DisplayActivity.java | 188 LocalBroadcastManager.getInstance(this).registerReceiver( 204 LocalBroadcastManager.getInstance(this).registerReceiver( 212 LocalBroadcastManager.getInstance(this).registerReceiver( 274 LocalBroadcastManager.getInstance(this).unregisterReceiver(mDownloadStateReceiver); 279 LocalBroadcastManager.getInstance(this).unregisterReceiver(this.mFragmentDisplayer);
|
D | BroadcastNotifier.java | 37 mBroadcaster = LocalBroadcastManager.getInstance(context); in BroadcastNotifier()
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 170 .getInstance(SecurityConstants.TYPE_RSA, in createKeys() 227 KeyStore ks = KeyStore.getInstance(SecurityConstants.KEYSTORE_PROVIDER_ANDROID_KEYSTORE); in signData() 265 Signature s = Signature.getInstance(SecurityConstants.SIGNATURE_SHA256withRSA); in signData() 312 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in verifyData() 335 Signature s = Signature.getInstance(SecurityConstants.SIGNATURE_SHA256withRSA); in verifyData()
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | MainActivity.java | 70 LocalBroadcastManager.getInstance(this).registerReceiver(mReceiver, in onResume() 78 LocalBroadcastManager.getInstance(this).unregisterReceiver(mReceiver); in onPause()
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NewsSource.java | 35 public static NewsSource getInstance() { in getInstance() method in NewsSource
|
D | ArticleActivity.java | 61 NewsArticle article = NewsSource.getInstance().getCategory(mCatIndex).getArticle(mArtIndex); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 270 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() 312 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in doInBackground() 360 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() 367 Signature s = Signature.getInstance("SHA256withECDSA"); in doInBackground() 431 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() 438 Signature s = Signature.getInstance("SHA256withECDSA"); in doInBackground() 496 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground()
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
D | WidgetPreviewActivity.java | 82 … AppWidgetManager.getInstance(getBaseContext()).bindAppWidgetIdIfAllowed(id, info.provider); in onCreate() 97 AppWidgetProviderInfo info = AppWidgetManager.getInstance( in onRetainNonConfigurationInstance() 147 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId); in setAppWidget() 171 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId); in finishSetAppWidget() 183 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId).label; in finishSetAppWidget()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | Alarm.java | 130 Calendar calendar = Calendar.getInstance(); in compareTo() 136 Calendar otherCal = Calendar.getInstance(); in compareTo()
|
D | AlarmUtil.java | 54 Calendar alarmTime = Calendar.getInstance(); in scheduleAlarm() 91 Calendar alarmTime = Calendar.getInstance(); in getNextAlarmTime()
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | ContactAccessor.java | 39 public static ContactAccessor getInstance() { in getInstance() method in ContactAccessor
|
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/ |
D | MainActivity.java | 79 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); in onCreate() 85 .getInstance(KeyProperties.KEY_ALGORITHM_AES, "AndroidKeyStore"); in onCreate() 92 defaultCipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in onCreate() 95 cipherNotInvalidated = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in onCreate()
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/ |
D | Utils.java | 26 private static StatusTracker mStatusTracker = StatusTracker.getInstance();
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleBroadcastReceiver.java | 43 AppWidgetManager gm = AppWidgetManager.getInstance(context); in onReceive()
|
/development/apps/Development/src/com/android/development/ |
D | LogTextBox.java | 60 return ScrollingMovementMethod.getInstance(); in getDefaultMovementMethod()
|