/aosp12/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputUtils.cpp | 192 auto iter = states.distortionMappers.find(states.cameraId.c_str()); in sendPartialCaptureResult() 201 auto mapper = states.rotateAndCropMappers.find(states.cameraId.c_str()); in sendPartialCaptureResult() 292 auto iter = states.distortionMappers.find(states.cameraId.c_str()); in sendCaptureResult() 305 res = states.zoomRatioMappers[states.cameraId.c_str()].updateCaptureResult( in sendCaptureResult() 315 auto mapper = states.rotateAndCropMappers.find(states.cameraId.c_str()); in sendCaptureResult() 351 res = fixupMonochromeTags(states, states.deviceInfo, captureResult.mMetadata); in sendCaptureResult() 464 states.useHalBufManager, states.listener, in removeInFlightRequestIfReadyLocked() 675 states.useHalBufManager, states.listener, in processCaptureResult() 1060 states.useHalBufManager, states.listener, r, states.sessionStatsBuilder); in notifyShutter() 1239 notify(states, &m); in notify() [all …]
|
H A D | Camera3OfflineSession.cpp | 177 FlushInflightReqStates states { in disconnectImpl() local 181 camera3::flushInflightRequests(states); in disconnectImpl() 251 CaptureOutputStates states { in processCaptureResult_3_4() local 291 CaptureOutputStates states { in processCaptureResult() local 309 processOneCaptureResultLocked(states, result, noPhysMetadata); in processCaptureResult() 326 CaptureOutputStates states { in notify() local 342 camera3::notify(states, msg); in notify() 358 RequestBufferStates states { in requestStreamBuffers() local 361 camera3::requestStreamBuffers(states, bufReqs, _hidl_cb); in requestStreamBuffers() 375 ReturnBufferStates states { in returnStreamBuffers() local [all …]
|
/aosp12/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | StateWaiter.java | 120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) { in waitForAnyOfStates() argument 121 checkStateCollectionInRange(states); in waitForAnyOfStates() 132 appendStateNames(s, states); in waitForAnyOfStates() 143 if (states.contains(nextState)) { in waitForAnyOfStates() 158 if (!states.contains(nextState)) { in waitForAnyOfStates() 162 appendStateNames(s, states); in waitForAnyOfStates() 180 public void appendStateNames(StringBuilder s, Collection<Integer> states) { in appendStateNames() argument 181 checkStateCollectionInRange(states); in appendStateNames() 184 for (Integer state : states) { in appendStateNames() 213 for (int state : states) { in checkStateCollectionInRange() [all …]
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
H A D | NetworkStatsServiceTest.java | 334 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 415 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 489 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 530 mService.notifyNetworkStatus(NETWORKS_MOBILE, states, getActiveIface(states), 605 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 866 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 925 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 969 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 1024 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), 1082 mService.notifyNetworkStatus(NETWORKS_WIFI, states, getActiveIface(states), [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | SwitchCompatUtils.java | 68 final int[][] states = new int[3][]; in getSwitchThumbColorStateList() local 72 states[i] = new int[] { -android.R.attr.state_enabled }; in getSwitchThumbColorStateList() 75 states[i] = new int[] { android.R.attr.state_checked }; in getSwitchThumbColorStateList() 79 states[i] = new int[0]; in getSwitchThumbColorStateList() 83 return new ColorStateList(states, colors); in getSwitchThumbColorStateList() 88 final int[][] states = new int[3][]; in getSwitchTrackColorStateList() local 92 states[i] = new int[] { -android.R.attr.state_enabled }; in getSwitchTrackColorStateList() 95 states[i] = new int[] { android.R.attr.state_checked }; in getSwitchTrackColorStateList() 99 states[i] = new int[0]; in getSwitchTrackColorStateList() 102 return new ColorStateList(states, colors); in getSwitchTrackColorStateList()
|
/aosp12/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraStateHolder.java | 121 public boolean waitForStates(final int states) { in waitForStates() argument 122 Log.v(TAG, "waitForStates - states = " + Integer.toBinaryString(states)); in waitForStates() 126 return (states | getState()) == states; in waitForStates() 139 public boolean waitToAvoidStates(final int states) { 140 Log.v(TAG, "waitToAvoidStates - states = " + Integer.toBinaryString(states)); 144 return (states & getState()) == 0;
|
/aosp12/frameworks/native/libs/binder/include_processinfo/processinfo/ |
H A D | ProcessInfoService.h | 38 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states); 40 /*out*/ int32_t* states, /*out*/ int32_t *scores); 56 /*out*/ int32_t* states) { in getProcessStatesFromPids() argument 58 /*out*/ states); in getProcessStatesFromPids() 72 /*out*/ int32_t* states, /*out*/ int32_t *scores) { in getProcessStatesScoresFromPids() argument 74 length, /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresFromPids()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 981 FileState states[4]; in backup_helper_test_four() local 990 states[0].nameLen = -12; in backup_helper_test_four() 991 r.s = states[0]; in backup_helper_test_four() 1000 states[1].nameLen = -1; in backup_helper_test_four() 1001 r.s = states[1]; in backup_helper_test_four() 1010 states[2].nameLen = 0; in backup_helper_test_four() 1011 r.s = states[2]; in backup_helper_test_four() 1020 states[3].nameLen = 0; in backup_helper_test_four() 1021 r.s = states[3]; in backup_helper_test_four() 1103 || states[i].size != state.size || states[i].crc32 != states[i].crc32) { in backup_helper_test_four() [all …]
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
H A D | QuickstepAtomicAnimationFactory.java | 16 package com.android.launcher3.uioverrides.states; 37 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 38 import static com.android.launcher3.states.StateAnimationConfig.ANIM_DEPTH; 40 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 41 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 42 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 44 import static com.android.launcher3.states.StateAnimationConfig.ANIM_SCRIM_FADE; 45 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 46 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_SCALE; 47 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; [all …]
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IProcessInfoService.cpp | 32 /*out*/ int32_t* states) in getProcessStatesFromPids() argument 46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) { in getProcessStatesFromPids() 53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores) in getProcessStatesAndOomScoresFromPids() argument 72 states, length * sizeof(*states))) != NO_ERROR) { in getProcessStatesAndOomScoresFromPids()
|
/aosp12/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateCallback.java | 172 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { in waitForAnyOfStates() argument 181 appendStates(s, states); in waitForAnyOfStates() 194 if (states.contains(nextState)) break; in waitForAnyOfStates() 207 if (!states.contains(nextState)) { in waitForAnyOfStates() 211 appendStates(s, states); in waitForAnyOfStates() 229 public static void appendStates(StringBuilder s, Collection<Integer> states) { in appendStates() argument 231 for (Integer state : states) { in appendStates()
|
H A D | BlockingOfflineSessionCallback.java | 189 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { in waitForAnyOfStates() argument 198 appendStates(s, states); in waitForAnyOfStates() 211 if (states.contains(nextState)) break; in waitForAnyOfStates() 224 if (!states.contains(nextState)) { in waitForAnyOfStates() 228 appendStates(s, states); in waitForAnyOfStates() 246 public static void appendStates(StringBuilder s, Collection<Integer> states) { in appendStates() argument 248 for (Integer state : states) { in appendStates()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StateAdapter.java | 84 public boolean same(Vector<State> states) { in same() argument 86 if (states.size() + 1 != getCount()) { in same() 91 if (!state.equals(states.elementAt(i-1))) { in same() 98 public void fill(Vector<State> states) { in fill() argument 99 if (same(states)) { in fill() 104 addAll(states); in fill()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
H A D | BaseRecentsViewStateController.java | 23 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 24 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_MODAL; 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 28 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 42 import com.android.launcher3.states.StateAnimationConfig;
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 254 public static int[] trimStateSet(int[] states, int newSize) { in trimStateSet() argument 255 if (states.length == newSize) { in trimStateSet() 256 return states; in trimStateSet() 260 System.arraycopy(states, 0, trimmedStates, 0, newSize); in trimStateSet() 264 public static String dump(int[] states) { in dump() argument 267 int count = states.length; in dump() 270 switch (states[i]) { in dump()
|
/aosp12/hardware/interfaces/power/1.1/ |
H A D | types.hal | 20 * PowerStateSubsystemSleepState represents the sleep states 55 * and all the sleep states this susbsystem is capable of getting into. 66 * states represents the list of sleep states supported by this susbsystem. 67 * Higher the index in the returned <states> vector deeper the state is 72 * or the subsystem does not have any sleep states. 74 vec<PowerStateSubsystemSleepState> states;
|
/aosp12/packages/modules/adb/ |
H A D | services.cpp | 175 std::vector<ConnectionState> states; in wait_service() local 178 states.push_back(kCsDevice); in wait_service() 180 states.push_back(kCsRecovery); in wait_service() 182 states.push_back(kCsRescue); in wait_service() 184 states.push_back(kCsSideload); in wait_service() 186 states.push_back(kCsBootloader); in wait_service() 188 states.push_back(kCsAny); in wait_service() 190 states.push_back(kCsOffline); in wait_service() 204 for (const auto& state : states) { in wait_service()
|
/aosp12/hardware/interfaces/automotive/can/1.0/default/libnetdevice/ |
H A D | libnetdevice.cpp | 146 StatesMap states = {}; in waitFor() local 150 states[ifname] = {present, up}; in waitFor() 156 const auto isFullySatisfied = [&states, allOf, mapConditionChecker]() { in waitFor() 158 return std::all_of(states.begin(), states.end(), mapConditionChecker); in waitFor() 160 return std::any_of(states.begin(), states.end(), mapConditionChecker); in waitFor() 177 states[ifname] = {present, up}; in waitFor()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
H A D | QuickSwitchTouchController.java | 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE; 26 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_FADE; 27 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 28 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 29 import static com.android.launcher3.states.StateAnimationConfig.ANIM_VERTICAL_PROGRESS; 30 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 31 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 44 import com.android.launcher3.states.StateAnimationConfig;
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/ |
H A D | NetworkModule.java | 45 ArraySet<State> states = new ArraySet<>(); field in NetworkModule 61 if (states.size() == 0) { in addState() 71 states.add(state); in addState() 79 states.remove(state); in removeState() 80 if (states.size() == 0) { in removeState() 105 states.stream() in onConnectivityChange()
|
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
H A D | VolumeDialogController.java | 102 public final SparseArray<StreamState> states = new SparseArray<>(); field in VolumeDialogController.State 117 for (int i = 0; i < states.size(); i++) { in copy() 118 rt.states.put(states.keyAt(i), states.valueAt(i).copy()); in copy() 143 for (int i = 0; i < states.size(); i++) { in toString() 147 final int stream = states.keyAt(i); in toString() 148 final StreamState ss = states.valueAt(i); in toString()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
H A D | FallbackRecentsStateController.java | 21 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_MODAL; 22 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_SCALE; 23 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_X; 24 import static com.android.launcher3.states.StateAnimationConfig.ANIM_OVERVIEW_TRANSLATE_Y; 25 import static com.android.launcher3.states.StateAnimationConfig.ANIM_SCRIM_FADE; 26 import static com.android.launcher3.states.StateAnimationConfig.SKIP_OVERVIEW; 46 import com.android.launcher3.states.StateAnimationConfig;
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/ |
H A D | BluetoothInCallService.java | 1051 states.add(Call.STATE_CONNECTING); in getForegroundCall() 1057 states.clear(); in getForegroundCall() 1058 states.add(Call.STATE_ACTIVE); in getForegroundCall() 1059 states.add(Call.STATE_DIALING); in getForegroundCall() 1066 states.clear(); in getForegroundCall() 1067 states.add(Call.STATE_RINGING); in getForegroundCall() 1126 states.add(Call.STATE_CONNECTING); in getOutgoingCall() 1127 states.add(Call.STATE_DIALING); in getOutgoingCall() 1129 return getCallByStates(states); in getOutgoingCall() 1134 states.add(Call.STATE_RINGING); in getRingingOrSimulatedRingingCall() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | WorkspaceStateTransitionAnimation.java | 36 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_SCALE; 37 import static com.android.launcher3.states.StateAnimationConfig.ANIM_HOTSEAT_TRANSLATE; 38 import static com.android.launcher3.states.StateAnimationConfig.ANIM_SCRIM_FADE; 39 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_FADE; 40 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_SCALE; 41 import static com.android.launcher3.states.StateAnimationConfig.ANIM_WORKSPACE_TRANSLATE; 42 import static com.android.launcher3.states.StateAnimationConfig.SKIP_SCRIM; 55 import com.android.launcher3.states.SpringLoadedState; 56 import com.android.launcher3.states.StateAnimationConfig;
|
/aosp12/system/netd/server/ |
H A D | SockDiag.cpp | 110 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint8_t extensions, uint32_t states, in sendDumpRequest() argument 124 .idiag_states = states, in sendDumpRequest() 143 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() argument 147 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest() 215 uint32_t states = ~(1 << TCP_TIME_WAIT); in sendDumpRequest() local 216 return sendDumpRequest(proto, family, 0, states, iov, ARRAY_SIZE(iov)); in sendDumpRequest() 354 const uint32_t states = (1 << TCP_ESTABLISHED) | (1 << TCP_SYN_SENT) | (1 << TCP_SYN_RECV); in destroyLiveSockets() local 358 if (int ret = sendDumpRequest(proto, family, 0, states, iov, iovcnt)) { in destroyLiveSockets() 373 const uint32_t states = (1 << TCP_ESTABLISHED) | (1 << TCP_SYN_SENT) | (1 << TCP_SYN_RECV); in getLiveTcpInfos() local 407 uint32_t states = (1 << TCP_ESTABLISHED) | (1 << TCP_SYN_SENT) | (1 << TCP_SYN_RECV); in destroySockets() local [all …]
|