/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 14 option = main_menu() 16 if option == 0: 22 if option == 1: 24 elif option == 2: 26 elif option == 3: 28 elif option == 4: 30 elif option == 5: 32 elif option == 6: 34 elif option == 7: 36 elif option == 8: [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 120 String option = getNextOption(); in handleIsLocationEnabled() local 121 if (option == null) { in handleIsLocationEnabled() 124 if ("--user".equals(option)) { in handleIsLocationEnabled() 127 throw new IllegalArgumentException("Unknown option: " + option); in handleIsLocationEnabled() 140 String option = getNextOption(); in handleSetLocationEnabled() local 141 if (option == null) { in handleSetLocationEnabled() 144 if ("--user".equals(option)) { in handleSetLocationEnabled() 147 throw new IllegalArgumentException("Unknown option: " + option); in handleSetLocationEnabled() 162 String option = getNextOption(); in handleIsAdasGnssLocationEnabled() local 163 if (option == null) { in handleIsAdasGnssLocationEnabled() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | usb.proto | 20 option java_multiple_files = true; 21 option java_outer_classname = "UsbServiceProto"; 28 option (android.msg_privacy).dest = DEST_AUTOMATIC; 39 option (android.msg_privacy).dest = DEST_AUTOMATIC; 46 option (android.msg_privacy).dest = DEST_AUTOMATIC; 79 option (android.msg_privacy).dest = DEST_AUTOMATIC; 96 option (android.msg_privacy).dest = DEST_AUTOMATIC; 107 option (android.msg_privacy).dest = DEST_AUTOMATIC; 117 option (android.msg_privacy).dest = DEST_AUTOMATIC; 138 option (android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
D | sensor_service.proto | 22 option java_multiple_files = true; 34 option (android.msg_privacy).dest = DEST_AUTOMATIC; 65 option (android.msg_privacy).dest = DEST_AUTOMATIC; 72 option (android.msg_privacy).dest = DEST_AUTOMATIC; 86 option (android.msg_privacy).dest = DEST_AUTOMATIC; 97 option (android.msg_privacy).dest = DEST_AUTOMATIC; 130 option (android.msg_privacy).dest = DEST_AUTOMATIC; 133 option (android.msg_privacy).dest = DEST_AUTOMATIC; 154 option (android.msg_privacy).dest = DEST_AUTOMATIC; 157 option (android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
D | print.proto | 20 option java_multiple_files = true; 21 option java_outer_classname = "PrintServiceProto"; 27 option (android.msg_privacy).dest = DEST_AUTOMATIC; 34 option (android.msg_privacy).dest = DEST_AUTOMATIC; 59 option (android.msg_privacy).dest = DEST_AUTOMATIC; 72 option (android.msg_privacy).dest = DEST_AUTOMATIC; 86 option (android.msg_privacy).dest = DEST_AUTOMATIC; 105 option (android.msg_privacy).dest = DEST_EXPLICIT; 137 option (android.msg_privacy).dest = DEST_AUTOMATIC; 159 option (android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
D | package.proto | 23 option java_multiple_files = true; 24 option java_outer_classname = "PackageServiceProto"; 27 option (android.msg_privacy).dest = DEST_AUTOMATIC; 30 option (android.msg_privacy).dest = DEST_AUTOMATIC; 38 option (android.msg_privacy).dest = DEST_AUTOMATIC; 49 option (android.msg_privacy).dest = DEST_AUTOMATIC; 68 option (android.msg_privacy).dest = DEST_AUTOMATIC; 71 option (android.msg_privacy).dest = DEST_AUTOMATIC; 78 option (android.msg_privacy).dest = DEST_AUTOMATIC; 120 option (android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationShell.java | 154 String option; in runSetAppLinks() local 155 while ((option = commandHandler.getNextOption()) != null) { in runSetAppLinks() 156 if (option.equals("--package")) { in runSetAppLinks() 159 commandHandler.getErrPrintWriter().println("Error: unknown option: " + option); in runSetAppLinks() 220 String option; in runSetAppLinksUserState() local 221 while ((option = commandHandler.getNextOption()) != null) { in runSetAppLinksUserState() 222 switch (option) { in runSetAppLinksUserState() 230 commandHandler.getErrPrintWriter().println("Error: unknown option: " + option); in runSetAppLinksUserState() 286 String option; in runGetAppLinks() local 287 while ((option = commandHandler.getNextOption()) != null) { in runGetAppLinks() [all …]
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 39 option java_multiple_files = true; 42 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 55 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 63 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 74 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 83 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 97 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 110 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 117 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 127 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
D | animationadapter.proto | 24 option java_multiple_files = true; 27 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 35 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 42 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 48 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 58 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 65 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 74 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 83 option (.android.msg_privacy).dest = DEST_AUTOMATIC;
|
D | windowmanagerservice.proto | 40 option java_multiple_files = true; 43 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 61 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 77 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 84 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 91 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 113 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 123 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 130 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 141 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
D | jobscheduler.proto | 21 option java_multiple_files = true; 38 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 52 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 59 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 89 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 106 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 118 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 121 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 128 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 171 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerShellCommand.java | 128 final String option = getNextOption(); in runGameMode() local 130 if (option != null && option.equals("--user")) { in runGameMode() 187 String option = getNextArgRequired(); in runSetGameMode() local 188 if (!option.equals("--mode")) { in runSetGameMode() 189 pw.println("Invalid option '" + option + "'"); in runSetGameMode() 202 while ((option = getNextOption()) != null) { in runSetGameMode() 203 switch (option) { in runSetGameMode() 208 pw.println("Duplicate option '" + option + "'"); in runSetGameMode() 222 pw.println("Duplicate option '" + option + "'"); in runSetGameMode() 234 pw.println("Duplicate option '" + option + "'"); in runSetGameMode() [all …]
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | PacketFilter.kt | 90 class DhcpOptionFilter(val option: Byte, vararg val bytes: Byte) : Predicate<ByteArray> { constant in DhcpOptionFilter 92 val option = findDhcpOption(packet, option) ?: return false in test() constant 93 return option.contentEquals(bytes) in test() 100 fun findDhcpOption(packet: ByteArray, option: Byte): ByteArray? = in findDhcpOption() 101 findOptionOffset(packet, option, DHCP_OPTIONS_OFFSET)?.let { in findDhcpOption() 106 private tailrec fun findOptionOffset(packet: ByteArray, option: Byte, searchOffset: Int): Int? { in findOptionOffset() 109 return if (packet[searchOffset] == option) searchOffset else { in findOptionOffset() 111 findOptionOffset(packet, option, searchOffset + 2 + optionLen) in findOptionOffset()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerShellCommand.java | 81 String option = getNextOption(); in runSetAppLocales() local 82 if (option == null) { in runSetAppLocales() 85 switch (option) { in runSetAppLocales() 95 throw new IllegalArgumentException("Unknown option: " + option); in runSetAppLocales() 122 String option = getNextOption(); in runGetAppLocales() local 123 if (option == null) { in runGetAppLocales() 126 if ("--user".equals(option)) { in runGetAppLocales() 130 throw new IllegalArgumentException("Unknown option: " + option); in runGetAppLocales()
|
/frameworks/base/core/proto/android/nfc/ |
D | card_emulation.proto | 25 option java_multiple_files = true; 29 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 42 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 48 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 54 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 66 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 76 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 90 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 92 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 102 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
/frameworks/base/core/proto/android/server/vibrator/ |
D | vibratormanagerservice.proto | 20 option java_multiple_files = true; 25 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 32 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 41 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 48 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 55 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 64 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 70 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 77 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 83 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | ImageTransformation.java | 87 final Option option = mOptions.get(i); in apply() local 89 if (option.pattern.matcher(value).matches()) { in apply() 90 Log.d(TAG, "Found match at " + i + ": " + option); in apply() 91 parentTemplate.setImageViewResource(childViewId, option.resId); in apply() 92 if (option.contentDescription != null) { in apply() 94 option.contentDescription); in apply() 100 Log.w(TAG, "Error matching regex #" + i + "(" + option.pattern + ") on id " in apply() 101 + option.resId + ": " + e.getClass()); in apply() 236 final Option option = mOptions.get(i); in writeToParcel() local 237 patterns[i] = option.pattern; in writeToParcel() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityShellCommand.java | 100 final String option = getNextArg(); in runCallSystemAction() local 101 if (option != null) { in runCallSystemAction() 102 int actionId = Integer.parseInt(option); in runCallSystemAction() 110 final String option = getNextOption(); in parseUserId() local 111 if (option != null) { in parseUserId() 112 if (option.equals("--user")) { in parseUserId() 115 getErrPrintWriter().println("Unknown option: " + option); in parseUserId()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 568 public @Nullable Bitmap getFrameAtTime(long timeUs, @Option int option) { in getFrameAtTime() argument 569 if (option < OPTION_PREVIOUS_SYNC || in getFrameAtTime() 570 option > OPTION_CLOSEST) { in getFrameAtTime() 571 throw new IllegalArgumentException("Unsupported option: " + option); in getFrameAtTime() 574 return _getFrameAtTime(timeUs, option, -1 /*dst_width*/, -1 /*dst_height*/, null); in getFrameAtTime() 615 long timeUs, @Option int option, @NonNull BitmapParams params) { in getFrameAtTime() argument 616 if (option < OPTION_PREVIOUS_SYNC || in getFrameAtTime() 617 option > OPTION_CLOSEST) { in getFrameAtTime() 618 throw new IllegalArgumentException("Unsupported option: " + option); in getFrameAtTime() 621 return _getFrameAtTime(timeUs, option, -1 /*dst_width*/, -1 /*dst_height*/, params); in getFrameAtTime() [all …]
|
/frameworks/base/core/proto/android/util/ |
D | quotatracker.proto | 21 option java_multiple_files = true; 27 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 38 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 44 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 60 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 68 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 80 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 85 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 94 option (.android.msg_privacy).dest = DEST_AUTOMATIC; 101 option (.android.msg_privacy).dest = DEST_AUTOMATIC; [all …]
|
/frameworks/base/core/proto/android/hardware/ |
D | sensorprivacy.proto | 20 option java_multiple_files = true; 21 option java_outer_classname = "SensorPrivacyServiceProto"; 26 option (android.msg_privacy).dest = DEST_AUTOMATIC; 33 option (android.msg_privacy).dest = DEST_AUTOMATIC; 51 option (android.msg_privacy).dest = DEST_AUTOMATIC; 69 option (android.msg_privacy).dest = DEST_AUTOMATIC; 84 option (android.msg_privacy).dest = DEST_AUTOMATIC; 121 option (android.msg_privacy).dest = DEST_AUTOMATIC;
|
/frameworks/base/core/proto/android/providers/settings/ |
D | secure.proto | 20 option java_multiple_files = true; 28 option (android.msg_privacy).dest = DEST_EXPLICIT; 33 option (android.msg_privacy).dest = DEST_EXPLICIT; 107 option (android.msg_privacy).dest = DEST_EXPLICIT; 118 option (android.msg_privacy).dest = DEST_EXPLICIT; 138 option (android.msg_privacy).dest = DEST_EXPLICIT; 146 option (android.msg_privacy).dest = DEST_EXPLICIT; 163 option (android.msg_privacy).dest = DEST_EXPLICIT; 174 option (android.msg_privacy).dest = DEST_EXPLICIT; 193 option (android.msg_privacy).dest = DEST_EXPLICIT; [all …]
|
/frameworks/wilhelm/src/ |
D | entry.cpp | 59 const SLEngineOption *option = pEngineOptions; in liCreateEngine() local 61 for (i = 0; i < numOptions; ++i, ++option) { in liCreateEngine() 62 switch (option->feature) { in liCreateEngine() 64 threadSafe = SL_BOOLEAN_FALSE != (SLboolean) option->data; // normalize in liCreateEngine() 67 lossOfControlGlobal = SL_BOOLEAN_FALSE != (SLboolean) option->data; // normalize in liCreateEngine() 71 option->feature, option->data); in liCreateEngine()
|
/frameworks/base/core/proto/android/os/ |
D | procrank.proto | 20 option java_multiple_files = true; 26 option (android.msg_privacy).dest = DEST_AUTOMATIC; 30 option (android.msg_privacy).dest = DEST_AUTOMATIC; 68 option (android.msg_privacy).dest = DEST_AUTOMATIC; 74 option (android.msg_privacy).dest = DEST_AUTOMATIC; 81 option (android.msg_privacy).dest = DEST_AUTOMATIC;
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/netlink/ |
D | NduseroptMessageTest.java | 79 assertNull(msg.option); in testParsing() 83 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testParsing() 108 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 115 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 137 assertRdnssOption(msg.option, 6000 /* lifetime */, in testParseRdnssOptionWithinNetlinkMessage() 173 assertEquals(NdOption.UNKNOWN, msg.option); in testParseUnknownOptionWithinNetlinkMessage() 186 assertEquals(NdOption.UNKNOWN, msg.option); in testUnknownOption() 194 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testUnknownOption() 206 assertNull(msg.option); in testZeroLengthOption() 218 assertNull(msg.option); in testTooLongOption() [all …]
|