/frameworks/base/core/tests/coretests/src/android/os/ |
D | ParcelNullabilityTest.java | 47 Parcel p = Parcel.obtain(); in nullByteArray() 55 Parcel p = Parcel.obtain(); in nullBlob() 63 Parcel p = Parcel.obtain(); in nullString() 72 Parcel p = Parcel.obtain(); in nullCharSequence() 81 Parcel p = Parcel.obtain(); in nullStrongBinder() 90 Parcel p = Parcel.obtain(); in nullStringInterface() 98 Parcel p = Parcel.obtain(); in nullFileDescriptor() 108 Parcel p = Parcel.obtain(); in nullRawFileDescriptor() 118 Parcel p = Parcel.obtain(); in nullRawFileDescriptorArray() 126 Parcel p = Parcel.obtain(); in nullMap() [all …]
|
D | ParcelTest.java | 53 Parcel p = Parcel.obtain(); in testIsForRpc() 61 Parcel p = Parcel.obtain(); in testCallingWorkSourceUidAfterWrite() 82 Parcel p = Parcel.obtain(); in testCallingWorkSourceUidAfterEnforce() 100 Parcel p = Parcel.obtain(); in testParcelWithMultipleHeaders() 126 final Parcel p = Parcel.obtain(); in testStrings() 141 Parcel pA = Parcel.obtain(); in testCompareDataInRange_whenSameData() 146 Parcel pB = Parcel.obtain(); in testCompareDataInRange_whenSameData() 159 Parcel pA = Parcel.obtain(); in testCompareDataInRange_whenSameDataWithBinder() 165 Parcel pB = Parcel.obtain(); in testCompareDataInRange_whenSameDataWithBinder() 177 Parcel pA = Parcel.obtain(); in testCompareDataInRange_whenDifferentData() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | TimeLimitedInputEventBufferTest.java | 61 MotionEvent eventA = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testMotionEventAllEventsRetained() 62 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventAllEventsRetained() 63 MotionEvent eventC = MotionEvent.obtain(0, 2, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventAllEventsRetained() 64 MotionEvent eventD = MotionEvent.obtain(0, 3, MotionEvent.ACTION_UP, 0, 0, 0); in testMotionEventAllEventsRetained() 76 MotionEvent eventA = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testMotionEventOlderEventsRemoved() 77 MotionEvent eventB = MotionEvent.obtain(0, 1, MotionEvent.ACTION_MOVE, 0, 0, 0); in testMotionEventOlderEventsRemoved() 78 MotionEvent eventC = MotionEvent.obtain( in testMotionEventOlderEventsRemoved() 80 MotionEvent eventD = MotionEvent.obtain( in testMotionEventOlderEventsRemoved() 97 KeyEvent eventA = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, 0, 0, in testKeyEventAllEventsRetained() 99 KeyEvent eventB = KeyEvent.obtain(0, 3, KeyEvent.ACTION_UP, KeyEvent.KEYCODE_A, 0, 0, 0, 0, in testKeyEventAllEventsRetained() [all …]
|
D | FalsingCollectorImplTest.java | 242 KeyEvent enterDown = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in testPassThroughEnterKeyEvent() 244 KeyEvent enterUp = KeyEvent.obtain(0, 0, MotionEvent.ACTION_UP, KeyEvent.KEYCODE_ENTER, 0, in testPassThroughEnterKeyEvent() 258 KeyEvent aKeyDown = KeyEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_A, in testAvoidAKeyEvent() 260 KeyEvent aKeyUp = KeyEvent.obtain(0, 0, MotionEvent.ACTION_UP, KeyEvent.KEYCODE_A, 0, in testAvoidAKeyEvent() 272 MotionEvent down = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testPassThroughGesture() 273 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, 0, 0, 0); in testPassThroughGesture() 290 MotionEvent down = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testAvoidGesture() 291 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testAvoidGesture() 305 MotionEvent outside = MotionEvent.obtain(0, 0, MotionEvent.ACTION_OUTSIDE, 0, 0, 0); in testIgnoreActionOutside() 306 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, 0, 0, 0); in testIgnoreActionOutside() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationTapHelperTest.java | 78 MotionEvent evDownA = MotionEvent.obtain(downtimeA, in testDoubleTap_success() 84 MotionEvent evUpA = MotionEvent.obtain(downtimeA, in testDoubleTap_success() 90 MotionEvent evDownB = MotionEvent.obtain(downtimeB, in testDoubleTap_success() 96 MotionEvent evUpB = MotionEvent.obtain(downtimeB, in testDoubleTap_success() 122 MotionEvent evDownA = MotionEvent.obtain(downtimeA, in testSingleTap_timeout() 128 MotionEvent evUpA = MotionEvent.obtain(downtimeA, in testSingleTap_timeout() 149 MotionEvent evDownA = MotionEvent.obtain(downtimeA, in testSingleTap_falsed() 155 MotionEvent evUpA = MotionEvent.obtain(downtimeA, in testSingleTap_falsed() 177 MotionEvent evDownA = MotionEvent.obtain(downtimeA, in testDoubleTap_falsed() 183 MotionEvent evUpA = MotionEvent.obtain(downtimeA, in testDoubleTap_falsed() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 72 MotionEvent motionEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, in testObtainWithDisplayId() 76 MotionEvent motionEvent_Single = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainWithDisplayId() 92 motionEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, in testObtainWithDisplayId() 100 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForTouchscreenEvents() 110 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEvents() 120 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testCalculatesCursorPositionForSimpleMouseEventsWithOffset() 136 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, in testCalculatesCursorPositionForMultiTouchMouseEvents() 156 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesUniqueId() 166 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testObtainGeneratesIdWithRightSource() 177 final MotionEvent event = MotionEvent.obtain(0 /* downTime */, 0 /* eventTime */, in testEventRotation() [all …]
|
D | VelocityTest.java | 41 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() 53 VelocityTracker vt = VelocityTracker.obtain(); in testClear() 68 VelocityTracker vt = VelocityTracker.obtain(); in testDragAcceleration() 79 VelocityTracker vt = VelocityTracker.obtain(); in testDragDeceleration() 91 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal() 104 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical() 121 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points() 138 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints() 160 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime() 182 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ObjectPoolTests.java | 107 testRecycle(() -> ActivityConfigurationChangeItem.obtain(mActivityToken, config(), in testRecycleActivityConfigurationChangeItem() 113 testRecycle(() -> ActivityResultItem.obtain(mActivityToken, resultInfoList())); in testRecycleActivityResultItem() 118 testRecycle(() -> ConfigurationChangeItem.obtain(config(), 1)); in testRecycleConfigurationChangeItem() 123 testRecycle(() -> DestroyActivityItem.obtain(mActivityToken, true)); in testRecycleDestroyActivityItem() 176 testRecycle(() -> ActivityRelaunchItem.obtain(mActivityToken, in testRecycleActivityRelaunchItem() 183 testRecycle(() -> MoveToDisplayItem.obtain(mActivityToken, 4, config(), in testRecycleMoveToDisplayItem() 189 testRecycle(() -> NewIntentItem.obtain(mActivityToken, referrerIntentList(), false)); in testRecycleNewIntentItem() 194 testRecycle(() -> PauseActivityItem.obtain(mActivityToken, true, true, true, true)); in testRecyclePauseActivityItemItem() 199 testRecycle(() -> ResumeActivityItem.obtain(mActivityToken, 3, true, false)); in testRecycleResumeActivityItem() 204 testRecycle(() -> StartActivityItem.obtain(mActivityToken, in testRecycleStartActivityItem() [all …]
|
D | TransactionParcelTests.java | 78 mParcel = Parcel.obtain(); in setUp() 85 ConfigurationChangeItem item = ConfigurationChangeItem.obtain(config(), 1 /* deviceId */); in testConfigurationChange() 101 ActivityConfigurationChangeItem item = ActivityConfigurationChangeItem.obtain( in testActivityConfigChange() 119 MoveToDisplayItem item = MoveToDisplayItem.obtain(mActivityToken, 4 /* targetDisplayId */, in testMoveToDisplay() 133 NewIntentItem item = NewIntentItem.obtain(mActivityToken, referrerIntentList(), false); in testNewIntent() 146 ActivityResultItem item = ActivityResultItem.obtain(mActivityToken, resultInfoList()); in testActivityResult() 158 DestroyActivityItem item = DestroyActivityItem.obtain(mActivityToken, true /* finished */); in testDestroy() 231 ActivityRelaunchItem item = ActivityRelaunchItem.obtain(mActivityToken, resultInfoList(), in testRelaunch() 245 PauseActivityItem item = PauseActivityItem.obtain(mActivityToken, true /* finished */, in testPause() 259 ResumeActivityItem item = ResumeActivityItem.obtain(mActivityToken, 27 /* procState */, in testResume() [all …]
|
D | ClientTransactionItemTest.java | 110 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_preExecute() 120 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_postExecute() 130 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_execute() 140 .obtain(mWindowClientToken, mConfiguration, DEFAULT_DISPLAY); in testWindowContextInfoChangeItem_execute() 149 final WindowContextWindowRemovalItem item = WindowContextWindowRemovalItem.obtain( in testWindowContextWindowRemovalItem_execute() 158 final WindowStateResizeItem item = WindowStateResizeItem.obtain(mWindow, mFrames, in testWindowStateResizeItem_execute() 172 final WindowStateInsetsControlChangeItem item = WindowStateInsetsControlChangeItem.obtain( in testWindowStateInsetsControlChangeItem_execute() 184 final WindowStateInsetsControlChangeItem item = WindowStateInsetsControlChangeItem.obtain( in testWindowStateInsetsControlChangeItem_executeError()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/core/ |
D | LoggerTest.kt | 30 whenever(buffer.obtain(any(), any(), any(), isNull())).thenAnswer { in setup() 54 verify(buffer).obtain(eq("LoggerTest"), any(), any(), nullable()) in log_shouldUseCorrectLoggerTag() 61 verify(buffer).obtain(anyString(), eq(LogLevel.VERBOSE), any(), nullable()) in v_withMessageInitializer_shouldLogAtCorrectLevel() 68 verify(buffer).obtain(anyString(), eq(LogLevel.VERBOSE), any(), nullable()) in v_withCompileTimeMessage_shouldLogAtCorrectLevel() 75 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable()) in d_withMessageInitializer_shouldLogAtCorrectLevel() 82 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable()) in d_withCompileTimeMessage_shouldLogAtCorrectLevel() 89 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable()) in i_withMessageInitializer_shouldLogAtCorrectLevel() 96 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable()) in i_withCompileTimeMessage_shouldLogAtCorrectLevel() 103 verify(buffer).obtain(anyString(), eq(LogLevel.WARNING), any(), nullable()) in w_withMessageInitializer_shouldLogAtCorrectLevel() 110 verify(buffer).obtain(anyString(), eq(LogLevel.WARNING), any(), nullable()) in w_withCompileTimeMessage_shouldLogAtCorrectLevel() [all …]
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 159 Parcel data = Parcel.obtain(); in getWindow() 160 Parcel reply = Parcel.obtain(); in getWindow() 180 Parcel data = Parcel.obtain(); in onMove() 181 Parcel reply = Parcel.obtain(); in onMove() 196 Parcel data = Parcel.obtain(); in deactivate() 197 Parcel reply = Parcel.obtain(); in deactivate() 211 Parcel data = Parcel.obtain(); in close() 212 Parcel reply = Parcel.obtain(); in close() 225 Parcel data = Parcel.obtain(); in requery() 226 Parcel reply = Parcel.obtain(); in requery() [all …]
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | NotificationVisibility.java | 100 return obtain(this.key, this.rank, this.count, this.visible, this.location); in clone() 144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain() method in NotificationVisibility 145 return obtain(key, rank, count, visible, in obtain() 152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain() method in NotificationVisibility 154 NotificationVisibility vo = obtain(); in obtain() 163 private static NotificationVisibility obtain(Parcel in) { in obtain() method in NotificationVisibility 164 NotificationVisibility vo = obtain(); in obtain() 169 private static NotificationVisibility obtain() { in obtain() method in NotificationVisibility 192 return obtain(parcel);
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 101 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation() 116 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation() 131 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_Hyphenation() 146 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation() 161 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation() 176 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation_Fast() 191 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_Styled_Greedy_NoHyphenation() 208 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() 226 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent() 244 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 155 public static Message obtain() { in obtain() method in Message 175 public static Message obtain(Message orig) { in obtain() method in Message 176 Message m = obtain(); in obtain() 198 public static Message obtain(Handler h) { in obtain() method in Message 199 Message m = obtain(); in obtain() 212 public static Message obtain(Handler h, Runnable callback) { in obtain() method in Message 213 Message m = obtain(); in obtain() 227 public static Message obtain(Handler h, int what) { in obtain() method in Message 228 Message m = obtain(); in obtain() 243 public static Message obtain(Handler h, int what, Object obj) { in obtain() method in Message [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | VelocityTracker_Delegate.java | 26 public static VelocityTracker obtain() { in obtain() method in VelocityTracker_Delegate 29 return VelocityTracker.obtain(VELOCITY_TRACKER_STRATEGY_IMPULSE); in obtain() 33 public static VelocityTracker obtain(String strategy) { in obtain() method in VelocityTracker_Delegate 38 public static VelocityTracker obtain(int strategy) { in obtain() method in VelocityTracker_Delegate
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternViewTest.java | 139 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, mDot1x, mDot1y, 1)); in downStartsPattern() 148 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, mDot1x, mDot1y, 1)); in up_completesPattern() 150 MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, mDot1x, mDot1y, 1)); in up_completesPattern() 159 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 1f, 1f, 1)); in moveToDot_hitsDot() 161 MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, mDot1x, mDot1y, 1)); in moveToDot_hitsDot() 170 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 1f, 1f, 1)); in moveOutside_doesNotHitsDot() 172 MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, 2f, 2f, 1)); in moveOutside_doesNotHitsDot() 181 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 1f, 1f, 1)); in moveAlongTwoDots_hitsTwo() 184 MotionEvent.obtain(0, 3, MotionEvent.ACTION_UP, mDot2x, mDot2y, 1)); in moveAlongTwoDots_hitsTwo() 198 MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 1f, 1f, 1)); in moveAlongTwoDotsDiagonally_hitsTwo() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ProxyControllerTest.java | 76 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testMultiSimConfigChange() 82 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testMultiSimConfigChange() 95 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testRequestNotSupported() 104 Message.obtain( in testRequestNotSupported() 127 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse() 136 Message.obtain( in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse() 159 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse() 168 Message.obtain( in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse() 187 Message.obtain(mProxyController.mHandler, EVENT_MULTI_SIM_CONFIG_CHANGED).sendToTarget(); in testOnRCResponseTimeout_WithExceptionOnFinishResponse() 196 Message.obtain( in testOnRCResponseTimeout_WithExceptionOnFinishResponse() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 127 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO() 157 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOO() 165 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOO() 172 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOOO() 181 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOOO() 190 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOOOO() 200 SomeArgs args = SomeArgs.obtain(); in obtainMessageOO() 208 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOO() 217 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOO() 227 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOOO() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 473 Parcel data = Parcel.obtain(); in query() 474 Parcel reply = Parcel.obtain(); in query() 521 Parcel data = Parcel.obtain(); in getType() 522 Parcel reply = Parcel.obtain(); in getType() 542 Parcel data = Parcel.obtain(); in getTypeAsync() 559 Parcel data = Parcel.obtain(); in getTypeAnonymousAsync() 577 Parcel data = Parcel.obtain(); in insert() 578 Parcel reply = Parcel.obtain(); in insert() 601 Parcel data = Parcel.obtain(); in bulkInsert() 602 Parcel reply = Parcel.obtain(); in bulkInsert() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | AdnRecordCacheTest.java | 108 Message message1 = Message.obtain(mTestHandler); in resetTest() 109 Message message2 = Message.obtain(mTestHandler); in resetTest() 134 Message message = Message.obtain(mTestHandler); in updateAdnByIndexEfException() 146 Message message = Message.obtain(mTestHandler); in updateAdnByIndex_WriteResponseException() 147 Message message2 = Message.obtain(mTestHandler); in updateAdnByIndex_WriteResponseException() 170 Message message = Message.obtain(mTestHandler); in updateAdnByIndex() 182 Message message = Message.obtain(mTestHandler); in updateAdnBySearch_EfException() 193 Message message = Message.obtain(mTestHandler); in updateAdnBySearch_Exception() 206 Message message = Message.obtain(mTestHandler); in updateAdnBySearch_AdnListError() 231 Message message = Message.obtain(mTestHandler); in updateAdnBySearch_PendingUpdate() [all …]
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/ |
D | SoundTriggerTest.java | 48 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_noUsers() 65 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_zeroUsers() 85 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_pos() 110 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noData() 132 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroData() 154 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases() 173 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases() 200 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_largeData() 232 Parcel parcel = Parcel.obtain(); in testRecognitionEventParcelUnparcel_noData() 261 Parcel parcel = Parcel.obtain(); in testRecognitionEventParcelUnparcel_zeroData() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 468 Message msg = Message.obtain(); in disconnect() 506 Message msg = Message.obtain(); in sendMessage() 519 Message msg = Message.obtain(); in sendMessage() 534 Message msg = Message.obtain(); in sendMessage() 551 Message msg = Message.obtain(); in sendMessage() 566 Message msg = Message.obtain(); in sendMessage() 597 Message msg = Message.obtain(); in replyToMessage() 611 Message msg = Message.obtain(); in replyToMessage() 626 Message msg = Message.obtain(); in replyToMessage() 644 Message msg = Message.obtain(); in replyToMessage() [all …]
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizerImpl.java | 171 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); in setRecognitionListener() 194 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); in startListening() 209 putMessage(Message.obtain(mHandler, MSG_STOP)); in stopListening() 216 putMessage(Message.obtain(mHandler, MSG_CANCEL)); in cancel() 238 putMessage(Message.obtain(mHandler, MSG_CHECK_RECOGNITION_SUPPORT, in checkRecognitionSupport() 255 putMessage(Message.obtain( in triggerModelDownload() 276 putMessage(Message.obtain( in triggerModelDownload() 285 Message.obtain(mHandler, MSG_SET_TEMPORARY_ON_DEVICE_COMPONENT, componentName)); in setTemporaryOnDeviceRecognizer() 642 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); in onBeginningOfSpeech() 646 Message.obtain(mInternalHandler, MSG_BUFFER_RECEIVED, buffer).sendToTarget(); in onBufferReceived() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | NotificationVisibilityProviderImpl.kt | 40 override fun obtain(entry: NotificationEntry, visible: Boolean): NotificationVisibility { in obtain() method in com.android.systemui.statusbar.notification.collection.provider.NotificationVisibilityProviderImpl 45 return NotificationVisibility.obtain(entry.key, rank, count, visible && hasRow, location) in obtain() 48 override fun obtain(key: String, visible: Boolean): NotificationVisibility = in obtain() method in com.android.systemui.statusbar.notification.collection.provider.NotificationVisibilityProviderImpl 49 notifCollection.getEntry(key)?.let { return obtain(it, visible) } in obtain() 50 ?: NotificationVisibility.obtain(key, -1, getCount(), false)
|