/aosp12/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/ |
H A D | OfflineLocationTimeZoneDelegate.java | 181 Mode currentMode = mCurrentMode.get(); in onBind() local 200 Mode currentMode = mCurrentMode.get(); in onDestroy() local 217 Mode currentMode = mCurrentMode.get(); in onStartUpdates() local 218 switch (currentMode.mModeEnum) { in onStartUpdates() 245 switch (currentMode.mModeEnum) { in onStopUpdates() 373 Mode currentMode = mCurrentMode.get(); in handleLocationKnown() local 406 Mode currentMode = mCurrentMode.get(); in handleLocationNotKnown() local 555 Mode currentMode = mCurrentMode.get(); in cancelTimeoutsAndLocationCallbacks() local 556 currentMode.cancelLocationListening(); in cancelTimeoutsAndLocationCallbacks() 621 Mode currentMode = mCurrentMode.get(); in startNextLocationListening() local [all …]
|
/aosp12/hardware/st/secure_element/ese-spi-driver/ |
H A D | SpiLayerDriver.cc | 28 int currentMode; variable 68 currentMode = MODE_RX; in SpiLayerDriver_open() 108 if (currentMode != MODE_RX) { in SpiLayerDriver_read() 109 currentMode = MODE_RX; in SpiLayerDriver_read() 177 if (currentMode != MODE_TX) { in SpiLayerDriver_write() 178 currentMode = MODE_TX; in SpiLayerDriver_write()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | RecapitalizeStatus.java | 107 int currentMode; in start() local 108 for (currentMode = ROTATION_STYLE.length - 1; currentMode > 0; --currentMode) { in start() 109 if (ROTATION_STYLE[currentMode] == initialMode) { in start() 113 mRotationStyleCurrentIndex = currentMode; in start()
|
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 457 newMode = currentMode; in setPortRoles() 472 sim.currentMode = newMode; in setPortRoles() 577 portInfo.currentMode = mode; in connectSimulatedPort() 617 portInfo.currentMode = 0; in disconnectSimulatedPort() 697 current.currentMode, in notifyPortStatusChange() 734 current.currentMode, in notifyPortStatusChange_1_1() 925 if (currentMode != 0 && currentMode != supportedModes) { in addOrUpdatePortLocked() 929 currentMode = 0; in addOrUpdatePortLocked() 1316 public int currentMode; field in UsbPortManager.RawPortInfo 1348 this.currentMode = currentMode; in RawPortInfo() [all …]
|
/aosp12/frameworks/base/core/java/android/print/ |
H A D | PrinterCapabilitiesInfo.java | 221 final int currentMode = (1 << Integer.numberOfTrailingZeros(current)); in enforceValidMask() local 222 current &= ~currentMode; in enforceValidMask() 223 enforceSingle.accept(currentMode); in enforceValidMask() 234 (currentMode) -> PrintAttributes.enforceValidColorMode(currentMode)); in PrinterCapabilitiesInfo() 238 (currentMode) -> PrintAttributes.enforceValidDuplexMode(currentMode)); in PrinterCapabilitiesInfo() 567 (currentMode) -> PrintAttributes.enforceValidColorMode(currentMode)); in setColorModes() 594 (currentMode) -> PrintAttributes.enforceValidDuplexMode(currentMode)); in setDuplexModes()
|
/aosp12/frameworks/base/core/java/android/service/controls/templates/ |
H A D | TemperatureControlTemplate.java | 165 @Mode int currentMode, in TemperatureControlTemplate() argument 172 if (currentMode < 0 || currentMode >= NUM_MODES) { in TemperatureControlTemplate() 173 Log.e(TAG, "Invalid current mode:" + currentMode); in TemperatureControlTemplate() 176 mCurrentMode = currentMode; in TemperatureControlTemplate()
|
/aosp12/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPortStatus.java | 235 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 238 mCurrentMode = currentMode; in UsbPortStatus() 361 int currentMode = in.readInt(); 367 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,
|
/aosp12/hardware/interfaces/usb/1.1/vts/functional/ |
H A D | VtsHalUsbV1_1TargetTest.cpp | 100 arg.usb_last_port_status.status.currentMode = currentPortStatus[0].status.currentMode; in notifyPortStatusChange_1_1() 168 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status.currentMode); in TEST_P()
|
/aosp12/hardware/interfaces/usb/1.2/vts/functional/ |
H A D | VtsHalUsbV1_2TargetTest.cpp | 113 arg.usb_last_port_status.status_1_1.status.currentMode = in notifyPortStatusChange_1_2() 114 currentPortStatus[0].status_1_1.status.currentMode; in notifyPortStatusChange_1_2() 194 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status_1_1.status.currentMode); in TEST_P() 210 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status_1_1.status.currentMode); in TEST_P() 222 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status_1_1.status.currentMode); in TEST_P()
|
/aosp12/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
H A D | TouchLatencyActivity.java | 244 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreate() local 247 if (currentMode.getModeId() == mDisplayModes[i].getModeId()) { in onCreate() 264 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreateOptionsMenu() local 265 updateDisplayMode(menuItem, currentMode); in onCreateOptionsMenu()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationsQSContainerController.kt | 59 val currentMode: Int = navigationModeController.addListener { mode: Int -> 62 isGestureNavigation = QuickStepContract.isGesturalMode(currentMode)
|
/aosp12/hardware/interfaces/usb/1.1/ |
H A D | types.hal | 46 * The supportedModes and the currentMode fields of the status 60 PortMode_1_1 currentMode;
|
/aosp12/packages/apps/Settings/src/com/android/settings/location/ |
H A D | LocationEnabler.java | 107 final int currentMode = Settings.Secure.getInt(mContext.getContentResolver(), in setLocationEnabled() local 117 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
H A D | BatterySaverUtils.java | 230 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() local 234 if (currentMode == PowerManager.POWER_SAVE_MODE_TRIGGER_DYNAMIC && !providerConfigured) { in revertScheduleToNoneIfNeeded()
|
/aosp12/frameworks/base/services/core/java/com/android/server/media/projection/ |
H A D | MediaProjectionManagerService.java | 517 final int currentMode = mAppOps.unsafeCheckOpRawNoThrow( in start() local 519 if (currentMode == AppOpsManager.MODE_DEFAULT) { in start() 552 final int currentMode = mAppOps.unsafeCheckOpRawNoThrow( in stop() local 554 if (currentMode == AppOpsManager.MODE_ALLOWED) { in stop()
|
/aosp12/hardware/interfaces/usb/1.0/vts/functional/ |
H A D | VtsHalUsbV1_0TargetTest.cpp | 78 parent_.usb_last_port_status.currentMode = in notifyPortStatusChange() 79 currentPortStatus[0].currentMode; in notifyPortStatusChange()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | LocationFragment.java | 281 int currentMode = Settings.Secure.getInt(getActivity().getContentResolver(), in writeLocationMode() local 284 intent.putExtra(CURRENT_MODE_KEY, currentMode); in writeLocationMode()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 285 PorterDuff.Mode currentMode = porterDuffColorFilter.getMode(); in shouldUpdateColorFilter() local 286 return currentColor != color || currentMode != mode; in shouldUpdateColorFilter()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
H A D | Permissions.java | 811 Integer currentMode = getAppOpMode(packageName, appOp, context); in setAppOpMode() local 812 if (currentMode != null && currentMode == mode) { in setAppOpMode()
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | Api2Camera.java | 871 private int getNextMode(int currentMode, int[] supportedModes) { in getNextMode() argument 877 if (m == currentMode) { in getNextMode() 885 return currentMode; in getNextMode()
|
/aosp12/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PermissionPolicyService.java | 892 final int currentMode = mAppOpsManager.unsafeCheckOpRaw(AppOpsManager.opToPublicName( in setUidModeIgnoredIfNotAllowed() local 894 if (currentMode != MODE_ALLOWED) { in setUidModeIgnoredIfNotAllowed() 895 if (currentMode != MODE_IGNORED) { in setUidModeIgnoredIfNotAllowed()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
H A D | WifiCallingSettingsForSub.java | 624 final int currentMode = mImsMmTelManager.getVoWiFiRoamingModeSetting(); in onPreferenceChange() local 625 if (buttonMode != currentMode) { in onPreferenceChange()
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarShellCommand.java | 1881 String currentMode = null; 1884 currentMode = PARAM_SENSOR_MODE; 1887 currentMode = PARAM_NIGHT_MODE; 1890 currentMode = PARAM_DAY_MODE; 1893 writer.println("DayNightMode changed to: " + currentMode);
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 831 Display.Mode currentMode = info.getMode(); 832 float numPeriods = currentMode.getRefreshRate() / frameRateHz; 837 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound; 842 if (!mode.equalsExceptRefreshRate(currentMode)) { 870 currentMode.getPhysicalWidth(), currentMode.getPhysicalHeight(),
|
/aosp12/hardware/interfaces/usb/1.0/ |
H A D | types.hal | 179 PortMode currentMode;
|