/developers/build/prebuilts/gradle/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/ |
D | MockDatabase.java | 32 return BigTextStyleReminderAppData.getInstance(); in getBigTextStyleData() 36 return BigPictureStyleSocialAppData.getInstance(); in getBigPictureStyleData() 40 return InboxStyleEmailAppData.getInstance(); in getInboxStyleData() 44 return MessagingStyleCommsAppData.getInstance(); in getMessagingStyleData() 59 public static BigTextStyleReminderAppData getInstance() { in getInstance() method in MockDatabase.BigTextStyleReminderAppData 136 public static BigPictureStyleSocialAppData getInstance() { in getInstance() method in MockDatabase.BigPictureStyleSocialAppData 221 public static InboxStyleEmailAppData getInstance() { in getInstance() method in MockDatabase.InboxStyleEmailAppData 320 public static MessagingStyleCommsAppData getInstance() { in getInstance() method in MockDatabase.MessagingStyleCommsAppData
|
/developers/build/prebuilts/gradle/TextLinkify/Application/src/main/java/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()
|
/developers/samples/android/views/TextLinkify/Application/src/main/java/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()
|
/developers/samples/android/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/ |
D | MockDatabase.java | 37 return BigTextStyleReminderAppData.getInstance(); in getBigTextStyleData() 41 return BigPictureStyleSocialAppData.getInstance(); in getBigPictureStyleData() 45 return InboxStyleEmailAppData.getInstance(); in getInboxStyleData() 49 return MessagingStyleCommsAppData.getInstance(context); in getMessagingStyleData() 62 public static BigTextStyleReminderAppData getInstance() { in getInstance() method in MockDatabase.BigTextStyleReminderAppData 137 public static BigPictureStyleSocialAppData getInstance() { in getInstance() method in MockDatabase.BigPictureStyleSocialAppData 220 public static InboxStyleEmailAppData getInstance() { in getInstance() method in MockDatabase.InboxStyleEmailAppData 316 public static MessagingStyleCommsAppData getInstance(Context context) { in getInstance() method in MockDatabase.MessagingStyleCommsAppData
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/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()
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/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()
|
/developers/build/prebuilts/gradle/ConfirmCredential/Application/src/main/java/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()
|
/developers/samples/android/security/ConfirmCredential/Application/src/main/java/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()
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
D | CreditCardExpirationDateView.kt | 39 private val startYear = Calendar.getInstance().get(Calendar.YEAR) 74 AutofillValue.forDate(Calendar.getInstance().apply { in getAutofillValue() 89 val calendar = Calendar.getInstance().apply { in autofill()
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
D | CreditCardExpirationDateView.kt | 39 private val startYear = Calendar.getInstance().get(Calendar.YEAR) 74 AutofillValue.forDate(Calendar.getInstance().apply { in getAutofillValue() 89 val calendar = Calendar.getInstance().apply { in autofill()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | AuthActivity.java | 103 DefaultFieldTypesLocalJsonSource.getInstance(getResources(), in onCreate() 105 AutofillDao autofillDao = AutofillDatabase.getInstance(this, in onCreate() 107 mLocalAutofillDataSource = LocalAutofillDataSource.getInstance(sharedPreferences, in onCreate() 109 mDalRepository = DigitalAssetLinksRepository.getInstance(getPackageManager()); in onCreate() 112 mPreferences = MyPreferences.getInstance(this); in onCreate() 122 String correctPassword = MyPreferences.getInstance(AuthActivity.this).getMasterPassword(); in login()
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | AuthActivity.java | 103 DefaultFieldTypesLocalJsonSource.getInstance(getResources(), in onCreate() 105 AutofillDao autofillDao = AutofillDatabase.getInstance(this, in onCreate() 107 mLocalAutofillDataSource = LocalAutofillDataSource.getInstance(sharedPreferences, in onCreate() 109 mDalRepository = DigitalAssetLinksRepository.getInstance(getPackageManager()); in onCreate() 112 mPreferences = MyPreferences.getInstance(this); in onCreate() 122 String correctPassword = MyPreferences.getInstance(AuthActivity.this).getMasterPassword(); in login()
|
D | MyAutofillService.java | 85 mPreferences = MyPreferences.getInstance(this); in onCreate() 90 DefaultFieldTypesLocalJsonSource.getInstance(getResources(), in onCreate() 92 AutofillDao autofillDao = AutofillDatabase.getInstance(this, in onCreate() 94 mLocalAutofillDataSource = LocalAutofillDataSource.getInstance(localAfDataSourceSharedPrefs, in onCreate() 96 mDalRepository = DigitalAssetLinksRepository.getInstance(getPackageManager()); in onCreate() 97 mPackageVerificationRepository = SharedPrefsPackageVerificationRepository.getInstance(this); in onCreate()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/ |
D | SecurityHelper.java | 52 CertificateFactory factory = CertificateFactory.getInstance("X509"); in getFingerprint() 54 MessageDigest md = MessageDigest.getInstance("SHA256"); in getFingerprint()
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/ |
D | SecurityHelper.java | 52 CertificateFactory factory = CertificateFactory.getInstance("X509"); in getFingerprint() 54 MessageDigest md = MessageDigest.getInstance("SHA256"); in getFingerprint()
|
/developers/samples/android/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
D | MainActivity.java | 70 LocalBroadcastManager.getInstance(this).registerReceiver(mReceiver, in onResume() 78 LocalBroadcastManager.getInstance(this).unregisterReceiver(mReceiver); in onPause()
|
/developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
D | MainActivity.java | 70 LocalBroadcastManager.getInstance(this).registerReceiver(mReceiver, in onResume() 78 LocalBroadcastManager.getInstance(this).unregisterReceiver(mReceiver); in onPause()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/main/ |
D | MainViewModel.kt | 25 repository: ChatRepository = DefaultChatRepository.getInstance(application)
|
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/src/main/java/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()
|
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/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()
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
D | CreditCardExpirationDateCompoundView.java | 76 int year = Calendar.getInstance().get(Calendar.YEAR); in CreditCardExpirationDateCompoundView() 100 Calendar calendar = Calendar.getInstance(); in getAutofillValue() 118 Calendar calendar = Calendar.getInstance(); in autofill()
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
D | CreditCardExpirationDateCompoundView.java | 76 int year = Calendar.getInstance().get(Calendar.YEAR); in CreditCardExpirationDateCompoundView() 100 Calendar calendar = Calendar.getInstance(); in getAutofillValue() 118 Calendar calendar = Calendar.getInstance(); in autofill()
|
/developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ |
D | MockDatabase.java | 28 return MessagingStyleCommsAppData.getInstance(); in getMessagingStyleData() 58 public static MessagingStyleCommsAppData getInstance() { in getInstance() method in MockDatabase.MessagingStyleCommsAppData
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
D | PackageVerifier.kt | 54 val factory = CertificateFactory.getInstance("X509") in <lambda>() 56 val md = MessageDigest.getInstance("SHA256") in <lambda>()
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
D | PackageVerifier.kt | 54 val factory = CertificateFactory.getInstance("X509") in <lambda>() 56 val md = MessageDigest.getInstance("SHA256") in <lambda>()
|