/packages/modules/Bluetooth/offload/leaudio/hci/ |
D | tests.rs | 29 state: Mutex<ModuleSinkState>, field 194 let state = sink.state.lock().unwrap(); in cig() localVariable 211 let state = sink.state.lock().unwrap(); in cig() localVariable 249 let state = sink.state.lock().unwrap(); in cig() localVariable 265 let state = sink.state.lock().unwrap(); in cig() localVariable 270 let state = sink.state.lock().unwrap(); in cig() localVariable 400 let state = sink.state.lock().unwrap(); in big() localVariable 418 let state = sink.state.lock().unwrap(); in big() localVariable 442 let state = sink.state.lock().unwrap(); in big() localVariable 460 let state = sink.state.lock().unwrap(); in big() localVariable [all …]
|
D | proxy.rs | 33 state: Mutex<State>, field 64 state: StreamState, field 154 let state = self.state.lock().unwrap(); in arbiter() localVariable 167 let mut state = self.state.lock().unwrap(); in out_cmd() localVariable 187 let mut state = self.state.lock().unwrap(); in out_cmd() localVariable 200 let mut state = self.state.lock().unwrap(); in out_cmd() localVariable 219 let mut state = self.state.lock().unwrap(); in out_cmd() localVariable 238 let mut state = self.state.lock().unwrap(); in in_evt() localVariable 243 let mut state = self.state.lock().unwrap(); in in_evt() localVariable 253 let mut state = self.state.lock().unwrap(); in in_evt() localVariable [all …]
|
D | service.rs | 30 state: Arc<Mutex<State>>, field 34 let state = Arc::new(Mutex::new(State::default())); localVariable 52 let mut state = SERVICE.state.lock().unwrap(); in reset() localVariable 57 let mut state = SERVICE.state.lock().unwrap(); in start_stream() localVariable 67 let mut state = SERVICE.state.lock().unwrap(); in stop_stream() localVariable 76 state: Arc<Mutex<State>>, field 93 let mut state = self.state.lock().unwrap(); in registerCallbacks() localVariable 105 let state = self.state.lock().unwrap(); in sendPacket() localVariable
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/ |
D | FastBitmapDrawableTest.java | 77 int[] state = new int[]{}; in testOnStateChange_noState() local 88 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_statePressed() local 106 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHovered() local 124 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHoveredFlagDisabled() local 136 int[] state = new int[]{android.R.attr.state_pressed, android.R.attr.state_hovered}; in testOnStateChange_statePressedAndHovered() local 154 int[] state = new int[]{android.R.attr.state_hovered, android.R.attr.state_pressed}; in testOnStateChange_stateHoveredAndPressed() local 175 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_stateHoveredAndPressedToPressed() local 190 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHoveredAndPressedToHovered() local 204 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_stateHoveredToPressed() local 218 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_statePressedToHovered() local [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | LoadExerciseRoutePermissionUseCaseTest.kt | 96 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 112 val state = useCase.invoke(eq(TEST_APP_PACKAGE_NAME)) in <lambda>() constant 127 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 144 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 160 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 176 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 194 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 212 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 238 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant 257 val state = useCase.invoke(TEST_APP_PACKAGE_NAME) in <lambda>() constant
|
D | AdditionalAccessFragmentTest.kt | 186 val state = in <lambda>() constant 244 val state = in <lambda>() constant 299 val state = in <lambda>() constant 357 val state = in <lambda>() constant 412 val state = in <lambda>() constant 490 val state = in <lambda>() constant 568 val state = in <lambda>() constant 622 val state = in <lambda>() constant 673 val state = in <lambda>() constant 728 val state = in <lambda>() constant [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StateManager.java | 144 public boolean isInStableState(S state) { in isInStableState() 159 public void goToState(S state) { in goToState() 166 public void goToState(S state, AnimatorListener listener) { in goToState() 173 public void goToState(S state, boolean animated) { in goToState() 184 public void goToState(S state, boolean animated, AnimatorListener listener) { in goToState() 191 public void goToState(S state, long delay, AnimatorListener listener) { in goToState() 198 public void goToState(S state, long delay) { in goToState() 245 S state, boolean animated, long delay, AnimatorListener listener) { in goToState() 307 private void goToStateAnimated(S state, S fromState, in goToStateAnimated() 363 S state, long duration) { in createAnimationToNewWorkspace() [all …]
|
D | StatefulContainer.java | 62 default void onStateSetEnd(STATE_TYPE state) { in onStateSetEnd() 71 default void onStateSetStart(STATE_TYPE state) { in onStateSetStart() 82 default boolean isInState(STATE_TYPE state) { in isInState()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/ |
D | UIUpdateCallback.java | 36 void notifyUpdate(int state, PreferenceCompat preferenceCompat); in notifyUpdate() 45 void notifyUpdateAll(int state, List<PreferenceCompat> preferences); in notifyUpdateAll() 54 void notifyUpdateScreenTitle(int state, String title); in notifyUpdateScreenTitle() 61 void notifyNavigateBackward(int state); in notifyNavigateBackward() 69 void notifyNavigateForward(int state); in notifyNavigateForward()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | log_event_benchmark.cpp | 58 static void BM_LogEventCreation(benchmark::State& state) { in BM_LogEventCreation() 68 static void BM_LogEventCreationWithPrefetch(benchmark::State& state) { in BM_LogEventCreationWithPrefetch() 83 static void BM_LogEventCreationWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationWithPrefetchOnly() 95 static void BM_LogEventCreationMedium(benchmark::State& state) { in BM_LogEventCreationMedium() 106 static void BM_LogEventCreationMediumWithPrefetch(benchmark::State& state) { in BM_LogEventCreationMediumWithPrefetch() 121 static void BM_LogEventCreationMediumWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationMediumWithPrefetchOnly() 133 static void BM_LogEventCreationLarge(benchmark::State& state) { in BM_LogEventCreationLarge() 144 static void BM_LogEventCreationLargeWithPrefetch(benchmark::State& state) { in BM_LogEventCreationLargeWithPrefetch() 159 static void BM_LogEventCreationLargeWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationLargeWithPrefetchOnly() 171 static void BM_LogEventCreationExtraLarge(benchmark::State& state) { in BM_LogEventCreationExtraLarge() [all …]
|
D | data_structures_benchmark.cpp | 64 void benchmarkUpdateKeyValueContainer(benchmark::State& state) { in benchmarkUpdateKeyValueContainer() 89 static void BM_BasicVectorBoolUsage(benchmark::State& state) { in BM_BasicVectorBoolUsage() 99 static void BM_VectorBoolStdFill(benchmark::State& state) { in BM_VectorBoolStdFill() 109 static void BM_BasicVectorInt8Usage(benchmark::State& state) { in BM_BasicVectorInt8Usage() 119 static void BM_VectorInt8StdFill(benchmark::State& state) { in BM_VectorInt8StdFill() 129 static void BM_DictUpdateWithMap(benchmark::State& state) { in BM_DictUpdateWithMap() 134 static void BM_DictUpdateWithUnorderedMap(benchmark::State& state) { in BM_DictUpdateWithUnorderedMap()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 342 final @State int state = mManager.updateState( in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate() local 361 final @State int state = mManager.updateState( in testUpdateState_UpdatesToUnknown_RootDocIsNull() local 380 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot() local 399 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_DifferentRoot() local 421 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed() local 481 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() local 503 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() local 525 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() local 550 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() local 575 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() local [all …]
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 67 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) { in getInfo() 144 private static CharSequence getLabelForIncoming(Context context, PrimaryCallState state) { in getLabelForIncoming() 158 private static Spannable getColoredConnectionLabel(Context context, PrimaryCallState state) { in getColoredConnectionLabel() 191 private static CharSequence getLabelForDialing(Context context, PrimaryCallState state) { in getLabelForDialing() 231 private static CharSequence getCallingViaLabel(Context context, PrimaryCallState state) { in getCallingViaLabel() 247 private static CharSequence getConnectionLabel(PrimaryCallState state) { in getConnectionLabel() 258 private static CharSequence getLabelForVideoRequest(Context context, PrimaryCallState state) { in getLabelForVideoRequest() 278 private static boolean isAccount(PrimaryCallState state) { in isAccount()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppStateAlarmsAndRemindersBridgeTest.java | 141 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_SeaGrantedNoUeaNoAllowlist() local 163 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsBothSeaDeniedNoAllowlist() local 183 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsNoneNoAllowlist() local 203 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsOnlyUeaNoAllowlist() local 223 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsNoneButAllowlisted() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsProgressCategoryControllerTest.java | 404 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testOnStart_handleSourceFromQrCode() local 440 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testOnStart_handleSourceAlreadyStreaming_useNameFromMetadata() local 489 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testOnStart_sourceFromQrCodeNoId_sourceAlreadyConnected_sameName_updateId() local 522 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceFound_addNew() local 558 var state = stateCaptor.getValue(); in testHandleSourceAddRequest_updateMetadataAndState() local 608 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceFound_sameIdWithSourceFromQrCode_updateMetadataAndState() local 663 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceFound_sameIdWithOtherState_doNothing() local 695 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceLost_removed() local 733 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceLost_sourceConnected_doNothing() local 773 ArgumentCaptor<AudioStreamsProgressCategoryController.AudioStreamState> state = in testHandleSourceRemoved_removed() local [all …]
|
/packages/modules/Nfc/framework/java/android/nfc/ |
D | NfcActivityManager.java | 106 NfcActivityState state = findActivityState(activity); in getActivityState() local 149 NfcActivityState state = getActivityState(activity); in enableReaderMode() local 173 NfcActivityState state = getActivityState(activity); in disableReaderMode() local 208 NfcActivityState state = findResumedActivityState(); in onTagDiscovered() local 238 NfcActivityState state = findActivityState(activity); in onActivityResumed() local 267 NfcActivityState state = findActivityState(activity); in onActivityPaused() local 299 NfcActivityState state = findActivityState(activity); in onActivityDestroyed() local 314 NfcActivityState state = getActivityState(activity); in setDiscoveryTech() local 334 NfcActivityState state = getActivityState(activity); in resetDiscoveryTech() local
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | UserGrantTimeStateTest.java | 33 UserGrantTimeState state = new UserGrantTimeState(1); in testVersion_getReturnsInitedVersion() local 40 UserGrantTimeState state = new UserGrantTimeState(1); in testSharedUser_setSharedUserTime_containsSharedUser() local 50 UserGrantTimeState state = new UserGrantTimeState(1); in testPackage_setPackage_containsSetPackageTime() local
|
/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/evaluated/ |
D | TestState.kt | 70 val state = TestState(results, trustedDeviceInfo) in startFullTestFlow() constant 84 val state = TestState.fromActivity(from) in nextTestActivity() constant 102 val state = TestState.fromActivity(from)!! in nextTest() constant
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 48 int state = 1; in testDeviceState() local 56 assertEquals(deviceState.getDeviceState(), state); in testDeviceState() local 61 assertEquals(fromBundle.getDeviceState(), state); in testDeviceState() local 68 int state = 0; in testSessionStatus() local 82 assertEquals(sessionStatus.getState(), state); in testSessionStatus() local 90 assertEquals(fromBundle.getState(), state); in testSessionStatus() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 54 ActivityState state = null; in startState() local 80 ActivityState state = null; in startStateForResult() local 165 void finishState(ActivityState state) { in finishState() 176 void finishState(ActivityState state, boolean fireOnPause) { in finishState() 244 ActivityState state = null; in switchState() local 277 Bundle state = bundle.getBundle(KEY_STATE); in restoreFromState() local 306 Bundle state = new Bundle(); in saveState() local 333 public StateEntry(Bundle data, ActivityState state) { in StateEntry()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | MobileNetworkSummaryRepositoryTest.kt | 58 val state = repository.subscriptionsStateFlow().firstWithTimeoutOrNull() in <lambda>() constant 70 val state = repository.subscriptionsStateFlow().firstWithTimeoutOrNull() in <lambda>() constant 87 val state = repository.subscriptionsStateFlow().firstWithTimeoutOrNull() in <lambda>() constant
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SupplicantState.java | 171 public static boolean isValidState(SupplicantState state) { in isValidState() 177 public static boolean isHandshakeState(SupplicantState state) { in isHandshakeState() 201 public static boolean isConnecting(SupplicantState state) { in isConnecting() 224 public static boolean isDriverActive(SupplicantState state) { in isDriverActive()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | BottomSheetIdlingResource.java | 52 int state = mBottomSheetBehavior.getState(); in isIdleNow() local 68 private boolean isExpectedState(int state) { in isExpectedState() 73 private boolean isIdleState(int state) { in isIdleState() 81 public void setExpectedState(int state) { in setExpectedState()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 82 void onTetherStateUpdated(@TetheringState int state); in onTetherStateUpdated() 89 public void onInterfaceStateChanged(@NonNull String iface, int state, int role, in onInterfaceStateChanged() 222 int state = getTetheringState(tethered); in updateState() local 281 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() 299 int state = getTetheringState(null /* tethered */); in stopTethering() local 316 int state = getTetheringState(null /* tethered */); in startTethering() local 355 private boolean handleBluetoothStateChanged(int state) { in handleBluetoothStateChanged() 373 private boolean handleWifiApStateChanged(int state) { in handleWifiApStateChanged()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateAdapter.java | 52 State state = getItem(position); in getView() local 67 public boolean contains(State state) { in contains() 90 State state = getItem(i); in same() local 109 public void remove(State state) { in remove()
|