/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | StructNdOptPref64Test.java | 59 private void assertPref64OptMatches(int lifetime, IpPrefix prefix, StructNdOptPref64 opt) { in assertPref64OptMatches() argument 60 assertEquals(StructNdOptPref64.TYPE, opt.type); in assertPref64OptMatches() 61 assertEquals(2, opt.length); in assertPref64OptMatches() 62 assertEquals(lifetime, opt.lifetime); in assertPref64OptMatches() 63 assertEquals(prefix, opt.prefix); in assertPref64OptMatches() 66 private void assertToByteBufferMatches(StructNdOptPref64 opt, String expected) { in assertToByteBufferMatches() argument 67 String actual = HexEncoding.encodeToString(opt.toByteBuffer().array()); in assertToByteBufferMatches() 90 StructNdOptPref64 opt = StructNdOptPref64.parse(ByteBuffer.wrap(rawBytes)); in testParseCannedOption() local 91 assertPref64OptMatches(136, prefix("2001:DB8:3:4:5:6::", 96), opt); in testParseCannedOption() 92 assertToByteBufferMatches(opt, hexBytes); in testParseCannedOption() [all …]
|
D | NduseroptMessageTest.java | 240 private void assertPref64Option(String prefix, NdOption opt) { in assertPref64Option() argument 241 assertNotNull(opt); in assertPref64Option() 242 assertTrue(opt instanceof StructNdOptPref64); in assertPref64Option() 243 StructNdOptPref64 pref64Opt = (StructNdOptPref64) opt; in assertPref64Option()
|
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 334 let opt = FileOptions::default(); in complex_hierarchy() localVariable 335 zip.add_directory("a/b1", opt).unwrap(); in complex_hierarchy() 337 zip.start_file("a/b2/c1", opt).unwrap(); in complex_hierarchy() 339 zip.start_file("a/b2/c2/d1", opt).unwrap(); in complex_hierarchy() 340 zip.start_file("a/b2/c2/d2", opt).unwrap(); in complex_hierarchy() 341 zip.start_file("a/b2/c2/d3", opt).unwrap(); in complex_hierarchy() 343 zip.start_file("x/y1", opt).unwrap(); in complex_hierarchy() 344 zip.start_file("x/y2", opt).unwrap(); in complex_hierarchy() 345 zip.add_directory("x/y3", opt).unwrap(); in complex_hierarchy() 347 zip.start_file("foo", opt).unwrap(); in complex_hierarchy() [all …]
|
D | main.rs | 561 let opt = FileOptions::default(); in complex_hierarchy() localVariable 562 zip.add_directory("a/b1", opt).unwrap(); in complex_hierarchy() 564 zip.start_file("a/b2/c1", opt).unwrap(); in complex_hierarchy() 566 zip.start_file("a/b2/c2/d1", opt).unwrap(); in complex_hierarchy() 567 zip.start_file("a/b2/c2/d2", opt).unwrap(); in complex_hierarchy() 568 zip.start_file("a/b2/c2/d3", opt).unwrap(); in complex_hierarchy() 570 zip.start_file("x/y1", opt).unwrap(); in complex_hierarchy() 571 zip.start_file("x/y2", opt).unwrap(); in complex_hierarchy() 572 zip.add_directory("x/y3", opt).unwrap(); in complex_hierarchy() 574 zip.start_file("foo", opt).unwrap(); in complex_hierarchy() [all …]
|
/packages/modules/adb/tools/ |
D | adb_usbreset.cpp | 76 int opt; in main() local 77 while ((opt = getopt_long(argc, argv, "adhs:", long_opts, nullptr)) != -1) { in main() 78 if (opt == 'h') { in main() 80 } else if (opt == 'a') { in main() 82 } else if (opt == 's') { in main() 84 } else if (opt == 'd') { in main() 87 errx(1, "unknown option: '%c'", opt); in main()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 740 String opt = getNextOption(); in handleEmergencyNumberTestModeCommand() local 741 if (opt == null) { in handleEmergencyNumberTestModeCommand() 746 switch (opt) { in handleEmergencyNumberTestModeCommand() 1019 String opt; in handleBarringSendCommand() local 1020 while ((opt = getNextOption()) != null) { in handleBarringSendCommand() 1021 switch (opt) { in handleBarringSendCommand() 1110 String opt; in handleImsSetServiceCommand() local 1111 while ((opt = getNextOption()) != null) { in handleImsSetServiceCommand() 1112 switch (opt) { in handleImsSetServiceCommand() 1193 String opt; in handleImsClearCarrierServiceCommand() local [all …]
|
/packages/apps/Calendar/ |
D | Android.mk | 5 chips_dir := ../../../frameworks/opt/chips/res 6 color_picker_dir := ../../../frameworks/opt/colorpicker/res 7 timezonepicker_dir := ../../../frameworks/opt/timezonepicker/res 28 android-opt-timezonepicker \
|
D | project.properties | 17 android.library.reference.2=../../../frameworks/opt/calendar 18 android.library.reference.3=../../../frameworks/opt/colorpicker 19 android.library.reference.4=../../../frameworks/opt/datetimepicker 20 android.library.reference.5=../../../frameworks/opt/timezonepicker
|
D | mkprojectfile | 47 <location>SRC_ROOT_DIR/frameworks/opt/calendar/src</location>
|
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 180 for (SubscribeOptions opt : options) { in subscribe() 181 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(opt.propId); in subscribe() 186 handler.onPropertySubscribe(opt.propId, opt.sampleRate); in subscribe() 187 List<IVehicleCallback> subscribers = mSubscribers.get(opt.propId); in subscribe() 190 mSubscribers.put(opt.propId, subscribers); in subscribe()
|
/packages/modules/adb/client/ |
D | commandline.cpp | 700 int opt; in adb_shell() local 701 while ((opt = getopt(argc, const_cast<char**>(argv), "+e:ntTx")) != -1) { in adb_shell() 702 switch (opt) { in adb_shell() 831 int opt = CHUNK_SIZE; in adb_sideload_legacy() local 832 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_legacy() 916 int opt = SIDELOAD_HOST_BLOCK_SIZE; in adb_sideload_install() local 917 adb_setsockopt(device_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_install() 2003 int opt; in adb_commandline() local 2004 while ((opt = getopt(argc, const_cast<char**>(argv), "lnz:Z")) != -1) { in adb_commandline() 2005 switch (opt) { in adb_commandline()
|
/packages/modules/Wifi/framework/ |
D | Android.bp | 60 "//frameworks/opt/net/wifi/tests/wifitests:__subpackages__", 109 "//frameworks/opt/net/wifi/service", 110 "//frameworks/opt/net/wifi/tests/wifitests", 136 "//frameworks/opt/net/wifi/service:__subpackages__",
|
/packages/modules/Virtualization/vm/src/ |
D | main.rs | 54 let opt = Opt::from_args(); in main() localVariable 62 match opt { in main()
|
/packages/services/Telecomm/scripts/ |
D | telecom_testing.sh | 26 while getopts "c:p:hadieg" opt; do 27 case "$opt" in
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 697 final BitmapFactory.Options opt = new BitmapFactory.Options(); in loadImage() local 698 opt.inJustDecodeBounds = true; in loadImage() 699 BitmapFactory.decodeStream(is, null, opt); in loadImage() 700 mContentType = opt.outMimeType; in loadImage() 701 mWidth = opt.outWidth; in loadImage() 702 mHeight = opt.outHeight; in loadImage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageDraw.java | 217 BitmapFactory.Options opt = new BitmapFactory.Options(); in getBrush() local 218 opt.inPreferredConfig = Bitmap.Config.ALPHA_8; in getBrush() 219 bitmap = BitmapFactory.decodeResource(getActivity().getResources(), brushid, opt); in getBrush()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDraw.java | 148 BitmapFactory.Options opt = new BitmapFactory.Options(); in getBrush() local 149 opt.inPreferredConfig = Bitmap.Config.ALPHA_8; in getBrush() 151 .getResources(), mBrushID, opt); in getBrush()
|
/packages/services/Car/cpp/computepipe/runner/include/ |
D | RunnerComponent.h | 106 proto::ProfilingType profilingType, std::string opt = "") 112 mOptionalConfigs(opt) { in mInputConfigId()
|
/packages/modules/common/ |
D | generate_ml_bundle.sh | 12 while getopts "pa" opt; do 13 case ${opt} in
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | AppEventProducer.java | 195 Optional<ShortcutInfo> opt = new ShortcutRequest(mContext, in toAppTarget() local 198 if (opt.isPresent()) { in toAppTarget() 199 shortcutInfo = opt.get(); in toAppTarget()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 406 private void processPref64Option(StructNdOptPref64 opt, final long now) { in processPref64Option() argument 407 final long expiry = now + TimeUnit.SECONDS.toMillis(opt.lifetime); in processPref64Option() 408 updatePref64(opt.prefix, now, expiry); in processPref64Option()
|
/packages/modules/Wifi/service/ |
D | Android.bp | 139 "//frameworks/opt/net/wifi/service/apex", 140 "//frameworks/opt/net/wifi/tests/wifitests/apex",
|
/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.h | 110 int opt; member
|
/packages/apps/CarrierConfig/ |
D | README | 6 frameworks/opt/telephony. The current framework allows per-network configuration that uses
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | coverage.sh | 96 --sourcefiles $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/service/java \
|