/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_service/fastpair_seeker_data_provider/shared/android/nearby/fastpair/seeker/ |
D | FastPairTestDataCache.kt | 82 constructor(meta: FastPairAccountKeyDeviceMetadata) : this( 83 accountKey = meta.deviceAccountKey?.base64Encode(), 84 accountKeyPublicAddress = meta.sha256DeviceAccountKeyPublicAddress?.base64Encode(), 85 deviceMeta = meta.fastPairDeviceMetadata?.let { FastPairDeviceMetadataData(it) }, in <lambda>() 86 discoveryItem = meta.fastPairDiscoveryItem?.let { FastPairDiscoveryItemData(it) } in <lambda>() 136 constructor(meta: FastPairDeviceMetadata) : this( 137 bleTxPower = meta.bleTxPower, 138 compAppInstalled = meta.connectSuccessCompanionAppInstalled, 139 comAppNotIns = meta.connectSuccessCompanionAppNotInstalled, 140 deviceType = meta.deviceType, [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientServiceTest.java | 440 BluetoothLeBroadcastMetadata meta = createBroadcastMetadata(TEST_BROADCAST_ID); in prepareConnectedDeviceGroup() local 441 injectRemoteSourceState(sm, meta, TEST_SOURCE_ID, in prepareConnectedDeviceGroup() 443 meta.isEncrypted() ? in prepareConnectedDeviceGroup() 449 injectRemoteSourceState(sm, meta, TEST_SOURCE_ID + 1, in prepareConnectedDeviceGroup() 451 meta.isEncrypted() ? in prepareConnectedDeviceGroup() 471 private void verifyAddSourceForGroup(BluetoothLeBroadcastMetadata meta) { in verifyAddSourceForGroup() argument 473 mBassClientService.addSource(mCurrentDevice, meta, true); in verifyAddSourceForGroup() 483 && (m.obj == meta)) in verifyAddSourceForGroup() 491 BluetoothLeBroadcastMetadata meta, int sourceId, int paSynState, int encryptionState, in injectRemoteSourceState() argument 495 meta.getSourceAddressType(), in injectRemoteSourceState() [all …]
|
/packages/apps/Car/systemlibs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramInfoExt.java | 90 RadioMetadata meta = info.getMetadata(); in getProgramName() local 91 if (meta != null) { in getProgramName() 93 String value = meta.getString(key); in getProgramName() 135 RadioMetadata meta = info.getMetadata(); in getMetadata() local 136 if (meta != null) return meta; in getMetadata() 216 RadioMetadata meta = info.getMetadata(); in toMediaMetadata() local 217 if (meta != null) { in toMediaMetadata() 218 String title = meta.getString(RadioMetadata.METADATA_KEY_TITLE); in toMediaMetadata() 222 String artist = meta.getString(RadioMetadata.METADATA_KEY_ARTIST); in toMediaMetadata() 226 String album = meta.getString(RadioMetadata.METADATA_KEY_ALBUM); in toMediaMetadata() [all …]
|
D | RadioMetadataExt.java | 45 public static long getGlobalBitmapId(@NonNull RadioMetadata meta, @NonNull String key) { in getGlobalBitmapId() argument 46 int localId = meta.getBitmapId(key); in getGlobalBitmapId()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | KeyEvents.java | 26 public static KeyEvent createTestEvent(int action, int keyCode, int meta) { in createTestEvent() argument 34 meta); in createTestEvent() 38 int meta = (action == KeyEvent.ACTION_UP) in createLeftCtrlKey() local 42 return createTestEvent(action, KeyEvent.KEYCODE_CTRL_LEFT, meta); in createLeftCtrlKey() 46 int meta = (action == KeyEvent.ACTION_UP) in createRightCtrlKey() local 50 return createTestEvent(action, KeyEvent.KEYCODE_CTRL_RIGHT, meta); in createRightCtrlKey()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | XmpUtil.java | 140 XMPMeta meta = extractXMPMeta(filename); in extractOrCreateXMPMeta() local 141 return meta == null ? createXMPMeta() : meta; in extractOrCreateXMPMeta() 147 public static boolean writeXMPMeta(String filename, XMPMeta meta) { in writeXMPMeta() argument 156 sections = insertXMPSection(sections, meta); in writeXMPMeta() 188 XMPMeta meta) { in writeXMPMeta() argument 190 sections = insertXMPSection(sections, meta); in writeXMPMeta() 235 List<Section> sections, XMPMeta meta) { in insertXMPSection() argument 247 buffer = XMPMetaFactory.serializeToBuffer(meta, options); in insertXMPSection()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseConfigs.cpp | 184 for (const auto& meta : resourceOveruseConfig.packageMetadata) { in isValidResourceOveruseConfig() local 185 if (const auto it = seenCategoryMappings.find(meta.packageName); in isValidResourceOveruseConfig() 186 it != seenCategoryMappings.end() && it->second != meta.appCategoryType) { in isValidResourceOveruseConfig() 189 << meta.packageName << ": Provided mappings " << toString(meta.appCategoryType) in isValidResourceOveruseConfig() 192 seenCategoryMappings[meta.packageName] = meta.appCategoryType; in isValidResourceOveruseConfig() 497 for (const auto& meta : resourceOveruseConfiguration.packageMetadata) { in update() local 498 if (!meta.packageName.empty()) { in update() 499 mPackagesToAppCategories[meta.packageName] = meta.appCategoryType; in update() 620 PackageMetadata meta; in get() local 621 meta.packageName = packageName; in get() [all …]
|
D | OveruseConfigurationXmlHelper.cpp | 210 PackageMetadata meta; in readPackageToAppCategoryTypes() local 211 if (meta.appCategoryType = toApplicationCategoryType(type); in readPackageToAppCategoryTypes() 212 meta.appCategoryType == ApplicationCategoryType::OTHERS) { in readPackageToAppCategoryTypes() 217 } else if (meta.packageName = Trim(text); meta.packageName.empty()) { in readPackageToAppCategoryTypes() 220 packageMetadata.push_back(meta); in readPackageToAppCategoryTypes() 499 for (const auto& meta : packageMetadata) { in writePackageToAppCategoryTypes() local 505 innerElement->SetAttribute(kAttrType, toString(meta.appCategoryType).c_str()); in writePackageToAppCategoryTypes() 506 innerElement->SetText(meta.packageName.c_str()); in writePackageToAppCategoryTypes()
|
/packages/providers/MediaProvider/tests/res/raw/ |
D | test_wpl.wpl | 4 <meta name="Generator" content="Microsoft Windows Media Player -- 11.0.5721.5145"/> 5 <meta name="AverageRating" content="33"/> 6 <meta name="TotalDuration" content="1102"/> 7 <meta name="ItemCount" content="5"/>
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBroadcastServiceTest.java | 245 BluetoothLeAudioContentMetadata meta) { in verifyBroadcastStarted() argument 246 mService.createBroadcast(meta, code); in verifyBroadcastStarted() 248 verify(mNativeInterface, times(1)).createBroadcast(eq(meta.getRawMetadata()), in verifyBroadcastStarted() 327 BluetoothLeAudioContentMetadata meta = meta_builder.build(); in testCreateBroadcastNativeFailed() local 328 mService.createBroadcast(meta, code); in testCreateBroadcastNativeFailed() 330 verify(mNativeInterface, times(1)).createBroadcast(eq(meta.getRawMetadata()), eq(code)); in testCreateBroadcastNativeFailed() 432 BluetoothLeAudioContentMetadata meta = meta_builder.build(); in testGetAllBroadcastMetadata() local 433 mService.createBroadcast(meta, code); in testGetAllBroadcastMetadata()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioController.java | 169 RadioMetadata meta = ProgramInfoExt.getMetadata(info); in onCurrentProgramChanged() local 176 if (meta.containsKey(RadioMetadata.METADATA_KEY_TITLE) in onCurrentProgramChanged() 177 || meta.containsKey(RadioMetadata.METADATA_KEY_ARTIST)) { in onCurrentProgramChanged() 179 meta.getString(RadioMetadata.METADATA_KEY_TITLE), in onCurrentProgramChanged() 180 meta.getString(RadioMetadata.METADATA_KEY_ARTIST)); in onCurrentProgramChanged()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | OveruseConfigurationTestUtils.cpp | 143 PackageMetadata meta; in toPackageMetadata() local 144 meta.packageName = packageName; in toPackageMetadata() 145 meta.appCategoryType = type; in toPackageMetadata() 146 return meta; in toPackageMetadata()
|
D | IoOveruseConfigsTest.cpp | 71 for (const auto& meta : metas) { in toPackageToAppCategoryMappings() local 72 mappings[meta.packageName] = meta.appCategoryType; in toPackageToAppCategoryMappings()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 530 XMPMeta meta = XmpUtilHelper.extractXMPMeta(is); in queryLightCycle360() local 531 if (meta == null) { in queryLightCycle360() 538 if (!meta.doesPropertyExist(namespace, cropWidthName)) { in queryLightCycle360() 541 if (!meta.doesPropertyExist(namespace, fullWidthName)) { in queryLightCycle360() 545 Integer cropValue = meta.getPropertyInteger(namespace, cropWidthName); in queryLightCycle360() 546 Integer fullValue = meta.getPropertyInteger(namespace, fullWidthName); in queryLightCycle360()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | OveruseConfigurationCache.java | 138 PackageMetadata meta = config.packageMetadata.get(j); in set() local 140 mPackagesByAppCategoryType.get(meta.appCategoryType); in set() 144 packages.add(meta.packageName); in set() 145 mPackagesByAppCategoryType.append(meta.appCategoryType, packages); in set()
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | BroadcasterViewModel.java | 43 public boolean startBroadcast(BluetoothLeAudioContentMetadata meta, byte[] code) { in startBroadcast() argument 44 return mBluetooth.startBroadcast(meta, code); in startBroadcast()
|
D | BroadcastItemsAdapter.java | 59 BluetoothLeBroadcastMetadata meta = mBroadcastMetadataList.get(position); in onBindViewHolder() local 60 Integer broadcastId = meta.getBroadcastId(); in onBindViewHolder()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_le_audio.cpp | 1172 jbyte* meta = env->GetByteArrayElements(metadata, nullptr); in CreateBroadcastNative() local 1174 std::vector<uint8_t>(meta, meta + env->GetArrayLength(metadata)), in CreateBroadcastNative() 1177 env->ReleaseByteArrayElements(metadata, meta, 0); in CreateBroadcastNative() 1182 jbyte* meta = env->GetByteArrayElements(metadata, nullptr); in UpdateMetadataNative() local 1185 std::vector<uint8_t>(meta, meta + env->GetArrayLength(metadata))); in UpdateMetadataNative() 1186 env->ReleaseByteArrayElements(metadata, meta, 0); in UpdateMetadataNative()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioStackEvent.java | 324 BluetoothLeBroadcastMetadata meta) { in eventTypeValueBroadcastMetadataToString() argument 325 return meta.toString(); in eventTypeValueBroadcastMetadataToString()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | broadcaster_test.cc | 509 std::map<uint8_t, std::vector<uint8_t>> meta = {}; in TEST_F() local 519 auto announcement = prepareAnnouncement(codec_config, meta); in TEST_F() 557 std::map<uint8_t, std::vector<uint8_t>> meta = {}; in TEST_F() local 567 auto announcement = prepareAnnouncement(codec_config, meta); in TEST_F()
|
D | broadcaster.cc | 504 auto meta = GetBroadcastMetadataOpt(broadcast_id); in GetBroadcastMetadata() local 505 if (!meta) { in GetBroadcastMetadata() 510 std::move(meta.value())); in GetBroadcastMetadata()
|
/packages/apps/Car/systemlibs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/ |
D | BrowseTree.java | 284 RadioMetadata meta = program.getMetadata(); in getPrograms() local 285 if (meta != null && mImageResolver != null) { in getPrograms() 286 long id = RadioMetadataExt.getGlobalBitmapId(meta, in getPrograms()
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
D | XmpUtilHelper.java | 29 public static boolean writeXMPMeta(String filename, Object meta) { in writeXMPMeta() argument
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/ |
D | AppLauncherUtilsTest.java | 306 for (AppMetaData meta : appMetaData) { in launchAllApps() 307 Consumer<Context> launchCallback = meta.getLaunchCallback(); in launchAllApps()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugStorageUtils.java | 280 MetaBugReport meta = MetaBugReport.builder() in getBugreports() local 293 bugReports.add(meta); in getBugreports()
|