/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
flash_device.py | 26 help='Device(s) to flash.') 46 def flash(device): function in function:main 52 logging.exception('Device %s failed to flash.', str(device)) 56 device_utils.DeviceUtils.parallel(devices).pMap(flash) 62 logging.critical('The following devices failed to flash:')
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
flash_device.py | 28 help='Device(s) to flash.') 48 def flash(device): function in function:main 54 logger.exception('Device %s failed to flash.', str(device)) 58 device_utils.DeviceUtils.parallel(devices).pMap(flash) 64 logger.critical('The following devices failed to flash:')
|
/external/toolchain-utils/binary_search_tool/android/ |
test_setup.sh | 8 # bootloader mode and fastboot is used to flash the new image. The device is 22 echo "Please manually flash the built image to your device." 47 echo "fastboot flash may run." 56 flash() function 83 echo "fastboot flash has failed! From here you can:" 84 echo "1. Debug and/or flash manually" 121 flash
|
/development/python-packages/fastboot/ |
device.py | 131 slot: slot to flash if device supports A/B, otherwise default will be used. 145 def flash(self, partition='cache', img=None, slot=None, quiet=True): member in class:FastbootDevice 146 """Calls `fastboot flash`. 149 partition: which partition to flash. 151 slot: slot to flash if device supports A/B, otherwise default will be used. 155 command = [self.path, 'flash', partition]
|
/frameworks/base/services/core/jni/ |
com_android_server_lights_LightsService.cpp | 33 using Flash = ::android::hardware::light::V2_0::Flash; 73 static bool validate(jint light, jint flash, jint brightness) { 81 if (flash != static_cast<jint>(Flash::NONE) && 82 flash != static_cast<jint>(Flash::TIMED) && 83 flash != static_cast<jint>(Flash::HARDWARE)) { 84 ALOGE("Invalid flash parameter %d.", flash) 110 Flash flash = static_cast<Flash>(flashMode); local [all...] |
/device/huawei/angler/camera/QCamera2/ |
QCamera2Factory.cpp | 197 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 201 * @on : Indicates whether to turn the flash on or off 289 ALOGE("%s : Failed to register callbacks with flash module!", __func__); 436 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 440 * @on : Indicates whether to turn the flash on or off 452 QCameraFlash& flash = QCameraFlash::getInstance(); local 464 retVal = flash.initFlash(cameraIdInt); 467 retVal = flash.setFlashMode(cameraIdInt, on); 473 // Flash is already on, so treat this as a success. 479 retVal = flash.setFlashMode(cameraIdInt, on) [all...] |
/device/lge/bullhead/camera/QCamera2/ |
QCamera2Factory.cpp | 197 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 201 * @on : Indicates whether to turn the flash on or off 289 ALOGE("%s : Failed to register callbacks with flash module!", __func__); 436 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 440 * @on : Indicates whether to turn the flash on or off 452 QCameraFlash& flash = QCameraFlash::getInstance(); local 464 retVal = flash.initFlash(cameraIdInt); 467 retVal = flash.setFlashMode(cameraIdInt, on); 473 // Flash is already on, so treat this as a success. 479 retVal = flash.setFlashMode(cameraIdInt, on) [all...] |
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
IDeviceFlasher.java | 34 /** flash the given userdata image on device */ 35 FLASH, 36 /** flash the userdata image included in device image zip */ 104 * @param device the {@link ITestDevice} to flash 105 * @param deviceBuild the {@link IDeviceBuildInfo} to flash 107 * @throws TargetSetupError if failed to flash build 110 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, method in interface:IDeviceFlasher
|
SystemUpdaterDeviceFlasher.java | 66 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) method in class:SystemUpdaterDeviceFlasher
|
CdmaDeviceFlasher.java | 45 /** Time to allow for baseband to flash (in recovery mode), in ms */ 62 * <li>Flash the bootloader as normal</li> 64 * <li>Flash the new baseband, but <emph>don't reboot afterward</emph></li> 65 * <li>Flash the boot, recovery, and system partitions</li> 66 * <li>Reboot (device comes up in Recovery to actually flash baseband)</li> 68 * <li>Flash userdata</li> 73 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, method in class:CdmaDeviceFlasher 89 Log.i(LOG_TAG, "Performing special CDMA baseband update flash procedure"); 90 // We need to flash these partitions: userdata, system, boot, radio, recovery 91 // Flash userdata. system, boot, radio, recovery remai [all...] |
DeviceFlashPreparer.java | 53 @Option(name = "userdata-flash", description = 55 private UserDataFlashOption mUserDataFlashOption = UserDataFlashOption.FLASH; 61 @Option(name = "force-system-flash", description = 69 @Option(name = "skip-post-flash-flavor-check", description = 70 "specify if system flavor should not be checked after flash") 76 @Option(name = "skip-post-flash-build-id-check", description = 77 "specify if build ID should not be checked after flash") 103 * This serves both as an indication of whether the flash lock should be used, and as an 104 * indicator of whether or not the flash lock has been initialized -- if this is true 146 * Set the userdata-flash optio [all...] |
FastbootDeviceFlasher.java | 43 * A class that relies on fastboot to flash an image on physical Android hardware. 56 private UserDataFlashOption mUserDataFlashOption = UserDataFlashOption.FLASH; 118 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, method in class:FastbootDeviceFlasher 153 * @param device the {@link ITestDevice} to flash 154 * @param deviceBuild the {@link IDeviceBuildInfo} that contains the files to flash 171 * Flash an individual partition of a device 173 * @param device the {@link ITestDevice} to flash 179 CLog.d("fastboot flash %s %s", partition, imgFile.getAbsolutePath()); 180 executeLongFastbootCmd(device, "flash", partition, imgFile.getAbsolutePath()); 315 * If needed, flash the bootloader image on device [all...] |
/cts/apps/CameraITS/pymodules/its/ |
caps.py | 258 def flash(props): function 259 """Returns whether a device supports flash control. 267 return props.has_key("android.flash.info.available") and \ 268 props["android.flash.info.available"] == 1
|
/device/google/marlin/camera/QCamera2/ |
QCamera2Factory.cpp | 261 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 265 * @on : Indicates whether to turn the flash on or off 354 LOGE("Failed to register callbacks with flash module!"); 510 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit. 514 * @on : Indicates whether to turn the flash on or off 526 QCameraFlash& flash = QCameraFlash::getInstance(); local 538 retVal = flash.initFlash(cameraIdInt); 541 retVal = flash.setFlashMode(cameraIdInt, on); 547 // Flash is already on, so treat this as a success. 553 retVal = flash.setFlashMode(cameraIdInt, on) [all...] |
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
PMCStatusLogger.java | 98 public void flash() { method in class:PMCStatusLogger
|
BleScanReceiver.java | 162 mPMCStatusLogger.flash(); // To flash out timestamps into log file 210 mPMCStatusLogger.flash(); // To flash out timestamps into log file
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
SystemUpdaterDeviceFlasherTest.java | 74 mFlasher.flash(mMockDevice, mMockDeviceBuild); 84 mFlasher.flash(mMockDevice, mMockDeviceBuild); 97 mFlasher.flash(mMockDevice, mMockDeviceBuild);
|
DeviceFlashPreparerTest.java | 88 mMockFlasher.setUserDataFlashOption(UserDataFlashOption.FLASH); 119 mMockFlasher.flash(mMockDevice, mMockBuildInfo); 155 mMockFlasher.flash(mMockDevice, mMockBuildInfo); 214 // Attempt to reset concurrent flash settings to defaults 252 // Attempt to reset concurrent flash settings to defaults 273 assertNull("Flash lock is non-null", dfp.getConcurrentFlashLock()); 280 assertNull("Flash lock is non-null", dfp.getConcurrentFlashLock()); 284 assertNull("Flash lock is non-null", dfp.getConcurrentFlashLock()); 289 // Attempt to reset concurrent flash settings to defaults
|
FastbootDeviceFlasherTest.java | 91 * Test {@link FastbootDeviceFlasher#flash(ITestDevice, IDeviceBuildInfo)} 102 mFlasher.flash(mMockDevice, mMockBuildInfo); 110 * Test DeviceFlasher#flash(ITestDevice, IDeviceBuildInfo)} when required board info is not 118 mFlasher.flash(mMockDevice, mMockBuildInfo); 224 // expect a 'flash radio' command 516 EasyMock.expect(mMockDevice.executeFastbootCommand(EasyMock.eq("flash"), 531 * String, String, IDeviceBuildInfo)} when there is no need to flash the system. 588 * Set EasyMock expectations to simulate the response to a fastboot flash command 590 * @param image the expected image name to flash 600 mockDevice.executeLongFastbootCommand(EasyMock.eq("flash"), EasyMock.eq(image) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DialogDetailsView.java | 158 MediaDetails.FlashState flash = local 162 if (flash.isFlashFired()) {
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
SnapshotDialogFragment.java | 182 int flash = exif.getAttributeInt(ExifInterface.TAG_FLASH, 0); local 238 exifInfo.append("Flash: "). 239 append(flash).append("\n");
|
/cts/tests/tests/media/src/android/media/cts/ |
ExifInterfaceTest.java | 112 public final float flash; field in class:ExifInterfaceTest.ExpectedValue 158 flash = typedArray.getFloat(index++, 0f); 278 assertFloatTag(exifInterface, ExifInterface.TAG_FLASH, expectedValue.flash);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
ExifInterfaceTest.java | 103 public final float flash; field in class:ExifInterfaceTest.ExpectedValue 146 flash = typedArray.getFloat(12, 0f); 293 assertDoubleTag(exifInterface, ExifInterface.TAG_FLASH, expectedValue.flash);
|
/bionic/libc/kernel/uapi/linux/ |
telephony.h | 174 unsigned int flash : 1; member in struct:phone_except
|
/development/ndk/platforms/android-21/include/linux/ |
telephony.h | 176 unsigned int flash:1; member in struct:phone_except
|