Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 25 of 62) sorted by relevance

123

/packages/apps/Dialer/java/com/android/dialer/common/database/
DSelection.java113 public static Selection fromString(@Nullable String selection, @Nullable String... args) { in fromString() method in Selection
119 public static Selection fromString(@Nullable String selection, Collection<String> args) { in fromString() method in Selection
127 return fromString("NOT " + selection.getSelection(), selection.getSelectionArgs()); in not()
151 return fromString(column + " " + Assert.isNotNull(operator) + " ?", value.toString()); in is()
160 return fromString(column + " " + Assert.isNotNull(condition)); in is()
168 return fromString( in in()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentBleManager.java70 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb");
359 mEnrollmentServiceUuid = UUID.fromString( in setupEnrollmentBleServer()
361 mEnrollmentClientWriteUuid = UUID.fromString( in setupEnrollmentBleServer()
363 mEnrollmentServerWriteUuid = UUID.fromString( in setupEnrollmentBleServer()
394 mUnlockServiceUuid = UUID.fromString(getContext().getString(R.string.unlock_service_uuid)); in setupUnlockBleServer()
396 .fromString(getContext().getString(R.string.unlock_client_write_uuid)); in setupUnlockBleServer()
398 .fromString(getContext().getString(R.string.unlock_server_write_uuid)); in setupUnlockBleServer()
DBleManager.java64 UUID.fromString("00001800-0000-1000-8000-00805f9b34fb");
68 UUID.fromString("00002a00-0000-1000-8000-00805f9b34fb");
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DProvisioningConfigurationTest.java88 MacAddress.fromString("00:01:02:03:04:05")); in setUp()
167 "some cluster", MacAddress.fromString("00:01:02:03:04:05"))); in testEquals()
169 "another cluster", MacAddress.fromString("00:01:02:03:04:05"))); in testEquals()
171 "some cluster", MacAddress.fromString("01:02:03:04:05:06"))); in testEquals()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMediaSetUtils.java48 Path.fromString("/local/all/" + CAMERA_BUCKET_ID),
49 Path.fromString("/local/image/" + CAMERA_BUCKET_ID),
50 Path.fromString("/local/video/" + CAMERA_BUCKET_ID)};
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java145 return Path.fromString("/local/image").getChild(id); in getAlbumPath()
147 return Path.fromString("/local/video").getChild(id); in getAlbumPath()
149 return Path.fromString("/local/all").getChild(id); in getAlbumPath()
185 return Path.fromString("/local/all").getChild( in getDefaultSetOf()
DLocalAlbumSet.java43 public static final Path PATH_ALL = Path.fromString("/local/all");
44 public static final Path PATH_IMAGE = Path.fromString("/local/image");
45 public static final Path PATH_VIDEO = Path.fromString("/local/video");
DDataSourceType.java27 private static final Path PICASA_ROOT = Path.fromString("/picasa");
28 private static final Path LOCAL_ROOT = Path.fromString("/local");
DSnailSource.java64 return Path.fromString("/snail/set").getChild(id); in getSetPath()
68 return Path.fromString("/snail/item").getChild(id); in getItemPath()
DFilterSource.java51 mEmptyItem = new EmptyAlbumImage(Path.fromString(FILTER_EMPTY_ITEM), in FilterSource()
54 Path.fromString(FILTER_CAMERA_SHORTCUT_ITEM), mApplication); in FilterSource()
DSecureSource.java38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path))); in isSecurePath()
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java91 Path path = Path.fromString(entry.albumPath); in migrateGalleryWidgetsInternal()
143 String newAlbumPath = Path.fromString(entry.albumPath) in updatePath()
162 String newAlbumPath = Path.fromString(entry.albumPath) in updateEntryUsingRelativePath()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java88 new BluetoothGattCharacteristic(UUID.fromString(WRITABLE_CHAR_UUID), in GattServer()
94 new BluetoothGattDescriptor(UUID.fromString(READABLE_DESC_UUID), in GattServer()
100 mGattService = new BluetoothGattService(UUID.fromString(TEST_SERVICE_UUID), in GattServer()
DGattClientListener.java278 UUID sUuid = UUID.fromString(GattServer.TEST_SERVICE_UUID); in writeCharacteristic()
284 UUID cUuid = UUID.fromString(GattServer.WRITABLE_CHAR_UUID); in writeCharacteristic()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java92 Path path = Path.fromString(uri.getPath()); in getType()
118 Path path = Path.fromString(uri.getPath()); in query()
180 Path path = Path.fromString(uri.getPath()); in openFile()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/
DConnectedDeviceManager.java150 UUID.fromString(context.getString(R.string.car_service_uuid)), in ConnectedDeviceManager()
151 UUID.fromString(context.getString(R.string.car_association_service_uuid)), in ConnectedDeviceManager()
153 UUID.fromString(context.getString(R.string.car_secure_write_uuid)), in ConnectedDeviceManager()
154 UUID.fromString(context.getString(R.string.car_secure_read_uuid)), in ConnectedDeviceManager()
311 mPeripheralManager.connectToDevice(UUID.fromString(userDevice.getDeviceId()), in connectToActiveUserDeviceInternal()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt37 private val TEST_HWADDR = MacAddress.fromString("01:23:45:67:8F:9A")
72 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, MacAddress.fromString("12:34:56:78:9A:0B"), in testEquals()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DSecureBleChannelTest.java53 UUID.fromString("a5645523-3280-410a-90c1-582a6c6f4969");
55 UUID.fromString("a29f0c74-2014-4b14-ac02-be6ed15b545a");
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoContactElement.java86 this.mBtUid = SignedLongLong.fromString(btUid); in BluetoothMapConvoContactElement()
265 newElement.setBtUid(SignedLongLong.fromString(attributeValue)); in createFromXml()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/trust/
DCarTrustAgentEnrollmentServiceTest.java60 private static final UUID TEST_ID1 = UUID.fromString("9a138a69-7c29-400f-9e71-fc29516f9f8b");
61 private static final UUID TEST_ID2 = UUID.fromString("3e344860-e688-4cce-8411-16161b61ad57");
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DBlePeripheralManager.java69 UUID.fromString("00001800-0000-1000-8000-00805f9b34fb");
73 UUID.fromString("00002a00-0000-1000-8000-00805f9b34fb");
DCarBlePeripheralManager.java67 UUID.fromString("00002902-0000-1000-8000-00805f9b34fb");
179 if (UUID.fromString(device.mDeviceId).equals(deviceId)) { in connectToDevice()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/howitzer/
DConnectionHowitzer.java47 UUID.fromString(context.getString(R.string.connection_howitzer_feature_id))); in ConnectionHowitzer()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DSignedLongLong.java45 public static SignedLongLong fromString(String value) throws UnsupportedEncodingException { in fromString() method in SignedLongLong
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java558 .connectToDevice(eq(UUID.fromString(deviceId)), anyInt()); in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnActiveUserDisconnect()
574 .connectToDevice(eq(UUID.fromString(userDeviceId)), anyInt()); in removeConnectedDevice_startsAdvertisingForActiveUserDeviceOnLastDeviceDisconnect()
591 .connectToDevice(eq(UUID.fromString(userDeviceId)), anyInt()); in removeConnectedDevice__doesNotAdvertiseForNonActiveUserDeviceNotLastDevice()

123