/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | migrate.rs | 113 fn try_into_penc(self) -> Result<String, &'static str> { in try_into_penc() 139 fn try_into_lenc(self) -> Result<String, &'static str> { in try_into_lenc() 194 fn apply_action(&mut self, value: String) -> Result<String, DeviceKeyError> { in apply_action() 196 fn apply_conversion(conv: &Converter, value: String) -> Result<String, DeviceKeyError> { in apply_action() 228 fn hex_str_to_dec_str(str: String) -> Result<String, String> { in hex_str_to_dec_str() argument 235 fn dec_str_to_hex_str(str: String) -> Result<String, String> { in dec_str_to_hex_str() argument 242 fn base64_str_to_hex_str(str: String) -> Result<String, String> { in base64_str_to_hex_str() argument 252 fn hex_str_to_base64_str(str: String) -> Result<String, String> { in hex_str_to_base64_str() argument 268 fn bluez_to_floss_type(str: String) -> Result<String, String> { in bluez_to_floss_type() argument 277 fn floss_to_bluez_type(str: String) -> Result<String, String> { in floss_to_bluez_type() argument [all …]
|
D | config_util.rs | 78 fn is_hci_n_enabled_internal(config: String, hci: VirtualHciIndex) -> Option<bool> { in is_hci_n_enabled_internal() 110 config: String, in modify_hci_n_enabled_internal() 113 ) -> Option<String> { in modify_hci_n_enabled_internal() 172 pub fn get_devpath_for_hci(hci: RealHciIndex) -> Option<String> { in get_devpath_for_hci() 183 pub fn list_pid_files(pid_dir: &str) -> Vec<String> { in list_pid_files() 287 fn is_hci_n_enabled_internal_wrapper(config: String, n: i32) -> bool { in is_hci_n_enabled_internal_wrapper()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/ |
D | DatabaseTestUtils.java | 208 HashMap<String, TableInfo> mTableListPreviousVersion, in checkExistingTableDeletion() 225 HashMap<String, TableInfo> mTableListPreviousVersion, in checkPrimaryKeyModification() 266 HashMap<String, TableInfo> mTableListPreviousVersion, in checkColumnModification() 343 HashMap<String, TableInfo> mTableListPreviousVersion, in checkForeignKeyModification() 416 HashMap<String, TableInfo> mTableListPreviousVersion, in checkIndexModification() 456 HashMap<String, TableInfo> mTableListPreviousVersion, in checkNewTableAddition()
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/common/ |
D | ProcessUtil.java | 50 public static List<SMapEntry> getProcessSmaps(int pid, Function<String, String> shellExecutor) in getProcessSmaps() 58 int pid, Function<String, String> shellExecutor) throws IOException { in getProcessSmapsRollup() 73 Function<String, String> shellExecutor) throws IOException { in getProcessMemoryMap() 87 public static Map<Integer, String> getProcessMap(Function<String, String> shellExecutor) in getProcessMap() 107 int pid, String cmdlineFilter, Function<String, String> shellExecutor) { in getChildProcesses() 116 int parentPid, String cmdlineFilter, Function<String, String> shellExecutor) { in getSingleChildProcess() 126 public static int getVirtmgrPid(int parentPid, Function<String, String> shellExecutor) { in getVirtmgrPid() 130 public static int getCrosvmPid(int parentPid, Function<String, String> shellExecutor) { in getCrosvmPid()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | TimeZonePickerScreenPreferenceController.java | 92 void setZonesList(List<Map<String, Object>> zones) { in setZonesList() 101 private Preference createTimeZonePreference(Map<String, Object> timeZone) { in createTimeZonePreference() 131 public int compare(Map<String, Object> map1, Map<String, Object> map2) { in compare() 142 private int compareWithKey(Map<String, Object> map1, Map<String, Object> map2, in compareWithKey()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | CategoryManager.java | 190 Map<Pair<String, String>, Tile> tileByComponentCache, in backwardCompatCleanupForCategory() argument 191 Map<String, DashboardCategory> categoryByKeyMap) { in backwardCompatCleanupForCategory() 247 Map<Pair<String, String>, Tile> tileByComponentCache, in mergeSecurityPrivacyKeys() argument 248 Map<String, DashboardCategory> categoryByKeyMap) { in mergeSecurityPrivacyKeys() 278 Map<String, DashboardCategory> categoryByKeyMap) { in sortCategories() 289 synchronized void filterDuplicateTiles(Map<String, DashboardCategory> categoryByKeyMap) { in filterDuplicateTiles()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | ScenarioLoader.java | 54 static Scenario load(String scenarioPath, Map<String, String> substitutionVariables) in load() 69 private static Scenario parseScenario(JSONObject json, Map<String, String> variables) in parseScenario() 83 JSONObject mock, Map<String, String> variables) throws JSONException { in parseMock() 109 private static Scenario.Request parseRequest(JSONObject json, Map<String, String> variables) { in parseRequest() 131 JSONObject json, Map<String, String> variables) { in parseResponse() 167 private static ImmutableMap<String, String> parseSubstitutions( in parseSubstitutions() 228 private static String getStringWithSubstitutions(String string, Map<String, String> variables) { in getStringWithSubstitutions() 237 String fileName, Map<String, String> variables) { in loadTextResourceWithSubstitutions()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 124 public int calculateAidRouteSize(HashMap<String, AidEntry> routeCache) { in calculateAidRouteSize() 205 private boolean isAidEntryUpdated(HashMap<String, Integer> currRouteForAid, in isAidEntryUpdated() 206 Map.Entry<String, Integer> aidEntry, in isAidEntryUpdated() 221 private boolean checkUnrouteAid(HashMap<String, Integer> prevRouteForAid, in checkUnrouteAid() 237 private boolean checkRouteAid(HashMap<String, Integer> prevRouteForAid, in checkRouteAid() 249 public boolean configureRouting(HashMap<String, AidEntry> aidMap, boolean force) { in configureRouting() 487 private void commit(HashMap<String, AidEntry> routeCache ) { in commit()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | DomainMatcherTest.java | 65 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("test.com", "abc.test.com"), true); in TEST_ARG_DOMAIN_MAP.put() 66 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("test.com", "ad.abc.test.com"), true); in TEST_ARG_DOMAIN_MAP.put() 67 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("com", "test.com"), true); in TEST_ARG_DOMAIN_MAP.put() 68 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("abc.test.com", "test.com"), false); in TEST_ARG_DOMAIN_MAP.put() 69 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("test1.com", "test.com"), false); in TEST_ARG_DOMAIN_MAP.put() 70 TEST_ARG_DOMAIN_MAP.put(new Pair<String, String>("test.com", "com"), false); in TEST_ARG_DOMAIN_MAP.put()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/ |
D | ProtectedSignalsArgumentUtil.java | 48 String name, Map<String, List<ProtectedSignal>> rawSignals) throws JSONException { in asScriptArgument() 53 static String marshalToJson(Map<String, List<ProtectedSignal>> rawSignals) { in marshalToJson() 77 static String serializeEntryToJson(Map.Entry<String, List<ProtectedSignal>> entry) { in serializeEntryToJson() 126 Map<String, List<ProtectedSignal>> rawSignals, int maxSizeInBytes) in getArgumentsFromRawSignalsAndMaxSize()
|
/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | IoOveruseConfiguration.java | 100 @NonNull Map<String,PerStateBytes> packageSpecificThresholds, in IoOveruseConfiguration() 297 @NonNull Map<String,PerStateBytes> packageSpecificThresholds, in Builder() 340 … public @NonNull Builder setPackageSpecificThresholds(@NonNull Map<String,PerStateBytes> value) { in setPackageSpecificThresholds() 370 …ublic @NonNull Builder setAppCategorySpecificThresholds(@NonNull Map<String,PerStateBytes> value) { in setAppCategorySpecificThresholds()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowTileUtils.java | 44 Map<String, IContentProvider> providerMap, String key) { in getTextFromUri() 50 Uri uri, Map<String, IContentProvider> providerMap) { in getIconFromUri() 57 Map<String, IContentProvider> providerMap, String key) { in getBooleanFromUri() 63 Map<String, IContentProvider> providerMap, String key, boolean value) { in putBooleanToUriAndGetResult()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchSpecToProtoConverter.java | 125 @NonNull Map<String, Set<String>> namespaceMap, in SearchSpecToProtoConverter() 414 public ResultSpecProto toResultSpecProto( in toResultSpecProto() 611 @NonNull Set<String> prefixes, @NonNull Map<String, Set<String>> namespaceMap) { in getNamespaceToPrefixedNamespaces() 648 @NonNull Set<String> prefixes, @NonNull Map<String, Set<String>> namespaceMap) { in getPackageAndNamespaceToPrefixedNamespaces() 767 @NonNull Map<String, Set<String>> namespaceMap, in addPerPackagePerNamespaceResultGroupings() 832 @NonNull Map<String, Set<String>> namespaceMap, in addPerPackagePerNamespacePerSchemaResultGrouping() 880 @NonNull Map<String, Set<String>> namespaceMap, in addPerPackageResultGroupings() 925 @NonNull Map<String, Set<String>> namespaceMap, in addPerNamespaceResultGroupings() 990 @NonNull Map<String, Set<String>> namespaceMap, in addPerNamespaceAndSchemaResultGrouping() 1048 private void addTypePropertyWeights( in addTypePropertyWeights() [all …]
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/ |
D | ProtoUtil.java | 134 ArrayMap<Integer, List<ArrayMap<String, String>>> services) { in encodeServiceAllowlist() 152 public static String encodeServiceAllowlist(List<ArrayMap<String, String>> services) { in encodeServiceAllowlist() 157 private static AllowedServices encodeAllowedServices(List<ArrayMap<String, String>> services) { in encodeAllowedServices() 166 private static AllowedService getAllowedService(ArrayMap<String, String> service) { in getAllowedService()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_qa.rs | 16 fn add_media_player(&self, name: String, browsing_supported: bool); in add_media_player() 33 fn get_modalias(&self) -> String; in get_modalias() 39 fn set_hid_report(&self, addr: RawAddress, report_type: BthhReportType, report: String); in set_hid_report() 42 fn send_hid_data(&self, addr: RawAddress, data: String); in send_hid_data() 49 fn on_fetch_alias_completed(&mut self, alias: String); in on_fetch_alias_completed() 82 pub fn on_fetch_alias_completed(&mut self, alias: String) { in on_fetch_alias_completed() 112 fn add_media_player(&self, name: String, browsing_supported: bool) { in add_media_player() 148 fn get_modalias(&self) -> String { in get_modalias() 157 fn set_hid_report(&self, addr: RawAddress, report_type: BthhReportType, report: String) { in set_hid_report() 163 fn send_hid_data(&self, addr: RawAddress, data: String) { in send_hid_data()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_qa.rs | 27 fn add_media_player(&self, name: String, browsing_supported: bool) { in add_media_player() 51 fn get_modalias(&self) -> String { in get_modalias() 59 fn set_hid_report(&self, addr: RawAddress, report_type: BthhReportType, report: String) { in set_hid_report() 63 fn send_hid_data(&self, addr: RawAddress, data: String) { in send_hid_data() 83 fn on_fetch_alias_completed(&mut self, alias: String) { in on_fetch_alias_completed()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | SetSchemaRequest.java | 183 @NonNull Map<String, Set<PackageIdentifier>> schemasVisibleToPackages, in SetSchemaRequest() 676 public Builder setMigrators(@NonNull Map<String, Migrator> migrators) { in setMigrators() 810 private static ArrayMap<String, Set<Set<Integer>>> deepCopy( in deepCopy()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
D | BluetoothKeystoreServiceTest.java | 158 private boolean doCompareKeySet(Map<String, String> map1, Map<String, String> map2) { in doCompareKeySet() 162 private boolean doCompareMap(Map<String, String> map1, Map<String, String> map2) { in doCompareMap()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MigrationTestHelper.java | 62 public static void populateDb(SQLiteDatabase db, Map<String, List<ContentValues>> fakeData) { in populateDb() 73 SQLiteDatabase newDb, Map<String, List<ContentValues>> fakeData) { in verifyDataInDb() 86 Map<String, List<ContentValues>> fakeData, in verifyDataInDb()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/migration/ |
D | MigrationTestHelper.java | 56 public static void populateDb(SQLiteDatabase db, Map<String, List<ContentValues>> fakeData) { in populateDb() 68 SQLiteDatabase newDb, Map<String, List<ContentValues>> fakeData) { in verifyDataInDb() 80 Map<String, List<ContentValues>> fakeData, in verifyDataInDb()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRedirects.java | 64 Map<String, List<String>> headers, Flags flags, AsyncRegistration parentRegistration) { in configure() 92 Map<String, List<String>> headers, Flags flags, AsyncRegistration parentRegistration) { in shouldRedirect302ToWellKnown() 106 private static boolean isRedirect302ToWellKnownPath(Map<String, List<String>> headers) { in isRedirect302ToWellKnownPath()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | DefaultAppListChildFragment.java | 170 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferenceCategory() 180 @NonNull ArrayMap<String, Preference> oldPreferences) { in clearPreferences() 194 @NonNull List<RoleItem> roleItems, @NonNull ArrayMap<String, Preference> oldPreferences, in addPreferenceCategory() 209 @NonNull List<RoleItem> roleItems, @NonNull ArrayMap<String, Preference> oldPreferences, in addPreferences() 264 @NonNull ArrayMap<String, Preference> oldPreferences, @NonNull Context context) { in addMoreDefaultAppsPreference() 287 @NonNull ArrayMap<String, Preference> oldPreferences, @NonNull Context context) { in addManageDomainUrlsPreference()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LottieAnimationColorUtils.java | 47 @NonNull Map<String, Integer> tokenToArgbColorMap) { in updateToArgbColors() 67 @NonNull Map<String, Integer> tokenToColorResourceMap, in updateToColorResources()
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | at_command_parser.rs | 63 pub fn parse_at_command_data(at_string: String) -> Result<AtCommand, String> { in parse_at_command_data() argument 126 pub fn calculate_battery_percent(at_command: AtCommand) -> Result<u32, String> { in calculate_battery_percent() argument 199 args: Vec<String>, in extract_iphoneaccev_data() 241 fn extract_xevent_data(args: Vec<String>) -> Result<HashMap<AtCommandDataType, String>, String> { in extract_xevent_data() argument
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorPortalEntryGroup.java | 39 abstract Builder setMethods(Map<String, Runnable> value); in setMethods() 41 abstract Builder setSubPortals(Map<String, SimulatorPortalEntryGroup> value); in setSubPortals()
|