/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/ |
H A D | ClientsDatabase.java | 182 public void store(String accountGUID, String command, String args) throws NullCursorException { in store() argument 191 cv.put(COL_ACCOUNT_GUID, accountGUID); in store() 199 Cursor cur = this.fetchSpecificCommand(accountGUID, command, args); in store() 213 …public Cursor fetchClientsCursor(String accountGUID, String profileId) throws NullCursorException { in fetchClientsCursor() argument 214 String[] args = new String[] { accountGUID, profileId }; in fetchClientsCursor() 220 …public Cursor fetchSpecificCommand(String accountGUID, String command, String commandArgs) throws … in fetchSpecificCommand() argument 221 String[] args = new String[] { accountGUID, command, commandArgs }; in fetchSpecificCommand() 227 public Cursor fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument 228 String[] args = new String[] { accountGUID }; in fetchCommandsForClient() 246 public void deleteClient(String accountGUID, String profileId) { in deleteClient() argument [all …]
|
H A D | ClientsDatabaseAccessor.java | 47 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 48 db.store(accountGUID, command.commandType, command.args.toJSONString()); in store() 51 public ClientRecord fetchClient(String accountGUID) throws NullCursorException { in fetchClient() argument 52 final Cursor cur = db.fetchClientsCursor(accountGUID, getProfileId()); in fetchClient() 101 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument 103 final Cursor cur = db.fetchCommandsForClient(accountGUID); in fetchCommandsForClient() 121 final String accountGUID = RepoUtils.getStringFromCursor(cur, ClientsDatabase.COL_ACCOUNT_GUID); in recordFromCursor() local 125 final ClientRecord record = new ClientRecord(accountGUID); in recordFromCursor()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/db/ |
H A D | TestClientsDatabase.java | 59 String accountGUID = Utils.generateGuid(); in testStoreAndFetchSpecificCommands() local 68 db.store(accountGUID, "displayURI", jsonArgs); in testStoreAndFetchSpecificCommands() 72 db.store(accountGUID, "displayURI", JSONArray.toJSONString(args)); in testStoreAndFetchSpecificCommands() 75 cur = db.fetchSpecificCommand(accountGUID, "displayURI", jsonArgs); in testStoreAndFetchSpecificCommands() 83 assertEquals(accountGUID, guid); in testStoreAndFetchSpecificCommands() 96 String accountGUID = Utils.generateGuid(); in testFetchCommandsForClient() local 105 db.store(accountGUID, "displayURI", jsonArgs); in testFetchCommandsForClient() 109 db.store(accountGUID, "displayURI", JSONArray.toJSONString(args)); in testFetchCommandsForClient() 112 cur = db.fetchCommandsForClient(accountGUID); in testFetchCommandsForClient()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/ |
H A D | ClientsDatabase.java | 201 …public void store(String accountGUID, String command, String args, String flowID) throws NullCurso… in store() argument 210 cv.put(COL_ACCOUNT_GUID, accountGUID); in store() 221 Cursor cur = this.fetchSpecificCommand(accountGUID, command, args); in store() 235 …public Cursor fetchClientsCursor(String accountGUID, String profileId) throws NullCursorException { in fetchClientsCursor() argument 236 String[] args = new String[] { accountGUID, profileId }; in fetchClientsCursor() 244 …public Cursor fetchSpecificCommand(String accountGUID, String command, String commandArgs) throws … in fetchSpecificCommand() argument 245 String[] args = new String[] { accountGUID, command, commandArgs }; in fetchSpecificCommand() 251 public Cursor fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument 252 String[] args = new String[] { accountGUID }; in fetchCommandsForClient() 278 public void deleteClient(String accountGUID, String profileId) { in deleteClient() argument [all …]
|
H A D | ClientsDatabaseAccessor.java | 52 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 53 db.store(accountGUID, command.commandType, command.args.toJSONString(), command.flowID); in store() 56 public ClientRecord fetchClient(String accountGUID) throws NullCursorException { in fetchClient() argument 57 final Cursor cur = db.fetchClientsCursor(accountGUID, getProfileId()); in fetchClient() 158 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument 160 final Cursor cur = db.fetchCommandsForClient(accountGUID); in fetchCommandsForClient() 178 final String accountGUID = RepoUtils.getStringFromCursor(cur, ClientsDatabase.COL_ACCOUNT_GUID); in recordFromCursor() local 182 final ClientRecord record = new ClientRecord(accountGUID); in recordFromCursor()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/androidTest/java/org/mozilla/gecko/background/testhelpers/ |
H A D | MockClientsDataDelegate.java | 10 private String accountGUID; field in MockClientsDataDelegate 17 if (accountGUID == null) { in getAccountGUID() 18 accountGUID = Utils.generateGuid(); in getAccountGUID() 20 return accountGUID; in getAccountGUID()
|
H A D | MockClientsDatabaseAccessor.java | 34 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 49 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/test/java/org/mozilla/gecko/background/testhelpers/ |
H A D | MockClientsDataDelegate.java | 10 private String accountGUID; field in MockClientsDataDelegate 17 if (accountGUID == null) { in getAccountGUID() 18 accountGUID = Utils.generateGuid(); in getAccountGUID() 20 return accountGUID; in getAccountGUID()
|
H A D | MockClientsDatabaseAccessor.java | 34 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 49 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit3/src/org/mozilla/gecko/background/testhelpers/ |
H A D | MockClientsDataDelegate.java | 10 private String accountGUID; field in MockClientsDataDelegate 17 if (accountGUID == null) { in getAccountGUID() 18 accountGUID = Utils.generateGuid(); in getAccountGUID() 20 return accountGUID; in getAccountGUID()
|
H A D | MockClientsDatabaseAccessor.java | 34 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 49 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit4/src/org/mozilla/gecko/background/testhelpers/ |
H A D | MockClientsDataDelegate.java | 10 private String accountGUID; field in MockClientsDataDelegate 17 if (accountGUID == null) { in getAccountGUID() 18 accountGUID = Utils.generateGuid(); in getAccountGUID() 20 return accountGUID; in getAccountGUID()
|
H A D | MockClientsDatabaseAccessor.java | 34 public void store(String accountGUID, Command command) throws NullCursorException { in store() argument 49 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException { in fetchCommandsForClient() argument
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/test/java/org/mozilla/gecko/background/db/ |
H A D | TestClientsDatabase.java | 76 String accountGUID = Utils.generateGuid(); in testStoreAndFetchSpecificCommands() local 85 db.store(accountGUID, "displayURI", jsonArgs, "flowID"); in testStoreAndFetchSpecificCommands() 89 db.store(accountGUID, "displayURI", JSONArray.toJSONString(args), "flowID"); in testStoreAndFetchSpecificCommands() 92 cur = db.fetchSpecificCommand(accountGUID, "displayURI", jsonArgs); in testStoreAndFetchSpecificCommands() 100 Assert.assertEquals(accountGUID, guid); in testStoreAndFetchSpecificCommands() 114 String accountGUID = Utils.generateGuid(); in testFetchCommandsForClient() local 123 db.store(accountGUID, "displayURI", jsonArgs, "flowID"); in testFetchCommandsForClient() 127 db.store(accountGUID, "displayURI", JSONArray.toJSONString(args), "flowID"); in testFetchCommandsForClient() 130 cur = db.fetchCommandsForClient(accountGUID); in testFetchCommandsForClient()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/services/src/main/java/org/mozilla/gecko/sync/ |
H A D | SharedPreferencesClientsDataDelegate.java | 36 String accountGUID = sharedPreferences.getString(SyncConfiguration.PREF_ACCOUNT_GUID, null); in getAccountGUID() local 37 if (accountGUID == null) { in getAccountGUID() 38 accountGUID = Utils.generateGuid(); in getAccountGUID() 39 sharedPreferences.edit().putString(SyncConfiguration.PREF_ACCOUNT_GUID, accountGUID).commit(); in getAccountGUID() 41 return accountGUID; in getAccountGUID()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/main/java/org/mozilla/gecko/sync/ |
H A D | SharedPreferencesClientsDataDelegate.java | 35 String accountGUID = sharedPreferences.getString(SyncConfiguration.PREF_ACCOUNT_GUID, null); in getAccountGUID() local 36 if (accountGUID == null) { in getAccountGUID() 37 accountGUID = Utils.generateGuid(); in getAccountGUID() 38 sharedPreferences.edit().putString(SyncConfiguration.PREF_ACCOUNT_GUID, accountGUID).commit(); in getAccountGUID() 40 return accountGUID; in getAccountGUID()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/overlays/service/sharemethods/ |
H A D | SendTab.java | 90 final String accountGUID = tabSender.getAccountGUID(); in handle() local 91 Log.d(LOGTAG, "Retrieved local account GUID '" + accountGUID + "'."); in handle() 93 if (accountGUID == null) { in handle() 105 …or.sendURIToClientForDisplay(shareData.url, targetGUIDs[i], shareData.title, accountGUID, context); in handle()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/overlays/service/sharemethods/ |
H A D | SendTab.java | 90 final String accountGUID = tabSender.getAccountGUID(); in handle() local 91 Log.d(LOGTAG, "Retrieved local account GUID '" + accountGUID + "'."); in handle() 93 if (accountGUID == null) { in handle() 105 …or.sendURIToClientForDisplay(shareData.url, targetGUIDs[i], shareData.title, accountGUID, context); in handle()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/services/src/test/java/org/mozilla/android/sync/net/test/ |
H A D | TestClientsEngineStage.java | 753 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException {
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/background/junit4/src/org/mozilla/android/sync/net/test/ |
H A D | TestClientsEngineStage.java | 749 public List<Command> fetchCommandsForClient(String accountGUID) throws NullCursorException {
|