/packages/apps/Settings/src/com/android/settings/development/ |
SystemSettingSwitchPreferenceController.java | 54 final int mode = Settings.System.getInt( local 56 ((SwitchPreference) mPreference).setChecked(mode != SETTING_VALUE_OFF);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
ShowOperatorNamePreferenceControllerTest.java | 73 final int mode = local 75 assertThat(mode).isEqualTo(1); 82 final int mode = local 84 assertThat(mode).isEqualTo(0);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
ipc.h | 25 /* Mode bits for `msgget', `semget', and `shmget'. */ 50 unsigned short int mode; /* Read/write permission. */ member in struct:ipc_perm
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_statistic.h | 21 __u16 mode; member in struct:xt_statistic_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
ipc.h | 25 /* Mode bits for `msgget', `semget', and `shmget'. */ 50 unsigned short int mode; /* Read/write permission. */ member in struct:ipc_perm
|
/system/bt/service/common/bluetooth/ |
advertise_settings.h | 30 // Advertising mode describes power consumption mode used for advertising. 31 enum Mode { 32 // Perform Bluetooth LE advertising in low power mode. This is the default 33 // and preferred advertising mode as it consumes the least power. 36 // Perform Bluetooth LE advertising in balanced power mode. This is balanced 40 // Perform Bluetooth LE advertising in low latency, high power mode. This 64 AdvertiseSettings(Mode mode, base::TimeDelta timeout, 68 // mode: MODE_LOW_POWE 75 Mode mode() const { return mode_; } function in class:bluetooth::AdvertiseSettings [all...] |
/system/libhwbinder/vts/performance/ |
Benchmark.cpp | 115 HwBinderMode mode = HwBinderMode::kBinderize; local 121 mode = HwBinderMode::kPassthrough; 126 if (mode == HwBinderMode::kBinderize) {
|
/system/netd/server/ |
ResolverController.h | 54 PrivateDnsMode mode; member in struct:android::net::ResolverController::PrivateDnsStatus 60 // If the requested |netid| is not known, the PrivateDnsStatus's mode has a
|
/toolchain/binutils/binutils-2.27/include/opcode/ |
msp430.h | 27 int am; /* Addr mode. */ 29 int mode; /* Operand mode. */ member in struct:msp430_operand_s
|
/art/openjdkjvmti/ |
ti_extension.cc | 393 jvmtiEventMode mode = callback == nullptr ? JVMTI_DISABLE : JVMTI_ENABLE; local 409 mode);
|
/bionic/libc/kernel/uapi/linux/hsi/ |
hsi_char.h | 42 __u32 mode; member in struct:hsc_rx_config 47 __u32 mode; member in struct:hsc_tx_config
|
/bionic/libc/kernel/uapi/linux/ |
matroxfb.h | 30 __u32 mode; member in struct:matroxioc_output_mode
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_rateest.h | 41 __u16 mode; member in struct:xt_rateest_match_info
|
/build/make/tools/atree/ |
files.h | 37 unsigned int mode; member in struct:FileRecord
|
/build/make/tools/fs_config/ |
fs_config.c | 32 // filename along with its desired uid, gid, and mode (in octal). 134 unsigned uid = 0, gid = 0, mode = 0; local 136 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities); 141 printf("%s %d %d %o", buffer, uid, gid, mode); 161 if (selabel_lookup(sehnd, &secontext, full_name, ( mode | (is_dir ? S_IFDIR : S_IFREG)))) {
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
BatterySaverLocationTest.java | 70 * Test for the {@link PowerManager#LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF} mode. 91 // Skip if the location mode is not what's expected. 92 final int mode = getPowerManager().getLocationPowerSaveMode(); local 93 if (mode != PowerManager.LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF) { 94 Log.i(TAG, "Unexpected location power save mode (" + mode + "), skipping.");
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
XfermodeTest.java | 61 final PorterDuff.Mode mode; field in class:XfermodeTest.Config 66 mode = (PorterDuff.Mode) modeAndExpectedColors[0]; 72 return mode.name() + ", hardwareAccelerated=" + hardwareAccelerated; 93 { PorterDuff.Mode.SRC, new int[] { 96 { PorterDuff.Mode.DST, new int[] { 99 { PorterDuff.Mode.SRC_OVER, new int[] { 102 { PorterDuff.Mode.DST_OVER, new int[] { 105 { PorterDuff.Mode.SRC_IN, new int[] [all...] |
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
AirplaneModeTest.java | 55 Log.e(TAG, "Voice intent for Airplane Mode NOT supported. existing the test"); 58 int mode; local 60 mode = getMode(); 61 Log.i(TAG, "Before testing, AIRPLANE_MODE is set to: " + mode); 63 // if the mode is not supported, don't run the test. 64 Log.i(TAG, "airplane mode is not found in Settings. Skipping AirplaneModeTest"); 68 if (mode == AIRPLANE_MODE_IS_OFF) { 69 // mode is currently OFF. 78 // mode is currently ON. 95 int mode = getMode() local [all...] |
ZenModeTest.java | 60 Log.e(TAG, "Voice intent for Zen Mode NOT supported. existing the test"); 63 int mode; local 65 mode = getMode(); 66 Log.i(TAG, "Before testing, zen-mode is set to: " + mode); 68 // if the mode is not supported, don't run the test. 73 if (mode == ZEN_MODE_IS_OFF) { 74 // mode is currently OFF. 83 // mode is currently ON. 100 int mode = getMode() local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List15.java | 31 * This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a.k.a. selection mode on ListView. 52 public boolean onCreateActionMode(ActionMode mode, Menu menu) { 55 mode.setTitle("Select Items"); 56 setSubtitle(mode); 60 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { 64 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { 69 mode.finish(); 79 public void onDestroyActionMode(ActionMode mode) { 82 public void onItemCheckedStateChanged(ActionMode mode, 84 setSubtitle(mode); [all...] |
List16.java | 31 * This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a.k.a. selection mode on ListView 54 public boolean onCreateActionMode(ActionMode mode, Menu menu) { 57 mode.setTitle("Select Items"); 61 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { 65 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { 70 mode.finish(); 80 public void onDestroyActionMode(ActionMode mode) { 83 public void onItemCheckedStateChanged(ActionMode mode, 88 mode.setSubtitle(null); 91 mode.setSubtitle("One item selected") [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/ |
bl2_plat_setup.c | 95 unsigned int mode; local 98 /* Figure out what mode we enter the non-secure world in */ 102 mode = (el_status) ? MODE_EL2 : MODE_EL1; 109 spsr = SPSR_64(mode, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS);
|
/external/adhd/cras/src/server/ |
cras_a2dp_info.c | 17 uint8_t frequency = 0, mode = 0, subbands = 0, allocation, blocks = 0, local 30 mode = SBC_MODE_JOINT_STEREO; 32 mode = SBC_MODE_STEREO; 34 mode = SBC_MODE_DUAL_CHANNEL; 36 mode = SBC_MODE_MONO; 69 a2dp->codec = cras_sbc_codec_create(frequency, mode, subbands,
|
/external/bzip2/ |
dlltest.c | 117 char mode[10];
local 155 mode[0]='w';
156 mode[1] = '0' + level;
157 mode[2] = '\0';
159 if((fn_w == NULL && (BZ2fp_w = BZ2_bzdopen(fileno(stdout),mode))==NULL)
160 || (fn_w !=NULL && (BZ2fp_w = BZ2_bzopen(fn_w,mode))==NULL)){
|
/external/capstone/bindings/java/ |
Test.java | 9 public int mode; field in class:Test.platform 16 mode = m; 24 mode = m; 162 Capstone cs = new Capstone(platforms[j].arch, platforms[j].mode);
|