/toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/ |
add-section.d | 4 #objcopy: --add-section NEW=$srcdir/empty.s 5 #objdump: -s -j NEW 9 Contents of section NEW:
|
add-symbol.d | 4 #objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local 11 (0+04321 l[ ]+.data[ ]+0+00 NEW_DATA|0+01234 g[ ]+\*ABS\*[ ]+0+00 NEW) 13 (0+01234 g[ ]+\*ABS\*[ ]+0+00 NEW|0+04321 l[ ]+.data[ ]+0+00 NEW_DATA)
|
add-empty-section.d | 4 #objcopy: --add-section NEW=$srcdir/empty-file 8 \[[ 0-9]+\] NEW[ \t]+PROGBITS[ \t]+[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+0+[ \t]+[ \t0-9a-f]+
|
/hardware/qcom/msm8x27/ |
clean.sh | 5 NEW=kernel-headers 12 $CLEAN_HEADER $OPTS $ORIGINAL/$HEADER > $NEW/$HEADER
|
/toolchain/binutils/binutils-2.27/bfd/ |
mep-relocs.pl | 48 open(MEPHO, "> include/elf/mep.h.new") || die("mep.h.new create: $!"); 53 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!"); 68 print(MEPHO) || die("mep.h.new write: $!"); 72 close(MEPHO) || die("mep.h.new close: $!"); 142 printf(NEW " MEPREL (R_MEP_%-10s%d,%3d,%2d,%2d,%2d,%2s, 0x%s),\n", 158 print NEW " case R_MEP_$relocs[$i]: /* $pattern[$i] */\n"; 160 print NEW " $v -= mep_tpoff_base(rel->r_offset);\n"; 163 print NEW " $v -= mep_sdaoff_base(rel->r_offset);\n"; 168 print NEW " if (u > $max) r = bfd_reloc_overflow;\n" [all...] |
/sdk/eclipse/scripts/ |
update_version.sh | 4 NEW="$2" 7 if [ -z "$OLD" ] || [ -z "$NEW" ]; then 9 Usage: $0 <old> <new> 24 # sanity check the new version number 25 if [[ "$NEW" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then 26 echo "## Version $NEW: seems valid." 28 echo "## Version $NEW: does not conform to major.mino.micro format." 47 SED_NEW="${NEW//./\.}\.qualifier" 57 SED_NEW="${NEW//./\.}"
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallState.java | 32 * Indicates that a call is new and not connected. This is used as the default state internally 34 * not expected to ever interact with NEW calls, but {@link android.telecom.InCallService}s will 37 public static final int NEW = TelecomProtoEnums.NEW; // = 0 119 case NEW: 120 return "NEW";
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
BatteryDatabaseManagerTest.java | 66 mNewAppInfo = new AppInfo.Builder() 71 mOldAppInfo = new AppInfo.Builder() 76 mCombinedAppInfo = new AppInfo.Builder() 92 AnomalyDatabaseHelper.State.NEW, NOW); 94 AnomalyDatabaseHelper.State.NEW, TWO_DAYS_BEFORE); 98 AnomalyDatabaseHelper.State.NEW); 103 AnomalyDatabaseHelper.State.NEW); 110 AnomalyDatabaseHelper.State.NEW); 117 AnomalyDatabaseHelper.State.NEW, NOW); 119 AnomalyDatabaseHelper.State.NEW, NOW) [all...] |
/external/toybox/scripts/ |
bloatcheck | 5 echo "usage: bloatcheck old new" 11 NEXT="$(printf "%s% $((50-${#LASTNAME}))d% 10d %10d" "$LASTNAME" "$OLD" "$NEW" "$DELTA")" 23 NEW=0 26 printf "name% 46s% 10s% 11s\n" old new delta 39 NEW=0 48 NEW=$(($NEW+$SIZE))
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
FutureTask.java | 78 * The run state of this task, initially NEW. The run state 88 * NEW -> COMPLETING -> NORMAL 89 * NEW -> COMPLETING -> EXCEPTIONAL 90 * NEW -> CANCELLED 91 * NEW -> INTERRUPTING -> INTERRUPTED 94 private static final int NEW = 0; 122 throw new CancellationException(); 123 throw new ExecutionException((Throwable)x); 135 throw new NullPointerException(); 137 this.state = NEW; // ensure visibility of callabl [all...] |
/frameworks/base/core/proto/android/telecomm/ |
enums.proto | 29 * Indicates that a call is new and not connected. This is used as the default state internally 31 * not expected to ever interact with NEW calls, but {@link android.telecom.InCallService}s will 34 NEW = 0;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ServiceTest.java | 20 import static com.google.common.util.concurrent.Service.State.NEW; 36 assertLessThan(NEW, STARTING); 37 assertLessThan(NEW, TERMINATED);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
BatteryTipUtilsTest.java | 63 mRestrictAppTip = spy(new RestrictAppTip(BatteryTip.StateType.NEW, new ArrayList<>())); 65 new EarlyWarningTip(BatteryTip.StateType.NEW, true /* powerSaveModeOn */)); 67 new LowBatteryTip(BatteryTip.StateType.NEW, false /* powerSaveModeOn */, 73 when(mRestrictAppTip.getState()).thenReturn(BatteryTip.StateType.NEW); 89 when(mEarlyWarningTip.getState()).thenReturn(BatteryTip.StateType.NEW); 105 when(mLowBatteryTip.getState()).thenReturn(BatteryTip.StateType.NEW); [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/ |
RestrictAppTest.java | 67 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); 70 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); 79 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); 82 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); 85 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); 100 instrumentation.startActivitySync(new Intent(BATTERY_INTENT)); 112 AnomalyDatabaseHelper.State.NEW, now)).isTrue(); 114 AnomalyDatabaseHelper.State.NEW, now)).isFalse(); 118 AnomalyDatabaseHelper.State.NEW); 119 assertThat(newAppInfos).containsExactly(new AppInfo.Builder( [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
EarlyWarningTip.java | 68 if (earlyWarningTip.mState == StateType.NEW) { 70 mState = StateType.NEW; 71 } else if (mState == StateType.NEW && earlyWarningTip.mState == StateType.INVISIBLE) { 96 public static final Creator CREATOR = new Creator() { 98 return new EarlyWarningTip(in); 102 return new EarlyWarningTip[size];
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
LowBatteryTipTest.java | 52 mLowBatteryTip = new LowBatteryTip(BatteryTip.StateType.NEW, false /* powerSaveModeOn */, 62 final LowBatteryTip parcelTip = new LowBatteryTip(parcel); 77 mLowBatteryTip.mState = BatteryTip.StateType.NEW; 87 MetricsProto.MetricsEvent.ACTION_LOW_BATTERY_TIP, BatteryTip.StateType.NEW);
|
SmartBatteryTipTest.java | 46 mSmartBatteryTip = new SmartBatteryTip(BatteryTip.StateType.NEW); 54 MetricsProto.MetricsEvent.ACTION_SMART_BATTERY_TIP, BatteryTip.StateType.NEW);
|
SummaryTipTest.java | 53 new SummaryTip(BatteryTip.StateType.NEW, AVERAGE_TIME_MS); 62 final SummaryTip parcelTip = new SummaryTip(parcel); 72 MetricsProto.MetricsEvent.ACTION_SUMMARY_TIP, BatteryTip.StateType.NEW);
|
UnrestrictAppTipTest.java | 41 AppInfo appInfo = new AppInfo.Builder().setPackageName(PACKAGE_NAME).build(); 42 mBatteryTip = new UnrestrictAppTip(BatteryTip.StateType.NEW, appInfo); 51 final UnrestrictAppTip parcelTip = new UnrestrictAppTip(parcel); 54 assertThat(parcelTip.getState()).isEqualTo(BatteryTip.StateType.NEW);
|
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
Criterion.java | 36 NEW,
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
SummaryDetector.java | 40 ? BatteryTip.StateType.NEW 42 return new SummaryTip(state, mAverageTimeMs);
|
RestrictAppDetector.java | 54 mAppRestrictionPredicate = new AppRestrictionPredicate(context); 55 mAppLabelPredicate = new AppLabelPredicate(context); 67 oneDayBeforeMs, AnomalyDatabaseHelper.State.NEW); 71 // If there are new anomalies, show them 72 return new RestrictAppTip(BatteryTip.StateType.NEW, highUsageApps); 79 return new RestrictAppTip(autoHandledApps.isEmpty() ? BatteryTip.StateType.INVISIBLE 83 return new RestrictAppTip(BatteryTip.StateType.INVISIBLE, new ArrayList<>()); 88 final List<AppInfo> highUsageApps = new ArrayList<>() [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
RestrictAppDetectorTest.java | 81 mAppInfoList = new ArrayList<>(); 82 mAppInfo = new AppInfo.Builder() 88 mPolicy = spy(new BatteryTipPolicy(mContext)); 101 doThrow(new PackageManager.NameNotFoundException()).when( 104 mRestrictAppDetector = new RestrictAppDetector(mContext, mPolicy); 117 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); 119 assertThat(mRestrictAppDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); 124 mAppInfoList.add(new AppInfo.Builder() 128 doReturn(new ArrayList<AppInfo>()).when(mBatteryDatabaseManager) 129 .queryAllAnomalies(anyLong(), eq(AnomalyDatabaseHelper.State.NEW)); [all...] |
LowBatteryDetectorTest.java | 57 mPolicy = spy(new BatteryTipPolicy(RuntimeEnvironment.application)); 64 mLowBatteryDetector = new LowBatteryDetector(mContext, mPolicy, mBatteryInfo); 79 assertThat(mLowBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); 86 assertThat(mLowBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); 90 assertThat(mLowBatteryDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW);
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 91 CREATE TRIGGER contact_methods_INSERT_typeAndLabel AFTER INSERT ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END; 92 CREATE TRIGGER contact_methods_UPDATE_typeAndLabel AFTER UPDATE ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END; 94 CREATE TRIGGER contact_methods_insert INSERT ON contact_methods BEGIN UPDATE people SET _sync_dirty=1 WHERE people._id=new.person;END [all...] |