/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiEncoderTest.java | 116 EncoderChecker checker = new EncoderChecker(); in testOneNoteOn() local 117 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64}); in testOneNoteOn() 118 checker.compareWithExpected(encoded); in testOneNoteOn() 133 EncoderChecker checker = new EncoderChecker(); in testTwoNoteOnsSameChannel() local 134 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, (byte) 0x90, 0x47, 0x72}); in testTwoNoteOnsSameChannel() 135 checker.compareWithExpected(encoded); in testTwoNoteOnsSameChannel() 150 EncoderChecker checker = new EncoderChecker(); in testTwoNoteOnsTwoChannels() local 151 checker.send(new byte[] {(byte) 0x93, 0x40, 0x60, (byte) 0x95, 0x47, 0x64}); in testTwoNoteOnsTwoChannels() 152 checker.compareWithExpected(encoded); in testTwoNoteOnsTwoChannels() 171 EncoderChecker checker = new EncoderChecker(); in testTwoNoteOnsOverTime() local [all …]
|
D | MidiFramerTest.java | 79 FramerChecker checker = new FramerChecker(); in testFramerTwoNoteOns() local 80 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, (byte) 0x90, 0x47, 0x50}); in testFramerTwoNoteOns() 81 checker.compareWithExpected(expected); in testFramerTwoNoteOns() 90 FramerChecker checker = new FramerChecker(); in testFramerTwoNoteOnsRunning() local 92 checker.send(new byte[] {(byte) 0x90, 0x40, 0x64, 0x47, 0x70}); in testFramerTwoNoteOnsRunning() 93 checker.compareWithExpected(expected); in testFramerTwoNoteOnsRunning() 102 FramerChecker checker = new FramerChecker(); in testFramerPreGarbage() local 105 checker.send(new byte[] {0x01, 0x02, // garbage bytes in testFramerPreGarbage() 107 checker.compareWithExpected(expected); in testFramerPreGarbage()
|
D | BluetoothMidiCodecTest.java | 187 EncoderDecoderChecker checker = new EncoderDecoderChecker(); in testOneNoteOn() local 188 checker.test(midi); in testOneNoteOn() 196 EncoderDecoderChecker checker = new EncoderDecoderChecker(); in testTwoNoteOnSameTime() local 197 checker.test(midi); in testTwoNoteOnSameTime() 206 EncoderDecoderChecker checker = new EncoderDecoderChecker(); in testTwoNoteOnStaggered() local 207 checker.test(midi); in testTwoNoteOnStaggered() 221 EncoderDecoderChecker checker = new EncoderDecoderChecker( in checkNoteBurst() local 223 checker.test(midi, period); in checkNoteBurst()
|
/frameworks/libs/native_bridge_support/android_api/ |
D | check_proxy_libraries.py | 119 def check_one_library(checker, library, return_dict): argument 120 return_dict[library + '_arm_to_x86'] = checker.check_proxy_library( 127 return_dict[library + '_arm64_to_x86_64'] = checker.check_proxy_library( 137 checker = ProxyChecker() 139 libraries = checker.proxy_libraries 151 target=check_one_library, args=(checker, lib, return_dict)) 169 checker.native_bridge_support_root)
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 219 private HandlerCheckerAndTimeout(HandlerChecker checker, Optional<Long> timeoutMillis) { in HandlerCheckerAndTimeout() argument 220 this.mHandler = checker; in HandlerCheckerAndTimeout() 224 HandlerChecker checker() { in checker() method in Watchdog.HandlerCheckerAndTimeout 237 static HandlerCheckerAndTimeout withDefaultTimeout(HandlerChecker checker) { in withDefaultTimeout() argument 238 return new HandlerCheckerAndTimeout(checker, Optional.empty()); in withDefaultTimeout() 246 HandlerChecker checker, long timeoutMillis) { in withCustomTimeout() argument 247 return new HandlerCheckerAndTimeout(checker, Optional.of(timeoutMillis)); in withCustomTimeout() 669 HandlerChecker checker = hc.checker(); in pauseWatchingCurrentThreadFor() local 670 if (Thread.currentThread().equals(checker.getThread())) { in pauseWatchingCurrentThreadFor() 671 checker.pauseForLocked(pauseMillis, reason); in pauseWatchingCurrentThreadFor() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteTokenizer.java | 89 public static void tokenize(@Nullable String sql, int options, Consumer<String> checker) { in tokenize() argument 108 checker.accept(token); in tokenize() 145 checker.accept(token); in tokenize() 167 checker.accept(token); in tokenize()
|
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/ |
D | LockHook.java | 133 for (LockChecker checker : sCheckers) { in preLock() 134 checker.pre(lock); in preLock() 150 for (LockChecker checker : sCheckers) { in postLock() 151 checker.post(lock); in postLock() 279 for (LockChecker checker : sCheckers) { in dump() 282 checker.dump(pw); in dump()
|
D | OnThreadLockChecker.java | 61 mChecker = new Thread(() -> checker()); in OnThreadLockChecker() 353 private void checker() { in checker() method in OnThreadLockChecker
|
/frameworks/native/opengl/tools/glgen/src/ |
D | GLESCodeEmitter.java | 36 ParameterChecker checker, in GLESCodeEmitter() argument 40 mChecker = checker; in GLESCodeEmitter()
|
D | EGLCodeEmitter.java | 36 ParameterChecker checker, in EGLCodeEmitter() argument 40 mChecker = checker; in EGLCodeEmitter()
|
D | Jsr239CodeEmitter.java | 48 ParameterChecker checker, in Jsr239CodeEmitter() argument 58 mChecker = checker; in Jsr239CodeEmitter()
|
D | GenerateEGL.java | 84 ParameterChecker checker = new ParameterChecker(checksReader); in main() local 100 checker, egljStream, eglcStream); in main()
|
D | GenerateGLES.java | 83 ParameterChecker checker = new ParameterChecker(checksReader); in main() local 104 checker, gl11Stream, gl11cStream); in main()
|
D | GenerateGL.java | 134 ParameterChecker checker = new ParameterChecker(checksReader); in main() local 138 checker, in main()
|
/frameworks/base/ravenwood/scripts/ |
D | ravenwood-stats-collector.sh | 31 path=$ANDROID_BUILD_TOP/out/host/linux-x86/testcases/ravenwood-stats-checker/x86_64/ 40 m ravenwood-stats-checker
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerLiteInternal.java | 39 void notifyUnsafeOperationStateChanged(DevicePolicySafetyChecker checker, in notifyUnsafeOperationStateChanged() argument
|
/frameworks/base/tools/lint/ |
D | README.md | 6 1. [Global Checks](#android-global-lint-checker) 7 2. [Framework Checks](#android-framework-lint-checker) 24 5. Run `prebuilts/cmdline-tools/update-android-global-lint-checker.sh
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 723 public static <T> T checkArgument(Predicate<T> checker, String description, in checkArgument() argument 732 if (!checker.test(value)) { in checkArgument() 1226 public static void retryUntil(BooleanSupplier checker, String message) { in retryUntil() argument 1227 retryUntil(checker, message, 30); in retryUntil() 1230 public static void retryUntil(BooleanSupplier checker, String message, long timeoutSeconds) { in retryUntil() argument 1232 while (!checker.getAsBoolean()) { in retryUntil() 1241 assertTrue(message, checker.getAsBoolean()); in retryUntil()
|
/frameworks/base/tests/TelephonyCommonTests/ |
D | Android.bp | 45 // hidden api checker
|
/frameworks/base/ravenwood/ |
D | Android.bp | 267 name: "ravenwood-stats-checker", 268 src: "scripts/ravenwood-stats-checker.sh",
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | AttestationVerificationPeerDeviceVerifier.java | 306 PKIXCertPathChecker checker = new AndroidRevocationStatusListChecker(); in validateCertificateChain() local 307 validationParams.addCertPathChecker(checker); in validateCertificateChain()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 868 var checker = mock(TestableNotificationManagerService.ComponentPermissionChecker.class); in initNMS() local 869 mService.permissionChecker = checker; in initNMS() 870 when(checker.check(anyString(), anyInt(), anyInt(), anyBoolean())) in initNMS() 14700 final var checker = mService.permissionChecker; 14707 verify(checker, never()).check(any(), anyInt(), anyInt(), anyBoolean()); 14717 final var checker = mService.permissionChecker; 14720 when(checker.check(android.Manifest.permission.MANAGE_NOTIFICATIONS, uid, -1, true)) 14725 verify(checker).check(android.Manifest.permission.MANAGE_NOTIFICATIONS, uid, -1, true); 14735 final var checker = mService.permissionChecker; 14743 verify(checker).check(android.Manifest.permission.MANAGE_NOTIFICATIONS, uid, -1, true); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1018 public AnswerWithSystemCheck(Function<InvocationOnMock, T> checker) { in AnswerWithSystemCheck() argument 1019 mChecker = checker; in AnswerWithSystemCheck()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 2398 static int computeImeDisplayIdForTarget(int displayId, @NonNull ImeDisplayValidator checker) { in computeImeDisplayIdForTarget() argument 2405 final int result = checker.getDisplayImePolicy(displayId); in computeImeDisplayIdForTarget()
|
/frameworks/proto_logging/stats/enums/app/ |
D | settings_enums.proto | 2084 // OPEN: Settings > Language & input > Spell checker
|