/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAccountTest.java | 5 import android.accounts.Account; 16 Account account = new Account("name", "type"); in shouldHaveStringsConstructor() 24 Account expected = new Account("name", "type"); in shouldHaveParcelConstructor() 29 Account actual = new Account(p); in shouldHaveParcelConstructor() 35 Account expected = new Account("name", "type"); in shouldBeParcelable() 39 Account actual = Account.CREATOR.createFromParcel(p); in shouldBeParcelable() 45 new Account("", "type"); in shouldThrowIfNameIsEmpty() 50 new Account("name", ""); in shouldThrowIfTypeIsEmpty() 55 Account account = new Account("name", "type"); in shouldHaveToString() 61 assertThat(new Account("a", "b")).isEqualTo(new Account("a", "b")); in shouldProvideEqualAndHashCode() [all …]
|
D | ShadowAccountManagerTest.java | 10 import android.accounts.Account; 61 Account a1 = new Account("name_a", "type_a"); in testGetAccounts() 67 Account a2 = new Account("name_b", "type_b"); in testGetAccounts() 76 shadowOf(am).addAccount(new Account("name_1", "type_1")); in getAccountsByType_nullTypeReturnsAllAccounts() 77 shadowOf(am).addAccount(new Account("name_2", "type_2")); in getAccountsByType_nullTypeReturnsAllAccounts() 78 shadowOf(am).addAccount(new Account("name_3", "type_3")); in getAccountsByType_nullTypeReturnsAllAccounts() 88 Account a1 = new Account("name_a", "type_a"); in testGetAccountsByType() 90 Account[] accounts = am.getAccountsByType("type_a"); in testGetAccountsByType() 95 Account a2 = new Account("name_b", "type_b"); in testGetAccountsByType() 102 Account a3 = new Account("name_c", "type_a"); in testGetAccountsByType() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAccountManager.java | 7 import android.accounts.Account; 41 private List<Account> accounts = new ArrayList<>(); 42 private Map<Account, Map<String, String>> authTokens = new HashMap<>(); 45 private Map<Account, Map<String, String>> userData = new HashMap<>(); 46 private Map<Account, String> passwords = new HashMap<>(); 47 private Map<Account, Set<String>> accountFeatures = new HashMap<>(); 48 private Map<Account, Set<String>> packageVisibileAccounts = new HashMap<>(); 71 protected Account[] getAccounts() { in getAccounts() 72 return accounts.toArray(new Account[accounts.size()]); in getAccounts() 76 protected Account[] getAccountsByType(String type) { in getAccountsByType() [all …]
|
D | ShadowContentResolver.java | 6 import android.accounts.Account; 74 private static final Map<String, Map<Account, Status>> syncableAccounts = new HashMap<>(); 446 protected static void requestSync(Account account, String authority, Bundle extras) { 454 protected static void cancelSync(Account account, String authority) { 469 protected static boolean isSyncActive(Account account, String authority) { 476 protected static void setIsSyncable(Account account, String authority, int syncable) { 481 protected static int getIsSyncable(Account account, String authority) { 486 protected static boolean getSyncAutomatically(Account account, String authority) { 491 protected static void setSyncAutomatically(Account account, String authority, boolean sync) { 497 Account account, String authority, Bundle extras, long pollFrequency) { [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestGenericTypes.java | 12 static class Account { class in TestGenericTypes 16 public Account(String name, Long id) { in Account() method in TestGenericTypes.Account 38 private Key<Account> account; 46 public Key<Account> getAccount() { in getAccount() 54 public void setAccount(Key<Account> account) { in setAccount() 62 private List<Key<Account>> accounts; 69 public List<Key<Account>> getAccounts() { return accounts; } in getAccounts() 72 public void setAccounts(List<Key<Account>> accounts) { in setAccounts() 115 p1.setAccount(new Key<Account>(new Account("something", 42L))); in testIssue468a() 137 List<Key<Account>> accounts = new ArrayList<Key<Account>>(); in testIssue468b() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/ |
D | PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 38 public static interface Account { interface in PropOrderInfluenceWhenAliasedInGenericCollectionTest 41 public static class GeneralAccount implements Account { 53 public Collection<Account> aAll; 64 public Collection<Account> bAll; 68 public Collection<Account> aAll; 78 public Collection<Account> aAll; 88 public Account acc; 102 ArrayList<Account> all = new ArrayList<Account>(); in testAB() 124 ArrayList<Account> all = new ArrayList<Account>(); in testAB_Set() 146 ArrayList<Account> all = new ArrayList<Account>(); in testABWithCustomTag() [all …]
|
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B20531711.input | 4 new Account[] { 5 new Account("test1", "test1"), 6 new Account("test2", "test2"), 10 new Account[] { 11 new Account("test1", "test1"), 12 new Account("test2", "test2"),
|
D | B20531711.output | 5 new Account[] { 6 new Account("test1", "test1"), new Account("test2", "test2"), 11 new Account[] { 12 new Account("test1", "test1"), new Account("test2", "test2"),
|
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ |
D | ShadowGoogleAuthUtil.java | 3 import android.accounts.Account; 65 public static synchronized String getToken(Context context, Account account, String scope) in getToken() 71 public static synchronized String getToken(Context context, Account account, String scope, in getToken() 89 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() 96 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() 104 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() 156 public String getToken(Context context, Account account, String scope) in getToken() 161 public String getToken(Context context, Account account, String scope, Bundle extras) in getToken() 168 return getToken(context, new Account(accountName, "robo"), scope); in getToken() 173 return getToken(context, new Account(accountName, "robo"), scope, extras); in getToken() [all …]
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | AndroidAuthenticator.java | 19 import android.accounts.Account; 37 private final Account mAccount; 48 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() 61 Context context, Account account, String authTokenType, boolean notifyAuthFailure) { in AndroidAuthenticator() 68 Account account, in AndroidAuthenticator() 78 public Account getAccount() { in getAccount()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/ |
D | MergeWithCreator1921Test.java | 17 static class Account { class in MergeWithCreator1921Test 22 public Account(@JsonProperty(value = "validity", required = true) Validity validity) { in Account() method in MergeWithCreator1921Test.Account 72 mapper.readValue(JSON, Account.class); in testMergeWithCreator() 80 Account acc = new Account(new Validity("abc", "def")); in testMergeWithCreator()
|
/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/ |
D | ShadowGoogleAuthUtilTest.java | 9 import android.accounts.Account; 87 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull() 89 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull() 98 new Account("name", "robo"), "scope", null)); in getToken_defaultNotNull() 100 new Account("name", "robo"), "scope", null, new Intent())); in getToken_defaultNotNull() 102 new Account("name", "robo"), "scope", null, "authority", null)); in getToken_defaultNotNull()
|
/external/dagger2/java/dagger/example/atm/ |
D | LogoutCommand.java | 19 import dagger.example.atm.Database.Account; 27 private final Account account; 30 LogoutCommand(Outputter outputter, Account account) { in LogoutCommand()
|
D | DepositCommand.java | 19 import dagger.example.atm.Database.Account; 26 private final Account account; 30 DepositCommand(Outputter outputter, Account account, WithdrawalLimiter withdrawalLimiter) { in DepositCommand()
|
D | LoginCommand.java | 19 import dagger.example.atm.Database.Account; 26 private final Optional<Account> account; 32 Optional<Account> account, in LoginCommand()
|
D | WithdrawCommand.java | 19 import dagger.example.atm.Database.Account; 26 private final Account account; 33 Account account, in WithdrawCommand()
|
D | InMemoryDatabase.java | 28 private final Map<String, Account> accounts = new HashMap<>(); 34 public Account getAccount(String username) { in getAccount() 38 private static final class InMemoryAccount implements Account {
|
D | Database.java | 23 Account getAccount(String username); in getAccount() 26 interface Account { interface
|
D | AccountModule.java | 21 import dagger.example.atm.Database.Account; 27 static Account account(Database database, @Username String username) { in account()
|
D | CommandsModule.java | 22 import dagger.example.atm.Database.Account; 44 Account loggedInAccount(); in loggedInAccount()
|
/external/llvm-project/llvm/tools/llvm-xray/ |
D | xray-account.cpp | 29 static cl::SubCommand Account("account", "Function call accounting"); variable 32 cl::Required, cl::sub(Account)); 35 cl::sub(Account), cl::init(false)); 40 cl::sub(Account), cl::init(false)); 44 cl::sub(Account), cl::init(false)); 51 cl::sub(Account)); 61 cl::sub(Account)); 79 cl::sub(Account), cl::init(SortField::FUNCID), 100 cl::sub(Account)); 105 cl::value_desc("N"), cl::sub(Account), [all …]
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | AndroidAuthenticatorTest.java | 23 import android.accounts.Account; 43 private Account mAccount; 49 mAccount = new Account("coolperson", "cooltype"); in setUp()
|
/external/one-true-awk/testdir/ |
D | test.data | 160 21guest:nfP4/Wpvio/Rw:998:998:Guest Account:/usr/people/guest:/bin/csh 161 224Dgifts:0nWRTZsOMt.:999:998:4Dgifts Account:/usr/people/4Dgifts:/bin/csh 190 21 guest nfP4/Wpvio/Rw 998 998 Guest Account /usr/people/guest /bin/csh 191 22 4Dgifts 0nWRTZsOMt. 999 998 4Dgifts Account /usr/people/4Dgifts /bin/csh
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_scope.cc | 88 std::vector<ScopeNode*> roots = Account(root_->children, opts); in ShowInternal() 196 std::vector<ScopeNode*> TFScope::Account(const std::vector<ScopeNode*>& roots, in Account() function in tensorflow::tfprof::TFScope 202 std::vector<ScopeNode*> act_cnodes = Account(node->children, opts); in Account()
|
D | tfprof_graph.cc | 90 std::vector<GraphNode*> roots = Account(root_->children, opts, &visits); in ShowInternal() 213 std::vector<GraphNode*> TFGraph::Account(const std::vector<GraphNode*>& roots, in Account() function in tensorflow::tfprof::TFGraph 221 std::vector<GraphNode*> act_cnodes = Account(node->children, opts, visits); in Account()
|